Accept Loan Request

In order to accept a loan request submitted by a borrower, a lender can call the function acceptBid() on the TellerV2 contract. This will transfer the principal amount from the lender's wallet to the borrower's wallet and will transfer the collateral (if specified) from the borrower's wallet into the collateral escrow contract.

/**
 * @notice Function for a lender to accept a proposed loan bid.
 * @param _bidId The id of the loan bid to accept.
 */
function lenderAcceptBid(uint256 _bidId)

Last updated