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

Cairo: owner and recipient parameter order not consistent #128

Open
ericglau opened this issue May 12, 2022 · 0 comments
Open

Cairo: owner and recipient parameter order not consistent #128

ericglau opened this issue May 12, 2022 · 0 comments

Comments

@ericglau
Copy link
Member

With Cairo ERC20:

  • Set Premint to 1 and enable Mintable. The constructor parameters appear as: recipient: felt, owner: felt
  • in addition to the above, enable Pausable. The constructor parameters appear as: owner: felt, recipient: felt

This is inconsistent and could cause confusion/incorrect usage.

@ericglau ericglau changed the title Cairo: owner and recipient param order not consistent Cairo: owner and recipient parameter order not consistent May 12, 2022
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