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
The current implementation of the swap fee calculates the amount using the mulDiv function, so the amounts accrued are rounded down instead of rounded up. Thus, any dust from the calculation is given to the user instead of to the protocol.
The text was updated successfully, but these errors were encountered:
Description:
The current implementation of the swap fee calculates the amount using the
mulDiv
function, so the amounts accrued are rounded down instead of rounded up. Thus, any dust from the calculation is given to the user instead of to the protocol.The text was updated successfully, but these errors were encountered: