OpenTermLoanInitializer
\
Functions
borrower
borrower
Return Values:
0
address
address
\
calledPrincipal
calledPrincipal
Return Values:
0
uint256
uint256
\
dateCalled
dateCalled
Return Values:
0
uint40
uint40
\
dateFunded
dateFunded
Return Values:
0
uint40
uint40
\
dateImpaired
dateImpaired
Return Values:
0
uint40
uint40
\
datePaid
datePaid
Return Values:
0
uint40
uint40
\
decodeArguments
decodeArguments
Decodes the initialization arguments for a MapleLoan.
Parameters:
0
encodedArguments_
bytes
bytes
The encoded arguments for initializing a loan.
Return Values:
0
borrower_
address
address
The address of the borrower.
1
lender_
address
address
The address of the lender.
2
fundsAsset_
address
address
The address of the lent asset.
3
principalRequested_
uint256
uint256
The amount of principal requested.
4
termDetails_
uint32[3]
uint32[3]
Array of loan parameters: [0]: gracePeriod, [1]: noticePeriod, [2]: paymentInterval
5
rates_
uint64[4]
uint64[4]
Array of rate parameters: [0]: delegateServiceFeeRate, [1]: interestRate, [2]: lateFeeRate, [3]: lateInterestPremiumRate
\
delegateServiceFeeRate
delegateServiceFeeRate
Return Values:
0
uint64
uint64
\
encodeArguments
encodeArguments
Encodes the initialization arguments for a MapleLoan.
Parameters:
0
borrower_
address
address
The address of the borrower.
1
lender_
address
address
The address of the lender.
2
fundsAsset_
address
address
The address of the lent asset.
3
principalRequested_
uint256
uint256
The amount of principal requested.
4
termDetails_
uint32[3]
uint32[3]
Array of loan parameters: [0]: gracePeriod, [1]: noticePeriod, [2]: paymentInterval
5
rates_
uint64[4]
uint64[4]
Array of rate parameters: [0]: delegateServiceFeeRate, [1]: interestRate, [2]: lateFeeRate, [3]: lateInterestPremiumRate
Return Values:
0
encodedArguments_
bytes
bytes
The encoded arguments for initializing a loan.
\
fundsAsset
fundsAsset
Return Values:
0
address
address
\
gracePeriod
gracePeriod
Return Values:
0
uint32
uint32
\
interestRate
interestRate
Return Values:
0
uint64
uint64
\
lateFeeRate
lateFeeRate
Return Values:
0
uint64
uint64
\
lateInterestPremiumRate
lateInterestPremiumRate
Return Values:
0
uint64
uint64
\
lender
lender
Return Values:
0
address
address
\
noticePeriod
noticePeriod
Return Values:
0
uint32
uint32
\
paymentInterval
paymentInterval
Return Values:
0
uint32
uint32
\
pendingBorrower
pendingBorrower
Return Values:
0
address
address
\
pendingLender
pendingLender
Return Values:
0
address
address
\
platformServiceFeeRate
platformServiceFeeRate
Return Values:
0
uint64
uint64
\
principal
principal
Return Values:
0
uint256
uint256
\
refinanceCommitment
refinanceCommitment
Return Values:
0
bytes32
bytes32
\
Events
BorrowerAccepted
BorrowerAccepted
Parameters:
0
borrower_
address
address
\
CallRemoved
CallRemoved
Parameters:
0
paymentDueDate_
uint40
uint40
1
defaultDate_
uint40
uint40
\
Funded
Funded
Parameters:
0
amount_
uint256
uint256
1
paymentDueDate_
uint40
uint40
2
defaultDate_
uint40
uint40
\
Impaired
Impaired
Parameters:
0
paymentDueDate_
uint40
uint40
1
defaultDate_
uint40
uint40
\
ImpairmentRemoved
ImpairmentRemoved
Parameters:
0
paymentDueDate_
uint40
uint40
1
defaultDate_
uint40
uint40
\
Initialized
Initialized
Parameters:
0
borrower_
address
address
1
lender_
address
address
2
fundsAsset_
address
address
3
principalRequested_
uint256
uint256
4
termDetails_
uint32[3]
uint32[3]
5
rates_
uint64[4]
uint64[4]
\
LenderAccepted
LenderAccepted
Parameters:
0
lender_
address
address
\
NewTermsAccepted
NewTermsAccepted
Parameters:
0
refinanceCommitment_
bytes32
bytes32
1
refinancer_
address
address
2
deadline_
uint256
uint256
3
calls_
bytes[]
bytes[]
\
NewTermsProposed
NewTermsProposed
Parameters:
0
refinanceCommitment_
bytes32
bytes32
1
refinancer_
address
address
2
deadline_
uint256
uint256
3
calls_
bytes[]
bytes[]
\
NewTermsRejected
NewTermsRejected
Parameters:
0
refinanceCommitment_
bytes32
bytes32
1
refinancer_
address
address
2
deadline_
uint256
uint256
3
calls_
bytes[]
bytes[]
\
PaymentMade
PaymentMade
Parameters:
0
lender_
address
address
1
principalPaid_
uint256
uint256
2
interestPaid_
uint256
uint256
3
lateInterestPaid_
uint256
uint256
4
delegateServiceFee_
uint256
uint256
5
platformServiceFee_
uint256
uint256
6
paymentDueDate_
uint40
uint40
7
defaultDate_
uint40
uint40
\
PendingBorrowerSet
PendingBorrowerSet
Parameters:
0
pendingBorrower_
address
address
\
PendingLenderSet
PendingLenderSet
Parameters:
0
pendingLender_
address
address
\
PrincipalCalled
PrincipalCalled
Parameters:
0
principalToReturn_
uint256
uint256
1
paymentDueDate_
uint40
uint40
2
defaultDate_
uint40
uint40
\
PrincipalReturned
PrincipalReturned
Parameters:
0
principalReturned_
uint256
uint256
1
principalRemaining_
uint256
uint256
\
Repossessed
Repossessed
Parameters:
0
fundsRepossessed_
uint256
uint256
1
destination_
address
address
\
Skimmed
Skimmed
Parameters:
0
token_
address
address
1
amount_
uint256
uint256
2
destination_
address
address
\
Last updated