Safety Module States

The Safety Module can be in three states:

enum SafetyModuleState {
  ACTIVE,
  TRIGGERED,
  PAUSED
}

The table below details valid state transitions:

From
To
Notes

ACTIVE

TRIGGERED

ACTIVE

PAUSED

Occurs when either the protocol owner or pauser or the SafetyModule owner or pauser pauses the SafetyModule.

TRIGGERED

ACTIVE

TRIGGERED

PAUSED

Occurs when either the protocol pauser or SafetyModule pauser pauses the SafetyModule.

PAUSED

ACTIVE

Occurs when either the protocol owner or the SafetyModule owner unpauses the SafetyModule.

PAUSED

TRIGGERED

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

Action / State
Active
Triggered
Paused

Deposit Reserve Assets

Y

Y

N

Queue Redeem Reserve Assets

Y

N

N

Complete Redeem Reserve Assets

Y

N

N

Instant Redeem Reserve Assets

N

N

Y

Trigger

Y

Y

Y

Slash

N

Y

N

Queue Update Configs

Y

N

Y

Finalize Update Configs

Y

N

Y

Pause

Y

Y

N

Unpause

N

N

Y

Fees Drip

Y

N

N

Claim Fees

Y

Y

Y

Last updated