0xc936e7f86e1854a65b7348c3285d6aba8e6e7be6

Verified contract

Proxy

Active on Ethereum with 584 txns
Deployed by via 0xce9d4643 at 11170686
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $75.81
ERC-20
--
0x08bccdc197d64e4ef1d2d318661f4aaf968d27ad8fa4938e6b0bf17f104b843e
0x4a47f5bbb8bcdb4c80f298c0f193caa148a1ebb74e484266a7b6fd30f4e8f4e3
0xb564f3bbf6ddf1a923176c53fdcf108bf31abd395bbfff3992317c366624f269
0x45bdb88b8533780e068910100ef4a0c6a3c6dc5c70203cdc15855a23c0051ba7
0xafd25882782b66978036f287bb553200ef7963d59ce8110d222a2acef8f904f8
0x828682f271b1c44e63c975f9d34c8feeaf84b8798f91334272da97f3a1b93091
0xa0d02bffc7111bc931f9a0a4d1d1efa734d5246447f718f272ba2708d6c30ad6
0x845c4b2aeba9321817186ec7496f01ecdfb7c82a40bf6f6f6e9a0964e25e89cd
0x867a5548b07fbbef9dd86eaebdfdc265949ff79f3526c89a0ea8ecd76674d22a
0xad85b9cdb676125019d09de98c87a830d65a63148117512094cc95a985df5de2

Functions
Getter at block 21290356
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)
0xa86a8a41c1cc6b3daa9de476aa3bfbb43e5329bd
getCurrentTokens(view returns (address[] tokens)
[0x953DD3e620f205c3acf77f683a0A17140425e016, 0x967da4048cD07aB37855c090aAF366e4ce1b9F48]
getFinalTokens(view returns (address[] tokens)
[0x953DD3e620f205c3acf77f683a0A17140425e016, 0x967da4048cD07aB37855c090aAF366e4ce1b9F48]
getNumTokens(view returns (uint256)
2
getSwapFee(view returns (uint256)
25000000000000000
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)
28778129606066002427
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.