ETHComp

Verified contract

Active on Base with 1,769 txns
Deployed by via 0xe3f8eea9 at 12416502
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $3,741.24
0x186f83898a93e3a5f122667c13d32f1f133fa33b8ad34c0e112014ec42a8e025
0xfda68ff9aed289a7f6f2e72309d4e5b733ab549255113103c0fc64e91bc35ce2
0xb476f6e9b8f52be0141fa89b01f7fcfe7998f39a5a678b86404ed7dc14012f7c
0x2161d1a3e13c694cc6a0bba2cb8f74811be2f19b443b13bdef37d430cbadd369
0x15b1174d037a37e94ebfcc81938c1968c09e9c01865966fd20618c3f205f7155
0x16f55aa5f91cf57e5ba55960cfd53807216c317dbccfd1809c6e4598bf031327
0xec897794e5339a398440def218fda53805406f192b834989cb3d43fd08b4d806
0x87c815e951a09c009dd7ad7d0fa4e1b6cf922cbd58ad5bc3d818585dd2a91534
0x47b14b7231e966d94f116d83e3cb7efcb11ad812b5faafdd471a97292ffc96ea
0x6d347582b1ecf5eff0b9913cb49b3e41783fdc04731e7ca19a0a28754026d3f0

Functions
Getter at block 22760739
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
MINTERCONTRACT_ROLE(view returns (bytes32)
0xde5ee446972f4e39ab62c03aa34b2096680a875c3fdb3eb2f947cbb93341c058
OPERATOR_ROLE(view returns (bytes32)
0x523a704056dcd17bcf83bed8b68c59416dac1119be77755efe3bde0a64e46e0c
_qrngUint256(view returns (uint256)
78023280019293720033889683377129668399757389408557966169742930031719739575428
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)
0xaaa145c68f60944ef3b84b7aab0ebcdd1d41b122
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 _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
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