No deadline check in deposit
function
The uint64 deadline
param of the deposit
function is not used by the modifiers, therefore a deposit with no time limit could be executed.
Alice wants to deposit some amount of tokens and sends a transaction to the mempool, but with a very low has fee. Validators see the transaction but the fee is not attractive, so the transaction will be pending for a long time of period. Let's say that after a week the average gas fees drop low enough for the validators to execute the transaction but the price of the assets will has changed drastically.
Manual Review
Add the revertIfDeadlinePassed(deadline)
modifier.
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.