swap operation lost of slippage protection
amountOutMinimum can't set to zeo in production. This value should be calculated using uniswap SDK or an onchain price oracle - this helps protect against getting an unusually bad price for a trade due to a front running sandwich or another type of price manipulation
sqrtPriceLimitX96 can't set to zero in production.This value can be used to set the limit for the price the swap will push the pool to, which can help protect against price impact or for setting up logic in a variety of price-relevant mechanisms.
under attack like sandwich.
manual
use uniswap SDK calculate amountOutMinimum and sqrtPriceLimitX96 before swapping.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.