Although the deposit
function includes a deadline parameter, specified as the transaction’s completion time, it is not implemented in the function. This oversight allows liquidity additions to happen at unintended times, risking execution under adverse market conditions.
Proof of Concept: The deadline
parameter is unused.
Transactions could be sent when market conditions are unfavorable to deposit, even when adding a deadline parameter.
Manual Review
Consider making the following change to the function.
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.