ILoanManagerStorage

Git Source

Functions

unrealizedLosses

Gets the unrealized losses

function unrealizedLosses() external view returns (uint128);

Returns

NameTypeDescription

<none>

uint128

unrealizedLosses_ The unrealized losses

loanCounter

Gets the total number of loans

function loanCounter() external view returns (uint16);

Returns

NameTypeDescription

<none>

uint16

loanCounter_ The total number of loans

paymentCounter

Gets the total number of payments

function paymentCounter() external view returns (uint24);

Returns

NameTypeDescription

<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

NameTypeDescription

<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

NameTypeDescription

<none>

uint48

domainStart_ The start date of the domain

domainEnd

Gets the end date of the domain

function domainEnd() external view returns (uint48);

Returns

NameTypeDescription

<none>

uint48

domainEnd_ The end date of the domain

accountedInterest

Gets the accounted interest

function accountedInterest() external view returns (uint112);

Returns

NameTypeDescription

<none>

uint112

accountedInterest_ The accounted interest

principalOut

Gets the total principal amount lent out

function principalOut() external view returns (uint128);

Returns

NameTypeDescription

<none>

uint128

principalOut_ The total principal amount lent out

issuanceRate

Gets the issuance rate

function issuanceRate() external view returns (uint256);

Returns

NameTypeDescription

<none>

uint256

issuanceRate_ The issuance rate

fundsAsset

Gets the address of the funds asset

function fundsAsset() external view returns (address);

Returns

NameTypeDescription

<none>

address

fundsAsset_ The address of the funds asset

collateralAsset

Gets the address of the collateral asset

function collateralAsset() external view returns (address);

Returns

NameTypeDescription

<none>

address

collateralAsset_ The address of the collateral asset

paymentIdOf

Gets the payment ID of the given loan

function paymentIdOf(uint16 loanId_) external view returns (uint24);

Parameters

NameTypeDescription

loanId_

uint16

The ID of the loan

Returns

NameTypeDescription

<none>

uint24

paymentId_ The payment ID of the loan

Last updated