Coda by Ian Macalinao
    Preparing search index...
    interface LendingMarketArgs {
        autodeleverageEnabled: number;
        borrowDisabled: number;
        bumpSeed: number | bigint;
        elevationGroupPadding: (number | bigint)[];
        elevationGroups: ElevationGroupPodArgs[];
        emergencyMode: number;
        globalAllowedBorrowValue: number | bigint;
        immutable: number;
        individualAutodeleverageMarginCallPeriodSecs: number | bigint;
        insolvencyRiskUnhealthyLtvPct: number;
        lendingMarketOwner: Address;
        lendingMarketOwnerCached: Address;
        liquidationMaxDebtCloseFactorPct: number;
        maxLiquidatableDebtMarketValueAtOnce: number | bigint;
        minFullLiquidationValueThreshold: number | bigint;
        minInitialDepositAmount: number | bigint;
        minNetValueInObligationSf: number | bigint;
        minValueSkipLiquidationBfChecks: number | bigint;
        minValueSkipLiquidationLtvChecks: number | bigint;
        name: number[];
        obligationOrderCreationEnabled: number;
        obligationOrderExecutionEnabled: number;
        padding1: (number | bigint)[];
        padding2: number[];
        priceRefreshTriggerToMaxAgePct: number;
        quoteCurrency: number[];
        referralFeeBps: number;
        reserved0: number[];
        reserved1: number[];
        riskCouncil: Address;
        version: number | bigint;
    }
    Index

    Properties

    autodeleverageEnabled: number

    Whether the obligations on this market should be subject to auto-deleveraging after deposit or borrow limit is crossed. Besides this flag, the particular reserve's flag also needs to be enabled (logical AND). NOTE: this also affects the individual "target LTV" deleveraging.

    borrowDisabled: number
    bumpSeed: number | bigint

    Bump seed for derived authority address

    elevationGroupPadding: (number | bigint)[]
    elevationGroups: ElevationGroupPodArgs[]

    Elevation groups are used to group together reserves that have the same risk parameters and can bump the ltv and liquidation threshold

    emergencyMode: number
    globalAllowedBorrowValue: number | bigint

    Global maximum allowed borrow value allowed for any obligation

    immutable: number

    Whether the lending market is set as immutable.

    individualAutodeleverageMarginCallPeriodSecs: number | bigint

    Time (in seconds) that must pass before liquidation is allowed on an obligation that has been individually marked for auto-deleveraging (by the risk council).

    insolvencyRiskUnhealthyLtvPct: number

    Minimum acceptable unhealthy LTV before max_debt_close_factor_pct becomes 100%

    lendingMarketOwner: Address

    Owner authority which can add new reserves

    lendingMarketOwnerCached: Address

    Temporary cache of the lending market owner, used in update_lending_market_owner

    liquidationMaxDebtCloseFactorPct: number

    Percentage of the total borrowed value in an obligation available for liquidation

    maxLiquidatableDebtMarketValueAtOnce: number | bigint

    Max allowed liquidation value in one ix call

    minFullLiquidationValueThreshold: number | bigint

    Minimum liquidation value threshold triggering full liquidation for an obligation

    minInitialDepositAmount: number | bigint

    Minimum amount of deposit at creation of a reserve to prevent artificial inflation Note: this amount cannot be recovered, the ctoken associated are never minted

    minNetValueInObligationSf: number | bigint

    Min net value accepted to be found in a position after any lending action in an obligation (scaled by quote currency decimals)

    minValueSkipLiquidationBfChecks: number | bigint

    Minimum value to enforce highest borrow factor priority checks on the debt reserves on liquidation

    minValueSkipLiquidationLtvChecks: number | bigint

    Minimum value to enforce smallest ltv priority checks on the collateral reserves on liquidation

    name: number[]

    Market name, zero-padded.

    obligationOrderCreationEnabled: number

    Whether new obligation orders can be created. Note: updating or cancelling existing orders is not affected by this flag.

    obligationOrderExecutionEnabled: number

    Whether the obligation orders should be evaluated during liquidations.

    padding1: (number | bigint)[]
    padding2: number[]
    priceRefreshTriggerToMaxAgePct: number

    Refresh price from oracle only if it's older than this percentage of the price max age. e.g. if the max age is set to 100s and this is set to 80%, the price will be refreshed if it's older than 80s. Price is always refreshed if this set to 0.

    quoteCurrency: number[]

    Currency market prices are quoted in e.g. "USD" null padded (*b"USD\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0") or a SPL token mint pubkey

    referralFeeBps: number

    Referral fee for the lending market, as bps out of the total protocol fee

    reserved0: number[]

    [DEPRECATED] Global maximum unhealthy borrow value allowed for any obligation

    reserved1: number[]

    [DEPRECATED] Reward points multiplier per obligation type

    riskCouncil: Address

    The address of the risk council, in charge of making parameter and risk decisions on behalf of the protocol

    version: number | bigint

    Version of lending market