0x5a4f1ad4fe38467899acca3dbed6fb36dc640f8c

Verified contract

Proxy

Active on Ethereum with 745 txns
Deployed by via 0x67b1fe24 at 11231534
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $215.1
ERC-20
--
ERC-20
--
0x195d22901281a4b5f575beebbd6154b6f6f7cc28e77a949710d33d9befe07f0e
0xdd6b99aed70062e872be4f66ad3575f27860d44531dd2119e984171a88a3cce4
0x90e4664f387931fcfdfb141bbf5822db829e477bd9018670e850dad1e7d33485
0xcbd8d37aa9479e26e76715f7815743bad8ac1f4dff491924af6965e8fdf06f9c
0xd0a455e0f0574f7be780cfd11c0cc87b9d0fa567a015be4ce2af4a594d0a9b09
0xbf95079bbbbe9d14fbb194e79ef5f79d27adabfaa87b46a6a12d8c2abd2e24e7
0xb593a10520079f1458b7f9dd923ee739a0f58008ac25ef0dd73a48dc11af14a8
0x2e6b082a8d9fd12178dd787562c7e87a2416c035def58d7ec0787b62a49f31e9
0xc424c0b271aee26efa22496507d63a4fb8922d1e0e570d7c343cd0fc4f5d5527
0x0127e99d046b874d730d5b5c1db8b6b0e7eb4330f0bb458d31130293eaa3fa5a

Functions
Getter at block 21281253
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)
0x65e09ca54a64b3e83cd4596f4bae13c5f6a287a0
getCurrentTokens(view returns (address[] tokens)
[0x0f5B491ff05f5720F2cF7E5eD8ad73Af779Caf4C, 0x967da4048cD07aB37855c090aAF366e4ce1b9F48]
getFinalTokens(view returns (address[] tokens)
[0x0f5B491ff05f5720F2cF7E5eD8ad73Af779Caf4C, 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)
1629413737590963756
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.