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

Add pausability and admin methods #209

Merged
merged 4 commits into from
Feb 3, 2025
Merged

Add pausability and admin methods #209

merged 4 commits into from
Feb 3, 2025

Conversation

kiseln
Copy link
Contributor

@kiseln kiseln commented Jan 27, 2025

  • Pausable admin can pause transfers
  • Admin can unpause all or either direction
  • Admin can also set new admin and pausable admin
  • I avoided using upgrade authority for access control as it is not considered a good practice. In case we renounce upgradeability in the future we may still want to preserve admin control over the program.
  • Changes were tested using squads (documentation to be added)

@kiseln kiseln requested review from karim-en and olga24912 January 27, 2025 12:04
Copy link
Collaborator

@karim-en karim-en left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, please fix the conflicts and CI errors

@karim-en karim-en merged commit f5dc8e8 into main Feb 3, 2025
10 checks passed
@frolvanya frolvanya linked an issue Feb 4, 2025 that may be closed by this pull request
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.

Add pausability to Solana program
2 participants