Coda by Ian Macalinao
Preparing search index...
@solana-programs/meteora-damm-v2
getWithdrawIneligibleRewardInstructionAsync
Function getWithdrawIneligibleRewardInstructionAsync
getWithdrawIneligibleRewardInstructionAsync
<
TAccountPoolAuthority
extends
InstructionAccountInput
,
TAccountPool
extends
InstructionAccountInput
,
TAccountRewardVault
extends
InstructionAccountInput
,
TAccountRewardMint
extends
InstructionAccountInput
,
TAccountFunderTokenAccount
extends
InstructionAccountInput
,
TAccountFunder
extends
InstructionSignerInput
,
TAccountTokenProgram
extends
InstructionAccountInput
,
TAccountEventAuthority
extends
InstructionAccountInput
,
TAccountProgram
extends
InstructionAccountInput
,
TProgramAddress
extends
Address
=
Address
<
"cpamdpZCGKUy5JxQXB4dcpGPiikHawvSWAd6mEn1sGG"
>
,
>
(
input
:
WithdrawIneligibleRewardAsyncInput
<
TAccountPoolAuthority
,
TAccountPool
,
TAccountRewardVault
,
TAccountRewardMint
,
TAccountFunderTokenAccount
,
TAccountFunder
,
TAccountTokenProgram
,
TAccountEventAuthority
,
TAccountProgram
,
>
,
config
?:
{
programAddress
?:
TProgramAddress
|
{
address
:
TProgramAddress
}
;
}
,
)
:
Promise
<
WithdrawIneligibleRewardInstruction
<
TProgramAddress
,
ResolvedInstructionAccountMeta
<
TAccountPoolAuthority
,
InstructionAccountInputAddress
<
TAccountPoolAuthority
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountPool
,
InstructionAccountInputAddress
<
TAccountPool
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountRewardVault
,
InstructionAccountInputAddress
<
TAccountRewardVault
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountRewardMint
,
InstructionAccountInputAddress
<
TAccountRewardMint
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountFunderTokenAccount
,
InstructionAccountInputAddress
<
TAccountFunderTokenAccount
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountFunder
,
InstructionAccountInputAddress
<
TAccountFunder
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountTokenProgram
,
InstructionAccountInputAddress
<
TAccountTokenProgram
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountEventAuthority
,
InstructionAccountInputAddress
<
TAccountEventAuthority
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountProgram
,
InstructionAccountInputAddress
<
TAccountProgram
>
,
>
,
[
]
,
>
,
>
Type Parameters
TAccountPoolAuthority
extends
InstructionAccountInput
TAccountPool
extends
InstructionAccountInput
TAccountRewardVault
extends
InstructionAccountInput
TAccountRewardMint
extends
InstructionAccountInput
TAccountFunderTokenAccount
extends
InstructionAccountInput
TAccountFunder
extends
InstructionSignerInput
TAccountTokenProgram
extends
InstructionAccountInput
TAccountEventAuthority
extends
InstructionAccountInput
TAccountProgram
extends
InstructionAccountInput
TProgramAddress
extends
Address
=
Address
<
"cpamdpZCGKUy5JxQXB4dcpGPiikHawvSWAd6mEn1sGG"
>
Parameters
input
:
WithdrawIneligibleRewardAsyncInput
<
TAccountPoolAuthority
,
TAccountPool
,
TAccountRewardVault
,
TAccountRewardMint
,
TAccountFunderTokenAccount
,
TAccountFunder
,
TAccountTokenProgram
,
TAccountEventAuthority
,
TAccountProgram
,
>
Optional
config
:
{
programAddress
?:
TProgramAddress
|
{
address
:
TProgramAddress
}
}
Returns
Promise
<
WithdrawIneligibleRewardInstruction
<
TProgramAddress
,
ResolvedInstructionAccountMeta
<
TAccountPoolAuthority
,
InstructionAccountInputAddress
<
TAccountPoolAuthority
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountPool
,
InstructionAccountInputAddress
<
TAccountPool
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountRewardVault
,
InstructionAccountInputAddress
<
TAccountRewardVault
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountRewardMint
,
InstructionAccountInputAddress
<
TAccountRewardMint
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountFunderTokenAccount
,
InstructionAccountInputAddress
<
TAccountFunderTokenAccount
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountFunder
,
InstructionAccountInputAddress
<
TAccountFunder
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountTokenProgram
,
InstructionAccountInputAddress
<
TAccountTokenProgram
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountEventAuthority
,
InstructionAccountInputAddress
<
TAccountEventAuthority
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountProgram
,
InstructionAccountInputAddress
<
TAccountProgram
>
,
>
,
[
]
,
>
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Coda by Ian Macalinao
Loading...