The Lender.sol
contract is hardcoded to work only with 18 decimals ERC20 tokens.
In the current implementation loanRation in borrow(), giveLoan(), and refinance() functions are hardcoded to 18 decimals calculations.
Loss of precision, mixing tokens with different decimals can lead to loss of funds.
Manual
Consider restricting what tokens can be used if want to leave these calculations, or use ERC20.decimals() to prevent precision loss.
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.