ETHFixedLean

Verified contract

Active on Ethereum with 7,006 txns
Deployed by via 0x65050a9f at 17228786
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $176.2
0xb7f4e09e69057deea3851ebe7de0afa0009e3d2b73449d962ff7fb7a5c67de69
0x41985212ea1836649adb57351b68ef6b39d492b748dd9ce44850929548f4fce8
0x89d5b57106c5cf4c6db2ba4aa29674751ad87658b15d0dfe9452ca91e5d159b3
0x19ba99d740b529def09ed9d5ee8b2024216ee29f8e7bd5c0ad01af69742625e5
0x2fbc143a873bb6c176ccf23deb4a664d46af70d7b9851d9c3533c94aee25ba4a
0x8974a0781b8d7c60241b1978608fcea2337f8341783606230491503e3c8d322b
0xd9b2bbc1277b5998071e45611dcb951805914541211b151d69a5366a62a7d453
0x601edee1bfe86f4e45cdd83939868d49557561e751c5720a3ec1607486d0bbab
0x8140926b5569351f08f8a1d8cd6690442e4dd006a961881c80e0da441a437f5a
0x9f9fd8d24e51e90292937beff0b1dbd458903ddf600164ef6bc23dd0fe13d318

Functions
Getter at block 21269182
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
MINTERCONTRACT_ROLE(view returns (bytes32)
0xde5ee446972f4e39ab62c03aa34b2096680a875c3fdb3eb2f947cbb93341c058
OPERATOR_ROLE(view returns (bytes32)
0x523a704056dcd17bcf83bed8b68c59416dac1119be77755efe3bde0a64e46e0c
destinationWallet(view returns (address)
0x1544d2de126e3a4b194cfad2a5c6966b3460ebe3
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 ETHFixedLeanEntriesBought[])
getRafflesEntryInfo(uint256 _raffleIdview returns (struct ETHFixedLeanEntryInfoStruct)
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 platformPercentageuint256 prizeNumberaddress winneraddress selleruint256 randomNumber)
rafflesEntryInfo(uint256view returns (uint8 statusuint8 entryTypeuint48 entriesLengthuint128 amountRaised)
requests(uint256view returns (uint256 randomNumberuint256 nomalizedRandomNumber)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
buyEntry(uint256 _raffleIduint256 _idpayable 
cancelEntry(uint256 _raffleIduint256[] entriesToCanceladdress _player
cancelRaffle(uint256 _raffleId
createFreeEntriesFromExternalContract(uint256 _raffleIduint48 _amountOfEntriesaddress _player
createRaffle(uint128 _desiredFundsInWeisuint256 _prizeNumberuint128 _minimumFundsInWeisstruct ETHFixedLeanPriceStructure[] _pricesuint48 _commissionInBasicPointsuint8 _entryTypereturns (uint256)
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
stakeETH(uint256 _raffleIdpayable 
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 raffleIduint256 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
StatusChangedInEmergency(uint256 indexed raffleIduint256 newStatus
Constructor
constructor(address _vrfCoordinatoraddress _linkTokenbytes32 _keyHashbool _mainetFee
Fallback and receive

This contract contains no fallback and receive objects.

Errors
EntryNotAllowed(string errorType