Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extension: Have the ability to add Pausability #12

Open
4 tasks
Neotamandua opened this issue Jan 7, 2025 · 0 comments
Open
4 tasks

Extension: Have the ability to add Pausability #12

Neotamandua opened this issue Jan 7, 2025 · 0 comments

Comments

@Neotamandua
Copy link
Member

Neotamandua commented Jan 7, 2025

Summary

Enable the ability to pause and unpause the smart contract. It should restrict token transfers while paused. Only the owner can suspend operations temporarily for maintenance or in case of an emergency.

Acceptance Criteria

  • Include a pause function callable only by the owner.
  • Include an unpause() function callable only by the owner.
  • Update token transfer function to check the paused state. Transfers fail when the contract is paused.
  • Emit Pause and Unpause events when the state changes.
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

No branches or pull requests

1 participant