In function SablierFlow:_withdraw
, due to absence of minimumOutputAmount
, a sudden price change (or other adjustments) may result in a smaller output than expected, potentially leading to user losses.
Here is the Vulnerability details,
Users might get low outputAmount when withrawing due to fluctuation in the price of the tokens.
Manual Review
the parameter minimumOutputAmount
should be added and set preventing users form getting low output than expected offering slippage protection, to the _withdraw
function in SablierFlow
smart contract like this:
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.