It is always better if the amountOutMinimum
is provided by user and not calculated by protocol. Often times the calculated amount is not the one which user might always wish to go for. The protocol can calculate if user is unwilling to submit his own output amount, but generally user must have complete control over accepting the swap result.
User swaps for the ratio he is not willing to pay for.
Manual
Let user pass the amountOutMinimum
in the function params.
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.