MultiprizeLean

Verified contract

Active on Ethereum with 21 txns
Deployed by via 0x50a9bc56 at 17336447
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $6.71
0xa7558b6d344055bdc2d6dc7c7d6a3ca435647ea77a6c6634094d66b733c1d8f4
0xa3427be1460d670d5a7cdeae5534af4a2e5ef68da644d6caa2c724240ef6da6d
0x132d14920e6639c81de7e303996a3d6d9bed2657b70e05b6397d1c4d07931c0d
0x7fb7896cc8dd622c6804c7328ec7bef39f2c35bd78eb5355baf1112f45ea474b
0xb071d8293ce8c903574fbee978320bc034093f088f75c293ed4401c9bd6f236e
0x0dce0d1afd1524b20031020c80f81256dc08f79dc80c1ec67a32c336eb0475ff
0xeefa63f2d532b8c784733bd326d7676d148aac87609d6ab70a81dfbea4b90a76
0x0a5130a31ea5d8876466833bbd1b197ddcdee7d125a521fd62e4599d8acb9d17
0xf33038d13701670cd38d2525f2d6daac46e7e97d1e9e286fbd65058d92865ecf
0x17ac9f1a68f8ea0df031a7ef6f2ea955a4bf67078e58864bb3df7faad5fa3661

Functions
Getter at block 21100331
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
MINTERCONTRACT_ROLE(view returns (bytes32)
0xde5ee446972f4e39ab62c03aa34b2096680a875c3fdb3eb2f947cbb93341c058
OPERATOR_ROLE(view returns (bytes32)
0x523a704056dcd17bcf83bed8b68c59416dac1119be77755efe3bde0a64e46e0c
destinationWallet(view returns (address)
0x12334d915d254f1ffd3f7ea80bb5eba5ea87fb36
owner(view returns (address)
0x3684a8007dc9df696a86b0c5c89a8032b78b5b0d
Read-only
entriesList(uint256uint256view returns (uint48 currentEntriesLengthaddress player)
fundingList(uint256view returns (uint128 minimumFundsInWeisuint128 desiredFundsInWeis)
getEntriesBought(uint256 _idRaffleview returns (struct MultiprizeLeanEntriesBought[])
getRoleAdmin(bytes32 roleview returns (bytes32)
getWinnersData(uint256 _idRaffleview returns (struct MultiprizeLeanWinnersStruct[])
hasRole(bytes32 roleaddress accountview returns (bool)
pricesList(uint256view returns (uint256 iduint48 numEntriesuint256 price)
prizesData(uint256uint256view returns (address selleraddress collectionuint48 positionuint48 tokenIduint48 iduint128 amount)
raffles(uint256view returns (uint48 platformPercentageuint48 numOfPrizesuint48 cancellingDate)
rafflesEntryInfo(uint256view returns (uint8 statusuint8 entryTypeuint48 entriesLengthuint128 amountRaised)
s_requests(uint256view returns (bool existsuint256 iduint256 size)
supportsInterface(bytes4 interfaceIdview returns (bool)
winnersList(uint256uint256view returns (uint256 idPrizeaddress playeruint256 randomNumber)
State-modifying
acceptOwnership(
buyEntry(uint256 _raffleIduint256 _idpayable 
cancelEntry(uint256 _raffleIduint256[] entriesToCanceladdress _player
cancelRaffle(uint256 _raffleId
createRaffle(struct MultiprizeLeanBatchRaffleDTO[] _batchRafflesDTO
earlyCashOut(uint256 _raffleId
giveBatchEntriesForFree(uint256 _raffleIdaddress[] _freePlayers
grantRole(bytes32 roleaddress account
rawFulfillRandomWords(uint256 requestIduint256[] randomWords
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
setChainlinkVRFCallbackGasLimit(uint32 _newLimit
setDestinationAddress(address _newAddress
setWinner(uint256 _raffleId
stake(uint256[] _raffleIdspayable 
transferOwnership(address to
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
OwnershipTransferRequested(address indexed fromaddress indexed to
OwnershipTransferred(address indexed fromaddress indexed to
PrizePaidOutToStaker(uint256 indexed raffleIdaddress indexed selleruint256 idPrize
RaffleCancelled(uint256 indexed raffleIduint256 amountRaised
RaffleCreated(uint256 indexed raffleId
RaffleEnded(uint256 indexed raffleIduint256 amountRaised
RaffleStarted(uint256 indexed raffleIdaddress indexed seller
RequestSent(uint256 requestIduint32 numWords
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
WinnerSelected(uint256 indexed raffleIdaddress indexed winneruint256 randomNumber
WinnersOfRaffle(uint256 indexed raffleIdstruct MultiprizeLeanWinnersStruct[] winnersList
Constructor
constructor(uint64 subscriptionIdaddress _vrfCoordinatorbytes32 _keyHash
Fallback and receive

This contract contains no fallback and receive objects.

Errors
EntryNotAllowed(string errorType
OnlyCoordinatorCanFulfill(address haveaddress want