Lender - Call a loan

Lender: call a loan

Starts the Dutch auction for refinancing.

function call(uint256 _loanId) external;

Notes

  • After the minimum duration, the lender can demand to exit.

  • Borrower can still repay (with repay) using loan.callTime as the repayment time.

  • Alternatively, another lender can step in via transfer.

Flow

  • Check Loan is active

  • Check TX sent by lender.

  • Check minimum duration has passed.

  • Set loan.callTime to current timestamp.

  • Emit LoanCalled.

Last updated