Maple
Search…
⌃K

Loan Refinancer

Functions

increasePrincipal

Function to increase the principal during a refinance.
function increasePrincipal(
uint256 amount_
)
nonpayable;

Parameters:

Index
Name
Type
Internal Type
Description
0
amount_
uint256
uint256
The amount of which the value will increase by.

setCollateralRequired

Function to set the collateralRequired during a refinance.
function setCollateralRequired(
uint256 collateralRequired_
)
nonpayable;

Parameters:

Index
Name
Type
Internal Type
Description
0
collateralRequired_
uint256
uint256
The new value for collateralRequired.

setEarlyFeeRate

Function to set the earlyFeeRate during a refinance.
function setEarlyFeeRate(
uint256 earlyFeeRate_
)
nonpayable;

Parameters:

Index
Name
Type
Internal Type
Description
0
earlyFeeRate_
uint256
uint256
The new value for earlyFeeRate.

setEndingPrincipal

Function to set the endingPrincipal during a refinance.
function setEndingPrincipal(
uint256 endingPrincipal_
)
nonpayable;

Parameters:

Index
Name
Type
Internal Type
Description
0
endingPrincipal_
uint256
uint256
The new value for endingPrincipal.

setGracePeriod

Function to set the gracePeriod during a refinance.
function setGracePeriod(
uint256 gracePeriod_
)
nonpayable;

Parameters:

Index
Name
Type
Internal Type
Description
0
gracePeriod_
uint256
uint256
The new value for gracePeriod.

setInterestRate

Function to set the interestRate during a refinance. The interest rate is measured with 18 decimals of precision.
function setInterestRate(
uint256 interestRate_
)
nonpayable;

Parameters:

Index
Name
Type
Internal Type
Description
0
interestRate_
uint256
uint256
The new value for interestRate.

setLateFeeRate

Function to set the lateFeeRate during a refinance.
function setLateFeeRate(
uint256 lateFeeRate_
)
nonpayable;

Parameters:

Index
Name
Type
Internal Type
Description
0
lateFeeRate_
uint256
uint256
The new value for lateFeeRate.

setLateInterestPremium

Function to set the lateInterestPremium during a refinance.
function setLateInterestPremium(
uint256 lateInterestPremium_
)
nonpayable;

Parameters:

Index
Name
Type
Internal Type
Description
0
lateInterestPremium_
uint256
uint256
The new value for lateInterestPremium.

setPaymentInterval

Function to set the paymentInterval during a refinance. The interval is denominated in seconds.
function setPaymentInterval(
uint256 paymentInterval_
)
nonpayable;

Parameters:

Index
Name
Type
Internal Type
Description
0
paymentInterval_
uint256
uint256
The new value for paymentInterval.

setPaymentsRemaining

Function to set the paymentsRemaining during a refinance.
function setPaymentsRemaining(
uint256 paymentsRemaining_
)
nonpayable;

Parameters:

Index
Name
Type
Internal Type
Description
0
paymentsRemaining_
uint256
uint256
The new value for paymentsRemaining.

Events

CollateralRequiredSet

A new value for collateralRequired has been set.
event CollateralRequiredSet(
uint256 collateralRequired_
);

Parameters:

Index
Name
Type
Internal Type
Description
0
collateralRequired_
uint256
uint256
The new value for collateralRequired.

EarlyFeeRateSet

A new value for earlyFeeRate has been set.
event EarlyFeeRateSet(
uint256 earlyFeeRate_
);

Parameters:

Index
Name
Type
Internal Type
Description
0
earlyFeeRate_
uint256
uint256
The new value for earlyFeeRate.

EndingPrincipalSet

A new value for endingPrincipal has been set.
event EndingPrincipalSet(
uint256 endingPrincipal_
);

Parameters:

Index
Name
Type
Internal Type
Description
0
endingPrincipal_
uint256
uint256
The new value for endingPrincipal.

GracePeriodSet

A new value for gracePeriod has been set.
event GracePeriodSet(
uint256 gracePeriod_
);

Parameters:

Index
Name
Type
Internal Type
Description
0
gracePeriod_
uint256
uint256
The new value for gracePeriod.

InterestRateSet

A new value for interestRate has been set.
event InterestRateSet(
uint256 interestRate_
);

Parameters:

Index
Name
Type
Internal Type
Description
0
interestRate_
uint256
uint256
The new value for interestRate.

LateFeeRateSet

A new value for lateFeeRate has been set.
event LateFeeRateSet(
uint256 lateFeeRate_
);

Parameters:

Index
Name
Type
Internal Type
Description
0
lateFeeRate_
uint256
uint256
The new value for lateFeeRate.

LateInterestPremiumSet

A new value for lateInterestPremium has been set.
event LateInterestPremiumSet(
uint256 lateInterestPremium_
);

Parameters:

Index
Name
Type
Internal Type
Description
0
lateInterestPremium_
uint256
uint256
The new value for lateInterestPremium.

PaymentIntervalSet

A new value for paymentInterval has been set.
event PaymentIntervalSet(
uint256 paymentInterval_
);

Parameters:

Index
Name
Type
Internal Type
Description
0
paymentInterval_
uint256
uint256
The new value for paymentInterval.

PaymentsRemainingSet

A new value for paymentsRemaining has been set.
event PaymentsRemainingSet(
uint256 paymentsRemaining_
);

Parameters:

Index
Name
Type
Internal Type
Description
0
paymentsRemaining_
uint256
uint256
The new value for paymentsRemaining.

PrincipalIncreased

The value of the principal has been increased.
event PrincipalIncreased(
uint256 increasedBy_
);

Parameters:

Index
Name
Type
Internal Type
Description
0
increasedBy_
uint256
uint256
The amount of which the value was increased by.