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) |
---|---|---|---|---|---|---|---|
| 16005975 | 2 years ago | | | 0 | 0.0037992234 | |
| 16005973 | 2 years ago | | | 0 | 0.0053817476 | |
| 16005971 | 2 years ago | | | 0 | 0.0037832570 | |
| 16005970 | 2 years ago | | | 0 | 0.0052207998 | |
| 16005968 | 2 years ago | | | 0 | 0.0049408821 | |
| 16005967 | 2 years ago | | | 0 | 0.0052644477 | |
| 16005966 | 2 years ago | | | 0 | 0.0036841351 | |
| 16005964 | 2 years ago | | | 0 | 0.0052071413 | |
| 16005963 | 2 years ago | | | 0 | 0.0037850589 | |
| 16005961 | 2 years ago | | | 0 | 0.0047459606 |
ABI
ABI objects
Getter at block 21247526
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.