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 "OddsSwap"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 15979906 | 2 years ago | | | 0 | 0.0031052519 | |
| 15979905 | 2 years ago | | | 0 | 0.0041504681 | |
| 15979904 | 2 years ago | | | 0 | 0.0041780586 | |
| 15979902 | 2 years ago | | | 0 | 0.0045338991 | |
| 15979901 | 2 years ago | | | 0 | 0.0032863720 | |
| 15979900 | 2 years ago | | | 0 | 0.0042274828 | |
| 15979898 | 2 years ago | | | 0 | 0.0030938448 | |
| 15979897 | 2 years ago | | | 0 | 0.0045121255 | |
| 15979896 | 2 years ago | | | 0 | 0.0043413996 | |
| 15979894 | 2 years ago | | | 0 | 0.0043789421 |
ABI
ABI objects
Getter at block 21262202
getBetTokenAddress() view returns (address)
0xdac17f958d2ee523a2206206994597c13d831ec7
getIfEth() view returns (bool)
true
getTokenPoolAddress() view returns (address)
0x260e1e9914aadadfd203767f6e28229124a4ecd0
owner() view returns (address)
0x3230c084be8adc05722f3ead24f2c1b912f82390
showAllSwapInterceptor() view returns (address[] contractAddresses, bool[] valids)
(contractAddresses=[], valids=[])
Read-only
balanceOf(address user) view returns (uint256)
findBetInfo(uint256 _betId) view returns (uint256 betId, uint256 poolId, address userAddress, uint256 option, uint256 currOdds, uint256 betAmount, bool drawed, uint256 drawTime, uint256 rewardAmout, uint256 refundAmount, uint256 createTime, uint256 updateTime)
findMarketPool(uint256 _poolId) view returns (uint256 poolId, uint256 poolType, uint256 fixtureId, uint256 betMinAmount, uint256 betMaxAmount, uint256 fee, bool betEnable, uint256 betBeginTime, uint256 betEndTime, uint256 createTime, uint256 updateTime)
findMarketPoolBetAllOption(uint256 _poolId) view returns (uint256[] optionArr, uint256[] currOddsArr, uint256[] betTotalAmountArr)
findMarketPoolBetOption(uint256 _poolId, uint256 _option) view returns (uint256 option, uint256 currOdds, uint256 betTotalAmount)
oddsFactoryOf(uint256 poolType) view returns (address)
State-modifying
Events addMarketPool(uint256 poolId, uint256 poolType, uint256 fixtureId, uint256 betMinAmount, uint256 betMaxAmount, uint256 fee, bool betEnable, uint256 betBeginTime, uint256 betEndTime)
addMarketPoolBetOptions(uint256 poolId, uint256[] optionArr, uint256[] initOddsArr, uint256[] betTotalAmountArr)
draw(uint256[] betIdArr, uint256[] rewardArr, uint256[] refundArr)
installSwapInterceptor(address marketSwapInterceptor)
renounceOwnership()
setBetTokenAddress(address betTokenAddress)
setIfEth(bool _ifEth)
setOddsFactory(uint256 poolType, address factoryAddress)
setTokenPoolAddress(address tokenPoolAddress)
swap(uint256 poolId, uint256 option, uint256 betAmount, uint256 slide)
transferOwnership(address newOwner)
unstallSwapInterceptor(address marketSwapInterceptor)
updateMarketPool(uint256 poolId, uint256 fixtureId, uint256 betMinAmount, uint256 betMaxAmount, bool betEnable, uint256 betBeginTime, uint256 betEndTime)
withdraw(uint256 amount) returns (bool succeed)
AddMarketBetOptions(uint256 indexed poolId, uint256[] optionArr, uint256[] initOddsArr, uint256[] betTotalAmountArr)
AddMarketPool(uint256 indexed poolId, uint256 poolType, uint256 fixtureId, uint256 betMinAmount, uint256 betMaxAmount, uint256 fee, bool betEnable, uint256 betBeginTime, uint256 betEndTime)
Draw(uint256[] betIdArr, uint256[] rewardArr, uint256[] refundArr, uint256 time)
InstallSwapInterceptor(address marketSwapInterceptor)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
SetBetTokenAddress(address betTokenAddress)
SetIfEth(bool ifEth)
SetOddsFactory(uint256 poolType, address factoryAddress)
SetTokenPoolAddress(address tokenPoolAddress)
Swap(address indexed user, uint256 indexed poolId, uint256 betId, uint256 option, uint256 betAmount, uint256 slide, uint256 finalOdds, uint256 createTime)
UnstallSwapInterceptor(address marketSwapInterceptor)
UpdateMarketPool(uint256 indexed poolId, uint256 fixtureId, uint256 betMinAmount, uint256 betMaxAmount, bool betEnable, uint256 betBeginTime, uint256 betEndTime)
Withdraw(address indexed user, uint256 amount, uint256 time)
constructor(address betTokenAddress, address tokenPoolAddress)
This contract contains no fallback and receive objects.
This contract contains no error objects.