Getting Loan Information
To facilitate a smooth borrower's user experience, the TellerV2 Protocol has the following methods to help make repayments easier.
Get total amount owed
Borrowers can find out the total amount owed back to the protocol for their loan, through the calculateAmountOwed
method, which returns the total principal plus interest owed on a loan.
Get minimum amount due
The minimum amount due is how much the borrower must pay back by the next due date in order to keep their loan in good standing. Each loan has a payment cycle duration which defines the length of time between payments.
Get next payment due date
Borrowers can manage their cash flow and budgets by calling the calculateNextDueDate
, which will return the timestamp at which the next payment is due for their loan (before the loan is considered Delinquent).
Check payment status
Borrowers can also check if their payment is late by calling the isPaymentLate
method, which returns a boolean indicating if the borrower is delinquent or not.
Last updated