BettingPlatform
Verified contract
Active on
Ethereum with 111 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot
Balances ($0.00)
No balances found for "BettingPlatform"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 16071768 | 2 years ago | | | 0 | 0.0033030646 | |
| 16071763 | 2 years ago | | | 0 | 0.0034333726 | |
| 16071756 | 2 years ago | | | 0 | 0.0032423075 | |
| 16071750 | 2 years ago | | | 0 | 0.0035815533 | |
| 16071730 | 2 years ago | | | 0 | 0.00066860019 | |
| 16071727 | 2 years ago | | | 0 | 0.00076974733 | |
| 16071726 | 2 years ago | | | 0 | 0.00077722729 | |
| 16071723 | 2 years ago | | | 0 | 0.00070093939 | |
| 16071721 | 2 years ago | | | 0 | 0.00070165160 | |
| 16063157 | 2 years ago | | | 0 | 0.0032989101 |
ABI
ABI objects
Getter at block 20812323 getAllBettingList() view returns (struct IBettingPlatformBettingInfo[]) getPlacedBettingList() view returns (struct IBettingPlatformIBettingPool[])
getHoldingTokens() view returns (address[])
[0x4E0DF4560cEDfda5d793F607CeFa30383BDa7327]
minBetAmount() view returns (uint256)
10000000000000000
owner() view returns (address)
0x55337c7a388920bc9c377d06a00b7cdbbf58c3b4
placedBettingCnt() view returns (uint256)
4
platformFee() view returns (uint16)
50
Read-only
getBetAmountBySide(uint256 bettingId_) view returns (struct IBettingPlatformBetAmountInfo[])
playerInfos(uint256, address) view returns (address holdingToken, uint256 betAmount, uint256 betSideId)
thresholdTokenInfos(address) view returns (uint16 minRakeDiscount, uint256 minHoldCnt, uint16 maxRakeDiscount, uint256 maxHoldCnt)
State-modifying
Events chooseWinner(uint256 bettingId_, uint256 sideId_)
placeBet(uint256 bettingId_, uint256 sideId_, address holdingTokenAddr_) payable
renounceOwnership()
startNewBet(string betConditionStr_, string betConditionImg_, string[] betSides_, uint256 startTime_, uint256 endTime_)
stopBet(uint256 bettingId_)
transferOwnership(address newOwner)
updateBetCondition(uint256 bettingId_, string newBetCondition_)
updateBetConditionImg(uint256 bettingId_, string newBetConditionImg_)
updateHoldingToken(address tokenAddr_, struct IBetAdminActionsDiscountTokenInfo discountTokenInfo_)
updateMinBetAmount(uint256 newMinAmount_)
updatePlatformFee(uint16 newFee_)
withdrawAsset()
ChooseWinner(uint256 bettingId, uint256 sideId)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
PlaceBet(address indexed player, uint256 bettingId, uint256 sideId, uint256 betAmount)
StartNewBet(string betConditionStr, string betConditionImg, string[] betSides, uint256 startTime, uint256 endTime)
StopBet(uint256 bettingId)
UpdateMinBetAmount(uint256 newMinBetAmount)
UpdatePlatformAsset(address indexed newAsset)
UpdatePlatfromFee(uint16 newFee)
constructor(uint256 minBetAmount_, uint16 platformFee_)
receive()
This contract contains no error objects.