ILoanManagerStorage
Functions
asset
Gets the asset used for the protocol.
Returns
asset_
address
The address of the asset.
unrealizedLosses
Gets the unrealized losses.
Returns
<none>
uint128
unrealizedLosses_ The unrealized losses.
loanCounter
Gets the total number of loans.
Returns
<none>
uint16
loanCounter_ The total number of loans.
paymentCounter
Gets the total number of payments.
Returns
<none>
uint24
paymentCounter_ The total number of payments.
paymentWithEarliestDueDate
Gets the payment ID with the earliest due date.
Returns
<none>
uint24
paymentWithEarliestDueDate_ The payment ID with the earliest due date.
domainStart
Gets the start date of the domain.
Returns
<none>
uint48
domainStart_ The start date of the domain.
domainEnd
Gets the end date of the domain.
Returns
<none>
uint48
domainEnd_ The end date of the domain.
accountedInterest
Gets the accounted interest.
Returns
<none>
uint112
accountedInterest_ The accounted interest.
principalOut
Gets the total principal amount lent out.
Returns
<none>
uint128
principalOut_ The total principal amount lent out.
issuanceRate
Gets the issuance rate.
Returns
<none>
uint256
issuanceRate_ The issuance rate.
paymentIdOf
Gets the payment ID of the given loan.
Parameters
loanId_
uint16
The ID of the loan.
Returns
<none>
uint24
paymentId_ The payment ID of the loan.
Last updated