Coda by Ian Macalinao
Preparing search index...
@solana-programs/kamino-lending
getFlashRepayReserveLiquidityInstructionAsync
Function getFlashRepayReserveLiquidityInstructionAsync
getFlashRepayReserveLiquidityInstructionAsync
<
TAccountUserTransferAuthority
extends
InstructionSignerInput
,
TAccountLendingMarketAuthority
extends
InstructionAccountInput
,
TAccountLendingMarket
extends
InstructionAccountInput
,
TAccountReserve
extends
InstructionAccountInput
,
TAccountReserveLiquidityMint
extends
InstructionAccountInput
,
TAccountReserveDestinationLiquidity
extends
InstructionAccountInput
,
TAccountUserSourceLiquidity
extends
InstructionAccountInput
,
TAccountReserveLiquidityFeeReceiver
extends
InstructionAccountInput
,
TAccountReferrerTokenState
extends
InstructionAccountInput
,
TAccountReferrerAccount
extends
InstructionAccountInput
,
TAccountSysvarInfo
extends
InstructionAccountInput
,
TAccountTokenProgram
extends
InstructionAccountInput
,
TProgramAddress
extends
Address
=
Address
<
"KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD"
>
,
>
(
input
:
FlashRepayReserveLiquidityAsyncInput
<
TAccountUserTransferAuthority
,
TAccountLendingMarketAuthority
,
TAccountLendingMarket
,
TAccountReserve
,
TAccountReserveLiquidityMint
,
TAccountReserveDestinationLiquidity
,
TAccountUserSourceLiquidity
,
TAccountReserveLiquidityFeeReceiver
,
TAccountReferrerTokenState
,
TAccountReferrerAccount
,
TAccountSysvarInfo
,
TAccountTokenProgram
,
>
,
config
?:
{
programAddress
?:
TProgramAddress
|
{
address
:
TProgramAddress
}
;
}
,
)
:
Promise
<
FlashRepayReserveLiquidityInstruction
<
TProgramAddress
,
ResolvedInstructionAccountMeta
<
TAccountUserTransferAuthority
,
InstructionAccountInputAddress
<
TAccountUserTransferAuthority
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountLendingMarketAuthority
,
InstructionAccountInputAddress
<
TAccountLendingMarketAuthority
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountLendingMarket
,
InstructionAccountInputAddress
<
TAccountLendingMarket
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountReserve
,
InstructionAccountInputAddress
<
TAccountReserve
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountReserveLiquidityMint
,
InstructionAccountInputAddress
<
TAccountReserveLiquidityMint
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountReserveDestinationLiquidity
,
InstructionAccountInputAddress
<
TAccountReserveDestinationLiquidity
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountUserSourceLiquidity
,
InstructionAccountInputAddress
<
TAccountUserSourceLiquidity
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountReserveLiquidityFeeReceiver
,
InstructionAccountInputAddress
<
TAccountReserveLiquidityFeeReceiver
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountReferrerTokenState
,
InstructionAccountInputAddress
<
TAccountReferrerTokenState
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountReferrerAccount
,
InstructionAccountInputAddress
<
TAccountReferrerAccount
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountSysvarInfo
,
InstructionAccountInputAddress
<
TAccountSysvarInfo
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountTokenProgram
,
InstructionAccountInputAddress
<
TAccountTokenProgram
>
,
>
,
[
]
,
>
,
>
Type Parameters
TAccountUserTransferAuthority
extends
InstructionSignerInput
TAccountLendingMarketAuthority
extends
InstructionAccountInput
TAccountLendingMarket
extends
InstructionAccountInput
TAccountReserve
extends
InstructionAccountInput
TAccountReserveLiquidityMint
extends
InstructionAccountInput
TAccountReserveDestinationLiquidity
extends
InstructionAccountInput
TAccountUserSourceLiquidity
extends
InstructionAccountInput
TAccountReserveLiquidityFeeReceiver
extends
InstructionAccountInput
TAccountReferrerTokenState
extends
InstructionAccountInput
TAccountReferrerAccount
extends
InstructionAccountInput
TAccountSysvarInfo
extends
InstructionAccountInput
TAccountTokenProgram
extends
InstructionAccountInput
TProgramAddress
extends
Address
=
Address
<
"KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD"
>
Parameters
input
:
FlashRepayReserveLiquidityAsyncInput
<
TAccountUserTransferAuthority
,
TAccountLendingMarketAuthority
,
TAccountLendingMarket
,
TAccountReserve
,
TAccountReserveLiquidityMint
,
TAccountReserveDestinationLiquidity
,
TAccountUserSourceLiquidity
,
TAccountReserveLiquidityFeeReceiver
,
TAccountReferrerTokenState
,
TAccountReferrerAccount
,
TAccountSysvarInfo
,
TAccountTokenProgram
,
>
Optional
config
:
{
programAddress
?:
TProgramAddress
|
{
address
:
TProgramAddress
}
}
Returns
Promise
<
FlashRepayReserveLiquidityInstruction
<
TProgramAddress
,
ResolvedInstructionAccountMeta
<
TAccountUserTransferAuthority
,
InstructionAccountInputAddress
<
TAccountUserTransferAuthority
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountLendingMarketAuthority
,
InstructionAccountInputAddress
<
TAccountLendingMarketAuthority
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountLendingMarket
,
InstructionAccountInputAddress
<
TAccountLendingMarket
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountReserve
,
InstructionAccountInputAddress
<
TAccountReserve
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountReserveLiquidityMint
,
InstructionAccountInputAddress
<
TAccountReserveLiquidityMint
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountReserveDestinationLiquidity
,
InstructionAccountInputAddress
<
TAccountReserveDestinationLiquidity
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountUserSourceLiquidity
,
InstructionAccountInputAddress
<
TAccountUserSourceLiquidity
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountReserveLiquidityFeeReceiver
,
InstructionAccountInputAddress
<
TAccountReserveLiquidityFeeReceiver
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountReferrerTokenState
,
InstructionAccountInputAddress
<
TAccountReferrerTokenState
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountReferrerAccount
,
InstructionAccountInputAddress
<
TAccountReferrerAccount
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountSysvarInfo
,
InstructionAccountInputAddress
<
TAccountSysvarInfo
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountTokenProgram
,
InstructionAccountInputAddress
<
TAccountTokenProgram
>
,
>
,
[
]
,
>
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Coda by Ian Macalinao
Loading...