lottery

Verified contract

Active on Ethereum with 140 txns
Deployed by via 0x32655cc4 at 6848896
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $1,236.97
0x58dbabef8e7a46e6539d2ca3cbfdcabd693dbab2743e3b91559edb0c1049e6d7
0x1a87089ab441303d584234e42aabc223438f323b08a8dff3b8a80a855f68727c
0xdb5d41252daa811aa3fac58f012152e322f7ad8795474f8e85ce831035d1f10b
0x9f31e2b814d0f96ff33e78349d2f93839053b68239c35ab6eb8cf8d6f57aa8fc
0xc8a75b7c76e21ccbcb81a07047637e05eec108618ec61b4cdfd7272edd746a64
0x261d3ade8a1266c62954ee2462e02bcc36b042d9aa9deedd05a64751eb5bb2c2
0xb470c231313ae66b27352a773bbb8e29c09e9615d5ef10eaa4bb9c657a50fe67
0x2017dc0ea4c1cd3e51d4c235c5ef56f7025468e5a7cba4e0e815cf494c4a99d0
0x0253f2a49d663f68be1f06088bb855f67811e70df3a51e3aa22da8140e578247
0xf84665e4cc59b366c8e1148dd8582faeaa49cfb838f3e52eb8aaa459281a875b

Functions
Getter at block 20907686
adminAddress(view returns (address)
0xa161cf71682a3fe6bde042695af12cc0c0e5dcc7
adminFee(view returns (uint256)
10
drawerAddress(view returns (address)
0xd36c57086c9fc2d06c3009207f0d4d818cac4f63
feeAddress(view returns (address)
0x798f4a40dc6c45a812f1549402e3d9e5ba5fc9a5
gameNumber(view returns (uint256)
37
gameStatus(view returns (bool)
false
getGameDrawInfos(view returns (uint256 carryOverJackpotuint256 totalTicketCountuint256 totalWinPlayersCountuint256[] totalWinCountuint256[] playersAmounts)
(carryOverJackpot=394560000000000000, totalTicketCount=0, totalWinPlayersCount=0, totalWinCount=[0, 0, 0, 0, 0, 0], playersAmounts=[0, 0, 0, 0, 0, 0])
numbersCount(view returns (uint256)
5
numbersCountMax(view returns (uint256)
25
numbersStart(view returns (uint256)
1
orclizeGasPrice(view returns (uint256)
400000
owner(view returns (address)
0xa161cf71682a3fe6bde042695af12cc0c0e5dcc7
prizeNumCount(view returns (uint256)
3
prizeStart(view returns (uint256)
3
ticketPrice(view returns (uint256)
10000000000000000
Read-only
games(uint256view returns (uint256 endTimeuint256 ticketPriceuint256 accumJackpotAmountsbytes winningNumbersbytes32 queryIdstring hashString)
getGameDetails(uint256 _gameNumberview returns (uint256 endTimeuint256 ticketPriceuint256 ticketCountuint256 accumJackpotuint256[] gameRewarduint256[] numbers)
getGameHistory(uint256 _gameNumberview returns (uint256 endTimeuint256 accumJackpotuint256 ticketCountuint256 adminFeeuint256[] winningPercentuint256[] winPlayersCountuint256[] winNumbers)
getGameWinners(uint256 _gameNumberview returns (address[] playeruint256[] timeuint256[] numbers)
getPlayerAllTickets(address _playeruint256 _startuint256 _endview returns (uint256[] winNumbersuint256[] myTickets)
getPlayerTickets(address _playeruint256 _gameNumberview returns (uint256[] timeuint256[] numbers)
getWinners(uint256 _startuint256 _endview returns (uint256[] indexuint256[] winCount)
winPercent(uint256view returns (uint256)
State-modifying
__callback(bytes32 _queryIdstring _resultbytes _proof
__callback(bytes32 myidstring result
buyTicket(bytes _ticketNumberuint256 _ticketCountpayable 
endGame(
kill(
sendRewardToPlayers(uint256[] _winnerIndexuint256[] _winReward
setAdminAddress(address _admin
setAdminFee(uint256 _fee
setDrawerAddress(address _drawer
setFeeAddress(address _feeAddr
setTicketPrice(uint256 _price
startGame(uint256 _carryOverJackpotuint256[] _totalWinCount
transferOwnership(address newOwner
Events
LogBuyTicket(uint256 _timeaddress _playerbytes _numbersuint256 _countuint256 _ticketTotalCount
LogEndGameBegin(bool _success
LogEndGameFail(bool _success
LogEndGameSuccess(bool _success
LogStartNewGame(bool _startuint256 _gameNumberbytes _winNumbers
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Constructor
constructor(
Fallback and receive
fallback(
Errors

This contract contains no error objects.