Coda by Ian Macalinao
    Preparing search index...

    Type Alias CreateMintGovernanceInput<TAccountRealmAccount, TAccountMintGovernanceAccount, TAccountGovernedMint, TAccountMintAuthority, TAccountGoverningTokenOwnerRecord, TAccountPayer, TAccountTokenProgram, TAccountSystemProgram, TAccountGovernanceAuthority, TAccountRealmConfig, TAccountVoterWeightRecord>

    type CreateMintGovernanceInput<
        TAccountRealmAccount extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountMintGovernanceAccount extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountGovernedMint extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountMintAuthority extends
            InstructionSignerInput = InstructionSignerInput,
        TAccountGoverningTokenOwnerRecord extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountPayer extends InstructionSignerInput = InstructionSignerInput,
        TAccountTokenProgram extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountSystemProgram extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountGovernanceAuthority extends
            InstructionSignerInput = InstructionSignerInput,
        TAccountRealmConfig extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountVoterWeightRecord extends
            InstructionAccountInput = InstructionAccountInput,
    > = {
        config: CreateMintGovernanceInstructionDataArgs["config"];
        governanceAuthority: TAccountGovernanceAuthority;
        governedMint: TAccountGovernedMint;
        governingTokenOwnerRecord: TAccountGoverningTokenOwnerRecord;
        mintAuthority: TAccountMintAuthority;
        mintGovernanceAccount: TAccountMintGovernanceAccount;
        payer: TAccountPayer;
        realmAccount: TAccountRealmAccount;
        realmConfig: TAccountRealmConfig;
        systemProgram?: TAccountSystemProgram;
        tokenProgram?: TAccountTokenProgram;
        transferMintAuthorities: CreateMintGovernanceInstructionDataArgs["transferMintAuthorities"];
        voterWeightRecord?: TAccountVoterWeightRecord;
    }

    Type Parameters

    • TAccountRealmAccount extends InstructionAccountInput = InstructionAccountInput
    • TAccountMintGovernanceAccount extends InstructionAccountInput = InstructionAccountInput
    • TAccountGovernedMint extends InstructionAccountInput = InstructionAccountInput
    • TAccountMintAuthority extends InstructionSignerInput = InstructionSignerInput
    • TAccountGoverningTokenOwnerRecord extends InstructionAccountInput = InstructionAccountInput
    • TAccountPayer extends InstructionSignerInput = InstructionSignerInput
    • TAccountTokenProgram extends InstructionAccountInput = InstructionAccountInput
    • TAccountSystemProgram extends InstructionAccountInput = InstructionAccountInput
    • TAccountGovernanceAuthority extends InstructionSignerInput = InstructionSignerInput
    • TAccountRealmConfig extends InstructionAccountInput = InstructionAccountInput
    • TAccountVoterWeightRecord extends InstructionAccountInput = InstructionAccountInput
    Index
    governanceAuthority: TAccountGovernanceAuthority
    governedMint: TAccountGovernedMint

    Mint governed by this Governance account

    governingTokenOwnerRecord: TAccountGoverningTokenOwnerRecord

    Governing TokenOwnerRecord account (Used only if not signed by RealmAuthority)

    mintAuthority: TAccountMintAuthority

    Current Mint authority (MintTokens and optionally FreezeAccount)

    mintGovernanceAccount: TAccountMintGovernanceAccount

    Mint Governance account. seeds=['mint-governance', realm, governed_mint]

    realmAccount: TAccountRealmAccount

    Realm account the created Governance belongs to

    realmConfig: TAccountRealmConfig

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

    systemProgram?: TAccountSystemProgram
    tokenProgram?: TAccountTokenProgram
    voterWeightRecord?: TAccountVoterWeightRecord

    Optional Voter Weight Record