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
@0xean what's the expected behaviour here, for the value in sell asset to become the same one in buy asset, with the assets reversed i.e something like this?
If so, unfortunately we can't do that, as buy asset value is not an input, i.e we don't (as most of the swappers don't either) support the notion of getting a quote denominated in buy asset value.
0xean
changed the title
Down arrow to swap assets is broken when getting quotes
Allow output amount to be swapped into input amount when a user attempts to reverse the input / output
Dec 16, 2024
https://jam.dev/c/f5ff458c-0ce9-4f20-94d2-54ca19368830
Repro steps:
Potential solution:
Effectively we want to take the fiat value of the current sell asset, and input that fiat amount worth of buy asset on switch.
The text was updated successfully, but these errors were encountered: