OpenTermLoanRefinancer

Functions

borrower

    function borrower()
        view
        returns (
            address
        );

Return Values:

Index
Name
Type
Internal Type
Description

0

address

address

calledPrincipal

    function calledPrincipal()
        view
        returns (
            uint256
        );

Return Values:

Index
Name
Type
Internal Type
Description

0

uint256

uint256

dateCalled

Return Values:

Index
Name
Type
Internal Type
Description

0

uint40

uint40

dateFunded

Return Values:

Index
Name
Type
Internal Type
Description

0

uint40

uint40

dateImpaired

Return Values:

Index
Name
Type
Internal Type
Description

0

uint40

uint40

datePaid

Return Values:

Index
Name
Type
Internal Type
Description

0

uint40

uint40

decreasePrincipal

Function to decrease the principal during a refinance.

Parameters:

Index
Name
Type
Internal Type
Description

0

amount_

uint256

uint256

The amount of which the value will decrease by.

delegateServiceFeeRate

Return Values:

Index
Name
Type
Internal Type
Description

0

uint64

uint64

fundsAsset

Return Values:

Index
Name
Type
Internal Type
Description

0

address

address

gracePeriod

Return Values:

Index
Name
Type
Internal Type
Description

0

uint32

uint32

increasePrincipal

Function to increase the principal during a refinance.

Parameters:

Index
Name
Type
Internal Type
Description

0

amount_

uint256

uint256

The amount of which the value will increase by.

interestRate

Return Values:

Index
Name
Type
Internal Type
Description

0

uint64

uint64

lateFeeRate

Return Values:

Index
Name
Type
Internal Type
Description

0

uint64

uint64

lateInterestPremiumRate

Return Values:

Index
Name
Type
Internal Type
Description

0

uint64

uint64

lender

Return Values:

Index
Name
Type
Internal Type
Description

0

address

address

noticePeriod

Return Values:

Index
Name
Type
Internal Type
Description

0

uint32

uint32

paymentInterval

Return Values:

Index
Name
Type
Internal Type
Description

0

uint32

uint32

pendingBorrower

Return Values:

Index
Name
Type
Internal Type
Description

0

address

address

pendingLender

Return Values:

Index
Name
Type
Internal Type
Description

0

address

address

platformServiceFeeRate

Return Values:

Index
Name
Type
Internal Type
Description

0

uint64

uint64

principal

Return Values:

Index
Name
Type
Internal Type
Description

0

uint256

uint256

refinanceCommitment

Return Values:

Index
Name
Type
Internal Type
Description

0

bytes32

bytes32

setDelegateServiceFeeRate

Function to set the delegateServiceFeeRate during a refinance. The rate is denominated in 1e18 units.

Parameters:

Index
Name
Type
Internal Type
Description

0

delegateServiceFeeRate_

uint64

uint64

The new value for delegateServiceFeeRate.

setGracePeriod

Function to set the gracePeriod during a refinance.

Parameters:

Index
Name
Type
Internal Type
Description

0

gracePeriod_

uint32

uint32

The new value for gracePeriod.

setInterestRate

Function to set the interestRate during a refinance. The interest rate is measured with 18 decimals of precision.

Parameters:

Index
Name
Type
Internal Type
Description

0

interestRate_

uint64

uint64

The new value for interestRate.

setLateFeeRate

Function to set the lateFeeRate during a refinance.

Parameters:

Index
Name
Type
Internal Type
Description

0

lateFeeRate_

uint64

uint64

The new value for lateFeeRate.

setLateInterestPremiumRate

Function to set the lateInterestPremiumRate during a refinance.

Parameters:

Index
Name
Type
Internal Type
Description

0

lateInterestPremiumRate_

uint64

uint64

The new value for lateInterestPremiumRate.

setNoticePeriod

Function to set the noticePeriod during a refinance.

Parameters:

Index
Name
Type
Internal Type
Description

0

noticePeriod_

uint32

uint32

The new value for noticePeriod.

setPaymentInterval

Function to set the paymentInterval during a refinance. The interval is denominated in seconds.

Parameters:

Index
Name
Type
Internal Type
Description

0

paymentInterval_

uint32

uint32

The new value for paymentInterval.

Events

DelegateServiceFeeRateSet

The value for the service fee rate for the PoolDelegate (1e18 units).

Parameters:

Index
Name
Type
Internal Type
Description

0

delegateServiceFeeRate_

uint64

uint64

The new value for delegateServiceFeeRate.

GracePeriodSet

A new value for gracePeriod has been set.

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.

Parameters:

Index
Name
Type
Internal Type
Description

0

interestRate_

uint64

uint64

The new value for interestRate.

LateFeeRateSet

A new value for lateFeeRate has been set.

Parameters:

Index
Name
Type
Internal Type
Description

0

lateFeeRate_

uint64

uint64

The new value for lateFeeRate.

LateInterestPremiumRateSet

A new value for lateInterestPremiumRate has been set.

Parameters:

Index
Name
Type
Internal Type
Description

0

lateInterestPremiumRate_

uint64

uint64

The new value for lateInterestPremiumRate.

NoticePeriodSet

A new value for noticePeriod has been set.

Parameters:

Index
Name
Type
Internal Type
Description

0

noticePeriod_

uint256

uint256

The new value for noticedPeriod.

PaymentIntervalSet

A new value for paymentInterval has been set.

Parameters:

Index
Name
Type
Internal Type
Description

0

paymentInterval_

uint256

uint256

The new value for paymentInterval.

PrincipalDecreased

The value of the principal has been decreased.

Parameters:

Index
Name
Type
Internal Type
Description

0

decreasedBy_

uint256

uint256

The amount of which the value was decreased by.

PrincipalIncreased

The value of the principal has been increased.

Parameters:

Index
Name
Type
Internal Type
Description

0

increasedBy_

uint256

uint256

The amount of which the value was increased by.

Last updated