/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import { BaseContract, BigNumber, BytesLike, CallOverrides, ContractTransaction, Overrides, PopulatedTransaction, Signer, utils, } from "ethers"; import { FunctionFragment, Result, EventFragment } from "@ethersproject/abi"; import { Listener, Provider } from "@ethersproject/providers"; import { TypedEventFilter, TypedEvent, TypedListener, OnEvent } from "./common"; export interface IGovernableInterface extends utils.Interface { contractName: "IGovernable"; functions: { "acceptGovernor()": FunctionFragment; "governor()": FunctionFragment; "isGovernor(address)": FunctionFragment; "pendingGovernor()": FunctionFragment; "setPendingGovernor(address)": FunctionFragment; }; encodeFunctionData( functionFragment: "acceptGovernor", values?: undefined ): string; encodeFunctionData(functionFragment: "governor", values?: undefined): string; encodeFunctionData(functionFragment: "isGovernor", values: [string]): string; encodeFunctionData( functionFragment: "pendingGovernor", values?: undefined ): string; encodeFunctionData( functionFragment: "setPendingGovernor", values: [string] ): string; decodeFunctionResult( functionFragment: "acceptGovernor", data: BytesLike ): Result; decodeFunctionResult(functionFragment: "governor", data: BytesLike): Result; decodeFunctionResult(functionFragment: "isGovernor", data: BytesLike): Result; decodeFunctionResult( functionFragment: "pendingGovernor", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "setPendingGovernor", data: BytesLike ): Result; events: { "GovernorAccepted()": EventFragment; "PendingGovernorSet(address)": EventFragment; }; getEvent(nameOrSignatureOrTopic: "GovernorAccepted"): EventFragment; getEvent(nameOrSignatureOrTopic: "PendingGovernorSet"): EventFragment; } export type GovernorAcceptedEvent = TypedEvent<[], {}>; export type GovernorAcceptedEventFilter = TypedEventFilter; export type PendingGovernorSetEvent = TypedEvent< [string], { pendingGovernor: string } >; export type PendingGovernorSetEventFilter = TypedEventFilter; export interface IGovernable extends BaseContract { contractName: "IGovernable"; connect(signerOrProvider: Signer | Provider | string): this; attach(addressOrName: string): this; deployed(): Promise; interface: IGovernableInterface; queryFilter( event: TypedEventFilter, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined ): Promise>; listeners( eventFilter?: TypedEventFilter ): Array>; listeners(eventName?: string): Array; removeAllListeners( eventFilter: TypedEventFilter ): this; removeAllListeners(eventName?: string): this; off: OnEvent; on: OnEvent; once: OnEvent; removeListener: OnEvent; functions: { acceptGovernor( overrides?: Overrides & { from?: string | Promise } ): Promise; governor( overrides?: CallOverrides ): Promise<[string] & { _governor: string }>; isGovernor( _account: string, overrides?: CallOverrides ): Promise<[boolean] & { _isGovernor: boolean }>; pendingGovernor( overrides?: CallOverrides ): Promise<[string] & { _pendingGovernor: string }>; setPendingGovernor( _pendingGovernor: string, overrides?: Overrides & { from?: string | Promise } ): Promise; }; acceptGovernor( overrides?: Overrides & { from?: string | Promise } ): Promise; governor(overrides?: CallOverrides): Promise; isGovernor(_account: string, overrides?: CallOverrides): Promise; pendingGovernor(overrides?: CallOverrides): Promise; setPendingGovernor( _pendingGovernor: string, overrides?: Overrides & { from?: string | Promise } ): Promise; callStatic: { acceptGovernor(overrides?: CallOverrides): Promise; governor(overrides?: CallOverrides): Promise; isGovernor(_account: string, overrides?: CallOverrides): Promise; pendingGovernor(overrides?: CallOverrides): Promise; setPendingGovernor( _pendingGovernor: string, overrides?: CallOverrides ): Promise; }; filters: { "GovernorAccepted()"(): GovernorAcceptedEventFilter; GovernorAccepted(): GovernorAcceptedEventFilter; "PendingGovernorSet(address)"( pendingGovernor?: null ): PendingGovernorSetEventFilter; PendingGovernorSet(pendingGovernor?: null): PendingGovernorSetEventFilter; }; estimateGas: { acceptGovernor( overrides?: Overrides & { from?: string | Promise } ): Promise; governor(overrides?: CallOverrides): Promise; isGovernor(_account: string, overrides?: CallOverrides): Promise; pendingGovernor(overrides?: CallOverrides): Promise; setPendingGovernor( _pendingGovernor: string, overrides?: Overrides & { from?: string | Promise } ): Promise; }; populateTransaction: { acceptGovernor( overrides?: Overrides & { from?: string | Promise } ): Promise; governor(overrides?: CallOverrides): Promise; isGovernor( _account: string, overrides?: CallOverrides ): Promise; pendingGovernor(overrides?: CallOverrides): Promise; setPendingGovernor( _pendingGovernor: string, overrides?: Overrides & { from?: string | Promise } ): Promise; }; }