Getting Loan Information
Check the loan offers
Go to the market that you are interested in
Evaluate the market rules which are laid out in the top right corner
Check if there are active loan requests available in the Loan Requests Tab
Look for any documentation available for the loan
Analyze the loan terms & decide if you want to lend
Lenders can get more information on a borrower loan request through additional functionality on the Teller V2 protocol contracts.
Get additional loan documents
To view the supporting documents submitted as part of a borrower's loan request, lenders can call the getMetadataURI
function for a specific bidId
, which returns a URI that links to all the information the borrower has provided.
/**
* @notice Gets the metadataURI for a bidId.
* @param _bidId The id of the bid to return the metadataURI for
* @return metadataURI_ The metadataURI for the bid, as a string.
*/
function getMetadataURI(uint256 _bidId)
Check a loans status
If a lender wants to inquire a given loan's status, the isPaymentLate
method returns a boolean indicating if a loan is behind on payments or not.
/**
* @notice Checks to see if a borrower is delinquent.
* @param _bidId The id of the loan bid to check for.
*/
function isPaymentLate(uint256 _bidId)
Similarly, lenders can check the last time a borrower has made a payment through the lastRepaidTimestamp
, and if the loan is defaulted through the isLoanDefauted
method.
/**
* @notice Returns the last repaid timestamp for a loan.
* @param _bidId The id of the loan bid to get the timestamp for.
*/
function lastRepaidTimestamp(uint256 _bidId)
/**
* @notice Checks to see if a borrower is delinquent.
* @param _bidId The id of the loan bid to check for.
*/
function isLoanDefaulted(uint256 _bidId)
Liquidate a defaulted loan
If a borrower has defaulted on a loan, lenders can liquidate the loan by simply calling the liquidateLoanFull
function, which then terminates the loan according to the respective market rules.
/**
* @notice Function for users to liquidate a defaulted loan.
* @param _bidId The id of the loan to make the payment towards.
*/
function liquidateLoanFull(uint256 _bidId)
Last updated