The depositTokensToL2() function is used to deposit L1 token to the vault by the depositor in which the token is not approved to the receiver or spender before transfering to the receiver.
In this function, the token that is deposited by the user is transferred from the user to the vault's address which is not approved by the depositor or user.
The transaction will possibly revert if we don't approve the spender before tranferring it to the spender.
Manual review
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.