Skip to content
This repository was archived by the owner on Dec 10, 2025. It is now read-only.

Add emergency shutdown and governance proposal #18

@LHerskind

Description

@LHerskind

Add noEmergency modifier to user initiated functions that will perform a non-reverting noop in case of emergency. The cooldown admin will control the switch.

  • Add setEmergencyShutdown() only callable by cooldown admin
  • Add getEmergencyShutdown() for easy access
  • Add noEmergency modifier to:
    • stake
    • cooldown
    • stakeWithPermit
    • redeem
    • redeemOnBehalf
    • claimRewards
    • claimRewardsOnBehalf
    • claimRewardsAndStake
    • claimRewardsAndStakeOnBehalf
    • claimRewardsAndRedeem
    • claimRewardsAndRedeemOnbehalf

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions