Submitted by bin2chen, also found by bin2chen, 0xStalin, rvierdiiev, and t0x1c
The current protocol requires swapping tokens in multiple places, such as weth -> ierc20A or ierc20A -> weth.
Primarily, these swaps are executed using the _swap() method.
This method does not set amountOutMinimum.
And when call same miss set Amount Out.
These methods do not have slippage protection.
https://docs.uniswap.org/contracts/v3/guides/swaps/single-swaps
IncludeUseSwapper._swap()/ _convertFromWETH()/_convertToWETH()/_payDebt()
Front running sandwich or another type of price manipulation.
hvasconcelos (BakerFi) confirmed
ickas (BakerFi) commented:
