ETHComp

Verified contract

Active on Base with 6,462 txns
Deployed by via 0xd1fcea34 at 13962361
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $0.66
0x42fe487b3cf9f63ed89466d902b8ce72ee7bd2a7d036c627afb04d442b7e943d
0x517ac90aa8572689d4aaf262e146acc3482f54cad132937c8ae7a4abcad55957
0xb84002ae7f0a450156ea494ec2b2c64ae429dd4cf399d3aae530e2daab146ac7
0x57cbca0e5eef82daa725d7d2eb13645b16a5404e8af4147b5691c64e5518066e
0xb301cb4f21c741be3dbdb63169f0216aa3c8487934dc0be2253d3abfb3076e06
0x12b5e4608b8f4bb87fb7c263310245d7b30dc4672b10237b0f6e1c9c98a11378
0x45f3cdef2fd65c342de8718f0075ecb176fdb54ec2e46556d903316d8ec0f4cb
0x435b011d749a7553077c37ab9d48b52045d73bf696be3971bba9f1a6de404433
0x6c3713284649dc2221e23e4ccf1b614a5c15e8cd3b72c052e614d3c78f73b701
0x32fd4e0d772ebb0475ce46839d965f74511be88cc26af73ce27bf9a032545958

Functions
Getter at block 22751284
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
MINTERCONTRACT_ROLE(view returns (bytes32)
0xde5ee446972f4e39ab62c03aa34b2096680a875c3fdb3eb2f947cbb93341c058
OPERATOR_ROLE(view returns (bytes32)
0x523a704056dcd17bcf83bed8b68c59416dac1119be77755efe3bde0a64e46e0c
_qrngUint256(view returns (uint256)
80690608604538425794785007921481439052445390422357664830303517800488110069819
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)
0xd942fb5ff9ef1271aae399289c25c56d87a1c4b4
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 amountRaisedaddress requiredTokenAddressuint256 requiredTokenBalance)
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 _desiredFundsInWeisuint256 _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
setRequiredTokenAddress(address _tokenAddress
setRequiredTokenAmount(uint256 _tokenAmount
setWinner(uint256 _raffleId
stakeETH(uint256 _raffleIdpayable 
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