OddsSwap

Verified contract

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

No balances found for "OddsSwap"

0x811f1698d1da57674ef42def2c05cba000b4859e8a4c92860eb4a1f5cc117e0b
0x5742585967b56fad00e379ee8d8667ed53b796e50ddf8ca0fcecf29beee3f108
0xfecac641922d63336b588697b3024bc695da88c6bf844ddeee82cd705d6af94d
0xf49f3a11d42dc1ab8e445500f87db51b10edd5ca336706233abc4b5b6ef4d0cb
0x1398224d37ae13355fb4bfc354675cefb6e050d6d4936d0b25678ef20846f2f6
0x31f469e3ec7790ee677d5899995998af2017262d3efca827a40e2d64f665632b
0xa5f3d83996258431580e6385aa06b9bc823b5600405cc45d7dea109becade4ea
0xbd88a5396e4e1c806713db58db448ce68129ff682a0a8db815852d2643f416fb
0x6a42a2ca21d3297ea84f73c2f04335e00217d455a7bc2e16d4be139d8d87fb89
0xa7ee27340ae971075d46b67a508e46812c27311a026b394e363d825bfb4cf0c2

Functions
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[] 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.