Coda by Ian Macalinao
Preparing search index...
@solana-programs/kamino-lending
getWithdrawObligationCollateralAndRedeemReserveCollateralV2Instruction
Function getWithdrawObligationCollateralAndRedeemReserveCollateralV2Instruction
getWithdrawObligationCollateralAndRedeemReserveCollateralV2Instruction
<
TAccountOwner
extends
InstructionSignerInput
,
TAccountObligation
extends
InstructionAccountInput
,
TAccountLendingMarket
extends
InstructionAccountInput
,
TAccountLendingMarketAuthority
extends
InstructionAccountInput
,
TAccountWithdrawReserve
extends
InstructionAccountInput
,
TAccountReserveLiquidityMint
extends
InstructionAccountInput
,
TAccountReserveSourceCollateral
extends
InstructionAccountInput
,
TAccountReserveCollateralMint
extends
InstructionAccountInput
,
TAccountReserveLiquiditySupply
extends
InstructionAccountInput
,
TAccountUserDestinationLiquidity
extends
InstructionAccountInput
,
TAccountPlaceholderUserDestinationCollateral
extends
InstructionAccountInput
,
TAccountCollateralTokenProgram
extends
InstructionAccountInput
,
TAccountLiquidityTokenProgram
extends
InstructionAccountInput
,
TAccountInstructionSysvarAccount
extends
InstructionAccountInput
,
TAccountObligationFarmUserState
extends
InstructionAccountInput
,
TAccountReserveFarmState
extends
InstructionAccountInput
,
TAccountFarmsProgram
extends
InstructionAccountInput
,
TProgramAddress
extends
Address
=
Address
<
"KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD"
>
,
>
(
input
:
WithdrawObligationCollateralAndRedeemReserveCollateralV2Input
<
TAccountOwner
,
TAccountObligation
,
TAccountLendingMarket
,
TAccountLendingMarketAuthority
,
TAccountWithdrawReserve
,
TAccountReserveLiquidityMint
,
TAccountReserveSourceCollateral
,
TAccountReserveCollateralMint
,
TAccountReserveLiquiditySupply
,
TAccountUserDestinationLiquidity
,
TAccountPlaceholderUserDestinationCollateral
,
TAccountCollateralTokenProgram
,
TAccountLiquidityTokenProgram
,
TAccountInstructionSysvarAccount
,
TAccountObligationFarmUserState
,
TAccountReserveFarmState
,
TAccountFarmsProgram
,
>
,
config
?:
{
programAddress
?:
TProgramAddress
|
{
address
:
TProgramAddress
}
;
}
,
)
:
WithdrawObligationCollateralAndRedeemReserveCollateralV2Instruction
<
TProgramAddress
,
ResolvedInstructionAccountMeta
<
TAccountOwner
,
InstructionAccountInputAddress
<
TAccountOwner
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountObligation
,
InstructionAccountInputAddress
<
TAccountObligation
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountLendingMarket
,
InstructionAccountInputAddress
<
TAccountLendingMarket
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountLendingMarketAuthority
,
InstructionAccountInputAddress
<
TAccountLendingMarketAuthority
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountWithdrawReserve
,
InstructionAccountInputAddress
<
TAccountWithdrawReserve
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountReserveLiquidityMint
,
InstructionAccountInputAddress
<
TAccountReserveLiquidityMint
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountReserveSourceCollateral
,
InstructionAccountInputAddress
<
TAccountReserveSourceCollateral
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountReserveCollateralMint
,
InstructionAccountInputAddress
<
TAccountReserveCollateralMint
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountReserveLiquiditySupply
,
InstructionAccountInputAddress
<
TAccountReserveLiquiditySupply
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountUserDestinationLiquidity
,
InstructionAccountInputAddress
<
TAccountUserDestinationLiquidity
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountPlaceholderUserDestinationCollateral
,
InstructionAccountInputAddress
<
TAccountPlaceholderUserDestinationCollateral
,
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountCollateralTokenProgram
,
InstructionAccountInputAddress
<
TAccountCollateralTokenProgram
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountLiquidityTokenProgram
,
InstructionAccountInputAddress
<
TAccountLiquidityTokenProgram
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountInstructionSysvarAccount
,
InstructionAccountInputAddress
<
TAccountInstructionSysvarAccount
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountObligationFarmUserState
,
InstructionAccountInputAddress
<
TAccountObligationFarmUserState
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountReserveFarmState
,
InstructionAccountInputAddress
<
TAccountReserveFarmState
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountFarmsProgram
,
InstructionAccountInputAddress
<
TAccountFarmsProgram
>
,
>
,
>
Type Parameters
TAccountOwner
extends
InstructionSignerInput
TAccountObligation
extends
InstructionAccountInput
TAccountLendingMarket
extends
InstructionAccountInput
TAccountLendingMarketAuthority
extends
InstructionAccountInput
TAccountWithdrawReserve
extends
InstructionAccountInput
TAccountReserveLiquidityMint
extends
InstructionAccountInput
TAccountReserveSourceCollateral
extends
InstructionAccountInput
TAccountReserveCollateralMint
extends
InstructionAccountInput
TAccountReserveLiquiditySupply
extends
InstructionAccountInput
TAccountUserDestinationLiquidity
extends
InstructionAccountInput
TAccountPlaceholderUserDestinationCollateral
extends
InstructionAccountInput
TAccountCollateralTokenProgram
extends
InstructionAccountInput
TAccountLiquidityTokenProgram
extends
InstructionAccountInput
TAccountInstructionSysvarAccount
extends
InstructionAccountInput
TAccountObligationFarmUserState
extends
InstructionAccountInput
TAccountReserveFarmState
extends
InstructionAccountInput
TAccountFarmsProgram
extends
InstructionAccountInput
TProgramAddress
extends
Address
=
Address
<
"KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD"
>
Parameters
input
:
WithdrawObligationCollateralAndRedeemReserveCollateralV2Input
<
TAccountOwner
,
TAccountObligation
,
TAccountLendingMarket
,
TAccountLendingMarketAuthority
,
TAccountWithdrawReserve
,
TAccountReserveLiquidityMint
,
TAccountReserveSourceCollateral
,
TAccountReserveCollateralMint
,
TAccountReserveLiquiditySupply
,
TAccountUserDestinationLiquidity
,
TAccountPlaceholderUserDestinationCollateral
,
TAccountCollateralTokenProgram
,
TAccountLiquidityTokenProgram
,
TAccountInstructionSysvarAccount
,
TAccountObligationFarmUserState
,
TAccountReserveFarmState
,
TAccountFarmsProgram
,
>
Optional
config
:
{
programAddress
?:
TProgramAddress
|
{
address
:
TProgramAddress
}
}
Returns
WithdrawObligationCollateralAndRedeemReserveCollateralV2Instruction
<
TProgramAddress
,
ResolvedInstructionAccountMeta
<
TAccountOwner
,
InstructionAccountInputAddress
<
TAccountOwner
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountObligation
,
InstructionAccountInputAddress
<
TAccountObligation
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountLendingMarket
,
InstructionAccountInputAddress
<
TAccountLendingMarket
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountLendingMarketAuthority
,
InstructionAccountInputAddress
<
TAccountLendingMarketAuthority
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountWithdrawReserve
,
InstructionAccountInputAddress
<
TAccountWithdrawReserve
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountReserveLiquidityMint
,
InstructionAccountInputAddress
<
TAccountReserveLiquidityMint
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountReserveSourceCollateral
,
InstructionAccountInputAddress
<
TAccountReserveSourceCollateral
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountReserveCollateralMint
,
InstructionAccountInputAddress
<
TAccountReserveCollateralMint
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountReserveLiquiditySupply
,
InstructionAccountInputAddress
<
TAccountReserveLiquiditySupply
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountUserDestinationLiquidity
,
InstructionAccountInputAddress
<
TAccountUserDestinationLiquidity
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountPlaceholderUserDestinationCollateral
,
InstructionAccountInputAddress
<
TAccountPlaceholderUserDestinationCollateral
,
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountCollateralTokenProgram
,
InstructionAccountInputAddress
<
TAccountCollateralTokenProgram
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountLiquidityTokenProgram
,
InstructionAccountInputAddress
<
TAccountLiquidityTokenProgram
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountInstructionSysvarAccount
,
InstructionAccountInputAddress
<
TAccountInstructionSysvarAccount
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountObligationFarmUserState
,
InstructionAccountInputAddress
<
TAccountObligationFarmUserState
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountReserveFarmState
,
InstructionAccountInputAddress
<
TAccountReserveFarmState
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountFarmsProgram
,
InstructionAccountInputAddress
<
TAccountFarmsProgram
>
,
>
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Coda by Ian Macalinao
Loading...