Balancer Pool Token

Verified contract

Active on Ethereum with 3,009 txns
Deployed by via 0x2b6b61e6 at 10160718
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $20
ERC-20
Value $14.07
ERC-20
Value $13.06
ERC-20
Value $12.54
ERC-20
Value $11.8
ERC-20
Value $0.03
ERC-20
Value $0
ERC-20
--
ERC-20
--
0x673b121f8238af7a3a930b64131b8c74b74c38ea413df029015b85455991053e
0x4327fb9df19a8c0c15f8f69eeb4fc45fb5d392329dd99e7881f990f7ce70156a
0x24d0cf709f78ac24121f0196da31f754959e5991c514b53efc52ca52e98e0681
0x59a86553d327156309cefa984909757d289a66545b1ad947dda23f01bc23f4b0
0xdfd05a4353a410afae775f98594d535afa7f29dccc32fa19e21bab72a2d3c413
0x0c89093219c24aa4e6c90a5ce8930421901a3654985d6a3896f9e6a4b2d62443
0x45fc7f09f92a0e12e7de15ac24a74d3ff7b96436b3010abefba82b9e83848945
0x113ffbf02c3118651e88b44c6967a0bea2ef97b66dfbe47e4d8ea88f18fccfe7
0x788569c39e331e99cfa21e9e7a06d5f63dc9d466e5dd390cf74ffedf0a1e4a76
0x3e8636275fac6ceef1e32c552d52ea86e55117b06de4941b5ec580285cfc1fe4

Functions
Getter at block 21287321
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)
0x43189898d712df36d37c41d2897843482f729c65
getCurrentTokens(view returns (address[] tokens)
[0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2, 0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599, 0x514910771AF9Ca656af840dff83E8264EcF986CA, 0xC011a73ee8576Fb46F5E1c5751cA3B9Fe0af2a6F, 0xa7DE087329BFcda5639247F96140f9DAbe3DeED1]
getFinalTokens(view returns (address[] tokens)
[0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2, 0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599, 0x514910771AF9Ca656af840dff83E8264EcF986CA, 0xC011a73ee8576Fb46F5E1c5751cA3B9Fe0af2a6F, 0xa7DE087329BFcda5639247F96140f9DAbe3DeED1]
getNumTokens(view returns (uint256)
5
getSwapFee(view returns (uint256)
10000000000000000
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)
7327158856238823842777593
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.