RafflesContract
Verified contract
Active on
Ethereum with 3,369 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 5 additional slots
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
(#0) | ERC-1555 | 115.759K | -- | -- | |
(#2) | ERC-1555 | 48.728K | -- | -- | |
(#1) | ERC-1555 | 43.49K | -- | -- | |
(#3) | ERC-1555 | 25.471K | -- | -- | |
(#4) | ERC-1555 | 12.924K | -- | -- | |
(#5) | ERC-1555 | 2.608K | -- | -- | |
(#36) | ERC-1555 | 423 | -- | -- | |
(#35) | ERC-1555 | 413 | -- | -- | |
(#37) | ERC-1555 | 400 | -- | -- | |
(#39) | ERC-1555 | 155 | -- | -- |
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 12764031 | 3 years ago | | | 0 | 0.0013175100 | |
Transfer | 12313510 | 4 years ago | | | 0.002 | 0.0010500000 | |
| 12014448 | 4 years ago | | | 0 | 0.014135920 | |
| 11993849 | 4 years ago | | | 0 | 0.013996692 | |
| 11988054 | 4 years ago | | | 0 | 0.017303912 | |
| 11972717 | 4 years ago | | | 0 | 0.020553714 | |
| 11971094 | 4 years ago | | | 0 | 0.0070998480 | |
| 11970309 | 4 years ago | | | 0 | 0.028125836 | |
| 11968924 | 4 years ago | | | 0 | 0.010649772 | |
| 11966810 | 4 years ago | | | 0 | 0.017370332 |
ABI
ABI objects
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 _raffleId) view returns (address[] entrants_)
getEntries(uint256 _raffleId, address _entrant) view returns (struct RafflesContractEntryIO[] entries_)
nonces(bytes32 _keyHash) view returns (uint256 nonce_)
onERC1155Received(address _operator, address _from, uint256 _id, uint256 _value, bytes _data) view returns (bytes4)
raffleInfo(uint256 _raffleId) view returns (uint256 raffleEnd_, struct RafflesContractRaffleItemOutput[] raffleItems_, uint256 randomNumber_)
supportsInterface(bytes4 _interfaceId) view returns (bool)
ticketStats(uint256 _raffleId) view returns (struct RafflesContractTicketStatsIO[] ticketStats_)
State-modifying
Events changeVRFFee(uint256 _newFee, bytes32 _keyHash)
claimPrize(uint256 _raffleId, address _entrant, struct RafflesContractticketWinIO[] _wins)
drawRandomNumber(uint256 _raffleId)
enterTickets(uint256 _raffleId, struct RafflesContractTicketItemIO[] _ticketItems)
rawFulfillRandomness(bytes32 _requestId, uint256 _randomness)
removeLinkTokens(address _to, uint256 _value)
startRaffle(uint256 _raffleDuration, struct RafflesContractRaffleItemInput[] _raffleItems)
transferOwnership(address _newContractOwner)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
RaffleClaimPrize(uint256 indexed raffleId, address entrant, address prizeAddress, uint256 prizeId, uint256 prizeQuantity)
RaffleRandomNumber(uint256 indexed raffleId, uint256 randomNumber)
RaffleStarted(uint256 indexed raffleId, uint256 raffleEnd, struct RafflesContractRaffleItemInput[] raffleItems)
RaffleTicketsEntered(uint256 indexed raffleId, address entrant, struct RafflesContractTicketItemIO[] ticketItems)
constructor(address _contractOwner, address _vrfCoordinator, address _link, bytes32 _keyHash, uint256 _fee)
This contract contains no fallback and receive objects.
This contract contains no error objects.