Coda by Ian Macalinao
    Preparing search index...

    Type Alias CreateProposalInput<TAccountGovernor, TAccountProposal, TAccountProposer, TAccountPayer, TAccountSystemProgram>

    type CreateProposalInput<
        TAccountGovernor extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountProposal extends InstructionAccountInput = InstructionAccountInput,
        TAccountProposer extends InstructionSignerInput = InstructionSignerInput,
        TAccountPayer extends InstructionSignerInput = InstructionSignerInput,
        TAccountSystemProgram extends
            InstructionAccountInput = InstructionAccountInput,
    > = {
        bump: CreateProposalInstructionDataArgs["bump"];
        governor: TAccountGovernor;
        instructions: CreateProposalInstructionDataArgs["instructions"];
        payer: TAccountPayer;
        proposal: TAccountProposal;
        proposer: TAccountProposer;
        systemProgram?: TAccountSystemProgram;
    }

    Type Parameters

    • TAccountGovernor extends InstructionAccountInput = InstructionAccountInput
    • TAccountProposal extends InstructionAccountInput = InstructionAccountInput
    • TAccountProposer extends InstructionSignerInput = InstructionSignerInput
    • TAccountPayer extends InstructionSignerInput = InstructionSignerInput
    • TAccountSystemProgram extends InstructionAccountInput = InstructionAccountInput
    Index
    systemProgram?: TAccountSystemProgram