EthereumLottery

Verified contract

Active on Ethereum with 119 txns
Deployed by via 0xb13eb3e8 at 4327945
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 999 additional slots
Native
Value $737.71
ERC-20
--
0x80528b165cde1ed21ee4c53fa3c0db569c8ffb0b90e59d83f6d42241750f9f32
0x7586c358a3b4dd3688741ca5fb75d9e86f31f4153528a64ab9a7ebc8137f6856
0x109ac22ff13c70522d65210ca69621a05e19873649b127aac772da8fd678fdf0
0x5a1e04213992154de6cbcc65b15622d5cf9e572d46c31b1694cd8ba33fd34e48
0xf9128d0b122831a8db732da53d4aa83c4667129d3585ff23f08a63582444d10e
0x96d92fa314462ce45addb6c8d267c3530e1744829d4bb3739a13c7416b24a113
0xa426ef044120847990214bb52b334b0175e8a30f19d6a2ea31b0dc8b143f4d69
0xf4c773c08e0ad01f7e050f1d80cec53287c2c73a66d51b09e63c236557f0417c
0xb8b0de13716b232fe83e1514db814734979a0ed3bce84fe3fc8fc0a35f97a211
0x6893f02c64c131fe06ee054c51173373518a433e980323063798b1b6458a8ad2

Functions
Getter at block 21385800
admin(view returns (address)
0x549b38e8e5fb1ba4acd4187d8b7c8a04deb53206
btcRelay(view returns (address)
0x41f274c0023f83391de4e0733c609df5a124c3d4
escrow(view returns (address)
0xe28942df3b9502193a3547e6f6bad16ce63b1e2d
 
getRecentActivity(view returns (int256 _iduint256 _idxuint256[1000] _recentActivity)
id(view returns (int256)
1
lastInitTimestamp(view returns (uint256)
1508514591
lastSaleTimestamp(view returns (uint256)
1508516526
 
needsBlockFinalization(view returns (bool)
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 _idview returns (int256 _actualIduint256 _jackpotint256 _decidingBlockuint256 _numTicketsuint256 _numTicketsSolduint256 _lastSaleTimestampuint256 _ticketPrice)
getLotteryDetailsB(int256 _idview returns (int256 _actualIdint256 _winningTicketaddress _winneruint256 _finalizationBlockaddress _finalizerstring _messageint256 _prevLotteryint256 _nextLotteryint256 _blockHeight)
getMessageLength(string _messageview returns (uint256)
getTicketDetails(int256 _iduint256 _offsetuint256 _naddress _addrview returns (uint8[] details)
getTicketOwner(int256 _iduint256 _ticketview returns (address)
lotteries(int256view returns (uint256 jackpotint256 decidingBlockuint256 numTicketsuint256 numTicketsSolduint256 ticketPriceint256 winningTicketaddress winneruint256 finalizationBlockaddress finalizerstring messageint256 nearestKnownBlockint256 nearestKnownBlockHash)
recentActivity(uint256view returns (uint256)
State-modifying
acceptOwnership(
buyTickets(uint256[] _ticketsuint256 _markbytes _extraDatapayable 
finalizeBlock(
finalizeLottery(uint256 _steps
initLottery(uint256 _jackpotuint256 _numTicketsuint256 _ticketPrice
proposeOwner(address _owner
setAdmin(address _admin
setMessage(int256 _idstring _message
Events
PurchaseFailed(address indexed buyeruint256 markuint8 reason
PurchaseSuccessful(address indexed buyeruint256 mark
Constructor
constructor(address _btcRelayaddress _escrow
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.