OpenTermLoanRefinancer
Functions
borrower
borrower function borrower()
view
returns (
address
);Return Values:
0
address
address
calledPrincipal
calledPrincipal function calledPrincipal()
view
returns (
uint256
);Return Values:
0
uint256
uint256
dateCalled
dateCalled function dateCalled()
view
returns (
uint40
);Return Values:
0
uint40
uint40
dateFunded
dateFunded function dateFunded()
view
returns (
uint40
);Return Values:
0
uint40
uint40
dateImpaired
dateImpaired function dateImpaired()
view
returns (
uint40
);Return Values:
0
uint40
uint40
datePaid
datePaid function datePaid()
view
returns (
uint40
);Return Values:
0
uint40
uint40
decreasePrincipal
decreasePrincipalFunction to decrease the principal during a refinance.
function decreasePrincipal(
uint256 amount_
)
nonpayable;Parameters:
0
amount_
uint256
uint256
The amount of which the value will decrease by.
delegateServiceFeeRate
delegateServiceFeeRate function delegateServiceFeeRate()
view
returns (
uint64
);Return Values:
0
uint64
uint64
fundsAsset
fundsAsset function fundsAsset()
view
returns (
address
);Return Values:
0
address
address
gracePeriod
gracePeriod function gracePeriod()
view
returns (
uint32
);Return Values:
0
uint32
uint32
increasePrincipal
increasePrincipalFunction to increase the principal during a refinance.
function increasePrincipal(
uint256 amount_
)
nonpayable;Parameters:
0
amount_
uint256
uint256
The amount of which the value will increase by.
interestRate
interestRate function interestRate()
view
returns (
uint64
);Return Values:
0
uint64
uint64
lateFeeRate
lateFeeRate function lateFeeRate()
view
returns (
uint64
);Return Values:
0
uint64
uint64
lateInterestPremiumRate
lateInterestPremiumRate function lateInterestPremiumRate()
view
returns (
uint64
);Return Values:
0
uint64
uint64
lender
lender function lender()
view
returns (
address
);Return Values:
0
address
address
noticePeriod
noticePeriod function noticePeriod()
view
returns (
uint32
);Return Values:
0
uint32
uint32
paymentInterval
paymentInterval function paymentInterval()
view
returns (
uint32
);Return Values:
0
uint32
uint32
pendingBorrower
pendingBorrower function pendingBorrower()
view
returns (
address
);Return Values:
0
address
address
pendingLender
pendingLender function pendingLender()
view
returns (
address
);Return Values:
0
address
address
platformServiceFeeRate
platformServiceFeeRate function platformServiceFeeRate()
view
returns (
uint64
);Return Values:
0
uint64
uint64
principal
principal function principal()
view
returns (
uint256
);Return Values:
0
uint256
uint256
refinanceCommitment
refinanceCommitment function refinanceCommitment()
view
returns (
bytes32
);Return Values:
0
bytes32
bytes32
setDelegateServiceFeeRate
setDelegateServiceFeeRateFunction to set the delegateServiceFeeRate during a refinance. The rate is denominated in 1e18 units.
function setDelegateServiceFeeRate(
uint64 delegateServiceFeeRate_
)
nonpayable;Parameters:
0
delegateServiceFeeRate_
uint64
uint64
The new value for delegateServiceFeeRate.
setGracePeriod
setGracePeriodFunction to set the gracePeriod during a refinance.
function setGracePeriod(
uint32 gracePeriod_
)
nonpayable;Parameters:
0
gracePeriod_
uint32
uint32
The new value for gracePeriod.
setInterestRate
setInterestRateFunction to set the interestRate during a refinance. The interest rate is measured with 18 decimals of precision.
function setInterestRate(
uint64 interestRate_
)
nonpayable;Parameters:
0
interestRate_
uint64
uint64
The new value for interestRate.
setLateFeeRate
setLateFeeRateFunction to set the lateFeeRate during a refinance.
function setLateFeeRate(
uint64 lateFeeRate_
)
nonpayable;Parameters:
0
lateFeeRate_
uint64
uint64
The new value for lateFeeRate.
setLateInterestPremiumRate
setLateInterestPremiumRateFunction to set the lateInterestPremiumRate during a refinance.
function setLateInterestPremiumRate(
uint64 lateInterestPremiumRate_
)
nonpayable;Parameters:
0
lateInterestPremiumRate_
uint64
uint64
The new value for lateInterestPremiumRate.
setNoticePeriod
setNoticePeriodFunction to set the noticePeriod during a refinance.
function setNoticePeriod(
uint32 noticePeriod_
)
nonpayable;Parameters:
0
noticePeriod_
uint32
uint32
The new value for noticePeriod.
setPaymentInterval
setPaymentIntervalFunction to set the paymentInterval during a refinance. The interval is denominated in seconds.
function setPaymentInterval(
uint32 paymentInterval_
)
nonpayable;Parameters:
0
paymentInterval_
uint32
uint32
The new value for paymentInterval.
Events
DelegateServiceFeeRateSet
DelegateServiceFeeRateSetThe value for the service fee rate for the PoolDelegate (1e18 units).
event DelegateServiceFeeRateSet(
uint64 delegateServiceFeeRate_
);Parameters:
0
delegateServiceFeeRate_
uint64
uint64
The new value for delegateServiceFeeRate.
GracePeriodSet
GracePeriodSetA new value for gracePeriod has been set.
event GracePeriodSet(
uint256 gracePeriod_
);Parameters:
0
gracePeriod_
uint256
uint256
The new value for gracePeriod.
InterestRateSet
InterestRateSetA new value for interestRate has been set.
event InterestRateSet(
uint64 interestRate_
);Parameters:
0
interestRate_
uint64
uint64
The new value for interestRate.
LateFeeRateSet
LateFeeRateSetA new value for lateFeeRate has been set.
event LateFeeRateSet(
uint64 lateFeeRate_
);Parameters:
0
lateFeeRate_
uint64
uint64
The new value for lateFeeRate.
LateInterestPremiumRateSet
LateInterestPremiumRateSetA new value for lateInterestPremiumRate has been set.
event LateInterestPremiumRateSet(
uint64 lateInterestPremiumRate_
);Parameters:
0
lateInterestPremiumRate_
uint64
uint64
The new value for lateInterestPremiumRate.
NoticePeriodSet
NoticePeriodSetA new value for noticePeriod has been set.
event NoticePeriodSet(
uint256 noticePeriod_
);Parameters:
0
noticePeriod_
uint256
uint256
The new value for noticedPeriod.
PaymentIntervalSet
PaymentIntervalSetA new value for paymentInterval has been set.
event PaymentIntervalSet(
uint256 paymentInterval_
);Parameters:
0
paymentInterval_
uint256
uint256
The new value for paymentInterval.
PrincipalDecreased
PrincipalDecreasedThe value of the principal has been decreased.
event PrincipalDecreased(
uint256 decreasedBy_
);Parameters:
0
decreasedBy_
uint256
uint256
The amount of which the value was decreased by.
PrincipalIncreased
PrincipalIncreasedThe value of the principal has been increased.
event PrincipalIncreased(
uint256 increasedBy_
);Parameters:
0
increasedBy_
uint256
uint256
The amount of which the value was increased by.
Last updated