The check-effect interaction was not properly followed in the deposit function as state variable were updated before getting the fund from users which is a bad practice as it can be dangerous to the protocol and users.
Liquidity Provider tends to waste gas before realizing they don't have enough or haven't approved the protocol to spend the funds
Manual review
The team should confirm a transferfrom function was successful from the liquidity provider before updating the state of the contract.
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.