ILoanManagerStorage
Last updated
Last updated
Gets the asset used for the protocol.
Returns
asset_
address
The address of the asset.
Gets the unrealized losses.
Returns
<none>
uint128
unrealizedLosses_ The unrealized losses.
Gets the total number of loans.
Returns
<none>
uint16
loanCounter_ The total number of loans.
Gets the total number of payments.
Returns
<none>
uint24
paymentCounter_ The total number of payments.
Gets the payment ID with the earliest due date.
Returns
<none>
uint24
paymentWithEarliestDueDate_ The payment ID with the earliest due date.
Gets the start date of the domain.
Returns
<none>
uint48
domainStart_ The start date of the domain.
Gets the end date of the domain.
Returns
<none>
uint48
domainEnd_ The end date of the domain.
Gets the accounted interest.
Returns
<none>
uint112
accountedInterest_ The accounted interest.
Gets the total principal amount lent out.
Returns
<none>
uint128
principalOut_ The total principal amount lent out.
Gets the issuance rate.
Returns
<none>
uint256
issuanceRate_ The issuance rate.
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.