The deposit
function accepts a deadline parameter but does not utilize it, and lacks logic to check whether the deadline has passed. As a result, liquidity providers are susceptible to unfavorable market conditions and potential front-running attacks.
The deposit
function accepts a deadline parameter intended to ensure that transactions are executed within a specific time frame, thereby protecting users from unfavorable market conditions and front-running attacks. However, the function does not utilize this parameter or implement any logic to check whether the deadline has passed.
Proof of Concept
The deadline
parameter is not used and revert if deadline has passed logic is not implemented.
Transaction could be sent when market conditions are unfavorable to user.
Manual review
Consider making the following changes
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.