RafflesContract

Verified contract

Active on Ethereum with 3,369 txns
Deployed by via 0xe02667b2 at 11412605
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 5 additional slots
 (#0)
ERC-1555
--
 (#2)
ERC-1555
--
 (#1)
ERC-1555
--
 (#3)
ERC-1555
--
 (#4)
ERC-1555
--
 (#5)
ERC-1555
--
 (#36)
ERC-1555
--
 (#35)
ERC-1555
--
 (#37)
ERC-1555
--
 (#39)
ERC-1555
--
0x85146bed36ece191d9cfb2b5a454e4c16344b428d6bc8b80245e1065fa141353
0xf36494e37c707a5d2cd07493401e3a32858148dbf629887f41506a649254dd4c
0xd60bd5d0093e6a4a36d78a5c65eebbc1746163f1b778e83b89e2af96171b2dc0
0x37c1089cb20416bcb077137bf1f0b5d4bccb0208d4aa3ff72f6783a9e9a8e95d
0x84ec2b4b308b73ae5d14922cf9767928130bbee6127cd933c3767a59087e84fc
0xa3014d08518d014430a6d8d501c0493016741391b0db78e0ea4ac1854ac408bf
0x13503fda371c06277e0948affca1caa7f70bf734cc1eee939913a0e93037821a
0xae70ed6e3d8b1e9ea221a1801831b672c90778b3f9167c1b2b78c99df77737f1
0x146668d1e22d1a53351f372e6d328d379477d4a72f7f722f72833cb7c59c71f7
0xd6472018c444b5de3ccf4298ad2f3c4735cde09d48d0da20a3e6bd89fb532334
From

Functions
Getter at block 21211005
getRaffles(view returns (struct RafflesContractRaffleIO[] raffles_)
[(0, 0, false), (1, 1607695997, false), (2, 1609685681, false)]
linkBalance(view returns (uint256 linkBalance_)
0
owner(view returns (address)
0x819c3fc356bb319035f9d2886fac9e57df0343f5
raffleSupply(view returns (uint256 raffleSupply_)
3
Read-only
getEntrants(uint256 _raffleIdview returns (address[] entrants_)
getEntries(uint256 _raffleIdaddress _entrantview returns (struct RafflesContractEntryIO[] entries_)
nonces(bytes32 _keyHashview returns (uint256 nonce_)
onERC1155Received(address _operatoraddress _fromuint256 _iduint256 _valuebytes _dataview returns (bytes4)
raffleInfo(uint256 _raffleIdview returns (uint256 raffleEnd_struct RafflesContractRaffleItemOutput[] raffleItems_uint256 randomNumber_)
supportsInterface(bytes4 _interfaceIdview returns (bool)
ticketStats(uint256 _raffleIdview returns (struct RafflesContractTicketStatsIO[] ticketStats_)
State-modifying
changeVRFFee(uint256 _newFeebytes32 _keyHash
claimPrize(uint256 _raffleIdaddress _entrantstruct RafflesContractticketWinIO[] _wins
drawRandomNumber(uint256 _raffleId
enterTickets(uint256 _raffleIdstruct RafflesContractTicketItemIO[] _ticketItems
rawFulfillRandomness(bytes32 _requestIduint256 _randomness
removeLinkTokens(address _touint256 _value
startRaffle(uint256 _raffleDurationstruct RafflesContractRaffleItemInput[] _raffleItems
transferOwnership(address _newContractOwner
Events
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
RaffleClaimPrize(uint256 indexed raffleIdaddress entrantaddress prizeAddressuint256 prizeIduint256 prizeQuantity
RaffleRandomNumber(uint256 indexed raffleIduint256 randomNumber
RaffleStarted(uint256 indexed raffleIduint256 raffleEndstruct RafflesContractRaffleItemInput[] raffleItems
RaffleTicketsEntered(uint256 indexed raffleIdaddress entrantstruct RafflesContractTicketItemIO[] ticketItems
Constructor
constructor(address _contractOwneraddress _vrfCoordinatoraddress _linkbytes32 _keyHashuint256 _fee
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.