DiceGameContract

Verified contract

Active on Ethereum with 5 txns
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "DiceGameContract"

0x9645c553161ee2a732297f86bf9c5acf7506e390c1bb2beee5bddafe8181b4d8
0xa4e8c9c76348833337575eaaadc9247e18c3d666030a5cc35b267de64fcc7414
0x6d698d1561eb810bb4b991de38f58735e2f666c63ef57232b35532f921b904b2
0xd9798c1ec4be27e7fa4de9c66372fec4eb283a09a586e75697499868efca24cb
0x942bd4d9849e772e7ef709f785b10ff4f09058bc55043b6c2a7056f3ce71384c

Functions
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(uint256view returns (int64)
games(int64view returns (uint256 minBetbool inProgressuint16 loser)
isGameInProgress(int64 _tgChatIdview returns (bool)
State-modifying
abortAllGames(bool usedWETH
abortGame(int64 _tgChatIdbool usedWETH
emergencyWithdrawERC20(address tokenAddressaddress to
emergencyWithdrawEther(address to
endGame(int64 _tgChatIdaddress _winnerbool usedWETH
newGame(int64 _tgChatIduint256 _minBetaddress[] _playersuint256[] _betsbool useWETHreturns (uint256[])
renounceOwnership(
setBettingToken(address _newBettingToken
setWETH(address _newWETH
setrevenueWallet(address _revenueWallet
transferOwnership(address newOwner
Events
Bet(int64 tgChatIdaddress playeruint256 amount
Loss(int64 tgChatIdaddress playeruint256 amount
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Revenue(int64 tgChatIduint256 amount
Win(int64 tgChatIdaddress playeruint256 amount
Constructor
constructor(address _bettingTokenaddress _WETHuint256 _minimumBetuint256 _revenueBpsaddress _revenueWallet
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.