Description: The deposit function accepts a deadline parameter, which according to the documentation is "The deadline for the transaction to be completed by". However, this parameter is never used. As a consequence, operations that add liquidity to the pool might be executed at unexpected times, in market conditions where the deposit rate is unfavorable.
Impact: Transactions could be sent when market conditions are unfavorable to deposit, even when adding a deadline parameter.
Proof of Concept: The deadline parameter is unused.
Recommended Mitigation: Consider making the following changes to the function.
functiondeposit(
uint256 wethToDeposit,
uint256 minimumLiquidityTokensToMint,
uint256 maximumPoolTokensToDeposit,
uint64 deadline
)
external
+ revertIfDeadlinePassed(deadline) // add this line