You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On the Swap page, the buttons for 25%, 50%, 75% and All are not functioning as efficiently as possible, with several issues:
By default, the 'Total' is populated with a rounded amount of an asset, which will trigger a contract error (attempting to swap more token than exists in the wallet).
Recommend enhancing this to automatically calculate the max value to 'N' decimal places, however round DOWN the display to two decimal places. This will allow users to swap 'all' of a token and not have any leftover dust, but will visually be easier to read.
Inserting a manual Total will render the buttons obsolete, as they are not linked to the prior 'Total' SPARTA in the wallet. Recommend adding a 'Clear existing Total' step to the percentage buttons, to allow it to better adjust the amount presented to an end user.
The text was updated successfully, but these errors were encountered:
On the Swap page, the buttons for 25%, 50%, 75% and All are not functioning as efficiently as possible, with several issues:
By default, the 'Total' is populated with a rounded amount of an asset, which will trigger a contract error (attempting to swap more token than exists in the wallet).
Inserting a manual Total will render the buttons obsolete, as they are not linked to the prior 'Total' SPARTA in the wallet. Recommend adding a 'Clear existing Total' step to the percentage buttons, to allow it to better adjust the amount presented to an end user.
The text was updated successfully, but these errors were encountered: