Borrower may not able to repay loan if interest rate is 0.
When borrower repays a loan, protocol fee will be transferred to the fee receiver:
The protocol fee is a portion of loan interest fee and is calculated in _calculateInterest(…) function:
If no interest rate is set by lender, there will be no protocol fee either, then 0 amount of loan tokens will be tranferred to the fee receiver. However, Some tokens do not support transfer if amount is 0, tranaction will revert and borrower cannot repay.
Loan cannot be repaied.
Mannual Review
Do not transfer protocol fee is amount is 0.
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.