FixedTermLoanInitializer
Functions
decodeArguments
decodeArguments
Decodes the initialization arguments for a MapleLoan.
Parameters:
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
0 |
|
|
|
Return Values:
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
0 |
|
|
| The address of the borrower. |
1 |
|
|
| The address of the lender. |
2 |
|
|
| The address of the entity responsible for calculating fees. |
3 |
|
|
| Array of asset addresses. [0]: collateralAsset, [1]: fundsAsset |
4 |
|
|
| Array of loan parameters: [0]: gracePeriod, [1]: paymentInterval, [2]: payments |
5 |
|
|
| Requested amounts: [0]: collateralRequired, [1]: principalRequested, [2]: endingPrincipal |
6 |
|
|
| Rates parameters: [0]: interestRate, [1]: closingFeeRate, [2]: lateFeeRate, [3]: lateInterestPremiumRate, |
7 |
|
|
| Array of fees: [0]: delegateOriginationFee, [1]: delegateServiceFee |
encodeArguments
encodeArguments
Encodes the initialization arguments for a MapleLoan.
Parameters:
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
0 |
|
|
| The address of the borrower. |
1 |
|
|
| The address of the lender. |
2 |
|
|
| The address of the entity responsible for calculating fees. |
3 |
|
|
| Array of asset addresses. [0]: collateralAsset, [1]: fundsAsset |
4 |
|
|
| Array of loan parameters: [0]: gracePeriod, [1]: paymentInterval, [2]: payments |
5 |
|
|
| Requested amounts: [0]: collateralRequired, [1]: principalRequested, [2]: endingPrincipal |
6 |
|
|
| Rates parameters: [0]: interestRate, [1]: closingFeeRate, [2]: lateFeeRate, [3]: lateInterestPremiumRate, |
7 |
|
|
| Array of fees: [0]: delegateOriginationFee, [1]: delegateServiceFee |
Return Values:
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
0 |
|
|
|
Events
BorrowerAccepted
BorrowerAccepted
Parameters:
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
0 |
|
|
|
CollateralPosted
CollateralPosted
Parameters:
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
0 |
|
|
|
CollateralRemoved
CollateralRemoved
Parameters:
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
0 |
|
|
| |
1 |
|
|
|
Funded
Funded
Parameters:
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
0 |
|
|
| |
1 |
|
|
| |
2 |
|
|
|
FundsClaimed
FundsClaimed
Parameters:
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
0 |
|
|
| |
1 |
|
|
|
FundsDrawnDown
FundsDrawnDown
Parameters:
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
0 |
|
|
| |
1 |
|
|
|
FundsReturned
FundsReturned
Parameters:
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
0 |
|
|
|
ImpairmentRemoved
ImpairmentRemoved
Parameters:
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
0 |
|
|
|
Initialized
Initialized
Parameters:
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
0 |
|
|
| |
1 |
|
|
| |
2 |
|
|
| |
3 |
|
|
| |
4 |
|
|
| |
5 |
|
|
| |
6 |
|
|
| |
7 |
|
|
|
LenderAccepted
LenderAccepted
Parameters:
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
0 |
|
|
|
LoanClosed
LoanClosed
Parameters:
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
0 |
|
|
| |
1 |
|
|
| |
2 |
|
|
|
LoanImpaired
LoanImpaired
Parameters:
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
0 |
|
|
|
NewTermsAccepted
NewTermsAccepted
Parameters:
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
0 |
|
|
| |
1 |
|
|
| |
2 |
|
|
| |
3 |
|
|
|
NewTermsProposed
NewTermsProposed
Parameters:
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
0 |
|
|
| |
1 |
|
|
| |
2 |
|
|
| |
3 |
|
|
|
NewTermsRejected
NewTermsRejected
Parameters:
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
0 |
|
|
| |
1 |
|
|
| |
2 |
|
|
| |
3 |
|
|
|
PaymentMade
PaymentMade
Parameters:
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
0 |
|
|
| |
1 |
|
|
| |
2 |
|
|
|
PendingBorrowerSet
PendingBorrowerSet
Parameters:
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
0 |
|
|
|
PendingLenderSet
PendingLenderSet
Parameters:
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
0 |
|
|
|
Repossessed
Repossessed
Parameters:
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
0 |
|
|
| |
1 |
|
|
| |
2 |
|
|
|
Skimmed
Skimmed
Parameters:
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
0 |
|
|
| |
1 |
|
|
| |
2 |
|
|
|
Last updated