NFTSingle

Verified contract

Active on Ethereum with 8,167 txns
Deployed by via 0xec46ea02 at 16974685
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $773.52
ERC-20
--
 (#8179)
ERC-721
--
 (#8163)
ERC-721
--
 (#8061)
ERC-721
--
 (#7707)
ERC-721
--
 (#8179)
ERC-721
--
0x97c53e5ce8636c4f7744753a20a35b3f149d85cbb9b04e32fa5f2a4e3662d941
0x28d97c59de28c677ca453fc3b5b8a8ffc2ea97d9dee674e4df71b784c20c297f
0x727f945d70c8fc469630968b9e6f7162c00fcc421a960b9b16e9211430d93291
0x55a60ed7835131bff9e21f7c5af9f44f54bf3f38cb456d14e1ea407f165f0bf9
0xc739b989ceca8258bbea4a773d428b5b34245012b31064123232321c45281340
0x3625d10298a659118cb4d4093fc024e3e0a5850b693949efa36f06930d9f4605
0xdc07e02ad7dfba778bd1f165e184d428516dccf79257a7432bd78f06ac84f495
0xe20d29f1e72a2c0159799e29881dcb5612ba260637913b6dd5b0d801a1f3f03f
0xd5a20e865d20be6aef58ce2e45bc621d6df81b4d34d8137857450e163119570b
0x9e7311b1c1c6c2f2595f375257b9863418ff5ea4c2462db688981d42f2cc29fa

Functions
Getter at block 21292043
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
MINTERCONTRACT_ROLE(view returns (bytes32)
0xde5ee446972f4e39ab62c03aa34b2096680a875c3fdb3eb2f947cbb93341c058
OPERATOR_ROLE(view returns (bytes32)
0x523a704056dcd17bcf83bed8b68c59416dac1119be77755efe3bde0a64e46e0c
destinationWallet(view returns (address)
0x52a032cf59ea274f9d745f29b6d514fe95ba192d
Read-only
chainlinkRaffleInfo(bytes32view returns (uint256 iduint256 size)
claimsData(bytes32view returns (uint128 numEntriesPerUseruint128 amountSpentInWeisbool claimed)
entriesList(uint256uint256view returns (uint256 currentEntriesLengthaddress player)
fundingList(uint256view returns (uint128 minimumFundsInWeisuint128 desiredFundsInWeis)
getClaimData(uint256 _raffleIdaddress _playerview returns (struct NFTSingleClaimStruct)
getEntriesBought(uint256 _raffleIdview returns (struct NFTSingleEntriesBought[])
getRafflesEntryInfo(uint256 _raffleIdview returns (struct NFTSingleEntryInfoStruct)
getRoleAdmin(bytes32 roleview returns (bytes32)
getWinnerAddressFromRandom(uint256 _raffleIduint256 _normalizedRandomNumberview returns (address)
hasRole(bytes32 roleaddress accountview returns (bool)
playerHasRequiredNFTs(address _playeruint256 _raffleIdaddress _collectionuint256 _tokenIdUsedview returns (bool canBuystring cause)
playerIsBlacklisted(address _playerview returns (bool)
playerIsSeller(address _playeruint256 _raffleIdview returns (bool)
playerReachedMaxEntries(address _playeruint256 _raffleIduint256 _amountOfEntriesview returns (bool)
prices(uint256uint256view returns (uint256 iduint48 numEntriesuint256 price)
raffleNotInAcceptedState(uint256 _raffleIdview returns (bool)
raffles(uint256view returns (uint48 platformPercentageuint48 cancellingDateuint48 collateralIdaddress collateralAddressaddress winneraddress selleruint256 randomNumber)
rafflesEntryInfo(uint256view returns (uint8 statusuint8 entryTypeuint48 maxEntriesuint48 entriesLengthuint128 amountRaised)
requests(uint256view returns (uint256 randomNumberuint256 nomalizedRandomNumber)
requiredNFTWallets(bytes32view returns (address)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
buyEntry(uint256 _raffleIduint256 _idaddress _collectionuint256 _tokenIdUsedpayable 
cancelEntry(uint256 _raffleIduint256[] entriesToCanceladdress _player
cancelRaffle(uint256 _raffleId
claimRefund(uint256 _raffleId
createFreeEntriesFromExternalContract(uint256 _raffleIduint48 _amountOfEntriesaddress _player
createRaffle(uint128 _desiredFundsInWeisuint48 _maxEntriesPerUseraddress _collateralAddressuint48 _collateralIduint128 _minimumFundsInWeisstruct NFTSinglePriceStructure[] _pricesuint48 _commissionInBasicPointsaddress[] _collectionWhitelistuint8 _entryTypereturns (uint256)
earlyCashOut(uint256 _raffleId
giveBatchEntriesForFree(uint256 _raffleIdaddress[] _freePlayers
grantRole(bytes32 roleaddress account
rawFulfillRandomness(bytes32 requestIduint256 randomness
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
setDestinationAddress(address _newAddress
setWinner(uint256 _raffleId
stakeNFT(uint256 _raffleId
transferRemainingFunds(uint256 _raffleId
Events
EarlyCashoutTriggered(uint256 indexed raffleIduint256 amountRaised
EntryCancelled(uint256 indexed raffleIduint256 amountOfEntriesCanceledaddress player
EntrySold(uint256 indexed raffleIdaddress indexed buyeruint256 currentSizeuint256 priceStructureId
FeeTransferredToPlatform(uint256 indexed raffleIduint256 amountTransferred
FreeEntry(uint256 indexed raffleIdaddress[] buyeruint256 amountuint256 currentSize
RaffleCancelled(uint256 indexed raffleIduint256 amountRaised
RaffleCreated(uint256 indexed raffleIdaddress indexed nftAddressuint256 indexed nftId
RaffleEnded(uint256 indexed raffleIdaddress indexed winneruint256 amountRaiseduint256 randomNumber
RaffleStarted(uint256 indexed raffleIdaddress indexed seller
RandomNumberCreated(uint256 indexed idFromMetawinuint256 randomNumberuint256 normalizedRandomNumber
Refund(uint256 indexed raffleIduint256 amountInWeisaddress indexed player
RemainingFundsTransferred(uint256 indexed raffleIduint256 amountInWeis
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
SetWinnerTriggered(uint256 indexed raffleIduint256 amountRaised
StatusChangedInEmergency(uint256 indexed raffleIduint256 newStatus
Constructor
constructor(address _vrfCoordinatoraddress _linkTokenbytes32 _keyHashbool _mainetFee
Fallback and receive

This contract contains no fallback and receive objects.

Errors
EntryNotAllowed(string errorType