Coda by Ian Macalinao
Preparing search index...
@solana-programs/quarry
getNewRewarderV2InstructionAsync
Function getNewRewarderV2InstructionAsync
getNewRewarderV2InstructionAsync
<
TAccountBase
extends
InstructionSignerInput
,
TAccountRewarder
extends
InstructionAccountInput
,
TAccountInitialAuthority
extends
InstructionAccountInput
,
TAccountPayer
extends
InstructionSignerInput
,
TAccountSystemProgram
extends
InstructionAccountInput
,
TAccountMintWrapper
extends
InstructionAccountInput
,
TAccountRewardsTokenMint
extends
InstructionAccountInput
,
TAccountClaimFeeTokenAccount
extends
InstructionAccountInput
,
TProgramAddress
extends
Address
=
Address
<
"QMNeHCGYnLVDn1icRAfQZpjPLBNkfGbSKRB83G5d8KB"
>
,
>
(
input
:
NewRewarderV2AsyncInput
<
TAccountBase
,
TAccountRewarder
,
TAccountInitialAuthority
,
TAccountPayer
,
TAccountSystemProgram
,
TAccountMintWrapper
,
TAccountRewardsTokenMint
,
TAccountClaimFeeTokenAccount
,
>
,
config
?:
{
programAddress
?:
TProgramAddress
|
{
address
:
TProgramAddress
}
;
}
,
)
:
Promise
<
NewRewarderV2Instruction
<
TProgramAddress
,
ResolvedInstructionAccountMeta
<
TAccountBase
,
InstructionAccountInputAddress
<
TAccountBase
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountRewarder
,
InstructionAccountInputAddress
<
TAccountRewarder
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountInitialAuthority
,
InstructionAccountInputAddress
<
TAccountInitialAuthority
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountPayer
,
InstructionAccountInputAddress
<
TAccountPayer
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountSystemProgram
,
InstructionAccountInputAddress
<
TAccountSystemProgram
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountMintWrapper
,
InstructionAccountInputAddress
<
TAccountMintWrapper
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountRewardsTokenMint
,
InstructionAccountInputAddress
<
TAccountRewardsTokenMint
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountClaimFeeTokenAccount
,
InstructionAccountInputAddress
<
TAccountClaimFeeTokenAccount
>
,
>
,
[
]
,
>
,
>
Type Parameters
TAccountBase
extends
InstructionSignerInput
TAccountRewarder
extends
InstructionAccountInput
TAccountInitialAuthority
extends
InstructionAccountInput
TAccountPayer
extends
InstructionSignerInput
TAccountSystemProgram
extends
InstructionAccountInput
TAccountMintWrapper
extends
InstructionAccountInput
TAccountRewardsTokenMint
extends
InstructionAccountInput
TAccountClaimFeeTokenAccount
extends
InstructionAccountInput
TProgramAddress
extends
Address
=
Address
<
"QMNeHCGYnLVDn1icRAfQZpjPLBNkfGbSKRB83G5d8KB"
>
Parameters
input
:
NewRewarderV2AsyncInput
<
TAccountBase
,
TAccountRewarder
,
TAccountInitialAuthority
,
TAccountPayer
,
TAccountSystemProgram
,
TAccountMintWrapper
,
TAccountRewardsTokenMint
,
TAccountClaimFeeTokenAccount
,
>
Optional
config
:
{
programAddress
?:
TProgramAddress
|
{
address
:
TProgramAddress
}
}
Returns
Promise
<
NewRewarderV2Instruction
<
TProgramAddress
,
ResolvedInstructionAccountMeta
<
TAccountBase
,
InstructionAccountInputAddress
<
TAccountBase
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountRewarder
,
InstructionAccountInputAddress
<
TAccountRewarder
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountInitialAuthority
,
InstructionAccountInputAddress
<
TAccountInitialAuthority
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountPayer
,
InstructionAccountInputAddress
<
TAccountPayer
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountSystemProgram
,
InstructionAccountInputAddress
<
TAccountSystemProgram
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountMintWrapper
,
InstructionAccountInputAddress
<
TAccountMintWrapper
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountRewardsTokenMint
,
InstructionAccountInputAddress
<
TAccountRewardsTokenMint
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountClaimFeeTokenAccount
,
InstructionAccountInputAddress
<
TAccountClaimFeeTokenAccount
>
,
>
,
[
]
,
>
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Coda by Ian Macalinao
Loading...