Coda by Ian Macalinao
    Preparing search index...

    Type Alias LiquidateObligationAndRedeemReserveCollateralInstruction<TProgram, TAccountLiquidator, TAccountObligation, TAccountLendingMarket, TAccountLendingMarketAuthority, TAccountRepayReserve, TAccountRepayReserveLiquidityMint, TAccountRepayReserveLiquiditySupply, TAccountWithdrawReserve, TAccountWithdrawReserveLiquidityMint, TAccountWithdrawReserveCollateralMint, TAccountWithdrawReserveCollateralSupply, TAccountWithdrawReserveLiquiditySupply, TAccountWithdrawReserveLiquidityFeeReceiver, TAccountUserSourceLiquidity, TAccountUserDestinationCollateral, TAccountUserDestinationLiquidity, TAccountCollateralTokenProgram, TAccountRepayLiquidityTokenProgram, TAccountWithdrawLiquidityTokenProgram, TAccountInstructionSysvarAccount, TRemainingAccounts>

    LiquidateObligationAndRedeemReserveCollateralInstruction: Instruction<TProgram> & InstructionWithData<
        ReadonlyUint8Array,
    > & InstructionWithAccounts<
        [
            TAccountLiquidator extends string
                ? ReadonlySignerAccount<TAccountLiquidator> & AccountSignerMeta<
                    TAccountLiquidator,
                >
                : TAccountLiquidator,
            TAccountObligation extends string
                ? WritableAccount<TAccountObligation>
                : TAccountObligation,
            TAccountLendingMarket extends string
                ? ReadonlyAccount<TAccountLendingMarket>
                : TAccountLendingMarket,
            TAccountLendingMarketAuthority extends string
                ? ReadonlyAccount<TAccountLendingMarketAuthority>
                : TAccountLendingMarketAuthority,
            TAccountRepayReserve extends string
                ? WritableAccount<TAccountRepayReserve>
                : TAccountRepayReserve,
            TAccountRepayReserveLiquidityMint extends string
                ? ReadonlyAccount<TAccountRepayReserveLiquidityMint>
                : TAccountRepayReserveLiquidityMint,
            TAccountRepayReserveLiquiditySupply extends string
                ? WritableAccount<TAccountRepayReserveLiquiditySupply>
                : TAccountRepayReserveLiquiditySupply,
            TAccountWithdrawReserve extends string
                ? WritableAccount<TAccountWithdrawReserve>
                : TAccountWithdrawReserve,
            TAccountWithdrawReserveLiquidityMint extends string
                ? ReadonlyAccount<TAccountWithdrawReserveLiquidityMint>
                : TAccountWithdrawReserveLiquidityMint,
            TAccountWithdrawReserveCollateralMint extends string
                ? WritableAccount<TAccountWithdrawReserveCollateralMint>
                : TAccountWithdrawReserveCollateralMint,
            TAccountWithdrawReserveCollateralSupply extends string
                ? WritableAccount<TAccountWithdrawReserveCollateralSupply>
                : TAccountWithdrawReserveCollateralSupply,
            TAccountWithdrawReserveLiquiditySupply extends string
                ? WritableAccount<TAccountWithdrawReserveLiquiditySupply>
                : TAccountWithdrawReserveLiquiditySupply,
            TAccountWithdrawReserveLiquidityFeeReceiver extends string
                ? WritableAccount<TAccountWithdrawReserveLiquidityFeeReceiver>
                : TAccountWithdrawReserveLiquidityFeeReceiver,
            TAccountUserSourceLiquidity extends string
                ? WritableAccount<TAccountUserSourceLiquidity>
                : TAccountUserSourceLiquidity,
            TAccountUserDestinationCollateral extends string
                ? WritableAccount<TAccountUserDestinationCollateral>
                : TAccountUserDestinationCollateral,
            TAccountUserDestinationLiquidity extends string
                ? WritableAccount<TAccountUserDestinationLiquidity>
                : TAccountUserDestinationLiquidity,
            TAccountCollateralTokenProgram extends string
                ? ReadonlyAccount<TAccountCollateralTokenProgram>
                : TAccountCollateralTokenProgram,
            TAccountRepayLiquidityTokenProgram extends string
                ? ReadonlyAccount<TAccountRepayLiquidityTokenProgram>
                : TAccountRepayLiquidityTokenProgram,
            TAccountWithdrawLiquidityTokenProgram extends string
                ? ReadonlyAccount<TAccountWithdrawLiquidityTokenProgram>
                : TAccountWithdrawLiquidityTokenProgram,
            TAccountInstructionSysvarAccount extends string
                ? ReadonlyAccount<TAccountInstructionSysvarAccount>
                : TAccountInstructionSysvarAccount,
            ...TRemainingAccounts,
        ],
    >

    Type Parameters

    • TProgram extends string = typeof KAMINO_LENDING_PROGRAM_ADDRESS
    • TAccountLiquidator extends string | AccountMeta = string
    • TAccountObligation extends string | AccountMeta = string
    • TAccountLendingMarket extends string | AccountMeta = string
    • TAccountLendingMarketAuthority extends string | AccountMeta = string
    • TAccountRepayReserve extends string | AccountMeta = string
    • TAccountRepayReserveLiquidityMint extends string | AccountMeta = string
    • TAccountRepayReserveLiquiditySupply extends string | AccountMeta = string
    • TAccountWithdrawReserve extends string | AccountMeta = string
    • TAccountWithdrawReserveLiquidityMint extends string | AccountMeta = string
    • TAccountWithdrawReserveCollateralMint extends string | AccountMeta = string
    • TAccountWithdrawReserveCollateralSupply extends string | AccountMeta = string
    • TAccountWithdrawReserveLiquiditySupply extends string | AccountMeta = string
    • TAccountWithdrawReserveLiquidityFeeReceiver extends string | AccountMeta = string
    • TAccountUserSourceLiquidity extends string | AccountMeta = string
    • TAccountUserDestinationCollateral extends string | AccountMeta = string
    • TAccountUserDestinationLiquidity extends string | AccountMeta = string
    • TAccountCollateralTokenProgram extends string | AccountMeta = "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
    • TAccountRepayLiquidityTokenProgram extends string | AccountMeta = "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
    • TAccountWithdrawLiquidityTokenProgram extends string | AccountMeta = "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
    • TAccountInstructionSysvarAccount extends string | AccountMeta = "Sysvar1nstructions1111111111111111111111111"
    • TRemainingAccounts extends readonly AccountMeta[] = []