BPool

Verified contract

Active on Ethereum with 458 txns
Deployed by via 0xc9760d22 at 10488885
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $446.19
ERC-20
Value $433.15
ERC-20
Value $424.09
ERC-20
Value $417.34
ERC-20
Value $415.92
ERC-20
Value $399.79
ERC-20
--
ERC-20
--
0x553e2379cb5ecb0fa789adde34c2e9361dd9ee71971823a995e72d22ca6f1e1e
0xeb34cebbb95f3b26f975b347d174334278c5f881b344f314f15d63803600c160
0x2e6dbac4558f27639dc7116681c0f9aa7b8566bf04fb4bd35f41f43f9c840974
0xeb56f51dff8fc836f3278dc1752e60718d34b7226580ff8e72bff3bc695a8030
0x7c53ec5ab96fd34b696252ce837aee557862a21fde146fcde2e6249c26b5acc5
From
0xc6b3c90586ddf62b78df6f8f96923fdc171adbd62010b7f89ba2888d7e2c68e2
0x72fc1bd9a762ac62b5e56b37e954697014872f901c3896effd128d84e128716d
0x1f11520b31b1d4426eeffcf031e43f0f549ac75cf4876831b0a70a296c4b6210
0x369d5a9fa1db5f9b4b7158e273730f11a83e3005ed8ae63952698ba2aa8da3f8
0x2c573d8a321dee3e3222e4e0f1e8f9ff68645f627b6b454f22c46dfbc019e88f

Functions
Getter at block 21305851
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)
18
getColor(view returns (bytes32)
0x42524f4e5a450000000000000000000000000000000000000000000000000000
getController(view returns (address)
0xdcedcd1bf9b208e19815a822c8eaa213e09cea51
getCurrentTokens(view returns (address[] tokens)
[0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2, 0x0D8775F648430679A709E98d2b0Cb6250d2887EF, 0xdd974D5C2e2928deA5F71b9825b8b646686BD200, 0xE41d2489571d322189246DaFA5ebDe1F4699F498, 0x1985365e9f78359a9B6AD760e32412f4a445E862, 0xF629cBd94d3791C9250152BD8dfBDF380E2a3B9c, 0x408e41876cCCDC0F92210600ef50372656052a38, 0x9Cb2f26A23b8d89973F08c957C4d7cdf75CD341c]
getFinalTokens(view returns (address[] tokens)
[0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2, 0x0D8775F648430679A709E98d2b0Cb6250d2887EF, 0xdd974D5C2e2928deA5F71b9825b8b646686BD200, 0xE41d2489571d322189246DaFA5ebDe1F4699F498, 0x1985365e9f78359a9B6AD760e32412f4a445E862, 0xF629cBd94d3791C9250152BD8dfBDF380E2a3B9c, 0x408e41876cCCDC0F92210600ef50372656052a38, 0x9Cb2f26A23b8d89973F08c957C4d7cdf75CD341c]
getNumTokens(view returns (uint256)
8
getSwapFee(view returns (uint256)
3000000000000000
getTotalDenormalizedWeight(view returns (uint256)
50000000000000000000
isFinalized(view returns (bool)
true
isPublicSwap(view returns (bool)
true
name(view returns (string)
Balancer Pool Token
symbol(view returns (string)
BPT
totalSupply(view returns (uint256)
185775175082188706323
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)
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
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 srcaddress indexed dstuint256 amt
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 srcaddress indexed dstuint256 amt
Constructor
constructor(
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.