Skip to content

feat: add token pause — admin can pause all transfers globally#374

Open
devwums wants to merge 1 commit into
Lead-Studios:mainfrom
devwums:feat/issue-205-token-pause
Open

feat: add token pause — admin can pause all transfers globally#374
devwums wants to merge 1 commit into
Lead-Studios:mainfrom
devwums:feat/issue-205-token-pause

Conversation

@devwums
Copy link
Copy Markdown

@devwums devwums commented May 30, 2026

Summary

  • Create src/pause.rs with pause, unpause, is_paused, and require_not_paused
  • Add DataKey::Paused to storage_types.rs
  • Register module in lib.rs
  • Tests confirm toggle behaviour and that require_not_paused panics with ContractPaused

Closes #205

@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented May 30, 2026

@devwums Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

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.

feat: add token pause — admin can pause all transfers globally in an emergency

1 participant