Rewards Manager States

The Rewards Manager can be in two states:

enum RewardsManagerState {
  ACTIVE,
  PAUSED
}

The table below details which actions are allowed in each of these states:

Action / StateActivePaused

Deposit Rewards

Y

N

Claim Rewards

Y

Y

Drip Rewards

Y

N

Stake

Y

N

Unstake

Y

Y

Update Configs

Y

Y

Pause

Y

N

Unpause

N

Y

Although calling RewardsManager.dripRewards or RewardsManager.dripRewardPool revert when PAUSED, certain actions which drip rewards internally (such as claiming rewards) are still possible when PAUSED. These actions will just skip the internal rewards drip unless the Rewards Manager is ACTIVE.

Last updated