Coda by Ian Macalinao
Preparing search index...
@macalinao/clients-kamino-lending
getRepayAndWithdrawAndRedeemInstruction
Function getRepayAndWithdrawAndRedeemInstruction
getRepayAndWithdrawAndRedeemInstruction
<
TAccountRepayAccountsOwner
extends
string
,
TAccountRepayAccountsObligation
extends
string
,
TAccountRepayAccountsLendingMarket
extends
string
,
TAccountRepayAccountsRepayReserve
extends
string
,
TAccountRepayAccountsReserveLiquidityMint
extends
string
,
TAccountRepayAccountsReserveDestinationLiquidity
extends
string
,
TAccountRepayAccountsUserSourceLiquidity
extends
string
,
TAccountRepayAccountsTokenProgram
extends
string
,
TAccountRepayAccountsInstructionSysvarAccount
extends
string
,
TAccountWithdrawAccountsOwner
extends
string
,
TAccountWithdrawAccountsObligation
extends
string
,
TAccountWithdrawAccountsLendingMarket
extends
string
,
TAccountWithdrawAccountsLendingMarketAuthority
extends
string
,
TAccountWithdrawAccountsWithdrawReserve
extends
string
,
TAccountWithdrawAccountsReserveLiquidityMint
extends
string
,
TAccountWithdrawAccountsReserveSourceCollateral
extends
string
,
TAccountWithdrawAccountsReserveCollateralMint
extends
string
,
TAccountWithdrawAccountsReserveLiquiditySupply
extends
string
,
TAccountWithdrawAccountsUserDestinationLiquidity
extends
string
,
TAccountWithdrawAccountsPlaceholderUserDestinationCollateral
extends
string
,
TAccountWithdrawAccountsCollateralTokenProgram
extends
string
,
TAccountWithdrawAccountsLiquidityTokenProgram
extends
string
,
TAccountWithdrawAccountsInstructionSysvarAccount
extends
string
,
TAccountCollateralFarmsAccountsObligationFarmUserState
extends
string
,
TAccountCollateralFarmsAccountsReserveFarmState
extends
string
,
TAccountRepayDebtFarmsAccountsObligationFarmUserState
extends
string
,
TAccountRepayDebtFarmsAccountsReserveFarmState
extends
string
,
TAccountFarmsProgram
extends
string
,
TProgramAddress
extends
Address
=
Address
<
"KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD"
>
,
>
(
input
:
RepayAndWithdrawAndRedeemInput
<
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
,
>
,
config
?:
{
programAddress
?:
TProgramAddress
}
,
)
:
RepayAndWithdrawAndRedeemInstruction
<
TProgramAddress
,
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
,
>
Type Parameters
TAccountRepayAccountsOwner
extends
string
TAccountRepayAccountsObligation
extends
string
TAccountRepayAccountsLendingMarket
extends
string
TAccountRepayAccountsRepayReserve
extends
string
TAccountRepayAccountsReserveLiquidityMint
extends
string
TAccountRepayAccountsReserveDestinationLiquidity
extends
string
TAccountRepayAccountsUserSourceLiquidity
extends
string
TAccountRepayAccountsTokenProgram
extends
string
TAccountRepayAccountsInstructionSysvarAccount
extends
string
TAccountWithdrawAccountsOwner
extends
string
TAccountWithdrawAccountsObligation
extends
string
TAccountWithdrawAccountsLendingMarket
extends
string
TAccountWithdrawAccountsLendingMarketAuthority
extends
string
TAccountWithdrawAccountsWithdrawReserve
extends
string
TAccountWithdrawAccountsReserveLiquidityMint
extends
string
TAccountWithdrawAccountsReserveSourceCollateral
extends
string
TAccountWithdrawAccountsReserveCollateralMint
extends
string
TAccountWithdrawAccountsReserveLiquiditySupply
extends
string
TAccountWithdrawAccountsUserDestinationLiquidity
extends
string
TAccountWithdrawAccountsPlaceholderUserDestinationCollateral
extends
string
TAccountWithdrawAccountsCollateralTokenProgram
extends
string
TAccountWithdrawAccountsLiquidityTokenProgram
extends
string
TAccountWithdrawAccountsInstructionSysvarAccount
extends
string
TAccountCollateralFarmsAccountsObligationFarmUserState
extends
string
TAccountCollateralFarmsAccountsReserveFarmState
extends
string
TAccountRepayDebtFarmsAccountsObligationFarmUserState
extends
string
TAccountRepayDebtFarmsAccountsReserveFarmState
extends
string
TAccountFarmsProgram
extends
string
TProgramAddress
extends
Address
=
Address
<
"KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD"
>
Parameters
input
:
RepayAndWithdrawAndRedeemInput
<
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
,
>
Optional
config
:
{
programAddress
?:
TProgramAddress
}
Returns
RepayAndWithdrawAndRedeemInstruction
<
TProgramAddress
,
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
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Coda by Ian Macalinao
Loading...