Coda by Ian Macalinao
    Preparing search index...

    Type Alias DepositObligationCollateralInput<TAccountOwner, TAccountObligation, TAccountLendingMarket, TAccountDepositReserve, TAccountReserveDestinationCollateral, TAccountUserSourceCollateral, TAccountTokenProgram, TAccountInstructionSysvarAccount>

    type DepositObligationCollateralInput<
        TAccountOwner extends InstructionSignerInput = InstructionSignerInput,
        TAccountObligation extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountLendingMarket extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountDepositReserve extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountReserveDestinationCollateral extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountUserSourceCollateral extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountTokenProgram extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountInstructionSysvarAccount extends
            InstructionAccountInput = InstructionAccountInput,
    > = {
        collateralAmount: DepositObligationCollateralInstructionDataArgs["collateralAmount"];
        depositReserve: TAccountDepositReserve;
        instructionSysvarAccount?: TAccountInstructionSysvarAccount;
        lendingMarket: TAccountLendingMarket;
        obligation: TAccountObligation;
        owner: TAccountOwner;
        reserveDestinationCollateral: TAccountReserveDestinationCollateral;
        tokenProgram?: TAccountTokenProgram;
        userSourceCollateral: TAccountUserSourceCollateral;
    }

    Type Parameters

    • TAccountOwner extends InstructionSignerInput = InstructionSignerInput
    • TAccountObligation extends InstructionAccountInput = InstructionAccountInput
    • TAccountLendingMarket extends InstructionAccountInput = InstructionAccountInput
    • TAccountDepositReserve extends InstructionAccountInput = InstructionAccountInput
    • TAccountReserveDestinationCollateral extends InstructionAccountInput = InstructionAccountInput
    • TAccountUserSourceCollateral extends InstructionAccountInput = InstructionAccountInput
    • TAccountTokenProgram extends InstructionAccountInput = InstructionAccountInput
    • TAccountInstructionSysvarAccount extends InstructionAccountInput = InstructionAccountInput
    Index
    depositReserve: TAccountDepositReserve
    instructionSysvarAccount?: TAccountInstructionSysvarAccount
    lendingMarket: TAccountLendingMarket
    obligation: TAccountObligation
    reserveDestinationCollateral: TAccountReserveDestinationCollateral
    tokenProgram?: TAccountTokenProgram
    userSourceCollateral: TAccountUserSourceCollateral