Coda by Ian Macalinao
Preparing search index...
@solana-programs/kamino-lending
getBorrowObligationLiquidityInstruction
Function getBorrowObligationLiquidityInstruction
getBorrowObligationLiquidityInstruction
<
TAccountOwner
extends
InstructionSignerInput
,
TAccountObligation
extends
InstructionAccountInput
,
TAccountLendingMarket
extends
InstructionAccountInput
,
TAccountLendingMarketAuthority
extends
InstructionAccountInput
,
TAccountBorrowReserve
extends
InstructionAccountInput
,
TAccountBorrowReserveLiquidityMint
extends
InstructionAccountInput
,
TAccountReserveSourceLiquidity
extends
InstructionAccountInput
,
TAccountBorrowReserveLiquidityFeeReceiver
extends
InstructionAccountInput
,
TAccountUserDestinationLiquidity
extends
InstructionAccountInput
,
TAccountReferrerTokenState
extends
InstructionAccountInput
,
TAccountTokenProgram
extends
InstructionAccountInput
,
TAccountInstructionSysvarAccount
extends
InstructionAccountInput
,
TProgramAddress
extends
Address
=
Address
<
"KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD"
>
,
>
(
input
:
BorrowObligationLiquidityInput
<
TAccountOwner
,
TAccountObligation
,
TAccountLendingMarket
,
TAccountLendingMarketAuthority
,
TAccountBorrowReserve
,
TAccountBorrowReserveLiquidityMint
,
TAccountReserveSourceLiquidity
,
TAccountBorrowReserveLiquidityFeeReceiver
,
TAccountUserDestinationLiquidity
,
TAccountReferrerTokenState
,
TAccountTokenProgram
,
TAccountInstructionSysvarAccount
,
>
,
config
?:
{
programAddress
?:
TProgramAddress
|
{
address
:
TProgramAddress
}
;
}
,
)
:
BorrowObligationLiquidityInstruction
<
TProgramAddress
,
ResolvedInstructionAccountMeta
<
TAccountOwner
,
InstructionAccountInputAddress
<
TAccountOwner
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountObligation
,
InstructionAccountInputAddress
<
TAccountObligation
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountLendingMarket
,
InstructionAccountInputAddress
<
TAccountLendingMarket
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountLendingMarketAuthority
,
InstructionAccountInputAddress
<
TAccountLendingMarketAuthority
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountBorrowReserve
,
InstructionAccountInputAddress
<
TAccountBorrowReserve
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountBorrowReserveLiquidityMint
,
InstructionAccountInputAddress
<
TAccountBorrowReserveLiquidityMint
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountReserveSourceLiquidity
,
InstructionAccountInputAddress
<
TAccountReserveSourceLiquidity
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountBorrowReserveLiquidityFeeReceiver
,
InstructionAccountInputAddress
<
TAccountBorrowReserveLiquidityFeeReceiver
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountUserDestinationLiquidity
,
InstructionAccountInputAddress
<
TAccountUserDestinationLiquidity
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountReferrerTokenState
,
InstructionAccountInputAddress
<
TAccountReferrerTokenState
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountTokenProgram
,
InstructionAccountInputAddress
<
TAccountTokenProgram
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountInstructionSysvarAccount
,
InstructionAccountInputAddress
<
TAccountInstructionSysvarAccount
>
,
>
,
>
Type Parameters
TAccountOwner
extends
InstructionSignerInput
TAccountObligation
extends
InstructionAccountInput
TAccountLendingMarket
extends
InstructionAccountInput
TAccountLendingMarketAuthority
extends
InstructionAccountInput
TAccountBorrowReserve
extends
InstructionAccountInput
TAccountBorrowReserveLiquidityMint
extends
InstructionAccountInput
TAccountReserveSourceLiquidity
extends
InstructionAccountInput
TAccountBorrowReserveLiquidityFeeReceiver
extends
InstructionAccountInput
TAccountUserDestinationLiquidity
extends
InstructionAccountInput
TAccountReferrerTokenState
extends
InstructionAccountInput
TAccountTokenProgram
extends
InstructionAccountInput
TAccountInstructionSysvarAccount
extends
InstructionAccountInput
TProgramAddress
extends
Address
=
Address
<
"KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD"
>
Parameters
input
:
BorrowObligationLiquidityInput
<
TAccountOwner
,
TAccountObligation
,
TAccountLendingMarket
,
TAccountLendingMarketAuthority
,
TAccountBorrowReserve
,
TAccountBorrowReserveLiquidityMint
,
TAccountReserveSourceLiquidity
,
TAccountBorrowReserveLiquidityFeeReceiver
,
TAccountUserDestinationLiquidity
,
TAccountReferrerTokenState
,
TAccountTokenProgram
,
TAccountInstructionSysvarAccount
,
>
Optional
config
:
{
programAddress
?:
TProgramAddress
|
{
address
:
TProgramAddress
}
}
Returns
BorrowObligationLiquidityInstruction
<
TProgramAddress
,
ResolvedInstructionAccountMeta
<
TAccountOwner
,
InstructionAccountInputAddress
<
TAccountOwner
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountObligation
,
InstructionAccountInputAddress
<
TAccountObligation
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountLendingMarket
,
InstructionAccountInputAddress
<
TAccountLendingMarket
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountLendingMarketAuthority
,
InstructionAccountInputAddress
<
TAccountLendingMarketAuthority
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountBorrowReserve
,
InstructionAccountInputAddress
<
TAccountBorrowReserve
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountBorrowReserveLiquidityMint
,
InstructionAccountInputAddress
<
TAccountBorrowReserveLiquidityMint
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountReserveSourceLiquidity
,
InstructionAccountInputAddress
<
TAccountReserveSourceLiquidity
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountBorrowReserveLiquidityFeeReceiver
,
InstructionAccountInputAddress
<
TAccountBorrowReserveLiquidityFeeReceiver
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountUserDestinationLiquidity
,
InstructionAccountInputAddress
<
TAccountUserDestinationLiquidity
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountReferrerTokenState
,
InstructionAccountInputAddress
<
TAccountReferrerTokenState
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountTokenProgram
,
InstructionAccountInputAddress
<
TAccountTokenProgram
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountInstructionSysvarAccount
,
InstructionAccountInputAddress
<
TAccountInstructionSysvarAccount
>
,
>
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Coda by Ian Macalinao
Loading...