Coda by Ian Macalinao
Preparing search index...
@macalinao/clients-kamino-lending
getDepositReserveLiquidityAndObligationCollateralV2Instruction
Function getDepositReserveLiquidityAndObligationCollateralV2Instruction
getDepositReserveLiquidityAndObligationCollateralV2Instruction
<
TAccountOwner
extends
string
,
TAccountObligation
extends
string
,
TAccountLendingMarket
extends
string
,
TAccountLendingMarketAuthority
extends
string
,
TAccountReserve
extends
string
,
TAccountReserveLiquidityMint
extends
string
,
TAccountReserveLiquiditySupply
extends
string
,
TAccountReserveCollateralMint
extends
string
,
TAccountReserveDestinationDepositCollateral
extends
string
,
TAccountUserSourceLiquidity
extends
string
,
TAccountPlaceholderUserDestinationCollateral
extends
string
,
TAccountCollateralTokenProgram
extends
string
,
TAccountLiquidityTokenProgram
extends
string
,
TAccountInstructionSysvarAccount
extends
string
,
TAccountObligationFarmUserState
extends
string
,
TAccountReserveFarmState
extends
string
,
TAccountFarmsProgram
extends
string
,
TProgramAddress
extends
Address
=
Address
<
"KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD"
>
,
>
(
input
:
DepositReserveLiquidityAndObligationCollateralV2Input
<
TAccountOwner
,
TAccountObligation
,
TAccountLendingMarket
,
TAccountLendingMarketAuthority
,
TAccountReserve
,
TAccountReserveLiquidityMint
,
TAccountReserveLiquiditySupply
,
TAccountReserveCollateralMint
,
TAccountReserveDestinationDepositCollateral
,
TAccountUserSourceLiquidity
,
TAccountPlaceholderUserDestinationCollateral
,
TAccountCollateralTokenProgram
,
TAccountLiquidityTokenProgram
,
TAccountInstructionSysvarAccount
,
TAccountObligationFarmUserState
,
TAccountReserveFarmState
,
TAccountFarmsProgram
,
>
,
config
?:
{
programAddress
?:
TProgramAddress
}
,
)
:
DepositReserveLiquidityAndObligationCollateralV2Instruction
<
TProgramAddress
,
TAccountOwner
,
TAccountObligation
,
TAccountLendingMarket
,
TAccountLendingMarketAuthority
,
TAccountReserve
,
TAccountReserveLiquidityMint
,
TAccountReserveLiquiditySupply
,
TAccountReserveCollateralMint
,
TAccountReserveDestinationDepositCollateral
,
TAccountUserSourceLiquidity
,
TAccountPlaceholderUserDestinationCollateral
,
TAccountCollateralTokenProgram
,
TAccountLiquidityTokenProgram
,
TAccountInstructionSysvarAccount
,
TAccountObligationFarmUserState
,
TAccountReserveFarmState
,
TAccountFarmsProgram
,
>
Type Parameters
TAccountOwner
extends
string
TAccountObligation
extends
string
TAccountLendingMarket
extends
string
TAccountLendingMarketAuthority
extends
string
TAccountReserve
extends
string
TAccountReserveLiquidityMint
extends
string
TAccountReserveLiquiditySupply
extends
string
TAccountReserveCollateralMint
extends
string
TAccountReserveDestinationDepositCollateral
extends
string
TAccountUserSourceLiquidity
extends
string
TAccountPlaceholderUserDestinationCollateral
extends
string
TAccountCollateralTokenProgram
extends
string
TAccountLiquidityTokenProgram
extends
string
TAccountInstructionSysvarAccount
extends
string
TAccountObligationFarmUserState
extends
string
TAccountReserveFarmState
extends
string
TAccountFarmsProgram
extends
string
TProgramAddress
extends
Address
=
Address
<
"KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD"
>
Parameters
input
:
DepositReserveLiquidityAndObligationCollateralV2Input
<
TAccountOwner
,
TAccountObligation
,
TAccountLendingMarket
,
TAccountLendingMarketAuthority
,
TAccountReserve
,
TAccountReserveLiquidityMint
,
TAccountReserveLiquiditySupply
,
TAccountReserveCollateralMint
,
TAccountReserveDestinationDepositCollateral
,
TAccountUserSourceLiquidity
,
TAccountPlaceholderUserDestinationCollateral
,
TAccountCollateralTokenProgram
,
TAccountLiquidityTokenProgram
,
TAccountInstructionSysvarAccount
,
TAccountObligationFarmUserState
,
TAccountReserveFarmState
,
TAccountFarmsProgram
,
>
Optional
config
:
{
programAddress
?:
TProgramAddress
}
Returns
DepositReserveLiquidityAndObligationCollateralV2Instruction
<
TProgramAddress
,
TAccountOwner
,
TAccountObligation
,
TAccountLendingMarket
,
TAccountLendingMarketAuthority
,
TAccountReserve
,
TAccountReserveLiquidityMint
,
TAccountReserveLiquiditySupply
,
TAccountReserveCollateralMint
,
TAccountReserveDestinationDepositCollateral
,
TAccountUserSourceLiquidity
,
TAccountPlaceholderUserDestinationCollateral
,
TAccountCollateralTokenProgram
,
TAccountLiquidityTokenProgram
,
TAccountInstructionSysvarAccount
,
TAccountObligationFarmUserState
,
TAccountReserveFarmState
,
TAccountFarmsProgram
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Coda by Ian Macalinao
Loading...