LogoLogo
  • Introduction
  • 👨‍🦱Personas
    • Borrowers
      • Submit Loan Request
        • Loan Collateral
      • Repay Loan
        • Withdraw Collateral
      • Accept Commitment
      • Loan Status
    • Lenders
      • Review Loan Requests
      • Accept Loan Request
      • Claim Collateral
      • Create Commitment
    • Pool Owner
      • Pool Settings
      • Loan Payment Type
      • Payment Cycle Type
    • Liquidators
      • Liquidate Loan
    • Reward Allocators
  • Resources
    • Deployed Contracts
Powered by GitBook
On this page
  1. Personas
  2. Lenders

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)

PreviousReview Loan RequestsNextClaim Collateral

Last updated 2 years ago

👨‍🦱