Skip to content

feat: add global protocol pause mechanism#85

Open
Scottcjn wants to merge 1 commit intosorosave-protocol:mainfrom
Scottcjn:protocol-global-pause
Open

feat: add global protocol pause mechanism#85
Scottcjn wants to merge 1 commit intosorosave-protocol:mainfrom
Scottcjn:protocol-global-pause

Conversation

@Scottcjn
Copy link

Summary

  • add a protocol-wide pause flag in instance storage
  • expose admin-only pause_protocol, unpause_protocol, and is_protocol_paused
  • block all state-changing entrypoints while the protocol is globally paused
  • add tests for admin-only control, blocked mutations, and resumed behavior after unpause

Testing

  • cargo test

Closes #42

@a638011
Copy link

a638011 commented Mar 11, 2026

Closing: This bounty has no specified dollar amount and does not meet my criteria (USD > $1). Apologies for the noise.

@a638011
Copy link

a638011 commented Mar 11, 2026

Withdrawing this PR. This bounty has no specified dollar amount and does not meet my criteria (USD > $1). Apologies for the noise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement contract pause mechanism (global)

2 participants