Skip to content

Commit b5ae36c

Browse files
committed
feat: rename Bordel to Installments loan
1 parent 25e2463 commit b5ae36c

File tree

3 files changed

+213
-213
lines changed

3 files changed

+213
-213
lines changed

src/loan/terms/simple/loan/PWNBordelLoan.sol renamed to src/loan/terms/simple/loan/PWNInstallmentsLoan.sol

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ import { AddressMissingHubTag } from "pwn/PWNErrors.sol";
2222

2323

2424
/**
25-
* @title PWN Bordel Loan
26-
* @notice Contract managing a bordel (mortgage) loan in PWN protocol.
25+
* @title PWN Installments Loan
26+
* @notice Contract managing a loan with flexible installments in PWN protocol.
2727
* @dev Acts as a vault for every loan created by this contract.
2828
*/
29-
contract PWNBordelLoan is PWNVault, ReentrancyGuard, IERC5646, IPWNLoanMetadataProvider {
29+
contract PWNInstallmentsLoan is PWNVault, ReentrancyGuard, IERC5646, IPWNLoanMetadataProvider {
3030
using MultiToken for address;
3131

3232
string public constant VERSION = "1.0";

test/harness/PWNBordelLoanHarness.sol renamed to test/harness/PWNInstallmentsLoanHarness.sol

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
// SPDX-License-Identifier: GPL-3.0-only
22
pragma solidity 0.8.16;
33

4-
import { PWNBordelLoan } from "pwn/loan/terms/simple/loan/PWNBordelLoan.sol";
4+
import { PWNInstallmentsLoan } from "pwn/loan/terms/simple/loan/PWNInstallmentsLoan.sol";
55

66

7-
contract PWNBordelLoanHarness is PWNBordelLoan {
7+
contract PWNInstallmentsLoanHarness is PWNInstallmentsLoan {
88

99
constructor(
1010
address _hub,
1111
address _loanToken,
1212
address _config,
1313
address _categoryRegistry
14-
) PWNBordelLoan(_hub, _loanToken, _config, _categoryRegistry) {}
14+
) PWNInstallmentsLoan(_hub, _loanToken, _config, _categoryRegistry) {}
1515

1616

1717
function exposed_debtLimitTangent(uint256 principalAmount, uint256 fixedInterestAmount, uint256 duration) external pure returns (uint256) {

0 commit comments

Comments
 (0)