Coda by Ian Macalinao
    Preparing search index...

    Reserve liquidity

    interface ReserveLiquidity {
        absoluteReferralRateSf: bigint;
        accumulatedProtocolFeesSf: bigint;
        accumulatedReferrerFeesSf: bigint;
        availableAmount: bigint;
        borrowedAmountSf: bigint;
        borrowLimitCrossedTimestamp: bigint;
        cumulativeBorrowRateBsf: BigFractionBytes;
        depositLimitCrossedTimestamp: bigint;
        feeVault: Address;
        marketPriceLastUpdatedTs: bigint;
        marketPriceSf: bigint;
        mintDecimals: bigint;
        mintPubkey: Address;
        padding2: bigint[];
        padding3: bigint[];
        pendingReferrerFeesSf: bigint;
        supplyVault: Address;
        tokenProgram: Address;
    }
    Index

    Properties

    absoluteReferralRateSf: bigint

    Reserve referrer fee absolute rate calculated at each refresh_reserve operation (scaled fraction)

    accumulatedProtocolFeesSf: bigint

    Reserve cumulative protocol fees (scaled fraction)

    accumulatedReferrerFeesSf: bigint

    Reserve cumulative referrer fees (scaled fraction)

    availableAmount: bigint

    Reserve liquidity available

    borrowedAmountSf: bigint

    Reserve liquidity borrowed (scaled fraction)

    borrowLimitCrossedTimestamp: bigint

    Timestamp when the last refresh reserve detected that the borrowed amount is above the borrow cap. When this threshold is crossed, then redemptions (auto-deleverage) are enabled. If the threshold is not crossed, then the timestamp is set to 0

    cumulativeBorrowRateBsf: BigFractionBytes

    Reserve liquidity cumulative borrow rate (scaled fraction)

    depositLimitCrossedTimestamp: bigint

    Timestamp when the last refresh reserve detected that the liquidity amount is above the deposit cap. When this threshold is crossed, then redemptions (auto-deleverage) are enabled. If the threshold is not crossed, then the timestamp is set to 0

    feeVault: Address

    Reserve liquidity fee collection address

    marketPriceLastUpdatedTs: bigint

    Unix timestamp of the market price (from the oracle)

    marketPriceSf: bigint

    Reserve liquidity market price in quote currency (scaled fraction)

    mintDecimals: bigint

    Reserve liquidity mint decimals

    mintPubkey: Address

    Reserve liquidity mint address

    padding2: bigint[]
    padding3: bigint[]
    pendingReferrerFeesSf: bigint

    Reserve pending referrer fees, to be claimed in refresh_obligation by referrer or protocol (scaled fraction)

    supplyVault: Address

    Reserve liquidity supply address

    tokenProgram: Address

    Token program of the liquidity mint