Coda by Ian Macalinao
Preparing search index...
@solana-programs/spl-governance
getSetRealmConfigInstruction
Function getSetRealmConfigInstruction
getSetRealmConfigInstruction
<
TAccountRealmAccount
extends
InstructionAccountInput
,
TAccountRealmAuthority
extends
InstructionSignerInput
,
TAccountCouncilTokenMint
extends
InstructionAccountInput
,
TAccountCouncilTokenHoldingAccount
extends
InstructionAccountInput
,
TAccountSystemProgram
extends
InstructionAccountInput
,
TAccountRealmConfig
extends
InstructionAccountInput
,
TAccountCommunityVoterWeightAddinProgramId
extends
InstructionAccountInput
,
TAccountMaxCommunityVoterWeightAddinProgramId
extends
InstructionAccountInput
,
TAccountCouncilVoterWeightAddinProgramId
extends
InstructionAccountInput
,
TAccountMaxCouncilVoterWeightAddinProgramId
extends
InstructionAccountInput
,
TAccountPayer
extends
InstructionSignerInput
,
TProgramAddress
extends
Address
=
Address
<
"GovER5Lthms3bLBqWub97yVrMmEogzX7xNjdXpPPCVZw"
>
,
>
(
input
:
SetRealmConfigInput
<
TAccountRealmAccount
,
TAccountRealmAuthority
,
TAccountCouncilTokenMint
,
TAccountCouncilTokenHoldingAccount
,
TAccountSystemProgram
,
TAccountRealmConfig
,
TAccountCommunityVoterWeightAddinProgramId
,
TAccountMaxCommunityVoterWeightAddinProgramId
,
TAccountCouncilVoterWeightAddinProgramId
,
TAccountMaxCouncilVoterWeightAddinProgramId
,
TAccountPayer
,
>
,
config
?:
{
programAddress
?:
TProgramAddress
|
{
address
:
TProgramAddress
}
;
}
,
)
:
SetRealmConfigInstruction
<
TProgramAddress
,
ResolvedInstructionAccountMeta
<
TAccountRealmAccount
,
InstructionAccountInputAddress
<
TAccountRealmAccount
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountRealmAuthority
,
InstructionAccountInputAddress
<
TAccountRealmAuthority
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountCouncilTokenMint
,
InstructionAccountInputAddress
<
TAccountCouncilTokenMint
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountCouncilTokenHoldingAccount
,
InstructionAccountInputAddress
<
TAccountCouncilTokenHoldingAccount
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountSystemProgram
,
InstructionAccountInputAddress
<
TAccountSystemProgram
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountRealmConfig
,
InstructionAccountInputAddress
<
TAccountRealmConfig
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountCommunityVoterWeightAddinProgramId
,
InstructionAccountInputAddress
<
TAccountCommunityVoterWeightAddinProgramId
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountMaxCommunityVoterWeightAddinProgramId
,
InstructionAccountInputAddress
<
TAccountMaxCommunityVoterWeightAddinProgramId
,
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountCouncilVoterWeightAddinProgramId
,
InstructionAccountInputAddress
<
TAccountCouncilVoterWeightAddinProgramId
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountMaxCouncilVoterWeightAddinProgramId
,
InstructionAccountInputAddress
<
TAccountMaxCouncilVoterWeightAddinProgramId
,
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountPayer
,
InstructionAccountInputAddress
<
TAccountPayer
>
,
>
,
>
Type Parameters
TAccountRealmAccount
extends
InstructionAccountInput
TAccountRealmAuthority
extends
InstructionSignerInput
TAccountCouncilTokenMint
extends
InstructionAccountInput
TAccountCouncilTokenHoldingAccount
extends
InstructionAccountInput
TAccountSystemProgram
extends
InstructionAccountInput
TAccountRealmConfig
extends
InstructionAccountInput
TAccountCommunityVoterWeightAddinProgramId
extends
InstructionAccountInput
TAccountMaxCommunityVoterWeightAddinProgramId
extends
InstructionAccountInput
TAccountCouncilVoterWeightAddinProgramId
extends
InstructionAccountInput
TAccountMaxCouncilVoterWeightAddinProgramId
extends
InstructionAccountInput
TAccountPayer
extends
InstructionSignerInput
TProgramAddress
extends
Address
=
Address
<
"GovER5Lthms3bLBqWub97yVrMmEogzX7xNjdXpPPCVZw"
>
Parameters
input
:
SetRealmConfigInput
<
TAccountRealmAccount
,
TAccountRealmAuthority
,
TAccountCouncilTokenMint
,
TAccountCouncilTokenHoldingAccount
,
TAccountSystemProgram
,
TAccountRealmConfig
,
TAccountCommunityVoterWeightAddinProgramId
,
TAccountMaxCommunityVoterWeightAddinProgramId
,
TAccountCouncilVoterWeightAddinProgramId
,
TAccountMaxCouncilVoterWeightAddinProgramId
,
TAccountPayer
,
>
Optional
config
:
{
programAddress
?:
TProgramAddress
|
{
address
:
TProgramAddress
}
}
Returns
SetRealmConfigInstruction
<
TProgramAddress
,
ResolvedInstructionAccountMeta
<
TAccountRealmAccount
,
InstructionAccountInputAddress
<
TAccountRealmAccount
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountRealmAuthority
,
InstructionAccountInputAddress
<
TAccountRealmAuthority
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountCouncilTokenMint
,
InstructionAccountInputAddress
<
TAccountCouncilTokenMint
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountCouncilTokenHoldingAccount
,
InstructionAccountInputAddress
<
TAccountCouncilTokenHoldingAccount
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountSystemProgram
,
InstructionAccountInputAddress
<
TAccountSystemProgram
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountRealmConfig
,
InstructionAccountInputAddress
<
TAccountRealmConfig
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountCommunityVoterWeightAddinProgramId
,
InstructionAccountInputAddress
<
TAccountCommunityVoterWeightAddinProgramId
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountMaxCommunityVoterWeightAddinProgramId
,
InstructionAccountInputAddress
<
TAccountMaxCommunityVoterWeightAddinProgramId
,
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountCouncilVoterWeightAddinProgramId
,
InstructionAccountInputAddress
<
TAccountCouncilVoterWeightAddinProgramId
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountMaxCouncilVoterWeightAddinProgramId
,
InstructionAccountInputAddress
<
TAccountMaxCouncilVoterWeightAddinProgramId
,
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountPayer
,
InstructionAccountInputAddress
<
TAccountPayer
>
,
>
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Coda by Ian Macalinao
Loading...