OddsSwap

Verified contract

Active on Ethereum with 294 txns
Deployed by via 0x1bd43bc8 at 15997875
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "OddsSwap"

0x86cd33f0933d6d3703846234378c1b671b94e48307523693a7e445dad83faecf
0x566ea4dc9efd8cbf84c3f206c5c3124f3f1441a329f9f6f4347a2434693ae6e5
0x2bb142c910b2e2957d5dba0a203b3a32a745407ca0d8c7e593475e47e872df36
0xb70f566972fb04170b4fc4bfdeb81e039d2307dd17f2d9fc69b6b0e7e34f2256
0x377b03b475a00d5ffce500542ced119dde51d9af343dfcc82c62af3519de0193
0x47eeadf2efbd24f25ce9a71a9ee9c7847a0af289079d0d46871f4f5cc8b6e7ac
0x7bd72ba2458118c8a07c8ef1de5178ab866242b177fd344962a6e86297dc6194
0xd2afb9d742c6e33f19da248edb7ec85f327c27f84e5dab7d7ccb2b23f3e32916
0x7b8b93c61ea2baab77182a024b47b10240227a0951b1443ad14de41613809e86
0xc9fe3ace139d92264a31d40b9a31fdc2b941a75e4326baf47004ee5cad7f6a50

Functions
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[] contractAddressesbool[] valids)
(contractAddresses=[], valids=[])
Read-only
balanceOf(address userview returns (uint256)
findBetInfo(uint256 _betIdview returns (uint256 betIduint256 poolIdaddress userAddressuint256 optionuint256 currOddsuint256 betAmountbool draweduint256 drawTimeuint256 rewardAmoutuint256 refundAmountuint256 createTimeuint256 updateTime)
findMarketPool(uint256 _poolIdview returns (uint256 poolIduint256 poolTypeuint256 fixtureIduint256 betMinAmountuint256 betMaxAmountuint256 feebool betEnableuint256 betBeginTimeuint256 betEndTimeuint256 createTimeuint256 updateTime)
findMarketPoolBetAllOption(uint256 _poolIdview returns (uint256[] optionArruint256[] currOddsArruint256[] betTotalAmountArr)
findMarketPoolBetOption(uint256 _poolIduint256 _optionview returns (uint256 optionuint256 currOddsuint256 betTotalAmount)
oddsFactoryOf(uint256 poolTypeview returns (address)
State-modifying
addMarketPool(uint256 poolIduint256 poolTypeuint256 fixtureIduint256 betMinAmountuint256 betMaxAmountuint256 feebool betEnableuint256 betBeginTimeuint256 betEndTime
addMarketPoolBetOptions(uint256 poolIduint256[] optionArruint256[] initOddsArruint256[] betTotalAmountArr
draw(uint256[] betIdArruint256[] rewardArruint256[] refundArr
installSwapInterceptor(address marketSwapInterceptor
renounceOwnership(
setBetTokenAddress(address betTokenAddress
setIfEth(bool _ifEth
setOddsFactory(uint256 poolTypeaddress factoryAddress
setTokenPoolAddress(address tokenPoolAddress
swap(uint256 poolIduint256 optionuint256 betAmountuint256 slide
transferOwnership(address newOwner
unstallSwapInterceptor(address marketSwapInterceptor
updateMarketPool(uint256 poolIduint256 fixtureIduint256 betMinAmountuint256 betMaxAmountbool betEnableuint256 betBeginTimeuint256 betEndTime
withdraw(uint256 amountreturns (bool succeed)
Events
AddMarketBetOptions(uint256 indexed poolIduint256[] optionArruint256[] initOddsArruint256[] betTotalAmountArr
AddMarketPool(uint256 indexed poolIduint256 poolTypeuint256 fixtureIduint256 betMinAmountuint256 betMaxAmountuint256 feebool betEnableuint256 betBeginTimeuint256 betEndTime
Draw(uint256[] betIdArruint256[] rewardArruint256[] refundArruint256 time
InstallSwapInterceptor(address marketSwapInterceptor
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
SetBetTokenAddress(address betTokenAddress
SetIfEth(bool ifEth
SetOddsFactory(uint256 poolTypeaddress factoryAddress
SetTokenPoolAddress(address tokenPoolAddress
Swap(address indexed useruint256 indexed poolIduint256 betIduint256 optionuint256 betAmountuint256 slideuint256 finalOddsuint256 createTime
UnstallSwapInterceptor(address marketSwapInterceptor
UpdateMarketPool(uint256 indexed poolIduint256 fixtureIduint256 betMinAmountuint256 betMaxAmountbool betEnableuint256 betBeginTimeuint256 betEndTime
Withdraw(address indexed useruint256 amountuint256 time
Constructor
constructor(address betTokenAddressaddress tokenPoolAddress
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.