For the complete documentation index, see llms.txt. This page is also available as Markdown.

ILoanManagerStorage

Git Source

Functions

asset

Gets the asset used for the protocol.

function asset() external view returns (address asset_);

Returns

Name
Type
Description

asset_

address

The address of the asset.

unrealizedLosses

Gets the unrealized losses.

function unrealizedLosses() external view returns (uint128);

Returns

Name
Type
Description

<none>

uint128

unrealizedLosses_ The unrealized losses.

loanCounter

Gets the total number of loans.

function loanCounter() external view returns (uint16);

Returns

Name
Type
Description

<none>

uint16

loanCounter_ The total number of loans.

paymentCounter

Gets the total number of payments.

Returns

Name
Type
Description

<none>

uint24

paymentCounter_ The total number of payments.

paymentWithEarliestDueDate

Gets the payment ID with the earliest due date.

Returns

Name
Type
Description

<none>

uint24

paymentWithEarliestDueDate_ The payment ID with the earliest due date.

domainStart

Gets the start date of the domain.

Returns

Name
Type
Description

<none>

uint48

domainStart_ The start date of the domain.

domainEnd

Gets the end date of the domain.

Returns

Name
Type
Description

<none>

uint48

domainEnd_ The end date of the domain.

accountedInterest

Gets the accounted interest.

Returns

Name
Type
Description

<none>

uint112

accountedInterest_ The accounted interest.

principalOut

Gets the total principal amount lent out.

Returns

Name
Type
Description

<none>

uint128

principalOut_ The total principal amount lent out.

issuanceRate

Gets the issuance rate.

Returns

Name
Type
Description

<none>

uint256

issuanceRate_ The issuance rate.

paymentIdOf

Gets the payment ID of the given loan.

Parameters

Name
Type
Description

loanId_

uint16

The ID of the loan.

Returns

Name
Type
Description

<none>

uint24

paymentId_ The payment ID of the loan.

Last updated

Was this helpful?