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

Allow for permissioned transfers #116

Open
kantp opened this issue Jan 17, 2025 · 0 comments
Open

Allow for permissioned transfers #116

kantp opened this issue Jan 17, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@kantp
Copy link
Collaborator

kantp commented Jan 17, 2025

Proposed feature

Allow the admin contract to approve transfers, depending on sender, receiver, and amount.

Why

This will enable implementing tokens that need KYC/AML.

Dependencies

Implementation of this will be much easier once o1-labs/o1js#1889 has been resolved. That feature will allow conditionally calling into the admin contract from transfer(). It might be possible to implement this feature without that functionality, but only in a very clunky way (adding another method permissionedTransfer(), and then disabling calls to transfer() for those tokens that want the admin contract to be called.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

No branches or pull requests

1 participant