Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
No balances found for "StockBet"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 8612333 | 5 years ago | | | 0 | 0.0039276000 | |
| 8612203 | 5 years ago | | | 0 | 0.00090350000 |
ABI
ABI objects
Getter at block 21163208
bet() view returns (uint256)
2
finalPrice() view returns (uint256)
0
initialPrice() view returns (uint256)
1100473
oracle() view returns (address)
0x7d385d0bd957c503e8189a8bc711534e327a3ace
owner() view returns (address)
0x6f4b30ec90f20bdb3e3c8b1b4ca29b37b73c2a8f
result() view returns (uint256)
0
state() view returns (uint8)
2
Read-only
guesses(uint256) view returns (uint256 guesses_number)
State-modifying
Events betDown() payable
betUp() payable
closeGame()
collectOwnerWinnings()
collectPlayerWinnings()
setFinalPrice(uint256 _value) payable
setInitialPrice(uint256 _value) payable
setOracle(address _oracle) payable
FinalPriceSet(uint256 finalPrice)
GameClosed()
GameCreated(uint256 bet)
GameOpened(uint256 initialPrice)
OracleSet(address oracle)
OwnerWins(address owner)
PlayerBet(address player, uint256 guess)
PlayersWin(uint256 result, uint256 splitJackpot)
constructor(uint256 _bet)
This contract contains no fallback and receive objects.
This contract contains no error objects.