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

Disable swap button if the swap would provide zero to tokens #11

Open
armaniferrante opened this issue Jul 30, 2021 · 1 comment
Open
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@armaniferrante
Copy link
Contributor

It's possible to get a 0x66 error, which means that the swap executed gave the user zero to tokens.

We should estimate the amount of to tokens one would receive int he UI and disable the button if this error occurs so that the user doesn't get confused..

@armaniferrante armaniferrante changed the title Disable swap button if the swap would error Disable swap button if the swap would provide zero to tokens Jul 30, 2021
@armaniferrante armaniferrante added help wanted Extra attention is needed good first issue Good for newcomers labels Jul 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants
@armaniferrante and others