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