[Eco Bounty] Swaps on Iopay fails on max amount
WalletAddress:
0xF95E8CD728D0Fba1a9d37788d978491c6a643070
Currently there is following problem with the Swap interface when clicking on max amount.
The problem is when let’s say the user want to has 10.372971838 gft and clicks on max the swap interface will round up and will use 10.373 this will not work because the user only have 10.372971838.
I think it’s also a problem that the transaction went true and failed. With a proper simulation bevore the actual transaction it will not make the transaction when it fails.
Many greetings and success by fixing it
Log in to comment and vote
Comments2
Terry Xu
Jul 31, 2025
We've improved the rounding logic to avoid confusion. Previously, when using 'max' for a trade, the actual max amount was used, and the rounded number was just for display. As for the failed transaction, it might have been due to RPC or network instability.
Jasz0n
Jul 31, 2025
Okay. But all swaps went true only when clicking on max there where failing.
Now I tested it again and made a max swap and small parts 0.00009362 is still inside the wallet so there is something left.
The problem is from IOS app.