PowerIndexWrapper

Verified contract

Active on Ethereum with 292 txns
Deployed by via 0x95a1b521 at 12387994
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "PowerIndexWrapper"

0x13b839e99c4eccbb9cfd581836fc67db3c955f0b6e51a44d608052d969d7eec0
0xb6707105d73dcbc46170ca8d22673df5c8a390e6242ed4ded87bf3a6ddc00499
0x91882650202e75e6f90930cd4b53c833abb46277707cc995bd7bb7fb95e170a8
0xa537409d0deea62cad999ea97fbc7ed28a1a9ed6606e682d313d22f43c931dae
0xf2e03515efba7c02fb5be8fab95f3403029bac198a82bf818b2773327348ee64
0x0f7f7a8dd093546bc7c92f3c07f02fee6031c500641ee1a230f8eb54337f10ed
0x984a12e340730b2733d4bf0256f788bfbf95685959423e98b2ae90dd94706881
0xd716b3dc63e85b11a4a7acc48a1d182ff241ed4eb35dcd6ef8ef8fb9fe18ad33
0x29072e910f42bbd0b0e721acc0a193a5ec27731fb71cfea3c5d69116d1211123
0xa7675820fc0f2622546a014a87fb06c737f34de3f11bac9a05e1b97731797657

Functions
Getter at block 21182485
BONE(view returns (uint256)
1000000000000000000
BPOW_PRECISION(view returns (uint256)
100000000
INIT_POOL_SUPPLY(view returns (uint256)
100000000000000000000
MAX_BOUND_TOKENS(view returns (uint256)
9
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)
1000000000
bpool(view returns (address)
0xfa2562da1bba7b954f26c74725df51fb62646313
getController(view returns (address)
0x99655673c57a29518c60775252716c320a9e7d2f
 
getCurrentTokens(view returns (address[] tokens)
 
getFinalTokens(view returns (address[] tokens)
getSwapFee(view returns (uint256)
2000000000000000
Read-only
calcEthFeeForTokens(address[] tokensview returns (uint256 feeSum)
calcInGivenOut(uint256 tokenBalanceInuint256 tokenWeightInuint256 tokenBalanceOutuint256 tokenWeightOutuint256 tokenAmountOutuint256 swapFeepure returns (uint256)
calcOutGivenIn(uint256 tokenBalanceInuint256 tokenWeightInuint256 tokenBalanceOutuint256 tokenWeightOutuint256 tokenAmountInuint256 swapFeepure returns (uint256)
calcPoolInGivenSingleOut(uint256 tokenBalanceOutuint256 tokenWeightOutuint256 poolSupplyuint256 totalWeightuint256 tokenAmountOutuint256 swapFeepure returns (uint256)
calcPoolOutGivenSingleIn(uint256 tokenBalanceInuint256 tokenWeightInuint256 poolSupplyuint256 totalWeightuint256 tokenAmountInuint256 swapFeepure returns (uint256)
calcSingleInGivenPoolOut(uint256 tokenBalanceInuint256 tokenWeightInuint256 poolSupplyuint256 totalWeightuint256 poolAmountOutuint256 swapFeepure returns (uint256)
calcSingleOutGivenPoolIn(uint256 tokenBalanceOutuint256 tokenWeightOutuint256 poolSupplyuint256 totalWeightuint256 poolAmountInuint256 swapFeepure returns (uint256)
calcSpotPrice(uint256 tokenBalanceInuint256 tokenWeightInuint256 tokenBalanceOutuint256 tokenWeightOutuint256 swapFeepure returns (uint256)
ethFeeByPiToken(addressview returns (uint256)
getBalance(address _tokenview returns (uint256)
getDenormalizedWeight(address tokenview returns (uint256)
piTokenByUnderlying(addressview returns (address)
underlyingByPiToken(addressview returns (address)
State-modifying
exitPool(uint256 poolAmountInuint256[] minAmountsOutpayable 
exitswapExternAmountOut(address tokenOutuint256 tokenAmountOutuint256 maxPoolAmountInpayable returns (uint256 poolAmountIn)
exitswapPoolAmountIn(address tokenOutuint256 poolAmountInuint256 minAmountOutpayable returns (uint256 tokenAmountOut)
getActualMaxPrice(uint256 amountInuint256 actualAmountInuint256 amountOutuint256 actualAmountOutuint256 maxPricereturns (uint256 actualMaxPrice)
joinPool(uint256 poolAmountOutuint256[] maxAmountsInpayable 
joinswapExternAmountIn(address tokenInuint256 tokenAmountInuint256 minPoolAmountOutpayable returns (uint256 poolAmountOut)
joinswapPoolAmountOut(address tokenInuint256 poolAmountOutuint256 maxAmountInpayable returns (uint256 tokenAmountIn)
setController(address newController
setPiTokenForUnderlying(address _underlyingTokenaddress _piToken
setPiTokenForUnderlyingsMultiple(address[] _underlyingTokensaddress[] _piTokens
swapExactAmountIn(address tokenInuint256 tokenAmountInaddress tokenOutuint256 minAmountOutuint256 maxPricepayable returns (uint256 tokenAmountOutuint256 spotPriceAfter)
swapExactAmountOut(address tokenInuint256 maxAmountInaddress tokenOutuint256 tokenAmountOutuint256 maxPricepayable returns (uint256 tokenAmountInuint256 spotPriceAfter)
updatePiTokenEthFees(address[] _underlyingTokens
withdrawOddEthFee(address _recipient
Events
SetController(address indexed previousControlleraddress indexed newController
SetPiTokenForUnderlying(address indexed underlyingTokenaddress indexed piToken
UpdatePiTokenEthFee(address indexed piTokenuint256 ethFee
Constructor
constructor(address _bpool
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.