0xc01212867a8bc57c8f0e79eb8335b2936e4064a4

Verified contract

Proxy

Active on Ethereum with 1,750 txns
Deployed by via 0xd7b9608f at 11180379
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $772.9
ERC-20
--
0x022d732142885583360d01591256064b7b44f130e79a7144053669b433a54c4d
0x2d9472d75218f6f9fd0cc96d0bc19900aa8bfdd78e5879ec79a329d85aa5923a
0xb993c2b365ccf3fb2405cfca3221ea23d337d6cb80f6a84a1251e3d2f5446cab
0x679d8a1f0299500cf032d0bda4ad43ad91d21051c987098d010dc02d8f12ca30
0xee9cb76bb77540ff47285edab6e675b672db69a582d929629e352cfd5b44d98b
0x48a7bdf29f381906fcec36b66a6e8a534d4861a67bb3a011c935da2ab43b92b7
0x1a581c9a2572c5570901ac90260959828d22a2f2748f76c77f7add163c6cc316
0x38a6dd3acdde13a0fa3fc404cb370bf881190f3a32c369ee802694d001332da8
0x79e782dd7eaf8e29023bf0aaad9e3f124f2655401cdc5fb7e41e14365a25bf43
0x613dd7eba2fc079f5de3b4161105e602a96be169e3780c1c455956d05b000ef2

Functions
Getter at block 21226431
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)
0xa969ee68e99ad9c31d8e5d64ac1474023a08c2d7
getCurrentTokens(view returns (address[] tokens)
[0x9322AA125920B7C07560BB2AAA760254737acd1C, 0x967da4048cD07aB37855c090aAF366e4ce1b9F48]
getFinalTokens(view returns (address[] tokens)
[0x9322AA125920B7C07560BB2AAA760254737acd1C, 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)
46427711944151929583
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.