Coda by Ian Macalinao
Preparing search index...
@macalinao/clients-tribeca
SetVoteInstruction
Type Alias SetVoteInstruction<TProgram, TAccountGovernor, TAccountProposal, TAccountVote, TAccountElectorate, TRemainingAccounts>
SetVoteInstruction
:
Instruction
<
TProgram
>
&
InstructionWithData
<
ReadonlyUint8Array
,
>
&
InstructionWithAccounts
<
[
TAccountGovernor
extends
string
?
ReadonlyAccount
<
TAccountGovernor
>
:
TAccountGovernor
,
TAccountProposal
extends
string
?
WritableAccount
<
TAccountProposal
>
:
TAccountProposal
,
TAccountVote
extends
string
?
WritableAccount
<
TAccountVote
>
:
TAccountVote
,
TAccountElectorate
extends
string
?
ReadonlySignerAccount
<
TAccountElectorate
>
&
AccountSignerMeta
<
TAccountElectorate
,
>
:
TAccountElectorate
,
...
TRemainingAccounts
,
]
,
>
Type Parameters
TProgram
extends
string
=
typeof
GOVERN_PROGRAM_ADDRESS
TAccountGovernor
extends
string
|
AccountMeta
=
string
TAccountProposal
extends
string
|
AccountMeta
=
string
TAccountVote
extends
string
|
AccountMeta
=
string
TAccountElectorate
extends
string
|
AccountMeta
=
string
TRemainingAccounts
extends
readonly
AccountMeta
[]
=
[
]
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Coda by Ian Macalinao
Loading...