PowerIndexRouter

Verified contract

Proxy

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

No balances found for "PowerIndexRouter"

0x6996183be1828e8cec24778dbb3ea8f744cce640ccfd6793c40c411693b0d548
0xf93162f4e752ec748d1c142f93285b4a791411b8f141cfbad341edfa36aa2383
0x4e8c8d8eb86c155d81676b6ee667a5ab030519bacff3c45aa8c37acf454baf9e
0xc34a64cd6b7847c3efd2ce336a353d95ce39fd4c259d44aaf107c9330579ced0
0x126476ecafd0319213455df3dda25d0333d008eb1a6a198596b90c8f7120d8c0
0xc39a25d9b8fb0d77d430cd2baba641303c7da3193026b1ebff8daa86eee64925
0xf0237f9b32ad6918b8f1c5cc0c355a48f878c2ac47a4e24023284f8de6b73f72
0xe1a3165992a70f83079ea756ca3d33735b59aa50e168b03fbea0821a7794482f
0x78b4fd93dc8493fe3ff9aafdd67ecabadbd2a86fa4ae3a7e445032dc8953159c
0x3e4798a8f721539679ed0d33d84f9f34c077b44dcf37d89bb9b41782db5254de

Functions
Getter at block 21228205
HUNDRED_PCT(view returns (uint256)
1000000000000000000
calculateLockedProfit(view returns (uint256)
0
claimRewardsInterval(view returns (uint256)
86400
 
getUnderlyingAvailable(view returns (uint256)
getUnderlyingReserve(view returns (uint256)
0
getUnderlyingStaked(view returns (uint256)
2984693312345136089833
getUnderlyingTotal(view returns (uint256)
2984693312345136089833
lastRebalancedByPokerAt(view returns (uint256)
1674560183
owner(view returns (address)
0xb258302c3f209491d604165549079680708581cc
performanceFee(view returns (uint256)
0
performanceFeeReceiver(view returns (address)
0xd132973eaebbd6d7ca7b88e9170f2cca058de430
piToken(view returns (address)
0xa1ebc8bde2f1f87fe24f384497b6bd9ce3b14345
poolRestrictions(view returns (address)
0x698967ca2fb85a6d9a7d2bed4d2f6d32bbc5fcdc
powerPoke(view returns (address)
0x04d7aa22ef7181ee3142f5063e026af1bbbe5b96
reserveRatio(view returns (uint256)
0
reserveRatioLowerBound(view returns (uint256)
0
reserveRatioUpperBound(view returns (uint256)
0
underlying(view returns (address)
0x77777feddddffc19ff86db637967013e6c6a116c
 
DEGRADATION_COEFFICIENT(view returns (uint256)
 
GOVERNANCE(view returns (address)
HUNDRED_PCT(view returns (uint256)
1000000000000000000
 
LOCKED_PROFIT_DEGRADATION(view returns (uint256)
 
PI_TOKEN(view returns (address)
 
RATIO_CONSTANT(view returns (uint256)
 
STAKING(view returns (address)
 
UNDERLYING(view returns (address)
 
getPendingRewards(view returns (uint256)
 
getTornPriceRatio(view returns (uint256)
getUnderlyingStaked(view returns (uint256)
2984693312345136089833
Read-only
claimRewardsIntervalReached(uint256 _lastClaimRewardsAtview returns (bool)
connectors(uint256view returns (address connectoruint256 sharebool callBeforeAfterPokeuint256 lastClaimRewardsAtuint256 lastChangeStakeAtbytes stakeDatabytes pokeDatabytes stakeParamsbytes claimParams)
getExpectedStakeAmount(uint256 _reserveRatioPctuint256 _leftOnPiTokenuint256 _stakedBalanceuint256 _sharepure returns (uint256)
getPiEquivalentForUnderlying(uint256 _underlyingAmountuint256 _piTotalSupplyview returns (uint256)
getPiEquivalentForUnderlyingPure(uint256 _underlyingAmountuint256 _totalUnderlyingWrappeduint256 _piTotalSupplypure returns (uint256)
getStakeAndClaimStatus(uint256 _leftOnPiTokenBalanceuint256 _totalStakedBalanceuint256 _stakedBalanceuint256 _subFromExpectedStakeAmountbool _claimAndDistributeRewardsstruct PowerIndexRouterConnector _cview returns (uint8 statusuint256 diffbool shouldClaimbool forceRebalance)
getStakeStatus(uint256 _leftOnPiTokenBalanceuint256 _totalStakedBalanceuint256 _stakedBalanceuint256 _subFromExpectedStakeAmountuint256 _shareview returns (uint8 statusuint256 diffbool forceRebalance)
getStakeStatusForBalance(uint256 _stakedBalanceuint256 _shareview returns (uint8 statusuint256 diffbool forceRebalance)
getStakeStatusPure(uint256 _reserveRatioPctuint256 _leftOnPiTokenuint256 _totalStakedBalanceuint256 _stakedBalanceuint256 _shareuint256 _subFromExpectedStakeAmountview returns (uint8 statusuint256 diffuint256 expectedStakeAmount)
getUnderlyingEquivalentForPi(uint256 _piAmountuint256 _piTotalSupplyview returns (uint256)
getUnderlyingEquivalentForPiPure(uint256 _piAmountuint256 _totalUnderlyingWrappeduint256 _piTotalSupplypure returns (uint256)
calcTornOutByWethIn(uint256 _wethAmountview returns (uint256)
calcWethOutByTornIn(uint256 _tornAmountInview returns (uint256)
calculateLockedProfit(bytes _stakeDataview returns (uint256)
calculateLockedProfit(uint256 _lockedProfituint256 _lastRewardDistributionview returns (uint256)
forecastReward(uint256 _accRewardPerTornuint256 _accRewardRateOnLastUpdateuint256 _reinvestDurationuint256 _lastRewardsUpdateuint256 _lockedBalanceview returns (uint256)
getPendingAndForecastReward(uint256 _lastClaimRewardsAtuint256 _lastChangeStakeAtuint256 _reinvestDurationview returns (uint256 pendinguint256 forecastuint256 forecastByPending)
getTornUsedToReinvest(uint256 _gasUseduint256 _gasPriceview returns (uint256)
isClaimAvailable(bytes _claimParamsuint256 _lastClaimRewardsAtuint256 _lastChangeStakeAtview returns (bool)
packClaimParams(uint256 paybackDurationuint256 gasToReinvestpure returns (bytes)
packStakeData(uint256 lockedProfituint256 lastRewardDistributionuint256 performanceFeeDebtpure returns (bytes)
pendingReward(uint256 _accRewardPerTornuint256 _accRewardRateOnLastUpdateuint256 _lockedBalanceview returns (uint256)
unpackClaimParams(bytes _claimParamspure returns (uint256 paybackDurationuint256 gasToReinvest)
unpackStakeData(bytes _stakeDatapure returns (uint256 lockedProfituint256 lastRewardDistributionuint256 performanceFeeDebt)
State-modifying
enableRouterCallback(address _piTokenbool _enable
initRouterByConnector(uint256 _connectorIndexbytes _data
migrateToNewRouter(address _piTokenaddress _newRouteraddress[] _tokens
piTokenCallback(addressuint256 _withdrawAmountpayable 
pokeFromReporter(uint256 _reporterIdbool _claimAndDistributeRewardsbytes _rewardOpts
pokeFromSlasher(uint256 _reporterIdbool _claimAndDistributeRewardsbytes _rewardOpts
redeem(uint256 _connectorIndexuint256 _diff
renounceOwnership(
setClaimParams(uint256 _connectorIndexbytes _claimParams
setConnectorList(struct PowerIndexRouterConnectorInput[] _connectorList
setPerformanceFee(uint256 _performanceFee
setPiTokenEthFee(uint256 _ethFee
setPiTokenNoFee(address _forbool _noFee
setReserveConfig(uint256 _reserveRatiouint256 _reserveRatioLowerBounduint256 _reserveRatioUpperBounduint256 _claimRewardsInterval
setStakeParams(uint256 _connectorIndexbytes _stakeParams
stake(uint256 _connectorIndexuint256 _diff
transferOwnership(address newOwner
withdrawEthFee(address _receiver
afterPoke(uint8boolreturns (bytes)
beforePoke(bytes _pokeDatastruct IRouterConnectorDistributeData _distributeDatabool _willClaimReward
claimRewards(uint8 _statusstruct IRouterConnectorDistributeData _distributeDatareturns (bytes stakeData)
initRouter(bytes
redeem(uint256 _amountstruct IRouterConnectorDistributeDatareturns (bytes resultbool claimed)
stake(uint256 _amountstruct IRouterConnectorDistributeDatareturns (bytes resultbool claimed)
Events
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
SetConnector(address indexed connectoruint256 sharebool callBeforeAfterPokeuint256 indexed connectorIndexbool indexed isNewConnector
SetConnectorClaimParams(address connectorbytes claimParams
SetConnectorStakeParams(address connectorbytes stakeParams
SetPerformanceFee(uint256 performanceFee
SetReserveConfig(uint256 ratiouint256 ratioLowerBounduint256 ratioUpperBounduint256 claimRewardsInterval
DistributePerformanceFee(uint256 performanceFeeDebtBeforeuint256 performanceFeeDebtAfteruint256 underlyingBalanceuint256 performance
DistributeReward(address indexed senderuint256 totalRewarduint256 performanceFeeuint256 piTokenRewarduint256 lockedProfitBeforeuint256 lockedProfitAfter
Redeem(address indexed senderaddress indexed stakingaddress indexed underlyinguint256 amount
Redeem(address indexed senderuint256 amountuint256 rewardReceived
Stake(address indexed senderaddress indexed stakingaddress indexed underlyinguint256 amount
Stake(address indexed senderuint256 amountuint256 rewardReceived
Constructor
constructor(address _piTokenstruct PowerIndexRouterBasicConfig _basicConfig
Fallback and receive
receive(
Errors

This contract contains no error objects.