Coda by Ian Macalinao
    Preparing search index...
    interface Obligation {
        allowedBorrowValueSf: bigint;
        autodeleverageMarginCallStartedTimestamp: bigint;
        autodeleverageTargetLtvPct: number;
        borrowedAssetsMarketValueSf: bigint;
        borrowFactorAdjustedDebtValueSf: bigint;
        borrowingDisabled: number;
        borrows: ObligationLiquidity[];
        borrowsAssetTiers: number[];
        depositedValueSf: bigint;
        deposits: ObligationCollateral[];
        depositsAssetTiers: number[];
        discriminator: ReadonlyUint8Array;
        elevationGroup: number;
        hasDebt: number;
        highestBorrowFactorPct: bigint;
        lastUpdate: LastUpdate;
        lendingMarket: Address;
        lowestReserveDepositLiquidationLtv: bigint;
        lowestReserveDepositMaxLtvPct: number;
        numOfObsoleteBorrowReserves: number;
        numOfObsoleteDepositReserves: number;
        orders: ObligationOrder[];
        owner: Address;
        padding3: bigint[];
        referrer: Address;
        reserved: number[];
        tag: bigint;
        unhealthyBorrowValueSf: bigint;
    }
    Index

    Properties

    allowedBorrowValueSf: bigint

    The maximum borrow value at the weighted average loan to value ratio (scaled fraction)

    autodeleverageMarginCallStartedTimestamp: bigint

    A timestamp at which the risk council most-recently marked this obligation for deleveraging. Zero if not currently subject to deleveraging.

    autodeleverageTargetLtvPct: number

    A target LTV set by the risk council when marking this obligation for deleveraging. Only effective when deleveraging_margin_call_started_slot != 0.

    borrowedAssetsMarketValueSf: bigint

    Market value of borrows - used for max_liquidatable_borrowed_amount (scaled fraction)

    borrowFactorAdjustedDebtValueSf: bigint

    Risk adjusted market value of borrows/debt (sum of price * borrowed_amount * borrow_factor) (scaled fraction)

    borrowingDisabled: number

    Marked = 1 if borrowing disabled, 0 = borrowing enabled

    Borrowed liquidity for the obligation, unique by borrow reserve address

    borrowsAssetTiers: number[]

    The asset tier of the borrows

    depositedValueSf: bigint

    Market value of deposits (scaled fraction)

    Deposited collateral for the obligation, unique by deposit reserve address

    depositsAssetTiers: number[]

    The asset tier of the deposits

    discriminator: ReadonlyUint8Array
    elevationGroup: number

    The elevation group id the obligation opted into.

    hasDebt: number

    Marked = 1 if borrows array is not empty, 0 = borrows empty

    highestBorrowFactorPct: bigint
    lastUpdate: LastUpdate

    Last update to collateral, liquidity, or their market values

    lendingMarket: Address

    Lending market address

    lowestReserveDepositLiquidationLtv: bigint

    Worst LTV for the collaterals backing the loan, represented as a percentage

    lowestReserveDepositMaxLtvPct: number

    The lowest max LTV found amongst the collateral deposits

    numOfObsoleteBorrowReserves: number

    The number of obsolete reserves the obligation has a borrow in

    numOfObsoleteDepositReserves: number

    The number of obsolete reserves the obligation has a deposit in

    orders: ObligationOrder[]

    Owner-defined, liquidator-executed orders applicable to this obligation. Typical use-cases would be a stop-loss and a take-profit (possibly co-existing).

    owner: Address

    Owner authority which can borrow liquidity

    padding3: bigint[]
    referrer: Address

    Wallet address of the referrer

    reserved: number[]
    tag: bigint

    Version of the struct

    unhealthyBorrowValueSf: bigint

    The dangerous borrow value at the weighted average liquidation threshold (scaled fraction)