SushiPowerIndexRouter

Verified contract

Active on Ethereum with 114 txns
Deployed by via 0xadcbcc12 at 12502580
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $331.83
0xe8aa8019de401a96f0514d08a41abdb4541832e8705c19bd4099518dc3e52a1e
0x3ad63a14426d16b40ff2b367b695021d4944d464ce0748f3282e7acc1054d609
0x4eceab276777f5fc6ff86348418f5fbfdb71a89f80224cfac68c1159a34eba80
0x33c63bb8923d0ebf916582505ab5b59cad234d1244985eb7c5fdc75fafc52c7a
0x45b2dd9f71d020ec536beb84ba19a6a7025048fb9fc3b5c8c122094d437bdddb
0xd256f74d4e4b584865d97a54941595f931df7d2a1adf9ebc26e36db77af4202c
0xfc2adc4719d05fbd918c2c6e35226f707f93c0d84b9c408d1f9a3eea62b3c3db
0xb4d104c68564bbd1239243393293a8721cb2d93266af3a71aaf3deb564ac2b14
0x55b5c40c9c90585b5bd7a45e9a94f473e55ae830c95a231dfa8e9290ddc100d1
0xe43dba2d5f29976a85fceb0e2195928563ae04e882a9c139cb756dcd1defd054

Functions
Getter at block 21274653
HUNDRED_PCT(view returns (uint256)
1000000000000000000
claimRewardsInterval(view returns (uint256)
604800
getPendingRewards(view returns (uint256 amount)
316989374384044371796
getReserveStatusForStakedBalance(view returns (uint8 statusuint256 diffbool forceRebalance)
(status=1, diff=326189924180961562257, forceRebalance=false)
getRewardPools(view returns (address[])
[0xb4bebD34f6DaaFd808f73De0d10235a92Fbb6c3D, 0xFA2562da1Bba7B954f26C74725dF51fb62646313]
getUnderlyingBackedByXSushi(view returns (uint256)
4443832465243140059969
getUnderlyingStaked(view returns (uint256)
4126843090859095688174
lastClaimRewardsAt(view returns (uint256)
1674957335
lastRebalancedAt(view returns (uint256)
1675389371
owner(view returns (address)
0xb258302c3f209491d604165549079680708581cc
piToken(view returns (address)
0xf3505383b740af8c241f1cf6659619a9c38d0281
poolRestrictions(view returns (address)
0x3885c4e1107b445dd370d09008d90b5153132fff
powerPoke(view returns (address)
0x04d7aa22ef7181ee3142f5063e026af1bbbe5b96
pvp(view returns (address)
0xd132973eaebbd6d7ca7b88e9170f2cca058de430
pvpFee(view returns (uint256)
3000000000000000
reserveRatio(view returns (uint256)
200000000000000000
reserveRatioToForceRebalance(view returns (uint256)
50000000000000000
staking(view returns (address)
0x8798249c2e607446efb7ad49ec89dd1865ff4272
voting(view returns (address)
0x0000000000000000000000000000000000000000
Read-only
getExpectedReserveAmount(uint256 _reserveRatioPctuint256 _leftOnPiTokenuint256 _stakedBalanceuint256 _withdrawAmountpure returns (uint256)
getPiEquivalentForUnderlying(uint256 _underlyingAmountaddressuint256view returns (uint256)
getPiEquivalentForUnderlyingPure(uint256 _underlyingAmountuint256uint256pure returns (uint256)
getReserveStatus(uint256 _stakedBalanceuint256 _withdrawAmountview returns (uint8 statusuint256 diffbool forceRebalance)
getReserveStatusPure(uint256 _reserveRatioPctuint256 _leftOnPiTokenuint256 _stakedBalanceuint256 _withdrawAmountpure returns (uint8 statusuint256 diffuint256 expectedReserveAmount)
getSushiForXSushi(uint256 _xSushiview returns (uint256)
getUnderlyingEquivalentForPi(uint256 _piAmountaddressuint256view returns (uint256)
getUnderlyingEquivalentForPiPure(uint256 _piAmountuint256uint256pure returns (uint256)
getXSushiForSushi(uint256 _sushiview returns (uint256)
State-modifying
migrateToNewRouter(address _piTokenaddress _newRouteraddress[] _tokens
piTokenCallback(address senderuint256 _withdrawAmountpayable 
poke(bool _claimAndDistributeRewards
pokeFromReporter(uint256 _reporterIdbool _claimAndDistributeRewardsbytes _rewardOpts
pokeFromSlasher(uint256 _reporterIdbool _claimAndDistributeRewardsbytes _rewardOpts
redeem(uint256 _xSushi
renounceOwnership(
setPiTokenEthFee(uint256 _ethFee
setPvpFee(uint256 _pvpFee
setReserveConfig(uint256 _reserveRatiouint256 _claimRewardsInterval
setRewardPools(address[] _rewardPools
setVotingAndStaking(address _votingaddress _staking
stake(uint256 _sushi
transferOwnership(address newOwner
withdrawEthFee(address _receiver
Events
ClaimRewards(address indexed senderuint256 xSushiBurneduint256 expectedSushiRewarduint256 releasedSushiReward
DistributeRewards(address indexed senderuint256 sushiRewarduint256 pvpRewarduint256 poolRewardsUnderlyinguint256 poolRewardsPiaddress[] pools
IgnoreDueMissingStaking(
IgnoreRebalancing(uint256 blockTimestampuint256 lastRebalancedAtuint256 rebalancingInterval
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Redeem(address indexed senderuint256 amount
RewardPool(address indexed pooluint256 amount
SetPvpFee(uint256 pvpFee
SetRebalancingInterval(uint256 rebalancingInterval
SetReserveConfig(uint256 ratiouint256 claimRewardsInterval
SetRewardPools(uint256 lenaddress[] rewardPools
SetVotingAndStaking(address indexed votingaddress indexed staking
Stake(address indexed senderuint256 amount
Constructor
constructor(address _piTokenstruct PowerIndexBasicRouterBasicConfig _basicConfigstruct SushiPowerIndexRouterSushiConfig _sushiConfig
Fallback and receive
receive(
Errors

This contract contains no error objects.