Skip to content

Commit

Permalink
style: improve comments
Browse files Browse the repository at this point in the history
  • Loading branch information
0xrusowsky authored Sep 16, 2023
1 parent e95d313 commit 32f50cf
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/Cooler.sol
Original file line number Diff line number Diff line change
Expand Up @@ -256,9 +256,10 @@ contract Cooler is Clone {
factory().logClearRequest(reqID_, loanID);
}

/// @notice Allow lender to extend a loan for the borrower.
/// @dev Since this function solely impacts the expiration day and resets the interest due,
/// The lender should ensure that repayments are done to them beforehand.
/// @notice Allow lender to extend a loan for the borrower. Doesn't require
/// borrower permission because it doesn't have a negative impact for them.
/// @dev Since this function solely impacts the expiration day, the lender
/// should ensure that extension interest payments are done beforehand.
/// @param loanID_ index of loan in loans[].
/// @param times_ that the fixed-term loan duration is extended.
function extendLoanTerms(uint256 loanID_, uint8 times_) external {
Expand Down

0 comments on commit 32f50cf

Please sign in to comment.