Skip to content

feat: Add emergency pause/unpause for all contracts #399

Description

Description

All contracts should support emergency pause/unpause functionality via admin. This is critical for security incidents.

Requirements

  • Implement pause/unpause in common/src/pause.rs
  • Add pause checks to all mutating functions
  • Add pause/unpause admin functions to each contract
  • Add tests for pause behavior

Acceptance Criteria

  • All mutating functions check pause state before execution
  • Admin can pause/unpause any contract
  • Paused contracts reject all mutations
  • Tests verify pause/unpause behavior

Priority

High

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions