NFTGatingLean

Verified contract

Active on Ethereum with 1,344 txns
Deployed by via 0x9aea07b3 at 17336457
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $111.2
0xdf5d6526d336c28488310aaec5da2cfa09c1f11b8758c9085ce2d72f50a0c30e
0x8d69c74cc3829c67340080bc5ad8198ecc26931c3a79d23ca5a35b41ede5a02d
0xcc709de703dd09b76968ca66a0fcad7c6bfd26568cb3ee2e458167700c886b1b
0x1464d11c23eea64fa38fd0734ea4c8a80347c604e6a320fab04da524715a2db7
0xe05fb9208e828c07a5251dca0f711d893beb0dc04c468b56ec3fe10336aab4b1
0x3f22f980ee0fbdac7b650a2e16f6b4c925ee743de2d0cdfe084f53f020f89bf6
0x647e0a293d046b6591e0e2202d913a93a4a42b0fd9e0b5067d8fffd3d9f8431f
0x808a7a02818eb8a981ccaf67f10b9d06c9810fa76186db45ca3bd9f67a0c4a53
0x75c7b562be9fe0f8394919449bd49e5785b097468a11f1807934a7673953e4cf
0x3112d20398ace6e6b152aac0dbd765cfc0eb9364c38c1ceb7c7b7eee7b32e9a4

Functions
Getter at block 20950106
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)
entriesList(uint256uint256view returns (uint48 currentEntriesLengthaddress player)
fundingList(uint256view returns (uint128 minimumFundsInWeisuint128 desiredFundsInWeis)
getEntriesBought(uint256 _raffleIdview returns (struct NFTGatingLeanEntriesBought[])
getRafflesEntryInfo(uint256 _raffleIdview returns (struct NFTGatingLeanEntryInfoStruct)
getRoleAdmin(bytes32 roleview returns (bytes32)
getWinnerAddressFromRandom(uint256 _raffleIduint256 _normalizedRandomNumberview returns (address)
hasRole(bytes32 roleaddress accountview returns (bool)
playerHasRequiredNFTs(address _playeruint256 _raffleIdaddress _collectionuint256 _tokenIdUsedpure returns (bool canBuystring cause)
playerIsBlacklisted(address _playerpure returns (bool)
playerIsSeller(address _playeruint256 _raffleIdview returns (bool)
playerReachedMaxEntries(address _playeruint256 _raffleIduint256 _amountOfEntriespure returns (bool)
pricesList(uint256view 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 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
createFreeEntriesFromExternalContract(uint256 _raffleIduint48 _amountOfEntriesaddress _player
createRaffle(uint128 _desiredFundsInWeisaddress _collateralAddressuint48 _collateralIduint128 _minimumFundsInWeisstruct NFTGatingLeanPriceStructure[] _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
Constructor
constructor(address _vrfCoordinatoraddress _linkTokenbytes32 _keyHashbool _mainetFee
Fallback and receive

This contract contains no fallback and receive objects.

Errors
EntryNotAllowed(string errorType