Coda by Ian Macalinao
    Preparing search index...

    Type Alias SetRealmConfigInput<TAccountRealmAccount, TAccountRealmAuthority, TAccountCouncilTokenMint, TAccountCouncilTokenHoldingAccount, TAccountSystemProgram, TAccountRealmConfig, TAccountCommunityVoterWeightAddinProgramId, TAccountMaxCommunityVoterWeightAddinProgramId, TAccountCouncilVoterWeightAddinProgramId, TAccountMaxCouncilVoterWeightAddinProgramId, TAccountPayer>

    type SetRealmConfigInput<
        TAccountRealmAccount extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountRealmAuthority extends
            InstructionSignerInput = InstructionSignerInput,
        TAccountCouncilTokenMint extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountCouncilTokenHoldingAccount extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountSystemProgram extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountRealmConfig extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountCommunityVoterWeightAddinProgramId extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountMaxCommunityVoterWeightAddinProgramId extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountCouncilVoterWeightAddinProgramId extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountMaxCouncilVoterWeightAddinProgramId extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountPayer extends InstructionSignerInput = InstructionSignerInput,
    > = {
        communityVoterWeightAddinProgramId?: TAccountCommunityVoterWeightAddinProgramId;
        configArgs: SetRealmConfigInstructionDataArgs["configArgs"];
        councilTokenHoldingAccount?: TAccountCouncilTokenHoldingAccount;
        councilTokenMint?: TAccountCouncilTokenMint;
        councilVoterWeightAddinProgramId?: TAccountCouncilVoterWeightAddinProgramId;
        maxCommunityVoterWeightAddinProgramId?: TAccountMaxCommunityVoterWeightAddinProgramId;
        maxCouncilVoterWeightAddinProgramId?: TAccountMaxCouncilVoterWeightAddinProgramId;
        payer?: TAccountPayer;
        realmAccount: TAccountRealmAccount;
        realmAuthority: TAccountRealmAuthority;
        realmConfig: TAccountRealmConfig;
        systemProgram?: TAccountSystemProgram;
    }

    Type Parameters

    • TAccountRealmAccount extends InstructionAccountInput = InstructionAccountInput
    • TAccountRealmAuthority extends InstructionSignerInput = InstructionSignerInput
    • TAccountCouncilTokenMint extends InstructionAccountInput = InstructionAccountInput
    • TAccountCouncilTokenHoldingAccount extends InstructionAccountInput = InstructionAccountInput
    • TAccountSystemProgram extends InstructionAccountInput = InstructionAccountInput
    • TAccountRealmConfig extends InstructionAccountInput = InstructionAccountInput
    • TAccountCommunityVoterWeightAddinProgramId extends InstructionAccountInput = InstructionAccountInput
    • TAccountMaxCommunityVoterWeightAddinProgramId extends InstructionAccountInput = InstructionAccountInput
    • TAccountCouncilVoterWeightAddinProgramId extends InstructionAccountInput = InstructionAccountInput
    • TAccountMaxCouncilVoterWeightAddinProgramId extends InstructionAccountInput = InstructionAccountInput
    • TAccountPayer extends InstructionSignerInput = InstructionSignerInput
    Index
    communityVoterWeightAddinProgramId?: TAccountCommunityVoterWeightAddinProgramId

    Optional Community Voter Weight Addin Program Id

    councilTokenHoldingAccount?: TAccountCouncilTokenHoldingAccount

    Optional unless council is used. seeds=['governance', realm, council_mint]

    councilTokenMint?: TAccountCouncilTokenMint

    Council Token Mint - optional. Note: In the current version it's only possible to remove council mint (set it to None) After setting council to None it won't be possible to withdraw the tokens from the Realm any longer. If that's required then it must be done before executing this instruction

    councilVoterWeightAddinProgramId?: TAccountCouncilVoterWeightAddinProgramId

    Optional Council Voter Weight Adding Program Id

    maxCommunityVoterWeightAddinProgramId?: TAccountMaxCommunityVoterWeightAddinProgramId

    Optional Max Community Voter Weight Addin Program Id

    maxCouncilVoterWeightAddinProgramId?: TAccountMaxCouncilVoterWeightAddinProgramId

    Optional Max Council Voter Weight Addin Program Id

    Optional Payer. Required if RealmConfig doesn't exist and needs to be created

    realmAccount: TAccountRealmAccount
    realmAuthority: TAccountRealmAuthority
    realmConfig: TAccountRealmConfig

    RealmConfig account. seeds=['realm-config', realm]

    systemProgram?: TAccountSystemProgram