Skip to content

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

Description

@armaniferrante

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..

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions