Skip to content

Emergency pause module #570

@nafiuishaaq

Description

@nafiuishaaq

Description:
Allow admin to pause/unpause contract in case of emergency (bug or exploit).

Acceptance Criteria:

pause() admin function — disables all state-changing functions.

unpause() admin function.

when_not_paused modifier on all sensitive functions.

Paused state stored in persistent storage.

Emits Paused, Unpaused events.

View functions remain callable.

Labels: integration, emergency, security

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions