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
Instead of trying to swap the entire amount given by the client, the program should read the orderbook, calculate the exact amount for the swap (i.e. the max amount such that there is zero spill), and execute it, thereby eliminating the spill surplus given by the connecting quote token (usually usd(x)).
The text was updated successfully, but these errors were encountered:
Instead of trying to swap the entire amount given by the client, the program should read the orderbook, calculate the exact amount for the swap (i.e. the max amount such that there is zero spill), and execute it, thereby eliminating the spill surplus given by the connecting quote token (usually usd(x)).
The text was updated successfully, but these errors were encountered: