Skip to content

Conversation

@Ikari-Shinji-re
Copy link
Member

@Ikari-Shinji-re Ikari-Shinji-re commented Feb 9, 2026

Summary

When user wants to swap full token balance, if the number of tokens is above a threshold and user clicks on max balance, we allow him to swap rounded balance not max balance.

If user clicks on Max button, max balance should be selected. Not rounded down balance.

Fixes # (issue)

Fixed by using the actual token balance amount instead of the formatted value shown to the user.

How did you test this change?

You can compare the production deployment with the current pull request deployment.
Choose a source token that has a large balance in your wallet, for example 100,000,000.

Checklist:

  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • Implemented a user interface (UI) change, referencing our Figma design to ensure pixel-perfect precision.

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

Successfully merging this pull request may close these issues.

2 participants