DiceGameContract
Verified contract
Active on
Ethereum with 5 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0x33fd…0cd4
0xc02a…6cc2
Balances ($0.00)
No balances found for "DiceGameContract"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 18910507 | a year ago | | | 0 | 0.00096058110 | |
| 18910503 | a year ago | | | 0 | 0.0026879884 | |
| 18027532 | a year ago | | | 0 | 0.00071314907 | |
| 18027524 | a year ago | | | 0 | 0.0025476341 | |
| 18023627 | a year ago | | | 0 | 0.00060016649 |
ABI
ABI objects
Getter at block 21282390
WETH() view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
bettingToken() view returns (address)
0x33fd9eddbf7b025bec61c458bccc8e7cab160cd4
minimumBet() view returns (uint256)
1
owner() view returns (address)
0x66c6d593e67a0ee02a5c90c0c04d0c7dd9d07d03
revenueBps() view returns (uint256)
1000
revenueWallet() view returns (address)
0x4863b611340df5fb795796dcfb46313f416cfb7e
Read-only
activeTgGroups(uint256) view returns (int64)
games(int64) view returns (uint256 minBet, bool inProgress, uint16 loser)
isGameInProgress(int64 _tgChatId) view returns (bool)
State-modifying
Events abortAllGames(bool usedWETH)
abortGame(int64 _tgChatId, bool usedWETH)
emergencyWithdrawERC20(address tokenAddress, address to)
emergencyWithdrawEther(address to)
endGame(int64 _tgChatId, address _winner, bool usedWETH)
newGame(int64 _tgChatId, uint256 _minBet, address[] _players, uint256[] _bets, bool useWETH) returns (uint256[])
renounceOwnership()
setBettingToken(address _newBettingToken)
setWETH(address _newWETH)
setrevenueWallet(address _revenueWallet)
transferOwnership(address newOwner)
Bet(int64 tgChatId, address player, uint256 amount)
Loss(int64 tgChatId, address player, uint256 amount)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Revenue(int64 tgChatId, uint256 amount)
Win(int64 tgChatId, address player, uint256 amount)
constructor(address _bettingToken, address _WETH, uint256 _minimumBet, uint256 _revenueBps, address _revenueWallet)
This contract contains no fallback and receive objects.
This contract contains no error objects.