🦥
Cozy Safety Module
  • User Guides
    • Introduction
    • User FAQs
  • Developer Guides
    • Creating a Safety Module
      • Define Safety Module Configuration
      • Deploy a Safety Module
    • Manage a Safety Module
      • Replacing Triggers
    • Safety Module Deposits
    • Safety Module Redemptions / Withdrawals
    • Safety Module States
    • Safety Module Fees
    • Safety Module Slashing
    • Shared Safety Module Functionality
    • Create a Rewards Manager
      • Define a Rewards Manager Configuration
      • Deploy a Rewards Manager
      • Reward Pool Drip Models
    • Manage a Rewards Manager
      • Deposit Rewards
      • Update a Rewards Manager Configuration
    • Stake into a Rewards Manager
      • Stake
      • Claim Rewards
      • Unstake
    • Rewards Manager Accounting
    • Rewards Manager States
    • Create a Trigger
      • UMA Trigger Factory
      • Chainlink Trigger Factory
      • Ownable Trigger Factory
    • Permissions and Authorization
    • Token Integration Guidelines
    • Contract Deployments Registry
    • Payout Vaults
  • FAQ
    • Security FAQ
Powered by GitBook
On this page
  1. Developer Guides

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 / State
Active
Paused

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.

PreviousRewards Manager AccountingNextCreate a Trigger

Last updated 9 months ago