Game

Verified contract

Active on Ethereum with 1,384 txns
Deployed by via 0x44a679e2 at 6776968
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $0.32
0x478f2cd32ecf8c6828896449ce481cc47c292189030460984bd9ab27a44639e6
0x7fcae0686a1b18191a82613e0a927cf6c0dab6d0cf6815808d31899d7c867cba
0xf306104bd59771de7b5e0636728dac2a98b2f1223a261457b1857133e006edcf
0xd624c7306aae905b4adc5b30a824861637bf6bf5a28dc379d9690becbaaff21c
0xda9a9d321517a39522573210872275697c0b659a95edde05f266fbca6477c6ea
0x42a267fd1235d9f8df3df1e922e9c82d93f4811fc7d19dbf82920e48f3486072
0x1c59e15ebf31dfe941a9e425234ef5c77097738bb63b4c4d0468456505388905
0xd8d31b805473ea594e528a0aa8312be95a3026ea0ffb0453e5c7f837131cd566
0x78702eaec70481401245ceff196e1d203d148147b32ef2aa8387a0b1b3a56213
0xabcc0b88d8a1e86775d4948c6cffc601ccff20b07726dc46a1b9c5e519bc3747

Functions
Getter at block 21218197
getBetPhase(view returns (uint256)
35900
getCommitPhase(view returns (uint256)
5700
getContractBalance(view returns (uint256)
99900000000000
getFinished(view returns (bool)
false
getGamePeriod(view returns (uint256)
9
getId(view returns (uint256)
9
getStartBlock(view returns (uint256)
6854346
Read-only
getLuckUser(uint256 idview returns (address)
getMinAmount(uint256 idview returns (uint256)
getPlayerAddress(uint256 perioduint256 offsetview returns (address)
getPlayerCommitted(uint256 periodaddress playerview returns (bool)
getPlayerHash(uint256 perioduint256 offsetview returns (bytes32)
getPlayerNum(uint256 periodview returns (uint256)
getPlayerOrigin(uint256 perioduint256 offsetview returns (bytes32)
getPlayerReturned(uint256 periodaddress playerview returns (bool)
getPlayerValue(uint256 perioduint256 offsetview returns (uint256)
getPrizeAmount(uint256 idview returns (uint256)
getRandom(uint256 idview returns (bytes32)
getsha3(bytes32 xview returns (bytes32)
State-modifying
commitOrigin(uint256 idbytes32 originbytes32 sid
open(uint256 id
play(uint256 idbytes32 hashbytes32 sidpayable 
startGame(uint256 iBetPhaseuint256 iCommitPhaseuint256 iOpenPhaseuint256 betvalueuint256 iRefund
withdraw(address useruint256 value
Events
CommitOrigin(address indexed userbytes32 originuint256 numbytes32 siduint256 id
Open(address indexed userbytes32 randomuint256 prizeuint256 id
Play(uint256 indexed valuebytes32 hashuint256 idbytes32 sidaddress player
StartGame(uint256 indexed iduint256 betPhaseuint256 commitPhaseuint256 openPhaseuint256 betValueuint256 refunduint256 startBlock
Constructor
constructor(
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.