Coda by Ian Macalinao
    Preparing search index...

    Type Alias DepositObligationCollateralInstruction<TProgram, TAccountOwner, TAccountObligation, TAccountLendingMarket, TAccountDepositReserve, TAccountReserveDestinationCollateral, TAccountUserSourceCollateral, TAccountTokenProgram, TAccountInstructionSysvarAccount, TRemainingAccounts>

    DepositObligationCollateralInstruction: Instruction<TProgram> & InstructionWithData<
        ReadonlyUint8Array,
    > & InstructionWithAccounts<
        [
            TAccountOwner extends string
                ? ReadonlySignerAccount<TAccountOwner> & AccountSignerMeta<
                    TAccountOwner,
                >
                : TAccountOwner,
            TAccountObligation extends string
                ? WritableAccount<TAccountObligation>
                : TAccountObligation,
            TAccountLendingMarket extends string
                ? ReadonlyAccount<TAccountLendingMarket>
                : TAccountLendingMarket,
            TAccountDepositReserve extends string
                ? WritableAccount<TAccountDepositReserve>
                : TAccountDepositReserve,
            TAccountReserveDestinationCollateral extends string
                ? WritableAccount<TAccountReserveDestinationCollateral>
                : TAccountReserveDestinationCollateral,
            TAccountUserSourceCollateral extends string
                ? WritableAccount<TAccountUserSourceCollateral>
                : TAccountUserSourceCollateral,
            TAccountTokenProgram extends string
                ? ReadonlyAccount<TAccountTokenProgram>
                : TAccountTokenProgram,
            TAccountInstructionSysvarAccount extends string
                ? ReadonlyAccount<TAccountInstructionSysvarAccount>
                : TAccountInstructionSysvarAccount,
            ...TRemainingAccounts,
        ],
    >

    Type Parameters

    • TProgram extends string = typeof KAMINO_LENDING_PROGRAM_ADDRESS
    • TAccountOwner extends string | AccountMeta = string
    • TAccountObligation extends string | AccountMeta = string
    • TAccountLendingMarket extends string | AccountMeta = string
    • TAccountDepositReserve extends string | AccountMeta = string
    • TAccountReserveDestinationCollateral extends string | AccountMeta = string
    • TAccountUserSourceCollateral extends string | AccountMeta = string
    • TAccountTokenProgram extends string | AccountMeta = "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
    • TAccountInstructionSysvarAccount extends string | AccountMeta = "Sysvar1nstructions1111111111111111111111111"
    • TRemainingAccounts extends readonly AccountMeta[] = []