WarGameLogic
Verified contract
Active on
Ethereum with 78 txns
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 "WarGameLogic"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 18044130 | a year ago | | | 0 | 0.0062024314 | |
| 18044127 | a year ago | | | 0 | 0.0061987019 | |
| 18044122 | a year ago | | | 0 | 0.0022500096 | |
| 18044121 | a year ago | | | 0 | 0.0045255774 | |
| 18044116 | a year ago | | | 0 | 0.0032319151 | |
| 18044114 | a year ago | | | 0 | 0.011742203 | |
| 18043947 | a year ago | | | 0 | 0.0020644729 | |
| 18043946 | a year ago | | | 0 | 0.0040278039 | |
| 18043936 | a year ago | | | 0 | 0.0019981811 | |
| 18043935 | a year ago | | | 0 | 0.0043397137 |
ABI
ABI objects
Getter at block 21285650
bettingToken() view returns (address)
0x72b82031d47c476a22aa73f1ad1769d377770132
burnBps() view returns (uint256)
100
minimumBet() view returns (uint256)
1000
owner() view returns (address)
0x971e50031436b22feac2e5668454c29879ec8e08
revenueBps() view returns (uint256)
900
revenueWallet() view returns (address)
0x3d2766a558228b8b3bae6d189727c49c53555234
Read-only
activeTgGroups(uint256) view returns (int64)
games(int64) view returns (uint256 numPlayers, uint256 minBet, bytes32 hashedWarChamberIndex, bool inProgress, uint16 loser)
isGameInProgress(int64 _tgChatId) view returns (bool)
State-modifying
Events abortAllGames()
abortGame(int64 _tgChatId)
endGame(int64 _tgChatId, uint16 _loser, string[])
newGame(int64 _tgChatId, uint256 _numPlayers, uint256 _minBet, bytes32 _hashedWarChamberIndex, address[] _players, uint256[] _bets) returns (uint256[])
renounceOwnership()
transferOwnership(address newOwner)
Bet(int64 tgChatId, address player, uint16 playerIndex, uint256 amount)
Burn(int64 tgChatId, uint256 amount)
Loss(int64 tgChatId, address player, uint16 playerIndex, uint256 amount)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Revenue(int64 tgChatId, uint256 amount)
Win(int64 tgChatId, address player, uint16 playerIndex, uint256 amount)
constructor(address _bettingToken, uint256 _minimumBet, uint256 _revenueBps, uint256 _burnBps, address _revenueWallet)
This contract contains no fallback and receive objects.
This contract contains no error objects.