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

Restrict the number of tokens that a user can mint #30

Open
alexis-de-la-torre opened this issue Aug 31, 2021 · 0 comments
Open

Restrict the number of tokens that a user can mint #30

alexis-de-la-torre opened this issue Aug 31, 2021 · 0 comments

Comments

@alexis-de-la-torre
Copy link
Owner

As an ERC20 contract owner, I want to be able to restrict the number of tokens that can be minted by a single user, so the total value doesn't get ridiculously high.

Acceptance Criteria:

  • Club solidity contract overrides the mint function with custom assertions.
  • Error is displayed when trying to mint more than 10,000 tokens in 1 transaction.
  • Error is displayed when trying to mint but the user already has 100,000 tokens.
@alexis-de-la-torre alexis-de-la-torre changed the title Restrict number of tokens that a user can mint Restrict the number of tokens that a user can mint Aug 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant