PokerContract

Verified contract

Active on Ethereum with 1,785 txns
Deployed by via 0x52fb6e3a at 18031775
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
0x65d1037de666af20f43de31f8e7e4b3f3a351cb4a29cab8cb0102cb32a4beaed
0x8ee3d8f497173562b4ae1e4df1b4d64f9a3902ac17822ba4b5ebe1dcd5bb2352
0x79356b0bf06c74c00ff4569bfb290c3cf64c847c27292d862868e05953054d3b
0x562f7243657fa3907e111744d61686e8a7341d93205c26211accd2dc4c9d6339
0xe2e01647ab0ff08773154362daac72ac6c759524405e570cb8de1e34447af004
0x6c423854ee83fce88a899244463b8262db991ee7995b8437e00fa7ddd27618e8
0xe7343122b8d419e39a532942ddd91d3b166b7b18853cc19d6474c465648e2a99
0x7eb19d376b5d7094d73d6d96e167804c3985ad12a1e2c6de7e3c9396fcdcdcb8
0x4276124c7e7323e873f7e8e3485d7b5a571179325d1cffc748e73d8671b21fd1
0x2a30be259acdb70153cdda1a7834ef8d42aa5e190e3f20d0f92e49f1be444753

Functions
Getter at block 21204082
WETH(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
bettingToken(view returns (address)
0x9b44793a0177c84dd01ad81137db696531902871
minimumBet(view returns (uint256)
1
owner(view returns (address)
0xac7d762d40ab40345fc93a33296bb2562779a901
revenueBps(view returns (uint256)
1000
revenueWallet(view returns (address)
0xd4bc4e4490c4a42336552db87fcf7b3bc4e06d11
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 _winneraddress _loseruint256 _winnerChipsWeiuint256 _loserChipsWeibool _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.