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