Coda by Ian Macalinao
Preparing search index...
@solana-programs/quarry
getNewRewarderInstructionAsync
Function getNewRewarderInstructionAsync
getNewRewarderInstructionAsync
<
TAccountBase
extends
InstructionSignerInput
,
TAccountRewarder
extends
InstructionAccountInput
,
TAccountInitialAuthority
extends
InstructionAccountInput
,
TAccountPayer
extends
InstructionSignerInput
,
TAccountSystemProgram
extends
InstructionAccountInput
,
TAccountUnusedAccount
extends
InstructionAccountInput
,
TAccountMintWrapper
extends
InstructionAccountInput
,
TAccountRewardsTokenMint
extends
InstructionAccountInput
,
TAccountClaimFeeTokenAccount
extends
InstructionAccountInput
,
TProgramAddress
extends
Address
=
Address
<
"QMNeHCGYnLVDn1icRAfQZpjPLBNkfGbSKRB83G5d8KB"
>
,
>
(
input
:
NewRewarderAsyncInput
<
TAccountBase
,
TAccountRewarder
,
TAccountInitialAuthority
,
TAccountPayer
,
TAccountSystemProgram
,
TAccountUnusedAccount
,
TAccountMintWrapper
,
TAccountRewardsTokenMint
,
TAccountClaimFeeTokenAccount
,
>
,
config
?:
{
programAddress
?:
TProgramAddress
|
{
address
:
TProgramAddress
}
;
}
,
)
:
Promise
<
NewRewarderInstruction
<
TProgramAddress
,
ResolvedInstructionAccountMeta
<
TAccountBase
,
InstructionAccountInputAddress
<
TAccountBase
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountRewarder
,
InstructionAccountInputAddress
<
TAccountRewarder
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountInitialAuthority
,
InstructionAccountInputAddress
<
TAccountInitialAuthority
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountPayer
,
InstructionAccountInputAddress
<
TAccountPayer
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountSystemProgram
,
InstructionAccountInputAddress
<
TAccountSystemProgram
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountUnusedAccount
,
InstructionAccountInputAddress
<
TAccountUnusedAccount
>
,
>
,
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
TAccountUnusedAccount
extends
InstructionAccountInput
TAccountMintWrapper
extends
InstructionAccountInput
TAccountRewardsTokenMint
extends
InstructionAccountInput
TAccountClaimFeeTokenAccount
extends
InstructionAccountInput
TProgramAddress
extends
Address
=
Address
<
"QMNeHCGYnLVDn1icRAfQZpjPLBNkfGbSKRB83G5d8KB"
>
Parameters
input
:
NewRewarderAsyncInput
<
TAccountBase
,
TAccountRewarder
,
TAccountInitialAuthority
,
TAccountPayer
,
TAccountSystemProgram
,
TAccountUnusedAccount
,
TAccountMintWrapper
,
TAccountRewardsTokenMint
,
TAccountClaimFeeTokenAccount
,
>
Optional
config
:
{
programAddress
?:
TProgramAddress
|
{
address
:
TProgramAddress
}
}
Returns
Promise
<
NewRewarderInstruction
<
TProgramAddress
,
ResolvedInstructionAccountMeta
<
TAccountBase
,
InstructionAccountInputAddress
<
TAccountBase
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountRewarder
,
InstructionAccountInputAddress
<
TAccountRewarder
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountInitialAuthority
,
InstructionAccountInputAddress
<
TAccountInitialAuthority
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountPayer
,
InstructionAccountInputAddress
<
TAccountPayer
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountSystemProgram
,
InstructionAccountInputAddress
<
TAccountSystemProgram
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountUnusedAccount
,
InstructionAccountInputAddress
<
TAccountUnusedAccount
>
,
>
,
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...