NFTGatingLean

Verified contract

Active on Ethereum with 104 txns
Deployed by via 0x6c8aa364 at 17465744
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $1,078.82
 (#0)
ERC-1555
--
0x58203684f9f5232a134dec596ee45510cf5d482a5531bf1deab3691f6c55a55f
0x6125d5da9505c7eeb876c84be986e52b27905216abfe52de561aca5c0d83bba7
From
0x0216aa48b9153d97c54eab91dfa86d9c32d37f215e11025f2b7ec1ba46690dcc
0x4f2fae1ba69e06e0a10cd1445368d914cb3699a529199d116c04517402b3de52
0xe120d905f6877e249602eab135cfe5f12bf31288522d4ba1b70ab41405eddc13
0x281be51f0b3df6edd8a18974b745cc70890edb0ca434cdde3cc48ab9bab2cdff
0xfb34e45a0474c1300ccab35e81140ffdd6cfcbbca79ae730b94721a076df342b
0xf00d3950bce3822d9b6b82fd36b66bea75d151067f331612e335b24cd79956ec
0x7e257bb7095bac7059425e65e0811cceb4fe03dae77eebeca321778ed6eaf250
0x7a13dc14c9549f0f805b5d91a7681aaa5bd7275c00b09db2498136fe06c8d022

Functions
Getter at block 21388029
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 collateralIdaddress collateralAddressaddress winneraddress selleruint256 randomNumber)
rafflesEntryInfo(uint256view returns (bool requireWhitelistinguint8 statusuint8 entryTypeuint48 walletsCapuint48 entriesLengthuint128 amountRaised)
requests(uint256view returns (uint256 randomNumberuint256 nomalizedRandomNumber)
requiredNFTWallets(bytes32view returns (address)
supportsInterface(bytes4 interfaceIdview returns (bool)
walletsCap(bytes32view returns (uint48)
whitelistCollections(bytes32view 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 _desiredFundsInWeisuint48 _walletsCapaddress _collateralAddressuint48 _collateralIduint128 _minimumFundsInWeisstruct NFTGatingLeanPriceStructure[] _pricesuint48 _commissionInBasicPointsaddress[] _collectionWhitelistuint8 _entryType
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