Coda by Ian Macalinao
Preparing search index...
@solana-programs/kamino-lending
getLiquidateObligationAndRedeemReserveCollateralInstruction
Function getLiquidateObligationAndRedeemReserveCollateralInstruction
getLiquidateObligationAndRedeemReserveCollateralInstruction
<
TAccountLiquidator
extends
InstructionSignerInput
,
TAccountObligation
extends
InstructionAccountInput
,
TAccountLendingMarket
extends
InstructionAccountInput
,
TAccountLendingMarketAuthority
extends
InstructionAccountInput
,
TAccountRepayReserve
extends
InstructionAccountInput
,
TAccountRepayReserveLiquidityMint
extends
InstructionAccountInput
,
TAccountRepayReserveLiquiditySupply
extends
InstructionAccountInput
,
TAccountWithdrawReserve
extends
InstructionAccountInput
,
TAccountWithdrawReserveLiquidityMint
extends
InstructionAccountInput
,
TAccountWithdrawReserveCollateralMint
extends
InstructionAccountInput
,
TAccountWithdrawReserveCollateralSupply
extends
InstructionAccountInput
,
TAccountWithdrawReserveLiquiditySupply
extends
InstructionAccountInput
,
TAccountWithdrawReserveLiquidityFeeReceiver
extends
InstructionAccountInput
,
TAccountUserSourceLiquidity
extends
InstructionAccountInput
,
TAccountUserDestinationCollateral
extends
InstructionAccountInput
,
TAccountUserDestinationLiquidity
extends
InstructionAccountInput
,
TAccountCollateralTokenProgram
extends
InstructionAccountInput
,
TAccountRepayLiquidityTokenProgram
extends
InstructionAccountInput
,
TAccountWithdrawLiquidityTokenProgram
extends
InstructionAccountInput
,
TAccountInstructionSysvarAccount
extends
InstructionAccountInput
,
TProgramAddress
extends
Address
=
Address
<
"KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD"
>
,
>
(
input
:
LiquidateObligationAndRedeemReserveCollateralInput
<
TAccountLiquidator
,
TAccountObligation
,
TAccountLendingMarket
,
TAccountLendingMarketAuthority
,
TAccountRepayReserve
,
TAccountRepayReserveLiquidityMint
,
TAccountRepayReserveLiquiditySupply
,
TAccountWithdrawReserve
,
TAccountWithdrawReserveLiquidityMint
,
TAccountWithdrawReserveCollateralMint
,
TAccountWithdrawReserveCollateralSupply
,
TAccountWithdrawReserveLiquiditySupply
,
TAccountWithdrawReserveLiquidityFeeReceiver
,
TAccountUserSourceLiquidity
,
TAccountUserDestinationCollateral
,
TAccountUserDestinationLiquidity
,
TAccountCollateralTokenProgram
,
TAccountRepayLiquidityTokenProgram
,
TAccountWithdrawLiquidityTokenProgram
,
TAccountInstructionSysvarAccount
,
>
,
config
?:
{
programAddress
?:
TProgramAddress
|
{
address
:
TProgramAddress
}
;
}
,
)
:
LiquidateObligationAndRedeemReserveCollateralInstruction
<
TProgramAddress
,
ResolvedInstructionAccountMeta
<
TAccountLiquidator
,
InstructionAccountInputAddress
<
TAccountLiquidator
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountObligation
,
InstructionAccountInputAddress
<
TAccountObligation
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountLendingMarket
,
InstructionAccountInputAddress
<
TAccountLendingMarket
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountLendingMarketAuthority
,
InstructionAccountInputAddress
<
TAccountLendingMarketAuthority
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountRepayReserve
,
InstructionAccountInputAddress
<
TAccountRepayReserve
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountRepayReserveLiquidityMint
,
InstructionAccountInputAddress
<
TAccountRepayReserveLiquidityMint
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountRepayReserveLiquiditySupply
,
InstructionAccountInputAddress
<
TAccountRepayReserveLiquiditySupply
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountWithdrawReserve
,
InstructionAccountInputAddress
<
TAccountWithdrawReserve
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountWithdrawReserveLiquidityMint
,
InstructionAccountInputAddress
<
TAccountWithdrawReserveLiquidityMint
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountWithdrawReserveCollateralMint
,
InstructionAccountInputAddress
<
TAccountWithdrawReserveCollateralMint
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountWithdrawReserveCollateralSupply
,
InstructionAccountInputAddress
<
TAccountWithdrawReserveCollateralSupply
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountWithdrawReserveLiquiditySupply
,
InstructionAccountInputAddress
<
TAccountWithdrawReserveLiquiditySupply
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountWithdrawReserveLiquidityFeeReceiver
,
InstructionAccountInputAddress
<
TAccountWithdrawReserveLiquidityFeeReceiver
,
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountUserSourceLiquidity
,
InstructionAccountInputAddress
<
TAccountUserSourceLiquidity
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountUserDestinationCollateral
,
InstructionAccountInputAddress
<
TAccountUserDestinationCollateral
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountUserDestinationLiquidity
,
InstructionAccountInputAddress
<
TAccountUserDestinationLiquidity
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountCollateralTokenProgram
,
InstructionAccountInputAddress
<
TAccountCollateralTokenProgram
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountRepayLiquidityTokenProgram
,
InstructionAccountInputAddress
<
TAccountRepayLiquidityTokenProgram
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountWithdrawLiquidityTokenProgram
,
InstructionAccountInputAddress
<
TAccountWithdrawLiquidityTokenProgram
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountInstructionSysvarAccount
,
InstructionAccountInputAddress
<
TAccountInstructionSysvarAccount
>
,
>
,
>
Type Parameters
TAccountLiquidator
extends
InstructionSignerInput
TAccountObligation
extends
InstructionAccountInput
TAccountLendingMarket
extends
InstructionAccountInput
TAccountLendingMarketAuthority
extends
InstructionAccountInput
TAccountRepayReserve
extends
InstructionAccountInput
TAccountRepayReserveLiquidityMint
extends
InstructionAccountInput
TAccountRepayReserveLiquiditySupply
extends
InstructionAccountInput
TAccountWithdrawReserve
extends
InstructionAccountInput
TAccountWithdrawReserveLiquidityMint
extends
InstructionAccountInput
TAccountWithdrawReserveCollateralMint
extends
InstructionAccountInput
TAccountWithdrawReserveCollateralSupply
extends
InstructionAccountInput
TAccountWithdrawReserveLiquiditySupply
extends
InstructionAccountInput
TAccountWithdrawReserveLiquidityFeeReceiver
extends
InstructionAccountInput
TAccountUserSourceLiquidity
extends
InstructionAccountInput
TAccountUserDestinationCollateral
extends
InstructionAccountInput
TAccountUserDestinationLiquidity
extends
InstructionAccountInput
TAccountCollateralTokenProgram
extends
InstructionAccountInput
TAccountRepayLiquidityTokenProgram
extends
InstructionAccountInput
TAccountWithdrawLiquidityTokenProgram
extends
InstructionAccountInput
TAccountInstructionSysvarAccount
extends
InstructionAccountInput
TProgramAddress
extends
Address
=
Address
<
"KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD"
>
Parameters
input
:
LiquidateObligationAndRedeemReserveCollateralInput
<
TAccountLiquidator
,
TAccountObligation
,
TAccountLendingMarket
,
TAccountLendingMarketAuthority
,
TAccountRepayReserve
,
TAccountRepayReserveLiquidityMint
,
TAccountRepayReserveLiquiditySupply
,
TAccountWithdrawReserve
,
TAccountWithdrawReserveLiquidityMint
,
TAccountWithdrawReserveCollateralMint
,
TAccountWithdrawReserveCollateralSupply
,
TAccountWithdrawReserveLiquiditySupply
,
TAccountWithdrawReserveLiquidityFeeReceiver
,
TAccountUserSourceLiquidity
,
TAccountUserDestinationCollateral
,
TAccountUserDestinationLiquidity
,
TAccountCollateralTokenProgram
,
TAccountRepayLiquidityTokenProgram
,
TAccountWithdrawLiquidityTokenProgram
,
TAccountInstructionSysvarAccount
,
>
Optional
config
:
{
programAddress
?:
TProgramAddress
|
{
address
:
TProgramAddress
}
}
Returns
LiquidateObligationAndRedeemReserveCollateralInstruction
<
TProgramAddress
,
ResolvedInstructionAccountMeta
<
TAccountLiquidator
,
InstructionAccountInputAddress
<
TAccountLiquidator
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountObligation
,
InstructionAccountInputAddress
<
TAccountObligation
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountLendingMarket
,
InstructionAccountInputAddress
<
TAccountLendingMarket
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountLendingMarketAuthority
,
InstructionAccountInputAddress
<
TAccountLendingMarketAuthority
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountRepayReserve
,
InstructionAccountInputAddress
<
TAccountRepayReserve
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountRepayReserveLiquidityMint
,
InstructionAccountInputAddress
<
TAccountRepayReserveLiquidityMint
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountRepayReserveLiquiditySupply
,
InstructionAccountInputAddress
<
TAccountRepayReserveLiquiditySupply
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountWithdrawReserve
,
InstructionAccountInputAddress
<
TAccountWithdrawReserve
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountWithdrawReserveLiquidityMint
,
InstructionAccountInputAddress
<
TAccountWithdrawReserveLiquidityMint
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountWithdrawReserveCollateralMint
,
InstructionAccountInputAddress
<
TAccountWithdrawReserveCollateralMint
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountWithdrawReserveCollateralSupply
,
InstructionAccountInputAddress
<
TAccountWithdrawReserveCollateralSupply
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountWithdrawReserveLiquiditySupply
,
InstructionAccountInputAddress
<
TAccountWithdrawReserveLiquiditySupply
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountWithdrawReserveLiquidityFeeReceiver
,
InstructionAccountInputAddress
<
TAccountWithdrawReserveLiquidityFeeReceiver
,
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountUserSourceLiquidity
,
InstructionAccountInputAddress
<
TAccountUserSourceLiquidity
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountUserDestinationCollateral
,
InstructionAccountInputAddress
<
TAccountUserDestinationCollateral
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountUserDestinationLiquidity
,
InstructionAccountInputAddress
<
TAccountUserDestinationLiquidity
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountCollateralTokenProgram
,
InstructionAccountInputAddress
<
TAccountCollateralTokenProgram
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountRepayLiquidityTokenProgram
,
InstructionAccountInputAddress
<
TAccountRepayLiquidityTokenProgram
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountWithdrawLiquidityTokenProgram
,
InstructionAccountInputAddress
<
TAccountWithdrawLiquidityTokenProgram
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountInstructionSysvarAccount
,
InstructionAccountInputAddress
<
TAccountInstructionSysvarAccount
>
,
>
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Coda by Ian Macalinao
Loading...