Power Index Pool Token

Verified contract

Active on Ethereum with 8,112 txns
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
1 additional variable
ERC-20
Value $18,494.07
ERC-20
Value $18,459.2
ERC-20
Value $18,404.16
ERC-20
Value $18,326.79
ERC-20
Value $18,216.25
ERC-20
Value $18,184.41
ERC-20
Value $18,144.64
ERC-20
Value $17,765.97
ERC-20
Value $34.9
ERC-20
Value $0.22
0x6cdd26610725ec1e30bbb1087da24e1bbbc089a53eaf11de3121f21bdffcacb7
0x1339a7067de486b88b345e43025d87c8cb3063bec1130cc761c1ca849a9e0b05
0xda2c2673d11f5ba7134cd958689943e2a5db0b68b2eb7fa347e0c1e9142b61f4
0x00e1cab4d528b7263631492c3d434de92605edc1d075869bf2bd608a443e4d0b
0x8adc5a05312436dc188ef8e21d9cf895dd9dd41f6efd5cdb70337fcf6b593410
0xa777332785c5b123e2cf4e3c76144507f01f0ca58a5698b5d2bfcffb8588d08d
0x7cffdf4ffcc206c28c64e346a67a901ce43b6afdcbe594caa3d944a0cf0c6bf0
0xfc44fb4b247424ce4adcf1403e8e67c8faa15ecc8e0cc0f13321c4ce2631fea1
0x62da24e2162adb291cc59723e3c3250b15b06305110a9cc44450d40c4a964d11
0x5070df80ffd6fad5d2424a82a10cee7d6a17e39376cb6a5cc00f245edb027a2a

Functions
Getter at block 21303004
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
decimals(view returns (uint8)
18
getCommunityFee(view returns (uint256 communitySwapFeeuint256 communityJoinFeeuint256 communityExitFeeaddress communityFeeReceiver)
(communitySwapFee=1000000000000000, communityJoinFee=1000000000000000, communityExitFee=1000000000000000, communityFeeReceiver=0xd132973eaebbd6d7ca7b88e9170f2cca058de430)
getController(view returns (address)
0xb258302c3f209491d604165549079680708581cc
getCurrentTokens(view returns (address[] tokens)
[0x7Fc66500c84A76Ad7e9c93437bFc5Ac33E2DDaE9, 0x0bc529c00C6401aEF6D220BE8C6Ea1667F6Ad93e, 0xC011a73ee8576Fb46F5E1c5751cA3B9Fe0af2a6F, 0x38e4adB44ef08F22F5B5b76A8f0c2d0dCbE7DcA1, 0xc00e94Cb662C3520282E6f5717214004A7f26888, 0x0d438F3b5175Bebc262bF23753C1E53d03432bDE, 0x9f8F72aA9304c8B593d555F12eF6589cC3A579A2, 0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984]
getFinalTokens(view returns (address[] tokens)
[0x7Fc66500c84A76Ad7e9c93437bFc5Ac33E2DDaE9, 0x0bc529c00C6401aEF6D220BE8C6Ea1667F6Ad93e, 0xC011a73ee8576Fb46F5E1c5751cA3B9Fe0af2a6F, 0x38e4adB44ef08F22F5B5b76A8f0c2d0dCbE7DcA1, 0xc00e94Cb662C3520282E6f5717214004A7f26888, 0x0d438F3b5175Bebc262bF23753C1E53d03432bDE, 0x9f8F72aA9304c8B593d555F12eF6589cC3A579A2, 0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984]
getMaxBoundTokens(view returns (uint256)
9
getMinWeight(view returns (uint256)
1000000000
getNumTokens(view returns (uint256)
8
getRestrictions(view returns (address)
0x3885c4e1107b445dd370d09008d90b5153132fff
getSwapFee(view returns (uint256)
2000000000000000
 
getTotalDenormalizedWeight(view returns (uint256)
getWeightPerSecondBounds(view returns (uint256 minWeightPerSeconduint256 maxWeightPerSecond)
(minWeightPerSecond=5166997354497, maxWeightPerSecond=14467592592593)
getWrapper(view returns (address)
0x0000000000000000000000000000000000000000
getWrapperMode(view returns (bool)
false
isFinalized(view returns (bool)
true
isPublicSwap(view returns (bool)
true
name(view returns (string)
Power Index Pool Token
symbol(view returns (string)
PIPT
totalSupply(view returns (uint256)
108011187922533124298291
Read-only
allowance(address srcaddress dstview returns (uint256)
balanceOf(address whomview returns (uint256)
calcAmountWithCommunityFee(uint256 tokenAmountInuint256 communityFeeaddress operatorview returns (uint256 tokenAmountInAfterFeeuint256 tokenAmountFee)
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)
getDynamicWeightSettings(address tokenview returns (uint256 fromTimestampuint256 targetTimestampuint256 fromDenormuint256 targetDenorm)
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(addressuint256uint256
bind(address tokenuint256 balanceuint256 targetDenormuint256 fromTimestampuint256 targetTimestamp
callVoting(address votingbytes4 signaturebytes argsuint256 value
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
setCommunityFeeAndReceiver(uint256 communitySwapFeeuint256 communityJoinFeeuint256 communityExitFeeaddress communityFeeReceiver
setController(address manager
setDynamicWeight(address tokenuint256 targetDenormuint256 fromTimestampuint256 targetTimestamp
setPublicSwap(bool public_
setRestrictions(address restrictions
setSwapFee(uint256 swapFee
setWeightPerSecondBounds(uint256 minWeightPerSeconduint256 maxWeightPerSecond
setWrapper(address wrapperbool wrapperMode
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 owneraddress indexed spenderuint256 value
LOG_CALL(bytes4 indexed sigaddress indexed callerbytes data anonymous
LOG_CALL_VOTING(address indexed votingbool indexed successbytes4 indexed inputSigbytes inputDatabytes outputData
LOG_COMMUNITY_FEE(address indexed calleraddress indexed receiveraddress indexed tokenuint256 tokenAmount
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
SetDynamicWeight(address indexed tokenuint256 fromDenormuint256 targetDenormuint256 fromTimestampuint256 targetTimestamp
SetWeightPerSecondBounds(uint256 minWeightPerSeconduint256 maxWeightPerSecond
Transfer(address indexed fromaddress indexed touint256 value
Constructor
constructor(string namestring symboluint256 minWeightPerSeconduint256 maxWeightPerSecond
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.