Loan

Git Source

Namespace for the structs used in {LoanManager}

Structs

Info

struct Info {
    address buyer;
    address seller;
    address collateralAsset;
    uint256 collateralTokenId;
    uint256 principal;
    uint256 drawableFunds;
    uint256 interestRate;
    uint256 lateInterestPremiumRate;
    uint256 startDate;
    uint256 dueDate;
    uint256 originalDueDate;
    uint256 gracePeriod;
    bool isImpaired;
}

LiquidationInfo

struct LiquidationInfo {
    bool triggeredByGovernor;
    uint128 principal;
    uint120 interest;
    uint256 lateInterest;
    uint96 protocolFees;
}

PaymentInfo

struct PaymentInfo {
    uint24 protocolFee;
    uint24 adminFee;
    uint48 startDate;
    uint48 dueDate;
    uint128 incomingNetInterest;
    uint256 issuanceRate;
}

SortedPayment

struct SortedPayment {
    uint24 previous;
    uint24 next;
    uint48 paymentDueDate;
}

Impairment

struct Impairment {
    uint40 impairedDate;
    bool impariedByGovernor;
}

Last updated