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
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