NFTComp

Verified contract

Active on Base with 5,650 txns
Deployed by via 0x22fd1b1b at 12804400
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $0
ERC-20
--
0x1c3069e862030a1e363b2488efb4e87c037f460c0bce82d2836b91b0a34ce1b7
0xc2c65be8e5e087ff423d0b9ef7120bd864bcf267fccf1b16cb09414ab9bdef0a
0x2490333ecc20b45ee8e7eefa49f76f84768649455cf76547a6093a825fc4afac
0xb22922a9cf3d1f92d96f13d5ee7b8d853afa121896a91a7a0b8e15e4e4c5d2e8
0x43a17a5b115405bf3909397487864d60cddb9b9ded89719e1f392effa40ef9fe
0x5e78329f6c284a68c14bb9e4ad638f80a53552c18b8fba82b67eb4b7b333bcc0
0x21f5f3e536050e4545455f4b5a56d5edc547e6f8f2d4691574e4ecabfc0749e7
0x02f28175a9c670812864bacc41eaee1aa5cb58c9c7c41641e3047d19fb3d6014
0xe18a1ae82a15070edaf4c750c016a3655dc950a0b746b71f7d5f17a3544570f2
0x9dda72990a5008cacfadb5958834c216532bd276724eef090de07541f1f5cbc1

Functions
Getter at block 22757717
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
MINTERCONTRACT_ROLE(view returns (bytes32)
0xde5ee446972f4e39ab62c03aa34b2096680a875c3fdb3eb2f947cbb93341c058
OPERATOR_ROLE(view returns (bytes32)
0x523a704056dcd17bcf83bed8b68c59416dac1119be77755efe3bde0a64e46e0c
_qrngUint256(view returns (uint256)
52427280710052799360801814309541673291422008456427078267012052161690237658283
airnode(view returns (address)
0x224e030f03cd3440d88bd78c9bf5ed36458a1a25
airnodeRrp(view returns (address)
0xa0ad79d995ddeeb18a14eaef56a549a04e3aa1bd
destinationWallet(view returns (address)
0x52a032cf59ea274f9d745f29b6d514fe95ba192d
endpointIdUint256(view returns (bytes32)
0xffd1bbe880e7b2c662f6c8511b15ff22d12a4a35d5c8c17202893a5f10e25284
endpointIdUint256Array(view returns (bytes32)
0x4554e958a68d68de6a4f6365ff868836780e84ac3cba75ce3f4c78a85faa8047
sponsorWallet(view returns (address)
0x7cdd490c232dc02f2473afbab00f84a014ed0602
Read-only
_qrngUint256Array(uint256view returns (uint256)
api3RaffleInfo(bytes32view returns (uint256 iduint256 size)
entriesList(uint256uint256view returns (uint48 currentEntriesLengthaddress player)
expectingRequestWithIdToBeFulfilled(bytes32view returns (bool)
freeEntriesPerWallet(bytes32view returns (bool)
fundingList(uint256view returns (uint128 minimumFundsInWeisuint128 desiredFundsInWeis)
getEntriesBought(uint256 _raffleIdview returns (struct MinimalConstantsEntriesBought[])
getRafflesEntryInfo(uint256 _raffleIdview returns (struct ConstantsEntryInfoStruct)
getRoleAdmin(bytes32 roleview returns (bytes32)
getWinnerAddressFromRandom(uint256 _raffleIduint256 _normalizedRandomNumberview returns (address)
hasRole(bytes32 roleaddress accountview returns (bool)
pricesList(uint256view returns (uint48 iduint48 numEntriesuint168 price)
raffles(uint256view returns (uint256 prizeNumberuint48 platformPercentageaddress prizeAddressaddress winneraddress selleruint256 randomNumber)
rafflesEntryInfo(uint256view returns (bool requireWhitelistinguint8 statusuint48 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 _idpayable 
cancelRaffle(uint256 _raffleId
createRaffle(uint128 _desiredFundsInWeisaddress _prizeAddressuint48 _prizeNumberuint128 _minimumFundsInWeisstruct MinimalConstantsPriceStructure[] _pricesuint48 _commissionInBasicPointsuint8 _entryTypereturns (uint256)
fulfillUint256(bytes32 requestIdbytes data
giveBatchEntriesForFree(uint256 _raffleIdaddress[] _freePlayers
grantRole(bytes32 roleaddress account
renounceRole(bytes32 roleaddress callerConfirmation
requestWithdraw(
revertCloseRequested(uint256 raffleId
revokeRole(bytes32 roleaddress account
setDestinationAddress(address _newAddress
setRequestParameters(address _airnodebytes32 _endpointIdUint256bytes32 _endpointIdUint256Arrayaddress _sponsorWallet
setWinner(uint256 _raffleId
stakeNFT(uint256 _raffleId
transferRemainingFunds(uint256 _raffleId
withdraw(
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
RaffleStatusUpdated(uint256 indexed raffleIduint8 newStatus
RandomNumberCreated(uint256 indexed idFromMetawinuint256 randomNumberuint256 normalizedRandomNumber
ReceivedUint256(bytes32 indexed requestIduint256 response
ReceivedUint256Array(bytes32 indexed requestIduint256[] response
Refund(uint256 indexed raffleIduint256 amountInWeisaddress indexed player
RemainingFundsTransferred(uint256 indexed raffleIduint256 amountInWeis
RequestedUint256(bytes32 indexed requestId
RequestedUint256Array(bytes32 indexed requestIduint256 size
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
WithdrawalRequested(address indexed airnodeaddress indexed sponsorWallet
Constructor
constructor(address _airnodeRrp
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AccessControlBadConfirmation(
AccessControlUnauthorizedAccount(address accountbytes32 neededRole
CreateRaffleError(string errorType
EntryNotAllowed(string errorType