Coda by Ian Macalinao
    Preparing search index...

    Interface GovernPluginInstructions

    interface GovernPluginInstructions {
        activateProposal: (
            input: ActivateProposalInput,
        ) => Instruction<
            Address,
            readonly (AccountMeta<string> | AccountLookupMeta<string, string>)[],
        > & InstructionWithData<ReadonlyUint8Array<ArrayBufferLike>> & InstructionWithAccounts<
            [
                ReadonlyAccount<string>,
                ReadonlyAccount<string>,
                WritableAccount<string>,
                ReadonlyAccount<string>,
                AccountMeta<string> & { role: READONLY_SIGNER } & AccountSignerMeta<
                    string,
                    TransactionSigner<string>,
                >,
                ReadonlyAccount<string>,
            ],
        > & SelfPlanAndSendFunctions;
        cancelProposal: (
            input: CancelProposalInput,
        ) => Instruction<
            Address,
            readonly (AccountMeta<string> | AccountLookupMeta<string, string>)[],
        > & InstructionWithData<ReadonlyUint8Array<ArrayBufferLike>> & InstructionWithAccounts<
            [
                ReadonlyAccount<string>,
                WritableAccount<string>,
                AccountMeta<string> & { role: READONLY_SIGNER } & AccountSignerMeta<
                    string,
                    TransactionSigner<string>,
                >,
            ],
        > & SelfPlanAndSendFunctions;
        createGovernor: (
            input: MakeOptional<
                CreateGovernorInput<string, string, string, string, string>,
                "payer",
            >,
        ) => Instruction<
            Address,
            readonly (AccountMeta<string> | AccountLookupMeta<string, string>)[],
        > & InstructionWithData<ReadonlyUint8Array<ArrayBufferLike>> & InstructionWithAccounts<
            [
                AccountMeta<string> & { role: READONLY_SIGNER } & AccountSignerMeta<
                    string,
                    TransactionSigner<string>,
                >,
                WritableAccount<string>,
                ReadonlyAccount<string>,
                AccountMeta<string> & { role: WRITABLE_SIGNER } & AccountSignerMeta<
                    string,
                    TransactionSigner<string>,
                >,
                ReadonlyAccount<string>,
            ],
        > & SelfPlanAndSendFunctions;
        createProposal: (
            input: MakeOptional<
                CreateProposalInput<string, string, string, string, string>,
                "payer",
            >,
        ) => Instruction<
            Address,
            readonly (AccountMeta<string> | AccountLookupMeta<string, string>)[],
        > & InstructionWithData<ReadonlyUint8Array<ArrayBufferLike>> & InstructionWithAccounts<
            [
                WritableAccount<string>,
                WritableAccount<string>,
                AccountMeta<string> & { role: READONLY_SIGNER } & AccountSignerMeta<
                    string,
                    TransactionSigner<string>,
                >,
                AccountMeta<string> & { role: WRITABLE_SIGNER } & AccountSignerMeta<
                    string,
                    TransactionSigner<string>,
                >,
                ReadonlyAccount<string>,
            ],
        > & SelfPlanAndSendFunctions;
        createProposalMeta: (
            input: MakeOptional<
                CreateProposalMetaInput<string, string, string, string, string>,
                "payer",
            >,
        ) => Instruction<
            Address,
            readonly (AccountMeta<string> | AccountLookupMeta<string, string>)[],
        > & InstructionWithData<ReadonlyUint8Array<ArrayBufferLike>> & InstructionWithAccounts<
            [
                ReadonlyAccount<string>,
                AccountMeta<string> & { role: READONLY_SIGNER } & AccountSignerMeta<
                    string,
                    TransactionSigner<string>,
                >,
                WritableAccount<string>,
                AccountMeta<string> & { role: WRITABLE_SIGNER } & AccountSignerMeta<
                    string,
                    TransactionSigner<string>,
                >,
                ReadonlyAccount<string>,
            ],
        > & SelfPlanAndSendFunctions;
        newVote: (
            input: MakeOptional<
                NewVoteInput<string, string, string, string>,
                "payer",
            >,
        ) => Instruction<
            Address,
            readonly (AccountMeta<string> | AccountLookupMeta<string, string>)[],
        > & InstructionWithData<ReadonlyUint8Array<ArrayBufferLike>> & InstructionWithAccounts<
            [
                ReadonlyAccount<string>,
                WritableAccount<string>,
                AccountMeta<string> & { role: WRITABLE_SIGNER } & AccountSignerMeta<
                    string,
                    TransactionSigner<string>,
                >,
                ReadonlyAccount<string>,
            ],
        > & SelfPlanAndSendFunctions;
        queueProposal: (
            input: MakeOptional<
                QueueProposalInput<
                    string,
                    string,
                    string,
                    string,
                    string,
                    string,
                    string,
                >,
                "payer",
            >,
        ) => Instruction<
            Address,
            readonly (AccountMeta<string> | AccountLookupMeta<string, string>)[],
        > & InstructionWithData<ReadonlyUint8Array<ArrayBufferLike>> & InstructionWithAccounts<
            [
                ReadonlyAccount<string>,
                WritableAccount<string>,
                WritableAccount<string>,
                WritableAccount<string>,
                AccountMeta<string> & { role: WRITABLE_SIGNER } & AccountSignerMeta<
                    string,
                    TransactionSigner<string>,
                >,
                ReadonlyAccount<string>,
                ReadonlyAccount<string>,
            ],
        > & SelfPlanAndSendFunctions;
        setElectorate: (
            input: SetElectorateInput,
        ) => Instruction<
            Address,
            readonly (AccountMeta<string> | AccountLookupMeta<string, string>)[],
        > & InstructionWithData<ReadonlyUint8Array<ArrayBufferLike>> & InstructionWithAccounts<
            [
                WritableAccount<string>,
                AccountMeta<string> & { role: READONLY_SIGNER } & AccountSignerMeta<
                    string,
                    TransactionSigner<string>,
                >,
            ],
        > & SelfPlanAndSendFunctions;
        setGovernanceParams: (
            input: SetGovernanceParamsInput,
        ) => Instruction<
            Address,
            readonly (AccountMeta<string> | AccountLookupMeta<string, string>)[],
        > & InstructionWithData<ReadonlyUint8Array<ArrayBufferLike>> & InstructionWithAccounts<
            [
                WritableAccount<string>,
                AccountMeta<string> & { role: READONLY_SIGNER } & AccountSignerMeta<
                    string,
                    TransactionSigner<string>,
                >,
            ],
        > & SelfPlanAndSendFunctions;
        setVote: (
            input: SetVoteInput,
        ) => Instruction<
            Address,
            readonly (AccountMeta<string> | AccountLookupMeta<string, string>)[],
        > & InstructionWithData<ReadonlyUint8Array<ArrayBufferLike>> & InstructionWithAccounts<
            [
                ReadonlyAccount<string>,
                WritableAccount<string>,
                WritableAccount<string>,
                AccountMeta<string> & { role: READONLY_SIGNER } & AccountSignerMeta<
                    string,
                    TransactionSigner<string>,
                >,
            ],
        > & SelfPlanAndSendFunctions;
    }
    Index

    Properties

    activateProposal: (
        input: ActivateProposalInput,
    ) => Instruction<
        Address,
        readonly (AccountMeta<string> | AccountLookupMeta<string, string>)[],
    > & InstructionWithData<ReadonlyUint8Array<ArrayBufferLike>> & InstructionWithAccounts<
        [
            ReadonlyAccount<string>,
            ReadonlyAccount<string>,
            WritableAccount<string>,
            ReadonlyAccount<string>,
            AccountMeta<string> & { role: READONLY_SIGNER } & AccountSignerMeta<
                string,
                TransactionSigner<string>,
            >,
            ReadonlyAccount<string>,
        ],
    > & SelfPlanAndSendFunctions
    cancelProposal: (
        input: CancelProposalInput,
    ) => Instruction<
        Address,
        readonly (AccountMeta<string> | AccountLookupMeta<string, string>)[],
    > & InstructionWithData<ReadonlyUint8Array<ArrayBufferLike>> & InstructionWithAccounts<
        [
            ReadonlyAccount<string>,
            WritableAccount<string>,
            AccountMeta<string> & { role: READONLY_SIGNER } & AccountSignerMeta<
                string,
                TransactionSigner<string>,
            >,
        ],
    > & SelfPlanAndSendFunctions
    createGovernor: (
        input: MakeOptional<
            CreateGovernorInput<string, string, string, string, string>,
            "payer",
        >,
    ) => Instruction<
        Address,
        readonly (AccountMeta<string> | AccountLookupMeta<string, string>)[],
    > & InstructionWithData<ReadonlyUint8Array<ArrayBufferLike>> & InstructionWithAccounts<
        [
            AccountMeta<string> & { role: READONLY_SIGNER } & AccountSignerMeta<
                string,
                TransactionSigner<string>,
            >,
            WritableAccount<string>,
            ReadonlyAccount<string>,
            AccountMeta<string> & { role: WRITABLE_SIGNER } & AccountSignerMeta<
                string,
                TransactionSigner<string>,
            >,
            ReadonlyAccount<string>,
        ],
    > & SelfPlanAndSendFunctions
    createProposal: (
        input: MakeOptional<
            CreateProposalInput<string, string, string, string, string>,
            "payer",
        >,
    ) => Instruction<
        Address,
        readonly (AccountMeta<string> | AccountLookupMeta<string, string>)[],
    > & InstructionWithData<ReadonlyUint8Array<ArrayBufferLike>> & InstructionWithAccounts<
        [
            WritableAccount<string>,
            WritableAccount<string>,
            AccountMeta<string> & { role: READONLY_SIGNER } & AccountSignerMeta<
                string,
                TransactionSigner<string>,
            >,
            AccountMeta<string> & { role: WRITABLE_SIGNER } & AccountSignerMeta<
                string,
                TransactionSigner<string>,
            >,
            ReadonlyAccount<string>,
        ],
    > & SelfPlanAndSendFunctions
    createProposalMeta: (
        input: MakeOptional<
            CreateProposalMetaInput<string, string, string, string, string>,
            "payer",
        >,
    ) => Instruction<
        Address,
        readonly (AccountMeta<string> | AccountLookupMeta<string, string>)[],
    > & InstructionWithData<ReadonlyUint8Array<ArrayBufferLike>> & InstructionWithAccounts<
        [
            ReadonlyAccount<string>,
            AccountMeta<string> & { role: READONLY_SIGNER } & AccountSignerMeta<
                string,
                TransactionSigner<string>,
            >,
            WritableAccount<string>,
            AccountMeta<string> & { role: WRITABLE_SIGNER } & AccountSignerMeta<
                string,
                TransactionSigner<string>,
            >,
            ReadonlyAccount<string>,
        ],
    > & SelfPlanAndSendFunctions
    newVote: (
        input: MakeOptional<
            NewVoteInput<string, string, string, string>,
            "payer",
        >,
    ) => Instruction<
        Address,
        readonly (AccountMeta<string> | AccountLookupMeta<string, string>)[],
    > & InstructionWithData<ReadonlyUint8Array<ArrayBufferLike>> & InstructionWithAccounts<
        [
            ReadonlyAccount<string>,
            WritableAccount<string>,
            AccountMeta<string> & { role: WRITABLE_SIGNER } & AccountSignerMeta<
                string,
                TransactionSigner<string>,
            >,
            ReadonlyAccount<string>,
        ],
    > & SelfPlanAndSendFunctions
    queueProposal: (
        input: MakeOptional<
            QueueProposalInput<
                string,
                string,
                string,
                string,
                string,
                string,
                string,
            >,
            "payer",
        >,
    ) => Instruction<
        Address,
        readonly (AccountMeta<string> | AccountLookupMeta<string, string>)[],
    > & InstructionWithData<ReadonlyUint8Array<ArrayBufferLike>> & InstructionWithAccounts<
        [
            ReadonlyAccount<string>,
            WritableAccount<string>,
            WritableAccount<string>,
            WritableAccount<string>,
            AccountMeta<string> & { role: WRITABLE_SIGNER } & AccountSignerMeta<
                string,
                TransactionSigner<string>,
            >,
            ReadonlyAccount<string>,
            ReadonlyAccount<string>,
        ],
    > & SelfPlanAndSendFunctions
    setElectorate: (
        input: SetElectorateInput,
    ) => Instruction<
        Address,
        readonly (AccountMeta<string> | AccountLookupMeta<string, string>)[],
    > & InstructionWithData<ReadonlyUint8Array<ArrayBufferLike>> & InstructionWithAccounts<
        [
            WritableAccount<string>,
            AccountMeta<string> & { role: READONLY_SIGNER } & AccountSignerMeta<
                string,
                TransactionSigner<string>,
            >,
        ],
    > & SelfPlanAndSendFunctions
    setGovernanceParams: (
        input: SetGovernanceParamsInput,
    ) => Instruction<
        Address,
        readonly (AccountMeta<string> | AccountLookupMeta<string, string>)[],
    > & InstructionWithData<ReadonlyUint8Array<ArrayBufferLike>> & InstructionWithAccounts<
        [
            WritableAccount<string>,
            AccountMeta<string> & { role: READONLY_SIGNER } & AccountSignerMeta<
                string,
                TransactionSigner<string>,
            >,
        ],
    > & SelfPlanAndSendFunctions
    setVote: (
        input: SetVoteInput,
    ) => Instruction<
        Address,
        readonly (AccountMeta<string> | AccountLookupMeta<string, string>)[],
    > & InstructionWithData<ReadonlyUint8Array<ArrayBufferLike>> & InstructionWithAccounts<
        [
            ReadonlyAccount<string>,
            WritableAccount<string>,
            WritableAccount<string>,
            AccountMeta<string> & { role: READONLY_SIGNER } & AccountSignerMeta<
                string,
                TransactionSigner<string>,
            >,
        ],
    > & SelfPlanAndSendFunctions