Balancer Pool Token

Verified contract

Active on Ethereum with 559 txns
Deployed by via 0xe76724c4 at 10588746
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
ERC-20
--
0x6bd6be70466dc106e424665c675834d5a28dc4e50346eeb09ed8a33ae0a09c6c
0x3cb5fd47e496b4b7cbe4e73dcfc5f504d16d02e87b8f9c5d7dd11cf344375994
0x1aa6834d1491c7d6cd5a7ea28fb8bd58e697e9970c02187e8007acc263d50514
0x5656f2948cd8cea18f39e61bb236182bdd1350d93b2bfec46a03785e4685ad36
0x353ab762d349b6be810eea0fe47c12a2e728a3def8d556c9709c388a38031cb6
0x826d14b8c03cb7c17d177c5098015e619bef341f43c71e07fc0d418fb876a78f
0x5841a101f765ad34c3835e366ff07e988e4422a8c3e108df80b31d4fadd80dcb
0xaa7df7d1deb01bca4c3d66dddaedcfccb8b58abc0da6d33798c2194aaf954c8d
0x1c8559dab6e8ddb15083480ccac8d8a72df4504af08b00cb07204b6e3ee0812a
0x304ed1ca5b15e162b72b8df25c3eea01fe717bf9620299fe4fe6b3f7e605ee1c

Functions
Getter at block 21160778
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)
0x3fe01934267849daa1c206c096420d09d9d20c33
getCurrentTokens(view returns (address[] tokens)
[0xdF5e0e81Dff6FAF3A7e52BA697820c5e32D806A8, 0x26B3038a7Fc10b36c426846a9086Ef87328dA702]
getFinalTokens(view returns (address[] tokens)
[0xdF5e0e81Dff6FAF3A7e52BA697820c5e32D806A8, 0x26B3038a7Fc10b36c426846a9086Ef87328dA702]
getNumTokens(view returns (uint256)
2
getSwapFee(view returns (uint256)
1500000000000000
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)
20311033857503104795
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.