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
{{ message }}
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.
The math for the Trade.minimumAmountOut() is wrong. This is an issue in the interface because the Minimum output in the SwapDetailsDropdown is showing the wrong number.
Steps to Reproduce
Go to app.uniswap.org
Add two tokens to swap (Easier to test with two stablecoins like USDC & DAI)
Add Custom Slippage (Easier to test with a round number like 50%)
Open SwapDetailsDropdown see the incorrect number in the "Minimum output" row
Expected Behavior
Trade.minimumAmountOut() method should correctly calculate the slippage
Additional Context
In the screenshot the Minimum output is 666.604 when it should be 499.953.
The text was updated successfully, but these errors were encountered:
The math for the Trade.minimumAmountOut() is wrong. This is an issue in the interface because the Minimum output in the SwapDetailsDropdown is showing the wrong number.
Steps to Reproduce
Expected Behavior
Trade.minimumAmountOut() method should correctly calculate the slippage
Additional Context
In the screenshot the Minimum output is 666.604 when it should be 499.953.
The text was updated successfully, but these errors were encountered: