ILoanManagerEvents
Events
Initialized
Emitted when the loan manager is initialized.
Parameters
poolAddressesProvider_
address
The address of the pool addresses provider.
asset_
address
The address of the asset set.
LoanRequested
Emitted when a loan is requested.
Parameters
loanId_
uint16
The id of the loan.
LoanRepaid
Emitted when a loan is repaid.
Parameters
loanId_
uint16
The id of the loan.
principal_
uint256
The total principal repaid.
interest_
uint256
The total interest repaid.
FundsWithdrawn
Emitted when the funds of a loan are withdrawn.
Parameters
loanId_
uint16
The id of the loan.
amount_
uint256
The amount of principal withdrawn.
UnrealizedLossesUpdated
Emitted when unrealized losses is updated.
Parameters
unrealizedLosses_
uint128
The updated unrealized losses.
PrincipalOutUpdated
Emitted when the principal out is updated.
Parameters
principalOut_
uint128
The updated principal outstanding.
IssuanceParamsUpdated
Emitted when the issuance params are updated.
Parameters
domainEnd_
uint48
The updated domain end.
issuanceRate_
uint256
The updated issuance rate.
accountedInterest_
uint112
The updated accounted interest.
PaymentAdded
Emitted when a new payment is added to the payment linked list.
Parameters
loanId_
uint16
The new loan id that the payment id is linked to.
paymentId_
uint256
The payment id of the payment.
protocolFee_
uint256
The protocol fee rate of the payment.
adminFee_
uint256
The admin fee rate of the payment.
startDate_
uint256
The start date of the payment.
dueDate_
uint256
The due date of the payment.
newRate_
uint256
The new issuance rate of the payment.
PaymentRemoved
Emitted when a payment is removed from the payment list.
Parameters
loanId_
uint16
The id of the loan that the payment is associated with.
paymentId_
uint256
The payment id of the payment.
FeesPaid
Emitted when fees are paid to the admin and protocol.
Parameters
loanId_
uint16
The id of the loan.
adminFee_
uint256
The amount of admin fee paid.
protocolFee_
uint256
The amount of protocol fee paid.
FundsDistributed
Emitted when the funds are distributed back to the pool, pool admin, and protocol vault.
Parameters
loanId_
uint16
The id of the loan.
principal_
uint256
The amount of principal distributed.
netInterest_
uint256
The amount of net interest distributed.
LoanImpaired
Emitted when the loan is impaired.
Parameters
loanId_
uint16
The id of the loan.
newDueDate_
uint256
The new due date of the impaired loan.
ImpairmentRemoved
Emitted when the impairment on the loan is removed.
Parameters
loanId_
uint16
The id of the loan.
originalPaymentDueDate_
uint256
The original payment due date of the loan.
DefaultTriggered
Emitted when the loan is defaulted.
Parameters
loanId_
uint16
The id of the loan.
Last updated