BettingPlatform
Verified contract
Active on
Ethereum with 282 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($1,915.96)
Native
Value
$1,915.96
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
ETH | Native | 0.51031 | $3,754.51 |
$1,915.96 |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 19366144 | 9 months ago | | | 0 | 0.0023063920 | |
| 16186809 | 2 years ago | | | 0 | 0.0018290745 | |
| 16186806 | 2 years ago | | | 0 | 0.0017712427 | |
| 16166263 | 2 years ago | | | 0 | 0.00043270155 | |
| 16159336 | 2 years ago | | | 0 | 0.0078920142 | |
| 16158710 | 2 years ago | | | 0.04 | 0.00065666360 | |
| 16157864 | 2 years ago | | | 0 | 0.0018459726 | |
| 16155609 | 2 years ago | | | 0 | 0.00066405091 | |
| 16154197 | 2 years ago | | | 0 | 0.0019942514 | |
| 16154194 | 2 years ago | | | 0 | 0.0019556579 |
ABI
ABI objects
Getter at block 21330453
amountOfGames() view returns (uint256)
69
feeReciever() view returns (address)
0x0fdc977660c0603320ebcdcb63bff2123a97153d
owner() view returns (address)
0x0fdc977660c0603320ebcdcb63bff2123a97153d
Read-only
admins(address) view returns (bool)
balances(address) view returns (uint256)
games(uint256) view returns (string team1Name, string team2Name, uint256 winnerNumber, uint256 starttime, uint256 taxPercent, uint256 totalPool, uint256 totalAbets, uint256 totalBBets, bool isresolved, bool canCollect, uint256 ratio)
getBetsLength(address user) view returns (uint256 BetLength)
getCurrentOdds(uint256 game) view returns (uint256 teamAPercentage, uint256 teamBPercentage)
getGameBetStats(uint256 gameID) view returns (uint256 length_team_A, uint256 length_Team_B)
getGameBets(uint256 gameID) view returns (struct BettingPlatformBet[] _teamABets, struct BettingPlatformBet[] _teamBBets)
getUserMatchBets(address user) view returns (uint256[] matchBets)
teamABets(uint256, uint256) view returns (address betterWallet, uint256 amount, uint256 amountPaid, uint256 gameID, bool hasBeenPaid)
teamBBets(uint256, uint256) view returns (address betterWallet, uint256 amount, uint256 amountPaid, uint256 gameID, bool hasBeenPaid)
totalUserBet(address) view returns (uint256)
totalUserWin(address) view returns (uint256)
userBetOnMatch(address, uint256) view returns (bool)
userBets(address, uint256) view returns (address betterWallet, uint256 amount, uint256 amountPaid, uint256 gameID, bool hasBeenPaid)
userLosingBets(address, uint256) view returns (address betterWallet, uint256 amount, uint256 amountPaid, uint256 gameID, bool hasBeenPaid)
userMatchBets(address, uint256) view returns (uint256)
userWinningBets(address, uint256) view returns (address betterWallet, uint256 amount, uint256 amountPaid, uint256 gameID, bool hasBeenPaid)
State-modifying
Events addAdmin(address newAdmin)
addGame(string team1Name, string team2Name, uint256 startTime, uint256 taxpercent)
deposit() payable
distributeBalance()
makeABet(uint256 gameID, uint256 team, uint256 amount)
removeAdmin(address admin)
resolveGame(uint256 game, uint256 team, bool isdraw)
setFeeReciever(address reciever)
withdraw(uint256 amount)
userDepositted(address indexed user, uint256 amount)
userWithdrew(address indexed user, uint256 amount)
constructor(address[] _admins)
This contract contains no fallback and receive objects.
This contract contains no error objects.