EmerisHQ / demeris

Emeris web app
https://app.emeris.com/
Apache License 2.0
11 stars 2 forks source link

Re-run dex agg routing calculation when user hits "flip" button #1766

Closed akc2267 closed 2 years ago

akc2267 commented 2 years ago

currently no re-run happens so the user is left with empty input fields in the swap module. when user hits the "flip" button, take the previous returnAmount and outputDenom and call the routing endpoint with these as the inputAmount and inputDenom