EthereumLottery
Verified contract
Active on
Ethereum with 119 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 999 additional slots
Balances ($737.71)
Native
Value
$737.71
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
ETH | Native | 0.189 | $3,903.22 |
$737.71 | |
VIU | ERC-20 | 3.78 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 4396610 | 7 years ago | | | 0.045 | 0.00086363100 | |
| 4396601 | 7 years ago | | | 0.045 | 0.0014387450 | |
| 4396583 | 7 years ago | | | 0.045 | 0.00028781300 | |
| 4396550 | 7 years ago | | | 0.009 | 0.000025492000 | |
| 4396533 | 7 years ago | | | 0.045 | 0.0044484860 | |
| 4396508 | 7 years ago | | | 0 | 0.0030830940 | |
| 4396456 | 7 years ago | | | 0 | 0.00011429800 | |
| 4396453 | 7 years ago | | | 0 | 0.00024096400 | |
| 4394682 | 7 years ago | | | 0 | 0.000062879000 | |
| 4394414 | 7 years ago | | | 0.045 | 0.0040311740 |
ABI
ABI objects
Getter at block 21385800 getRecentActivity() view returns (int256 _id, uint256 _idx, uint256[1000] _recentActivity) needsBlockFinalization() view returns (bool)
admin() view returns (address)
0x549b38e8e5fb1ba4acd4187d8b7c8a04deb53206
btcRelay() view returns (address)
0x41f274c0023f83391de4e0733c609df5a124c3d4
escrow() view returns (address)
0xe28942df3b9502193a3547e6f6bad16ce63b1e2d
id() view returns (int256)
1
lastInitTimestamp() view returns (uint256)
1508514591
lastSaleTimestamp() view returns (uint256)
1508516526
needsInitialization() view returns (bool)
false
needsLotteryFinalization() view returns (bool)
false
owner() view returns (address)
0x42abdd654de6aba2d157a1ba39245ea596eb9717
proposedOwner() view returns (address)
0x0000000000000000000000000000000000000000
recentActivityIdx() view returns (uint256)
320
Read-only
getLotteryDetailsA(int256 _id) view returns (int256 _actualId, uint256 _jackpot, int256 _decidingBlock, uint256 _numTickets, uint256 _numTicketsSold, uint256 _lastSaleTimestamp, uint256 _ticketPrice)
getLotteryDetailsB(int256 _id) view returns (int256 _actualId, int256 _winningTicket, address _winner, uint256 _finalizationBlock, address _finalizer, string _message, int256 _prevLottery, int256 _nextLottery, int256 _blockHeight)
getMessageLength(string _message) view returns (uint256)
getTicketDetails(int256 _id, uint256 _offset, uint256 _n, address _addr) view returns (uint8[] details)
getTicketOwner(int256 _id, uint256 _ticket) view returns (address)
lotteries(int256) view returns (uint256 jackpot, int256 decidingBlock, uint256 numTickets, uint256 numTicketsSold, uint256 ticketPrice, int256 winningTicket, address winner, uint256 finalizationBlock, address finalizer, string message, int256 nearestKnownBlock, int256 nearestKnownBlockHash)
recentActivity(uint256) view returns (uint256)
State-modifying
Events acceptOwnership()
buyTickets(uint256[] _tickets, uint256 _mark, bytes _extraData) payable
finalizeBlock()
finalizeLottery(uint256 _steps)
initLottery(uint256 _jackpot, uint256 _numTickets, uint256 _ticketPrice)
proposeOwner(address _owner)
setAdmin(address _admin)
setMessage(int256 _id, string _message)
PurchaseFailed(address indexed buyer, uint256 mark, uint8 reason)
PurchaseSuccessful(address indexed buyer, uint256 mark)
constructor(address _btcRelay, address _escrow)
This contract contains no fallback and receive objects.
This contract contains no error objects.