Coda by Ian Macalinao
Preparing search index...
@solana-programs/voter-stake-registry
getUpdateMaxVoteWeightInstruction
Function getUpdateMaxVoteWeightInstruction
getUpdateMaxVoteWeightInstruction
<
TAccountRegistrar
extends
InstructionAccountInput
,
TAccountMaxVoteWeightRecord
extends
InstructionAccountInput
,
TProgramAddress
extends
Address
=
Address
<
"vsr2nfGVNHmSY8uxoBGqq8AQbwz3JwaEaHqGbsTPXqQ"
>
,
>
(
input
:
UpdateMaxVoteWeightInput
<
TAccountRegistrar
,
TAccountMaxVoteWeightRecord
,
>
,
config
?:
{
programAddress
?:
TProgramAddress
|
{
address
:
TProgramAddress
}
;
}
,
)
:
UpdateMaxVoteWeightInstruction
<
TProgramAddress
,
ResolvedInstructionAccountMeta
<
TAccountRegistrar
,
InstructionAccountInputAddress
<
TAccountRegistrar
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountMaxVoteWeightRecord
,
InstructionAccountInputAddress
<
TAccountMaxVoteWeightRecord
>
,
>
,
>
Type Parameters
TAccountRegistrar
extends
InstructionAccountInput
TAccountMaxVoteWeightRecord
extends
InstructionAccountInput
TProgramAddress
extends
Address
=
Address
<
"vsr2nfGVNHmSY8uxoBGqq8AQbwz3JwaEaHqGbsTPXqQ"
>
Parameters
input
:
UpdateMaxVoteWeightInput
<
TAccountRegistrar
,
TAccountMaxVoteWeightRecord
>
Optional
config
:
{
programAddress
?:
TProgramAddress
|
{
address
:
TProgramAddress
}
}
Returns
UpdateMaxVoteWeightInstruction
<
TProgramAddress
,
ResolvedInstructionAccountMeta
<
TAccountRegistrar
,
InstructionAccountInputAddress
<
TAccountRegistrar
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountMaxVoteWeightRecord
,
InstructionAccountInputAddress
<
TAccountMaxVoteWeightRecord
>
,
>
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Coda by Ian Macalinao
Loading...