Some checks are repeating over and over. Can use modifier.
In Lender.sol
the following check is repeated if (pools[poolId].lender != msg.sender) revert Unauthorized();
we can make this into a modifier. Issue spans across functions in these lines.
Does not follow DRY principle.
Manual review
Create a modifier for that check and use in the necessary functions.
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.