0xe4e6bf51d13f401cd11db78f9f525df44fa7214f

Verified contract

Proxy

Active on Ethereum with 170 txns
Deployed by via 0x2dea7ca9 at 11286687
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $0
ERC-20
--
0xabe1749ee938723a7448763fbb28aa293bd40421a02f84c336748b75ed885ff3
0x9e58bd10aa3f2e1e4645148e2b86fd06daf029814e10f7acb6a6f64e41b738cc
0xfdfd0ceaa10202bed636cdf391d3070c3a703f861e70e9489985825014e256cd
0xfb736f15e8d888e1c66e2a4ea7a0363062c871bf7bc036d93b7d4c677473d81c
0xe000841831ed7ef041d41bdd13d84f95598c38fc5e33f48aed813ece5f11ea80
0x0f5210690b775fbaab50da232c9266b5a3c7865dcf75e83da34b7b7c93011dd5
0x7f94c49ab3e71fe41d44922e8e5290c2f730d0b7cc6ab1e9e29589b2105cda51
0xee66ac51ee03a7d24b69dae9c89a8d3765113c2478fc9cb698b8b2612a69d3ea
0xd502132c49d3da644360456290952df0dd87967ee58f06d626c775c368df5881
0x7cfcc46a2a5a3df48541684a792694a6f175a563e25764019ec2cd7d64360bf4

Functions
Getter at block 21294549
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)
0xe32cacaa4b8fcda425eaf80c3a1464a877b42c63
getCurrentTokens(view returns (address[] tokens)
[0xCd70A23649833C53B5a8b10F79D4d51AC2Cf78e1, 0x967da4048cD07aB37855c090aAF366e4ce1b9F48]
getFinalTokens(view returns (address[] tokens)
[0xCd70A23649833C53B5a8b10F79D4d51AC2Cf78e1, 0x967da4048cD07aB37855c090aAF366e4ce1b9F48]
getNumTokens(view returns (uint256)
2
getSwapFee(view returns (uint256)
30000000000000000
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)
1285478945168983
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.