Lender.sol accounting for fee-on-transfer token can be incorrect since pools[poolId].poolBalance storage variable will be out-of-sync with contract token balance.
The actual amount transferred when using fee-on-transfer tokens is less than user deposited amount. This will result in wrong accounting between pools[poolId].poolBalance storage variable and contract token balance.
Pool owner looses tokens that cannot be accounted for.
Manual review
In order to prevent pool owners from using fee-on-transfer tokens, confirm Lender.sol token balance before and after depositing.
Add at Ln 186
and at [Ln 192](Add at Ln 186)
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.