BettingPlatform

Verified contract

Active on Ethereum with 282 txns
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $1,915.96
0x2473f15458f43a0bf6db11a9aaa85ed6781d81a41db4a9943d9d3285d5a904f9
0xf8643dea83e40d399efc9c48067d08b0ac1b6af4ce04b8db629c4eed0ace3237
0x6825ebb5dd73015482e1095be02256c0b102debcef96dc38ae0a16c5ef75c13d
0xf62d8c80f18b13fdd04c32104b05236cb27cf340fa5a6b999b2634887738310f
0x7d2e8c79e322233e3983b0d6867470cf6350177039fa3c84e9501a98f69e41bc
0x31898d7b49fd39b6e614c5038b651283b028c0bd1f8da88dba0ce67ed2d91894
0xbc583c2544f29c8b8bc43e541c79b398b25d62fe0dac71ed06885c39925b0b28
0xb8518eff32e9f326cee9119926aee6fac753283d3e32ec42dc84e4c9054b5a66
0xa931fdcc0a9323283ce905043f7a2558425598be405a96028c0a2cba5e0685e6
0x9a64bedb9b2311186018f0e9526b4550da7dc24cc8600df7ae67fc822488e557

Functions
Getter at block 21330453
amountOfGames(view returns (uint256)
69
feeReciever(view returns (address)
0x0fdc977660c0603320ebcdcb63bff2123a97153d
owner(view returns (address)
0x0fdc977660c0603320ebcdcb63bff2123a97153d
Read-only
admins(addressview returns (bool)
balances(addressview returns (uint256)
games(uint256view returns (string team1Namestring team2Nameuint256 winnerNumberuint256 starttimeuint256 taxPercentuint256 totalPooluint256 totalAbetsuint256 totalBBetsbool isresolvedbool canCollectuint256 ratio)
getBetsLength(address userview returns (uint256 BetLength)
getCurrentOdds(uint256 gameview returns (uint256 teamAPercentageuint256 teamBPercentage)
getGameBetStats(uint256 gameIDview returns (uint256 length_team_Auint256 length_Team_B)
getGameBets(uint256 gameIDview returns (struct BettingPlatformBet[] _teamABetsstruct BettingPlatformBet[] _teamBBets)
getUserMatchBets(address userview returns (uint256[] matchBets)
teamABets(uint256uint256view returns (address betterWalletuint256 amountuint256 amountPaiduint256 gameIDbool hasBeenPaid)
teamBBets(uint256uint256view returns (address betterWalletuint256 amountuint256 amountPaiduint256 gameIDbool hasBeenPaid)
totalUserBet(addressview returns (uint256)
totalUserWin(addressview returns (uint256)
userBetOnMatch(addressuint256view returns (bool)
userBets(addressuint256view returns (address betterWalletuint256 amountuint256 amountPaiduint256 gameIDbool hasBeenPaid)
userLosingBets(addressuint256view returns (address betterWalletuint256 amountuint256 amountPaiduint256 gameIDbool hasBeenPaid)
userMatchBets(addressuint256view returns (uint256)
userWinningBets(addressuint256view returns (address betterWalletuint256 amountuint256 amountPaiduint256 gameIDbool hasBeenPaid)
State-modifying
addAdmin(address newAdmin
addGame(string team1Namestring team2Nameuint256 startTimeuint256 taxpercent
deposit(payable 
distributeBalance(
makeABet(uint256 gameIDuint256 teamuint256 amount
removeAdmin(address admin
resolveGame(uint256 gameuint256 teambool isdraw
setFeeReciever(address reciever
withdraw(uint256 amount
Events
userDepositted(address indexed useruint256 amount
userWithdrew(address indexed useruint256 amount
Constructor
constructor(address[] _admins
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.