Coda by Ian Macalinao
Preparing search index...
@solana-programs/kamino-lending
getRepayAndWithdrawAndRedeemInstruction
Function getRepayAndWithdrawAndRedeemInstruction
getRepayAndWithdrawAndRedeemInstruction
<
TAccountRepayAccountsOwner
extends
InstructionSignerInput
,
TAccountRepayAccountsObligation
extends
InstructionAccountInput
,
TAccountRepayAccountsLendingMarket
extends
InstructionAccountInput
,
TAccountRepayAccountsRepayReserve
extends
InstructionAccountInput
,
TAccountRepayAccountsReserveLiquidityMint
extends
InstructionAccountInput
,
TAccountRepayAccountsReserveDestinationLiquidity
extends
InstructionAccountInput
,
TAccountRepayAccountsUserSourceLiquidity
extends
InstructionAccountInput
,
TAccountRepayAccountsTokenProgram
extends
InstructionAccountInput
,
TAccountRepayAccountsInstructionSysvarAccount
extends
InstructionAccountInput
,
TAccountWithdrawAccountsOwner
extends
InstructionSignerInput
,
TAccountWithdrawAccountsObligation
extends
InstructionAccountInput
,
TAccountWithdrawAccountsLendingMarket
extends
InstructionAccountInput
,
TAccountWithdrawAccountsLendingMarketAuthority
extends
InstructionAccountInput
,
TAccountWithdrawAccountsWithdrawReserve
extends
InstructionAccountInput
,
TAccountWithdrawAccountsReserveLiquidityMint
extends
InstructionAccountInput
,
TAccountWithdrawAccountsReserveSourceCollateral
extends
InstructionAccountInput
,
TAccountWithdrawAccountsReserveCollateralMint
extends
InstructionAccountInput
,
TAccountWithdrawAccountsReserveLiquiditySupply
extends
InstructionAccountInput
,
TAccountWithdrawAccountsUserDestinationLiquidity
extends
InstructionAccountInput
,
TAccountWithdrawAccountsPlaceholderUserDestinationCollateral
extends
InstructionAccountInput
,
TAccountWithdrawAccountsCollateralTokenProgram
extends
InstructionAccountInput
,
TAccountWithdrawAccountsLiquidityTokenProgram
extends
InstructionAccountInput
,
TAccountWithdrawAccountsInstructionSysvarAccount
extends
InstructionAccountInput
,
TAccountCollateralFarmsAccountsObligationFarmUserState
extends
InstructionAccountInput
,
TAccountCollateralFarmsAccountsReserveFarmState
extends
InstructionAccountInput
,
TAccountRepayDebtFarmsAccountsObligationFarmUserState
extends
InstructionAccountInput
,
TAccountRepayDebtFarmsAccountsReserveFarmState
extends
InstructionAccountInput
,
TAccountFarmsProgram
extends
InstructionAccountInput
,
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
|
{
address
:
TProgramAddress
}
;
}
,
)
:
RepayAndWithdrawAndRedeemInstruction
<
TProgramAddress
,
ResolvedInstructionAccountMeta
<
TAccountRepayAccountsOwner
,
InstructionAccountInputAddress
<
TAccountRepayAccountsOwner
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountRepayAccountsObligation
,
InstructionAccountInputAddress
<
TAccountRepayAccountsObligation
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountRepayAccountsLendingMarket
,
InstructionAccountInputAddress
<
TAccountRepayAccountsLendingMarket
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountRepayAccountsRepayReserve
,
InstructionAccountInputAddress
<
TAccountRepayAccountsRepayReserve
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountRepayAccountsReserveLiquidityMint
,
InstructionAccountInputAddress
<
TAccountRepayAccountsReserveLiquidityMint
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountRepayAccountsReserveDestinationLiquidity
,
InstructionAccountInputAddress
<
TAccountRepayAccountsReserveDestinationLiquidity
,
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountRepayAccountsUserSourceLiquidity
,
InstructionAccountInputAddress
<
TAccountRepayAccountsUserSourceLiquidity
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountRepayAccountsTokenProgram
,
InstructionAccountInputAddress
<
TAccountRepayAccountsTokenProgram
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountRepayAccountsInstructionSysvarAccount
,
InstructionAccountInputAddress
<
TAccountRepayAccountsInstructionSysvarAccount
,
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountWithdrawAccountsOwner
,
InstructionAccountInputAddress
<
TAccountWithdrawAccountsOwner
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountWithdrawAccountsObligation
,
InstructionAccountInputAddress
<
TAccountWithdrawAccountsObligation
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountWithdrawAccountsLendingMarket
,
InstructionAccountInputAddress
<
TAccountWithdrawAccountsLendingMarket
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountWithdrawAccountsLendingMarketAuthority
,
InstructionAccountInputAddress
<
TAccountWithdrawAccountsLendingMarketAuthority
,
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountWithdrawAccountsWithdrawReserve
,
InstructionAccountInputAddress
<
TAccountWithdrawAccountsWithdrawReserve
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountWithdrawAccountsReserveLiquidityMint
,
InstructionAccountInputAddress
<
TAccountWithdrawAccountsReserveLiquidityMint
,
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountWithdrawAccountsReserveSourceCollateral
,
InstructionAccountInputAddress
<
TAccountWithdrawAccountsReserveSourceCollateral
,
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountWithdrawAccountsReserveCollateralMint
,
InstructionAccountInputAddress
<
TAccountWithdrawAccountsReserveCollateralMint
,
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountWithdrawAccountsReserveLiquiditySupply
,
InstructionAccountInputAddress
<
TAccountWithdrawAccountsReserveLiquiditySupply
,
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountWithdrawAccountsUserDestinationLiquidity
,
InstructionAccountInputAddress
<
TAccountWithdrawAccountsUserDestinationLiquidity
,
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountWithdrawAccountsPlaceholderUserDestinationCollateral
,
InstructionAccountInputAddress
<
TAccountWithdrawAccountsPlaceholderUserDestinationCollateral
,
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountWithdrawAccountsCollateralTokenProgram
,
InstructionAccountInputAddress
<
TAccountWithdrawAccountsCollateralTokenProgram
,
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountWithdrawAccountsLiquidityTokenProgram
,
InstructionAccountInputAddress
<
TAccountWithdrawAccountsLiquidityTokenProgram
,
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountWithdrawAccountsInstructionSysvarAccount
,
InstructionAccountInputAddress
<
TAccountWithdrawAccountsInstructionSysvarAccount
,
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountCollateralFarmsAccountsObligationFarmUserState
,
InstructionAccountInputAddress
<
TAccountCollateralFarmsAccountsObligationFarmUserState
,
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountCollateralFarmsAccountsReserveFarmState
,
InstructionAccountInputAddress
<
TAccountCollateralFarmsAccountsReserveFarmState
,
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountRepayDebtFarmsAccountsObligationFarmUserState
,
InstructionAccountInputAddress
<
TAccountRepayDebtFarmsAccountsObligationFarmUserState
,
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountRepayDebtFarmsAccountsReserveFarmState
,
InstructionAccountInputAddress
<
TAccountRepayDebtFarmsAccountsReserveFarmState
,
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountFarmsProgram
,
InstructionAccountInputAddress
<
TAccountFarmsProgram
>
,
>
,
>
Type Parameters
TAccountRepayAccountsOwner
extends
InstructionSignerInput
TAccountRepayAccountsObligation
extends
InstructionAccountInput
TAccountRepayAccountsLendingMarket
extends
InstructionAccountInput
TAccountRepayAccountsRepayReserve
extends
InstructionAccountInput
TAccountRepayAccountsReserveLiquidityMint
extends
InstructionAccountInput
TAccountRepayAccountsReserveDestinationLiquidity
extends
InstructionAccountInput
TAccountRepayAccountsUserSourceLiquidity
extends
InstructionAccountInput
TAccountRepayAccountsTokenProgram
extends
InstructionAccountInput
TAccountRepayAccountsInstructionSysvarAccount
extends
InstructionAccountInput
TAccountWithdrawAccountsOwner
extends
InstructionSignerInput
TAccountWithdrawAccountsObligation
extends
InstructionAccountInput
TAccountWithdrawAccountsLendingMarket
extends
InstructionAccountInput
TAccountWithdrawAccountsLendingMarketAuthority
extends
InstructionAccountInput
TAccountWithdrawAccountsWithdrawReserve
extends
InstructionAccountInput
TAccountWithdrawAccountsReserveLiquidityMint
extends
InstructionAccountInput
TAccountWithdrawAccountsReserveSourceCollateral
extends
InstructionAccountInput
TAccountWithdrawAccountsReserveCollateralMint
extends
InstructionAccountInput
TAccountWithdrawAccountsReserveLiquiditySupply
extends
InstructionAccountInput
TAccountWithdrawAccountsUserDestinationLiquidity
extends
InstructionAccountInput
TAccountWithdrawAccountsPlaceholderUserDestinationCollateral
extends
InstructionAccountInput
TAccountWithdrawAccountsCollateralTokenProgram
extends
InstructionAccountInput
TAccountWithdrawAccountsLiquidityTokenProgram
extends
InstructionAccountInput
TAccountWithdrawAccountsInstructionSysvarAccount
extends
InstructionAccountInput
TAccountCollateralFarmsAccountsObligationFarmUserState
extends
InstructionAccountInput
TAccountCollateralFarmsAccountsReserveFarmState
extends
InstructionAccountInput
TAccountRepayDebtFarmsAccountsObligationFarmUserState
extends
InstructionAccountInput
TAccountRepayDebtFarmsAccountsReserveFarmState
extends
InstructionAccountInput
TAccountFarmsProgram
extends
InstructionAccountInput
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
|
{
address
:
TProgramAddress
}
}
Returns
RepayAndWithdrawAndRedeemInstruction
<
TProgramAddress
,
ResolvedInstructionAccountMeta
<
TAccountRepayAccountsOwner
,
InstructionAccountInputAddress
<
TAccountRepayAccountsOwner
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountRepayAccountsObligation
,
InstructionAccountInputAddress
<
TAccountRepayAccountsObligation
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountRepayAccountsLendingMarket
,
InstructionAccountInputAddress
<
TAccountRepayAccountsLendingMarket
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountRepayAccountsRepayReserve
,
InstructionAccountInputAddress
<
TAccountRepayAccountsRepayReserve
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountRepayAccountsReserveLiquidityMint
,
InstructionAccountInputAddress
<
TAccountRepayAccountsReserveLiquidityMint
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountRepayAccountsReserveDestinationLiquidity
,
InstructionAccountInputAddress
<
TAccountRepayAccountsReserveDestinationLiquidity
,
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountRepayAccountsUserSourceLiquidity
,
InstructionAccountInputAddress
<
TAccountRepayAccountsUserSourceLiquidity
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountRepayAccountsTokenProgram
,
InstructionAccountInputAddress
<
TAccountRepayAccountsTokenProgram
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountRepayAccountsInstructionSysvarAccount
,
InstructionAccountInputAddress
<
TAccountRepayAccountsInstructionSysvarAccount
,
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountWithdrawAccountsOwner
,
InstructionAccountInputAddress
<
TAccountWithdrawAccountsOwner
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountWithdrawAccountsObligation
,
InstructionAccountInputAddress
<
TAccountWithdrawAccountsObligation
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountWithdrawAccountsLendingMarket
,
InstructionAccountInputAddress
<
TAccountWithdrawAccountsLendingMarket
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountWithdrawAccountsLendingMarketAuthority
,
InstructionAccountInputAddress
<
TAccountWithdrawAccountsLendingMarketAuthority
,
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountWithdrawAccountsWithdrawReserve
,
InstructionAccountInputAddress
<
TAccountWithdrawAccountsWithdrawReserve
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountWithdrawAccountsReserveLiquidityMint
,
InstructionAccountInputAddress
<
TAccountWithdrawAccountsReserveLiquidityMint
,
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountWithdrawAccountsReserveSourceCollateral
,
InstructionAccountInputAddress
<
TAccountWithdrawAccountsReserveSourceCollateral
,
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountWithdrawAccountsReserveCollateralMint
,
InstructionAccountInputAddress
<
TAccountWithdrawAccountsReserveCollateralMint
,
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountWithdrawAccountsReserveLiquiditySupply
,
InstructionAccountInputAddress
<
TAccountWithdrawAccountsReserveLiquiditySupply
,
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountWithdrawAccountsUserDestinationLiquidity
,
InstructionAccountInputAddress
<
TAccountWithdrawAccountsUserDestinationLiquidity
,
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountWithdrawAccountsPlaceholderUserDestinationCollateral
,
InstructionAccountInputAddress
<
TAccountWithdrawAccountsPlaceholderUserDestinationCollateral
,
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountWithdrawAccountsCollateralTokenProgram
,
InstructionAccountInputAddress
<
TAccountWithdrawAccountsCollateralTokenProgram
,
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountWithdrawAccountsLiquidityTokenProgram
,
InstructionAccountInputAddress
<
TAccountWithdrawAccountsLiquidityTokenProgram
,
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountWithdrawAccountsInstructionSysvarAccount
,
InstructionAccountInputAddress
<
TAccountWithdrawAccountsInstructionSysvarAccount
,
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountCollateralFarmsAccountsObligationFarmUserState
,
InstructionAccountInputAddress
<
TAccountCollateralFarmsAccountsObligationFarmUserState
,
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountCollateralFarmsAccountsReserveFarmState
,
InstructionAccountInputAddress
<
TAccountCollateralFarmsAccountsReserveFarmState
,
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountRepayDebtFarmsAccountsObligationFarmUserState
,
InstructionAccountInputAddress
<
TAccountRepayDebtFarmsAccountsObligationFarmUserState
,
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountRepayDebtFarmsAccountsReserveFarmState
,
InstructionAccountInputAddress
<
TAccountRepayDebtFarmsAccountsReserveFarmState
,
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountFarmsProgram
,
InstructionAccountInputAddress
<
TAccountFarmsProgram
>
,
>
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Coda by Ian Macalinao
Loading...