ILoanManagerEvents
Events
Initialized
Emitted when the loan manager is initialized.
Parameters
Name | Type | Description |
---|---|---|
|
| The address of the pool addresses provider. |
|
| The address of the asset set. |
LoanRequested
Emitted when a loan is requested.
Parameters
Name | Type | Description |
---|---|---|
|
| The id of the loan. |
LoanRepaid
Emitted when a loan is repaid.
Parameters
Name | Type | Description |
---|---|---|
|
| The id of the loan. |
|
| The total principal repaid. |
|
| The total interest repaid. |
FundsWithdrawn
Emitted when the funds of a loan are withdrawn.
Parameters
Name | Type | Description |
---|---|---|
|
| The id of the loan. |
|
| The amount of principal withdrawn. |
UnrealizedLossesUpdated
Emitted when unrealized losses is updated.
Parameters
Name | Type | Description |
---|---|---|
|
| The updated unrealized losses. |
PrincipalOutUpdated
Emitted when the principal out is updated.
Parameters
Name | Type | Description |
---|---|---|
|
| The updated principal outstanding. |
IssuanceParamsUpdated
Emitted when the issuance params are updated.
Parameters
Name | Type | Description |
---|---|---|
|
| The updated domain end. |
|
| The updated issuance rate. |
|
| The updated accounted interest. |
PaymentAdded
Emitted when a new payment is added to the payment linked list.
Parameters
Name | Type | Description |
---|---|---|
|
| The new loan id that the payment id is linked to. |
|
| The payment id of the payment. |
|
| The protocol fee rate of the payment. |
|
| The admin fee rate of the payment. |
|
| The start date of the payment. |
|
| The due date of the payment. |
|
| The new issuance rate of the payment. |
PaymentRemoved
Emitted when a payment is removed from the payment list.
Parameters
Name | Type | Description |
---|---|---|
|
| The id of the loan that the payment is associated with. |
|
| The payment id of the payment. |
FeesPaid
Emitted when fees are paid to the admin and protocol.
Parameters
Name | Type | Description |
---|---|---|
|
| The id of the loan. |
|
| The amount of admin fee paid. |
|
| The amount of protocol fee paid. |
FundsDistributed
Emitted when the funds are distributed back to the pool, pool admin, and protocol vault.
Parameters
Name | Type | Description |
---|---|---|
|
| The id of the loan. |
|
| The amount of principal distributed. |
|
| The amount of net interest distributed. |
LoanImpaired
Emitted when the loan is impaired.
Parameters
Name | Type | Description |
---|---|---|
|
| The id of the loan. |
|
| The new due date of the impaired loan. |
ImpairmentRemoved
Emitted when the impairment on the loan is removed.
Parameters
Name | Type | Description |
---|---|---|
|
| The id of the loan. |
|
| The original payment due date of the loan. |
DefaultTriggered
Emitted when the loan is defaulted.
Parameters
Name | Type | Description |
---|---|---|
|
| The id of the loan. |
Last updated