PowerIndexWrapper
Verified contract
Active on
Ethereum with 292 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
No balances found for "PowerIndexWrapper"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 19771635 | 8 months ago | | | 0 | 0.0017584751 | |
| 19230747 | 10 months ago | | | 0.0000001 | 0.0027149102 | |
| 17216396 | 2 years ago | | | 0 | 0.074160253 | |
| 17151709 | 2 years ago | | | 0 | 0.0083837450 | |
| 17139057 | 2 years ago | | | 0 | 0.024719526 | |
| 17093398 | 2 years ago | | | 0 | 0.023073426 | |
| 17031355 | 2 years ago | | | 0 | 0.0049391467 | |
| 17022554 | 2 years ago | | | 0 | 0.0051351889 | |
| 16883299 | 2 years ago | | | 0 | 0.011397147 | |
| 16878269 | 2 years ago | | | 0 | 0.0070769496 |
ABI
ABI objects
Getter at block 21420977 getCurrentTokens() view returns (address[] tokens) getFinalTokens() view returns (address[] tokens)
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
getSwapFee() view returns (uint256)
2000000000000000
Read-only
calcEthFeeForTokens(address[] tokens) view returns (uint256 feeSum)
calcInGivenOut(uint256 tokenBalanceIn, uint256 tokenWeightIn, uint256 tokenBalanceOut, uint256 tokenWeightOut, uint256 tokenAmountOut, uint256 swapFee) pure returns (uint256)
calcOutGivenIn(uint256 tokenBalanceIn, uint256 tokenWeightIn, uint256 tokenBalanceOut, uint256 tokenWeightOut, uint256 tokenAmountIn, uint256 swapFee) pure returns (uint256)
calcPoolInGivenSingleOut(uint256 tokenBalanceOut, uint256 tokenWeightOut, uint256 poolSupply, uint256 totalWeight, uint256 tokenAmountOut, uint256 swapFee) pure returns (uint256)
calcPoolOutGivenSingleIn(uint256 tokenBalanceIn, uint256 tokenWeightIn, uint256 poolSupply, uint256 totalWeight, uint256 tokenAmountIn, uint256 swapFee) pure returns (uint256)
calcSingleInGivenPoolOut(uint256 tokenBalanceIn, uint256 tokenWeightIn, uint256 poolSupply, uint256 totalWeight, uint256 poolAmountOut, uint256 swapFee) pure returns (uint256)
calcSingleOutGivenPoolIn(uint256 tokenBalanceOut, uint256 tokenWeightOut, uint256 poolSupply, uint256 totalWeight, uint256 poolAmountIn, uint256 swapFee) pure returns (uint256)
calcSpotPrice(uint256 tokenBalanceIn, uint256 tokenWeightIn, uint256 tokenBalanceOut, uint256 tokenWeightOut, uint256 swapFee) pure returns (uint256)
ethFeeByPiToken(address) view returns (uint256)
getBalance(address _token) view returns (uint256)
getDenormalizedWeight(address token) view returns (uint256)
piTokenByUnderlying(address) view returns (address)
underlyingByPiToken(address) view returns (address)
State-modifying
Events exitPool(uint256 poolAmountIn, uint256[] minAmountsOut) payable
exitswapExternAmountOut(address tokenOut, uint256 tokenAmountOut, uint256 maxPoolAmountIn) payable returns (uint256 poolAmountIn)
exitswapPoolAmountIn(address tokenOut, uint256 poolAmountIn, uint256 minAmountOut) payable returns (uint256 tokenAmountOut)
getActualMaxPrice(uint256 amountIn, uint256 actualAmountIn, uint256 amountOut, uint256 actualAmountOut, uint256 maxPrice) returns (uint256 actualMaxPrice)
joinPool(uint256 poolAmountOut, uint256[] maxAmountsIn) payable
joinswapExternAmountIn(address tokenIn, uint256 tokenAmountIn, uint256 minPoolAmountOut) payable returns (uint256 poolAmountOut)
joinswapPoolAmountOut(address tokenIn, uint256 poolAmountOut, uint256 maxAmountIn) payable returns (uint256 tokenAmountIn)
setController(address newController)
setPiTokenForUnderlying(address _underlyingToken, address _piToken)
setPiTokenForUnderlyingsMultiple(address[] _underlyingTokens, address[] _piTokens)
swapExactAmountIn(address tokenIn, uint256 tokenAmountIn, address tokenOut, uint256 minAmountOut, uint256 maxPrice) payable returns (uint256 tokenAmountOut, uint256 spotPriceAfter)
swapExactAmountOut(address tokenIn, uint256 maxAmountIn, address tokenOut, uint256 tokenAmountOut, uint256 maxPrice) payable returns (uint256 tokenAmountIn, uint256 spotPriceAfter)
updatePiTokenEthFees(address[] _underlyingTokens)
withdrawOddEthFee(address _recipient)
SetController(address indexed previousController, address indexed newController)
SetPiTokenForUnderlying(address indexed underlyingToken, address indexed piToken)
UpdatePiTokenEthFee(address indexed piToken, uint256 ethFee)
constructor(address _bpool)
This contract contains no fallback and receive objects.
This contract contains no error objects.