NFT-LOTTERY
Verified contract
Proxy
Active on
Ethereum with 55 txns
Unified storage
Map
Table
Raw
Constants and immutables
0
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 1 additional slot
-
variable spans 40 additional slots
-
variable spans 48 additional slots
0x8d51…a546
6 additional
variables
Balances ($0.00)
No balances found for "NFT-LOTTERY"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 14499506 | 3 years ago | | | 0 | 0.00091049642 | |
| 14312743 | 3 years ago | | | 0 | 0.0068485430 | |
| 14312743 | 3 years ago | | | 0 | 0.0063752668 | |
| 14214002 | 3 years ago | | | 0 | 0.0074181564 | |
| 13953651 | 3 years ago | | | 0 | 0.0088235040 | |
| 13581246 | 3 years ago | | | 0 | 0.0065403421 | |
| 13264968 | 3 years ago | | | 0 | 0.0041903368 | |
| 13259314 | 3 years ago | | | 0 | 0.019842471 | |
| 13259050 | 3 years ago | | | 0.1 | 0.0021283062 | |
| 13259050 | 3 years ago | | | 0.02 | 0.0021283062 |
ABI
ABI objects
Getter at block 21160541
baseURI() view returns (string)
endDate() view returns (uint64)
1632095100
hasCalledVRF() view returns (bool)
true
isRefundOpen() view returns (bool)
false
maxTickets() view returns (uint32)
150
maxTicketsPerAddress() view returns (uint32)
5
minTicketsToSell() view returns (uint32)
150
name() view returns (string)
NFT-LOTTERY
owner() view returns (address)
0xe08d4f39b64597491bf3cdddc2dd7bd72e04847b
prizeAddress() view returns (address)
0xaa44dd92bc64bf8e700bb515a9bf95547b413e4e
prizeId() view returns (uint256)
412
startDate() view returns (uint64)
1632091500
symbol() view returns (string)
LOTTO
ticketPrice() view returns (uint256)
20000000000000000
totalSupply() view returns (uint256)
150
Read-only
balanceOf(address owner) view returns (uint256)
getApproved(uint256 tokenId) view returns (address)
isApprovedForAll(address owner, address operator) view returns (bool)
ownerOf(uint256 tokenId) view returns (address)
supportsInterface(bytes4 interfaceId) view returns (bool)
tokenByIndex(uint256 index) view returns (uint256)
tokenOfOwnerByIndex(address owner, uint256 index) view returns (uint256)
tokenURI(uint256 id) view returns (string)
State-modifying
Events approve(address to, uint256 tokenId)
buyTickets(uint256 numTickets) payable
claimETH()
distributePrize()
getRefund(uint256[] ids)
initialize(address _prizeAddress, uint256 _prizeId, uint64 _startDate, uint64 _endDate, uint32 _minTicketsToSell, uint32 _maxTickets, uint32 _maxTicketsPerAddress, uint256 _ticketPrice)
onERC721Received(address, address, uint256, bytes) returns (bytes4)
refundOwnerAssets()
renounceOwnership()
safeTransferFrom(address from, address to, uint256 tokenId)
safeTransferFrom(address from, address to, uint256 tokenId, bytes _data)
setApprovalForAll(address operator, bool approved)
transferFrom(address from, address to, uint256 tokenId)
transferOwnership(address newOwner)
unlockRefund()
Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)
ApprovalForAll(address indexed owner, address indexed operator, bool approved)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Transfer(address indexed from, address indexed to, uint256 indexed tokenId)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
This contract contains no error objects.