0x197b8193359c44990bde3bae1ec37eb20a075089

Verified contract

Proxy

Active on Ethereum with 145 txns
Deployed by via 0x66f7948a at 11160737
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $58.86
ERC-20
--
0x3ecd3af5b398f5898146324505941115107db6c54898cfd15e406937ded6789a
0xe84e2539f84dd182af235cf41d213ca47f7c633e353c089f70c6d5a4fd6991b7
0xa5d09af76046a35f3c8e038f6a9fe91c5886d5e32c2ae5b4a23be3a06337075d
0x57312802821c210c25c5bf4df5cd44ca087b674d958a275e9f55db3659964b95
0x103d520fb48c876edd28753924324bc795ea4f4cf31288aa7ed79740aa5fd2a9
0x4b5cf01607da3b9057b84db1612c480a37514bbcf340d2a0526b79441ca5b4d1
0x36639e26528157986c8b300c0ad17ff53c7950c0e5eb76bcff3c7f3468ca1aef
0x751d2b041c7f5de879d66bcdfd4e18d9a4ab087b3e4ee343500fa3e5719fb9cc
0x9fe8da245ab122678ce76adce1d81b648a1f6ff23d01b28e5e5905aadfe6e649
0x49e81ba00b4a0916187a1672f802408bcc1980f65d6f9e54c4d910f8a485bffc

Functions
Getter at block 21299856
BONE(view returns (uint256)
1000000000000000000
BPOW_PRECISION(view returns (uint256)
100000000
EXIT_FEE(view returns (uint256)
0
INIT_POOL_SUPPLY(view returns (uint256)
100000000000000000000
MAX_BOUND_TOKENS(view returns (uint256)
8
MAX_BPOW_BASE(view returns (uint256)
1999999999999999999
MAX_FEE(view returns (uint256)
100000000000000000
MAX_IN_RATIO(view returns (uint256)
500000000000000000
MAX_OUT_RATIO(view returns (uint256)
333333333333333334
MAX_TOTAL_WEIGHT(view returns (uint256)
50000000000000000000
MAX_WEIGHT(view returns (uint256)
50000000000000000000
MIN_BALANCE(view returns (uint256)
1000000
MIN_BOUND_TOKENS(view returns (uint256)
2
MIN_BPOW_BASE(view returns (uint256)
1
MIN_FEE(view returns (uint256)
1000000000000
MIN_WEIGHT(view returns (uint256)
1000000000000000000
decimals(view returns (uint8)
0
getController(view returns (address)
0x01e66950353400e93aee7f041c0303103e2ef5ab
getCurrentTokens(view returns (address[] tokens)
[0x2253349Ea6C11245Dc822EC59A73e42d8BBa1017, 0x967da4048cD07aB37855c090aAF366e4ce1b9F48]
getFinalTokens(view returns (address[] tokens)
[0x2253349Ea6C11245Dc822EC59A73e42d8BBa1017, 0x967da4048cD07aB37855c090aAF366e4ce1b9F48]
getNumTokens(view returns (uint256)
2
getSwapFee(view returns (uint256)
20000000000000000
getTotalDenormalizedWeight(view returns (uint256)
10000000000000000000
isFinalized(view returns (bool)
true
isInitialized(view returns (bool)
true
isPublicSwap(view returns (bool)
true
name(view returns (string)
symbol(view returns (string)
totalSupply(view returns (uint256)
28043078160149956759
Read-only
allowance(address srcaddress dstview returns (uint256)
balanceOf(address whomview returns (uint256)
calcInGivenOut(uint256 tokenBalanceInuint256 tokenWeightInuint256 tokenBalanceOutuint256 tokenWeightOutuint256 tokenAmountOutuint256 swapFeepure returns (uint256 tokenAmountIn)
calcOutGivenIn(uint256 tokenBalanceInuint256 tokenWeightInuint256 tokenBalanceOutuint256 tokenWeightOutuint256 tokenAmountInuint256 swapFeepure returns (uint256 tokenAmountOut)
calcPoolInGivenSingleOut(uint256 tokenBalanceOutuint256 tokenWeightOutuint256 poolSupplyuint256 totalWeightuint256 tokenAmountOutuint256 swapFeepure returns (uint256 poolAmountIn)
calcPoolOutGivenSingleIn(uint256 tokenBalanceInuint256 tokenWeightInuint256 poolSupplyuint256 totalWeightuint256 tokenAmountInuint256 swapFeepure returns (uint256 poolAmountOut)
calcSingleInGivenPoolOut(uint256 tokenBalanceInuint256 tokenWeightInuint256 poolSupplyuint256 totalWeightuint256 poolAmountOutuint256 swapFeepure returns (uint256 tokenAmountIn)
calcSingleOutGivenPoolIn(uint256 tokenBalanceOutuint256 tokenWeightOutuint256 poolSupplyuint256 totalWeightuint256 poolAmountInuint256 swapFeepure returns (uint256 tokenAmountOut)
calcSpotPrice(uint256 tokenBalanceInuint256 tokenWeightInuint256 tokenBalanceOutuint256 tokenWeightOutuint256 swapFeepure returns (uint256 spotPrice)
getBalance(address tokenview returns (uint256)
getDenormalizedWeight(address tokenview returns (uint256)
getNormalizedWeight(address tokenview returns (uint256)
getSpotPrice(address tokenInaddress tokenOutview returns (uint256 spotPrice)
getSpotPriceSansFee(address tokenInaddress tokenOutview returns (uint256 spotPrice)
isBound(address tview returns (bool)
State-modifying
approve(address dstuint256 amtreturns (bool)
bind(address tokenuint256 balanceuint256 denorm
decreaseApproval(address dstuint256 amtreturns (bool)
exitPool(uint256 poolAmountInuint256[] minAmountsOut
exitswapExternAmountOut(address tokenOutuint256 tokenAmountOutuint256 maxPoolAmountInreturns (uint256 poolAmountIn)
exitswapPoolAmountIn(address tokenOutuint256 poolAmountInuint256 minAmountOutreturns (uint256 tokenAmountOut)
finalize(
gulp(address token
increaseApproval(address dstuint256 amtreturns (bool)
initialize(address controlleraddress factoryuint256 swapFeebool publicSwapbool finalizedreturns (bool)
joinPool(uint256 poolAmountOutuint256[] maxAmountsIn
joinswapExternAmountIn(address tokenInuint256 tokenAmountInuint256 minPoolAmountOutreturns (uint256 poolAmountOut)
joinswapPoolAmountOut(address tokenInuint256 poolAmountOutuint256 maxAmountInreturns (uint256 tokenAmountIn)
rebind(address tokenuint256 balanceuint256 denorm
setController(address manager
setPublicSwap(bool public_
setSwapFee(uint256 swapFee
setup(address dataTokenAaddressuint256 dataTokenAmountuint256 dataTokenWeightaddress baseTokenAddressuint256 baseTokenAmountuint256 baseTokenWeightuint256 swapFee
swapExactAmountIn(address tokenInuint256 tokenAmountInaddress tokenOutuint256 minAmountOutuint256 maxPricereturns (uint256 tokenAmountOutuint256 spotPriceAfter)
swapExactAmountOut(address tokenInuint256 maxAmountInaddress tokenOutuint256 tokenAmountOutuint256 maxPricereturns (uint256 tokenAmountInuint256 spotPriceAfter)
transfer(address dstuint256 amtreturns (bool)
transferFrom(address srcaddress dstuint256 amtreturns (bool)
unbind(address token
Events
Approval(address indexed owneraddress indexed spenderuint256 value
LOG_CALL(bytes4 indexed sigaddress indexed callerbytes data anonymous
LOG_EXIT(address indexed calleraddress indexed tokenOutuint256 tokenAmountOut
LOG_JOIN(address indexed calleraddress indexed tokenInuint256 tokenAmountIn
LOG_SWAP(address indexed calleraddress indexed tokenInaddress indexed tokenOutuint256 tokenAmountInuint256 tokenAmountOut
Transfer(address indexed fromaddress indexed touint256 value
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.