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

Swap tokens in syntethic asset trading should have form validation to ensure send amount is less than or equal to their balance #20

Open
ltfschoen opened this issue Jul 30, 2020 · 0 comments

Comments

@ltfschoen
Copy link
Contributor

ltfschoen commented Jul 30, 2020

My Acala Mandala Address: 5DRech3cqa15p3m7rgd1AoLbm8erSbdddUJLo18ESvuUbscN

If I go to https://flow.laminar.one/swap and enter a send value that's greater than my account balance of that token and sign the transaction it correctly gives error Swap error tokens.BalanceTooLow.

But I think it should show their current balance of that token near the send amount input field and perhaps have MAX 25% 50% 75% buttons for quick selection, and have form validation that alerts the user if they enter a value that exceeds their account balance of that token

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