Coda by Ian Macalinao
    Preparing search index...

    Type Alias RepayAndWithdrawAndRedeemInstruction<TProgram, TAccountRepayAccountsOwner, TAccountRepayAccountsObligation, TAccountRepayAccountsLendingMarket, TAccountRepayAccountsRepayReserve, TAccountRepayAccountsReserveLiquidityMint, TAccountRepayAccountsReserveDestinationLiquidity, TAccountRepayAccountsUserSourceLiquidity, TAccountRepayAccountsTokenProgram, TAccountRepayAccountsInstructionSysvarAccount, TAccountWithdrawAccountsOwner, TAccountWithdrawAccountsObligation, TAccountWithdrawAccountsLendingMarket, TAccountWithdrawAccountsLendingMarketAuthority, TAccountWithdrawAccountsWithdrawReserve, TAccountWithdrawAccountsReserveLiquidityMint, TAccountWithdrawAccountsReserveSourceCollateral, TAccountWithdrawAccountsReserveCollateralMint, TAccountWithdrawAccountsReserveLiquiditySupply, TAccountWithdrawAccountsUserDestinationLiquidity, TAccountWithdrawAccountsPlaceholderUserDestinationCollateral, TAccountWithdrawAccountsCollateralTokenProgram, TAccountWithdrawAccountsLiquidityTokenProgram, TAccountWithdrawAccountsInstructionSysvarAccount, TAccountCollateralFarmsAccountsObligationFarmUserState, TAccountCollateralFarmsAccountsReserveFarmState, TAccountRepayDebtFarmsAccountsObligationFarmUserState, TAccountRepayDebtFarmsAccountsReserveFarmState, TAccountFarmsProgram, TRemainingAccounts>

    RepayAndWithdrawAndRedeemInstruction: Instruction<TProgram> & InstructionWithData<
        ReadonlyUint8Array,
    > & InstructionWithAccounts<
        [
            TAccountRepayAccountsOwner extends string
                ? ReadonlySignerAccount<TAccountRepayAccountsOwner> & AccountSignerMeta<
                    TAccountRepayAccountsOwner,
                >
                : TAccountRepayAccountsOwner,
            TAccountRepayAccountsObligation extends string
                ? WritableAccount<TAccountRepayAccountsObligation>
                : TAccountRepayAccountsObligation,
            TAccountRepayAccountsLendingMarket extends string
                ? ReadonlyAccount<TAccountRepayAccountsLendingMarket>
                : TAccountRepayAccountsLendingMarket,
            TAccountRepayAccountsRepayReserve extends string
                ? WritableAccount<TAccountRepayAccountsRepayReserve>
                : TAccountRepayAccountsRepayReserve,
            TAccountRepayAccountsReserveLiquidityMint extends string
                ? ReadonlyAccount<TAccountRepayAccountsReserveLiquidityMint>
                : TAccountRepayAccountsReserveLiquidityMint,
            TAccountRepayAccountsReserveDestinationLiquidity extends string
                ? WritableAccount<TAccountRepayAccountsReserveDestinationLiquidity>
                : TAccountRepayAccountsReserveDestinationLiquidity,
            TAccountRepayAccountsUserSourceLiquidity extends string
                ? WritableAccount<TAccountRepayAccountsUserSourceLiquidity>
                : TAccountRepayAccountsUserSourceLiquidity,
            TAccountRepayAccountsTokenProgram extends string
                ? ReadonlyAccount<TAccountRepayAccountsTokenProgram>
                : TAccountRepayAccountsTokenProgram,
            TAccountRepayAccountsInstructionSysvarAccount extends string
                ? ReadonlyAccount<TAccountRepayAccountsInstructionSysvarAccount>
                : TAccountRepayAccountsInstructionSysvarAccount,
            TAccountWithdrawAccountsOwner extends string
                ? WritableSignerAccount<TAccountWithdrawAccountsOwner> & AccountSignerMeta<
                    TAccountWithdrawAccountsOwner,
                >
                : TAccountWithdrawAccountsOwner,
            TAccountWithdrawAccountsObligation extends string
                ? WritableAccount<TAccountWithdrawAccountsObligation>
                : TAccountWithdrawAccountsObligation,
            TAccountWithdrawAccountsLendingMarket extends string
                ? ReadonlyAccount<TAccountWithdrawAccountsLendingMarket>
                : TAccountWithdrawAccountsLendingMarket,
            TAccountWithdrawAccountsLendingMarketAuthority extends string
                ? ReadonlyAccount<TAccountWithdrawAccountsLendingMarketAuthority>
                : TAccountWithdrawAccountsLendingMarketAuthority,
            TAccountWithdrawAccountsWithdrawReserve extends string
                ? WritableAccount<TAccountWithdrawAccountsWithdrawReserve>
                : TAccountWithdrawAccountsWithdrawReserve,
            TAccountWithdrawAccountsReserveLiquidityMint extends string
                ? ReadonlyAccount<TAccountWithdrawAccountsReserveLiquidityMint>
                : TAccountWithdrawAccountsReserveLiquidityMint,
            TAccountWithdrawAccountsReserveSourceCollateral extends string
                ? WritableAccount<TAccountWithdrawAccountsReserveSourceCollateral>
                : TAccountWithdrawAccountsReserveSourceCollateral,
            TAccountWithdrawAccountsReserveCollateralMint extends string
                ? WritableAccount<TAccountWithdrawAccountsReserveCollateralMint>
                : TAccountWithdrawAccountsReserveCollateralMint,
            TAccountWithdrawAccountsReserveLiquiditySupply extends string
                ? WritableAccount<TAccountWithdrawAccountsReserveLiquiditySupply>
                : TAccountWithdrawAccountsReserveLiquiditySupply,
            TAccountWithdrawAccountsUserDestinationLiquidity extends string
                ? WritableAccount<TAccountWithdrawAccountsUserDestinationLiquidity>
                : TAccountWithdrawAccountsUserDestinationLiquidity,
            TAccountWithdrawAccountsPlaceholderUserDestinationCollateral extends string
                ? ReadonlyAccount<
                    TAccountWithdrawAccountsPlaceholderUserDestinationCollateral,
                >
                : TAccountWithdrawAccountsPlaceholderUserDestinationCollateral,
            TAccountWithdrawAccountsCollateralTokenProgram extends string
                ? ReadonlyAccount<TAccountWithdrawAccountsCollateralTokenProgram>
                : TAccountWithdrawAccountsCollateralTokenProgram,
            TAccountWithdrawAccountsLiquidityTokenProgram extends string
                ? ReadonlyAccount<TAccountWithdrawAccountsLiquidityTokenProgram>
                : TAccountWithdrawAccountsLiquidityTokenProgram,
            TAccountWithdrawAccountsInstructionSysvarAccount extends string
                ? ReadonlyAccount<TAccountWithdrawAccountsInstructionSysvarAccount>
                : TAccountWithdrawAccountsInstructionSysvarAccount,
            TAccountCollateralFarmsAccountsObligationFarmUserState extends string
                ? WritableAccount<
                    TAccountCollateralFarmsAccountsObligationFarmUserState,
                >
                : TAccountCollateralFarmsAccountsObligationFarmUserState,
            TAccountCollateralFarmsAccountsReserveFarmState extends string
                ? WritableAccount<TAccountCollateralFarmsAccountsReserveFarmState>
                : TAccountCollateralFarmsAccountsReserveFarmState,
            TAccountRepayDebtFarmsAccountsObligationFarmUserState extends string
                ? WritableAccount<
                    TAccountRepayDebtFarmsAccountsObligationFarmUserState,
                >
                : TAccountRepayDebtFarmsAccountsObligationFarmUserState,
            TAccountRepayDebtFarmsAccountsReserveFarmState extends string
                ? WritableAccount<TAccountRepayDebtFarmsAccountsReserveFarmState>
                : TAccountRepayDebtFarmsAccountsReserveFarmState,
            TAccountFarmsProgram extends string
                ? ReadonlyAccount<TAccountFarmsProgram>
                : TAccountFarmsProgram,
            ...TRemainingAccounts,
        ],
    >

    Type Parameters

    • TProgram extends string = typeof KAMINO_LENDING_PROGRAM_ADDRESS
    • TAccountRepayAccountsOwner extends string | AccountMeta = string
    • TAccountRepayAccountsObligation extends string | AccountMeta = string
    • TAccountRepayAccountsLendingMarket extends string | AccountMeta = string
    • TAccountRepayAccountsRepayReserve extends string | AccountMeta = string
    • TAccountRepayAccountsReserveLiquidityMint extends string | AccountMeta = string
    • TAccountRepayAccountsReserveDestinationLiquidity extends string | AccountMeta = string
    • TAccountRepayAccountsUserSourceLiquidity extends string | AccountMeta = string
    • TAccountRepayAccountsTokenProgram extends string | AccountMeta = "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
    • TAccountRepayAccountsInstructionSysvarAccount extends string | AccountMeta = "Sysvar1nstructions1111111111111111111111111"
    • TAccountWithdrawAccountsOwner extends string | AccountMeta = string
    • TAccountWithdrawAccountsObligation extends string | AccountMeta = string
    • TAccountWithdrawAccountsLendingMarket extends string | AccountMeta = string
    • TAccountWithdrawAccountsLendingMarketAuthority extends string | AccountMeta = string
    • TAccountWithdrawAccountsWithdrawReserve extends string | AccountMeta = string
    • TAccountWithdrawAccountsReserveLiquidityMint extends string | AccountMeta = string
    • TAccountWithdrawAccountsReserveSourceCollateral extends string | AccountMeta = string
    • TAccountWithdrawAccountsReserveCollateralMint extends string | AccountMeta = string
    • TAccountWithdrawAccountsReserveLiquiditySupply extends string | AccountMeta = string
    • TAccountWithdrawAccountsUserDestinationLiquidity extends string | AccountMeta = string
    • TAccountWithdrawAccountsPlaceholderUserDestinationCollateral extends string | AccountMeta = string
    • TAccountWithdrawAccountsCollateralTokenProgram extends string | AccountMeta = "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
    • TAccountWithdrawAccountsLiquidityTokenProgram extends string | AccountMeta = "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
    • TAccountWithdrawAccountsInstructionSysvarAccount extends string | AccountMeta = "Sysvar1nstructions1111111111111111111111111"
    • TAccountCollateralFarmsAccountsObligationFarmUserState extends string | AccountMeta = string
    • TAccountCollateralFarmsAccountsReserveFarmState extends string | AccountMeta = string
    • TAccountRepayDebtFarmsAccountsObligationFarmUserState extends string | AccountMeta = string
    • TAccountRepayDebtFarmsAccountsReserveFarmState extends string | AccountMeta = string
    • TAccountFarmsProgram extends string | AccountMeta = "FarmsPZpWu9i7Kky8tPN37rs2TpmMrAZrC7S7vJa91Hr"
    • TRemainingAccounts extends readonly AccountMeta[] = []