NFTGatingLean
Verified contract
Active on
Ethereum with 104 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($1,078.82)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
LINK | ERC-20 | 38 | $28.39 |
$1,078.82 | |
0x5afa…9faf | ERC-1555 | 1 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 17593733 | a year ago | | | 0 | 0.0079317758 | |
| 17593721 | a year ago | | | 0 | 0.0048700512 | |
| 17593715 | a year ago | | | 0 | 0.0046211802 | |
| 17593699 | a year ago | | | 0 | 0.0039913420 | |
| 17593686 | a year ago | | | 0 | 0.0041930472 | |
| 17593640 | a year ago | | | 0 | 0.0038438120 | |
| 17593616 | a year ago | | | 0 | 0.0044032589 | |
| 17592956 | a year ago | | | 0 | 0.0054011655 | |
| 17592338 | a year ago | | | 0 | 0.0047316327 | |
| 17591993 | a year ago | | | 0 | 0.0059156467 |
ABI
ABI objects
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(bytes32) view returns (uint256 id, uint256 size)
entriesList(uint256, uint256) view returns (uint48 currentEntriesLength, address player)
fundingList(uint256) view returns (uint128 minimumFundsInWeis, uint128 desiredFundsInWeis)
getEntriesBought(uint256 _raffleId) view returns (struct NFTGatingLeanEntriesBought[])
getRafflesEntryInfo(uint256 _raffleId) view returns (struct NFTGatingLeanEntryInfoStruct)
getRoleAdmin(bytes32 role) view returns (bytes32)
getWinnerAddressFromRandom(uint256 _raffleId, uint256 _normalizedRandomNumber) view returns (address)
hasRole(bytes32 role, address account) view returns (bool)
playerHasRequiredNFTs(address _player, uint256 _raffleId, address _collection, uint256 _tokenIdUsed) pure returns (bool canBuy, string cause)
playerIsBlacklisted(address _player) pure returns (bool)
playerIsSeller(address _player, uint256 _raffleId) view returns (bool)
playerReachedMaxEntries(address _player, uint256 _raffleId, uint256 _amountOfEntries) pure returns (bool)
pricesList(uint256) view returns (uint256 id, uint48 numEntries, uint256 price)
raffleNotInAcceptedState(uint256 _raffleId) view returns (bool)
raffles(uint256) view returns (uint48 platformPercentage, uint48 collateralId, address collateralAddress, address winner, address seller, uint256 randomNumber)
rafflesEntryInfo(uint256) view returns (bool requireWhitelisting, uint8 status, uint8 entryType, uint48 walletsCap, uint48 entriesLength, uint128 amountRaised)
requests(uint256) view returns (uint256 randomNumber, uint256 nomalizedRandomNumber)
requiredNFTWallets(bytes32) view returns (address)
supportsInterface(bytes4 interfaceId) view returns (bool)
walletsCap(bytes32) view returns (uint48)
whitelistCollections(bytes32) view returns (bool)
State-modifying
Events buyEntry(uint256 _raffleId, uint256 _id, address _collection, uint256 _tokenIdUsed) payable
cancelEntry(uint256 _raffleId, uint256[] entriesToCancel, address _player)
cancelRaffle(uint256 _raffleId)
createFreeEntriesFromExternalContract(uint256 _raffleId, uint48 _amountOfEntries, address _player)
createRaffle(uint128 _desiredFundsInWeis, uint48 _walletsCap, address _collateralAddress, uint48 _collateralId, uint128 _minimumFundsInWeis, struct NFTGatingLeanPriceStructure[] _prices, uint48 _commissionInBasicPoints, address[] _collectionWhitelist, uint8 _entryType)
earlyCashOut(uint256 _raffleId)
giveBatchEntriesForFree(uint256 _raffleId, address[] _freePlayers)
grantRole(bytes32 role, address account)
rawFulfillRandomness(bytes32 requestId, uint256 randomness)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
setDestinationAddress(address _newAddress)
setWinner(uint256 _raffleId)
stakeNFT(uint256 _raffleId)
transferRemainingFunds(uint256 _raffleId)
EarlyCashoutTriggered(uint256 indexed raffleId, uint256 amountRaised)
EntryCancelled(uint256 indexed raffleId, uint256 amountOfEntriesCanceled, address player)
EntrySold(uint256 indexed raffleId, address indexed buyer, uint256 currentSize, uint256 priceStructureId)
FeeTransferredToPlatform(uint256 indexed raffleId, uint256 amountTransferred)
FreeEntry(uint256 indexed raffleId, address[] buyer, uint256 amount, uint256 currentSize)
RaffleCancelled(uint256 indexed raffleId, uint256 amountRaised)
RaffleCreated(uint256 indexed raffleId, address indexed nftAddress, uint256 indexed nftId)
RaffleEnded(uint256 indexed raffleId, address indexed winner, uint256 amountRaised, uint256 randomNumber)
RaffleStarted(uint256 indexed raffleId, address indexed seller)
RandomNumberCreated(uint256 indexed idFromMetawin, uint256 randomNumber, uint256 normalizedRandomNumber)
Refund(uint256 indexed raffleId, uint256 amountInWeis, address indexed player)
RemainingFundsTransferred(uint256 indexed raffleId, uint256 amountInWeis)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
SetWinnerTriggered(uint256 indexed raffleId, uint256 amountRaised)
constructor(address _vrfCoordinator, address _linkToken, bytes32 _keyHash, bool _mainetFee)
This contract contains no fallback and receive objects.
EntryNotAllowed(string errorType)