Coda by Ian Macalinao
Preparing search index...
@macalinao/clients-spl-governance
CreateGovernanceInstruction
Type Alias CreateGovernanceInstruction<TProgram, TAccountRealmAccount, TAccountGovernanceAccount, TAccountGovernedAccount, TAccountGoverningTokenOwnerRecord, TAccountPayer, TAccountSystemProgram, TAccountGovernanceAuthority, TAccountRealmConfigAccount, TAccountVoterWeightRecord, TRemainingAccounts>
CreateGovernanceInstruction
:
Instruction
<
TProgram
>
&
InstructionWithData
<
ReadonlyUint8Array
,
>
&
InstructionWithAccounts
<
[
TAccountRealmAccount
extends
string
?
ReadonlyAccount
<
TAccountRealmAccount
>
:
TAccountRealmAccount
,
TAccountGovernanceAccount
extends
string
?
WritableAccount
<
TAccountGovernanceAccount
>
:
TAccountGovernanceAccount
,
TAccountGovernedAccount
extends
string
?
ReadonlyAccount
<
TAccountGovernedAccount
>
:
TAccountGovernedAccount
,
TAccountGoverningTokenOwnerRecord
extends
string
?
ReadonlyAccount
<
TAccountGoverningTokenOwnerRecord
>
:
TAccountGoverningTokenOwnerRecord
,
TAccountPayer
extends
string
?
ReadonlySignerAccount
<
TAccountPayer
>
&
AccountSignerMeta
<
TAccountPayer
,
>
:
TAccountPayer
,
TAccountSystemProgram
extends
string
?
ReadonlyAccount
<
TAccountSystemProgram
>
:
TAccountSystemProgram
,
TAccountGovernanceAuthority
extends
string
?
ReadonlySignerAccount
<
TAccountGovernanceAuthority
>
&
AccountSignerMeta
<
TAccountGovernanceAuthority
,
>
:
TAccountGovernanceAuthority
,
TAccountRealmConfigAccount
extends
string
?
ReadonlyAccount
<
TAccountRealmConfigAccount
>
:
TAccountRealmConfigAccount
,
TAccountVoterWeightRecord
extends
string
?
ReadonlyAccount
<
TAccountVoterWeightRecord
>
:
TAccountVoterWeightRecord
,
...
TRemainingAccounts
,
]
,
>
Type Parameters
TProgram
extends
string
=
typeof
SPL_GOVERNANCE_PROGRAM_ADDRESS
TAccountRealmAccount
extends
string
|
AccountMeta
=
string
TAccountGovernanceAccount
extends
string
|
AccountMeta
=
string
TAccountGovernedAccount
extends
string
|
AccountMeta
=
string
TAccountGoverningTokenOwnerRecord
extends
string
|
AccountMeta
=
string
TAccountPayer
extends
string
|
AccountMeta
=
string
TAccountSystemProgram
extends
string
|
AccountMeta
=
"11111111111111111111111111111111"
TAccountGovernanceAuthority
extends
string
|
AccountMeta
=
string
TAccountRealmConfigAccount
extends
string
|
AccountMeta
=
string
TAccountVoterWeightRecord
extends
string
|
AccountMeta
=
string
TRemainingAccounts
extends
readonly
AccountMeta
[]
=
[
]
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Coda by Ian Macalinao
Loading...