J4de
medium
Borrowers can only make repayments until liquidation.
File: TellerV2.sol
580 function repayLoanMinimum(uint256 _bidId)
581 external
582 acceptedLoan(_bidId, "repayLoan")
583 {
584 (
585 uint256 owedPrincipal,
586 uint256 duePrincipal,
587 uint256 interest
588 ) = V2Calculations.calculateAmountOwed(
589 bids[_bidId],
590 block.timestamp,
591 bidPaymentCycleType[_bidId]
592 );
593 _repayLoan(
594 _bidId,
595 Payment({ principal: duePrincipal, interest: interest }),
596 owedPrincipal + interest,
597 true
598 );
599 }
Borrowers are allowed to miss repayments on time due to the absence of penalties for loans that are not repaid on time. Also, the borrower can avoid liquidation by:
- The liquidation time and the repayment time point are inconsistent, and are calculated by
_canLiquidateLoan
andcalculateNextDueDate
respectively, which results in a buffer period between the liquidation time and the repayment time - Borrowers can repay only before being liquidated, preempting liquidation requests and avoiding liquidation.
Borrowers may not make payments on time.
Manual Review
It is recommended to penalty for borrowers who fail to pay on time.