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

Improve decimals UI #118

Open
shaharyakir opened this issue Nov 7, 2022 · 0 comments
Open

Improve decimals UI #118

shaharyakir opened this issue Nov 7, 2022 · 0 comments
Assignees

Comments

@shaharyakir
Copy link
Collaborator

shaharyakir commented Nov 7, 2022

  1. On deploy form, the amount to mint should be dependent on decimals (i.e. disabled until decimals is filled).
    • If decimals change, the amount should be truncated as needed to reflect the decimals correctly (e.g. 10.12345 is not applicable with 4 decimals)
    • Prevent typing more than the decimals specified
  2. On mint form, prevent typing more than the decimals specified
  3. Decimals field, limit input to 0<=decimals<=255 (this may already be the case - need to verify)
  4. Prevent typing in "amount to mint" if decimals is not specified (show popup or similar explanation)
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

2 participants