WIP: Add guard-wide ERC20 pause module [CI SKIP] #5
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
code/CL8Y-Token-SC!5
Loading…
Reference in a new issue
No description provided.
Delete branch "security/guard-wide-token-pause"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds an optional, initially unpaused module for a fixed
GuardERC20pipeline. AccessManager selectors separate the emergency pause role from governance resume, module management and authority control. Existing token and guard contracts are unchanged.The module is guard-wide because hooks have no originating token context. Unknown or shared guards cannot be admitted as a single-token pause. While paused, transfers, burns, issuance hooks and recovery transfers through that guard revert; approvals and views remain available. Closing an AccessManager target is not a substitute for the paused flag. Legacy and bridged immutable tokens do not acquire freeze rights through this change.
Validation: ten focused local tests pass, including selector denial, revocation, atomic rollback, both target-closure cases, shared-guard scope and recovery paths. Coordinator and independent source reviews approved the change. The fresh base's existing CI file is preserved unchanged. Deployed token binding, dedicated guard scope, source/runtime equivalence and live containment remain unverified; no deployment, transaction or signer enrollment is performed by this draft.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.