Coda by Ian Macalinao
    Preparing search index...

    Type Alias RefreshReserveInstruction<TProgram, TAccountReserve, TAccountLendingMarket, TAccountPythOracle, TAccountSwitchboardPriceOracle, TAccountSwitchboardTwapOracle, TAccountScopePrices, TRemainingAccounts>

    RefreshReserveInstruction: Instruction<TProgram> & InstructionWithData<
        ReadonlyUint8Array,
    > & InstructionWithAccounts<
        [
            TAccountReserve extends string
                ? WritableAccount<TAccountReserve>
                : TAccountReserve,
            TAccountLendingMarket extends string
                ? ReadonlyAccount<TAccountLendingMarket>
                : TAccountLendingMarket,
            TAccountPythOracle extends string
                ? ReadonlyAccount<TAccountPythOracle>
                : TAccountPythOracle,
            TAccountSwitchboardPriceOracle extends string
                ? ReadonlyAccount<TAccountSwitchboardPriceOracle>
                : TAccountSwitchboardPriceOracle,
            TAccountSwitchboardTwapOracle extends string
                ? ReadonlyAccount<TAccountSwitchboardTwapOracle>
                : TAccountSwitchboardTwapOracle,
            TAccountScopePrices extends string
                ? ReadonlyAccount<TAccountScopePrices>
                : TAccountScopePrices,
            ...TRemainingAccounts,
        ],
    >

    Type Parameters

    • TProgram extends string = typeof KAMINO_LENDING_PROGRAM_ADDRESS
    • TAccountReserve extends string | AccountMeta = string
    • TAccountLendingMarket extends string | AccountMeta = string
    • TAccountPythOracle extends string | AccountMeta = string
    • TAccountSwitchboardPriceOracle extends string | AccountMeta = string
    • TAccountSwitchboardTwapOracle extends string | AccountMeta = string
    • TAccountScopePrices extends string | AccountMeta = string
    • TRemainingAccounts extends readonly AccountMeta[] = []