Problem
There is no emergency pause mechanism. If a critical
bug is found or the protocol is under attack, there
is no way to halt operations.
What To Build
- Add paused flag to parameters contract
- Add pause() and unpause() functions
- Add check_not_paused() to all contracts
Files To Touch
- contracts/parameters-contract/src/lib.rs
All 5 contract lib.rs and errors.rs files
Acceptance Criteria
Mandatory Checks Before PR
Problem
There is no emergency pause mechanism. If a critical
bug is found or the protocol is under attack, there
is no way to halt operations.
What To Build
Files To Touch
All 5 contract lib.rs and errors.rs files
Acceptance Criteria
Mandatory Checks Before PR