/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import type {
  BaseContract,
  BigNumber,
  BytesLike,
  CallOverrides,
  ContractTransaction,
  Overrides,
  PopulatedTransaction,
  Signer,
  utils,
} from "ethers";
import type { FunctionFragment, Result } from "@ethersproject/abi";
import type { Listener, Provider } from "@ethersproject/providers";
import type {
  TypedEventFilter,
  TypedEvent,
  TypedListener,
  OnEvent,
  PromiseOrValue,
} from "../../../common";

export interface FakeCommanderInterface extends utils.Interface {
  functions: {
    "GENERATION_START()": FunctionFragment;
    "GET_ID_CURRENCY_GOVERNANCE()": FunctionFragment;
    "GET_ID_CURRENCY_TIMER()": FunctionFragment;
    "GET_ID_ECO()": FunctionFragment;
    "GET_ID_ECOX()": FunctionFragment;
    "GET_ID_ECOXSTAKING()": FunctionFragment;
    "GET_ID_FAUCET()": FunctionFragment;
    "GET_ID_POLICY_PROPOSALS()": FunctionFragment;
    "GET_ID_POLICY_VOTES()": FunctionFragment;
    "GET_ID_TIMED_POLICIES()": FunctionFragment;
    "GET_ID_TRUSTED_NODES()": FunctionFragment;
    "MIN_GENERATION_DURATION()": FunctionFragment;
    "canImplementInterfaceForAddress(bytes32,address)": FunctionFragment;
    "clone()": FunctionFragment;
    "command(address,address)": FunctionFragment;
    "implementation()": FunctionFragment;
    "initialize(address)": FunctionFragment;
    "policy()": FunctionFragment;
    "policyCommand(address,bytes)": FunctionFragment;
    "setExpectedInterfaceSet(address)": FunctionFragment;
  };

  getFunction(
    nameOrSignatureOrTopic:
      | "GENERATION_START"
      | "GET_ID_CURRENCY_GOVERNANCE"
      | "GET_ID_CURRENCY_TIMER"
      | "GET_ID_ECO"
      | "GET_ID_ECOX"
      | "GET_ID_ECOXSTAKING"
      | "GET_ID_FAUCET"
      | "GET_ID_POLICY_PROPOSALS"
      | "GET_ID_POLICY_VOTES"
      | "GET_ID_TIMED_POLICIES"
      | "GET_ID_TRUSTED_NODES"
      | "MIN_GENERATION_DURATION"
      | "canImplementInterfaceForAddress"
      | "clone"
      | "command"
      | "implementation"
      | "initialize"
      | "policy"
      | "policyCommand"
      | "setExpectedInterfaceSet"
  ): FunctionFragment;

  encodeFunctionData(
    functionFragment: "GENERATION_START",
    values?: undefined
  ): string;
  encodeFunctionData(
    functionFragment: "GET_ID_CURRENCY_GOVERNANCE",
    values?: undefined
  ): string;
  encodeFunctionData(
    functionFragment: "GET_ID_CURRENCY_TIMER",
    values?: undefined
  ): string;
  encodeFunctionData(
    functionFragment: "GET_ID_ECO",
    values?: undefined
  ): string;
  encodeFunctionData(
    functionFragment: "GET_ID_ECOX",
    values?: undefined
  ): string;
  encodeFunctionData(
    functionFragment: "GET_ID_ECOXSTAKING",
    values?: undefined
  ): string;
  encodeFunctionData(
    functionFragment: "GET_ID_FAUCET",
    values?: undefined
  ): string;
  encodeFunctionData(
    functionFragment: "GET_ID_POLICY_PROPOSALS",
    values?: undefined
  ): string;
  encodeFunctionData(
    functionFragment: "GET_ID_POLICY_VOTES",
    values?: undefined
  ): string;
  encodeFunctionData(
    functionFragment: "GET_ID_TIMED_POLICIES",
    values?: undefined
  ): string;
  encodeFunctionData(
    functionFragment: "GET_ID_TRUSTED_NODES",
    values?: undefined
  ): string;
  encodeFunctionData(
    functionFragment: "MIN_GENERATION_DURATION",
    values?: undefined
  ): string;
  encodeFunctionData(
    functionFragment: "canImplementInterfaceForAddress",
    values: [PromiseOrValue<BytesLike>, PromiseOrValue<string>]
  ): string;
  encodeFunctionData(functionFragment: "clone", values?: undefined): string;
  encodeFunctionData(
    functionFragment: "command",
    values: [PromiseOrValue<string>, PromiseOrValue<string>]
  ): string;
  encodeFunctionData(
    functionFragment: "implementation",
    values?: undefined
  ): string;
  encodeFunctionData(
    functionFragment: "initialize",
    values: [PromiseOrValue<string>]
  ): string;
  encodeFunctionData(functionFragment: "policy", values?: undefined): string;
  encodeFunctionData(
    functionFragment: "policyCommand",
    values: [PromiseOrValue<string>, PromiseOrValue<BytesLike>]
  ): string;
  encodeFunctionData(
    functionFragment: "setExpectedInterfaceSet",
    values: [PromiseOrValue<string>]
  ): string;

  decodeFunctionResult(
    functionFragment: "GENERATION_START",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "GET_ID_CURRENCY_GOVERNANCE",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "GET_ID_CURRENCY_TIMER",
    data: BytesLike
  ): Result;
  decodeFunctionResult(functionFragment: "GET_ID_ECO", data: BytesLike): Result;
  decodeFunctionResult(
    functionFragment: "GET_ID_ECOX",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "GET_ID_ECOXSTAKING",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "GET_ID_FAUCET",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "GET_ID_POLICY_PROPOSALS",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "GET_ID_POLICY_VOTES",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "GET_ID_TIMED_POLICIES",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "GET_ID_TRUSTED_NODES",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "MIN_GENERATION_DURATION",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "canImplementInterfaceForAddress",
    data: BytesLike
  ): Result;
  decodeFunctionResult(functionFragment: "clone", data: BytesLike): Result;
  decodeFunctionResult(functionFragment: "command", data: BytesLike): Result;
  decodeFunctionResult(
    functionFragment: "implementation",
    data: BytesLike
  ): Result;
  decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result;
  decodeFunctionResult(functionFragment: "policy", data: BytesLike): Result;
  decodeFunctionResult(
    functionFragment: "policyCommand",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "setExpectedInterfaceSet",
    data: BytesLike
  ): Result;

  events: {};
}

export interface FakeCommander extends BaseContract {
  connect(signerOrProvider: Signer | Provider | string): this;
  attach(addressOrName: string): this;
  deployed(): Promise<this>;

  interface: FakeCommanderInterface;

  queryFilter<TEvent extends TypedEvent>(
    event: TypedEventFilter<TEvent>,
    fromBlockOrBlockhash?: string | number | undefined,
    toBlock?: string | number | undefined
  ): Promise<Array<TEvent>>;

  listeners<TEvent extends TypedEvent>(
    eventFilter?: TypedEventFilter<TEvent>
  ): Array<TypedListener<TEvent>>;
  listeners(eventName?: string): Array<Listener>;
  removeAllListeners<TEvent extends TypedEvent>(
    eventFilter: TypedEventFilter<TEvent>
  ): this;
  removeAllListeners(eventName?: string): this;
  off: OnEvent<this>;
  on: OnEvent<this>;
  once: OnEvent<this>;
  removeListener: OnEvent<this>;

  functions: {
    GENERATION_START(overrides?: CallOverrides): Promise<[BigNumber]>;

    GET_ID_CURRENCY_GOVERNANCE(overrides?: CallOverrides): Promise<[string]>;

    GET_ID_CURRENCY_TIMER(overrides?: CallOverrides): Promise<[string]>;

    GET_ID_ECO(overrides?: CallOverrides): Promise<[string]>;

    GET_ID_ECOX(overrides?: CallOverrides): Promise<[string]>;

    GET_ID_ECOXSTAKING(overrides?: CallOverrides): Promise<[string]>;

    GET_ID_FAUCET(overrides?: CallOverrides): Promise<[string]>;

    GET_ID_POLICY_PROPOSALS(overrides?: CallOverrides): Promise<[string]>;

    GET_ID_POLICY_VOTES(overrides?: CallOverrides): Promise<[string]>;

    GET_ID_TIMED_POLICIES(overrides?: CallOverrides): Promise<[string]>;

    GET_ID_TRUSTED_NODES(overrides?: CallOverrides): Promise<[string]>;

    MIN_GENERATION_DURATION(overrides?: CallOverrides): Promise<[BigNumber]>;

    canImplementInterfaceForAddress(
      arg0: PromiseOrValue<BytesLike>,
      _addr: PromiseOrValue<string>,
      overrides?: CallOverrides
    ): Promise<[string]>;

    clone(
      overrides?: Overrides & { from?: PromiseOrValue<string> }
    ): Promise<ContractTransaction>;

    command(
      _policed: PromiseOrValue<string>,
      _action: PromiseOrValue<string>,
      overrides?: Overrides & { from?: PromiseOrValue<string> }
    ): Promise<ContractTransaction>;

    implementation(
      overrides?: CallOverrides
    ): Promise<[string] & { _impl: string }>;

    initialize(
      _self: PromiseOrValue<string>,
      overrides?: Overrides & { from?: PromiseOrValue<string> }
    ): Promise<ContractTransaction>;

    policy(overrides?: CallOverrides): Promise<[string]>;

    policyCommand(
      _delegate: PromiseOrValue<string>,
      _data: PromiseOrValue<BytesLike>,
      overrides?: Overrides & { from?: PromiseOrValue<string> }
    ): Promise<ContractTransaction>;

    setExpectedInterfaceSet(
      _addr: PromiseOrValue<string>,
      overrides?: Overrides & { from?: PromiseOrValue<string> }
    ): Promise<ContractTransaction>;
  };

  GENERATION_START(overrides?: CallOverrides): Promise<BigNumber>;

  GET_ID_CURRENCY_GOVERNANCE(overrides?: CallOverrides): Promise<string>;

  GET_ID_CURRENCY_TIMER(overrides?: CallOverrides): Promise<string>;

  GET_ID_ECO(overrides?: CallOverrides): Promise<string>;

  GET_ID_ECOX(overrides?: CallOverrides): Promise<string>;

  GET_ID_ECOXSTAKING(overrides?: CallOverrides): Promise<string>;

  GET_ID_FAUCET(overrides?: CallOverrides): Promise<string>;

  GET_ID_POLICY_PROPOSALS(overrides?: CallOverrides): Promise<string>;

  GET_ID_POLICY_VOTES(overrides?: CallOverrides): Promise<string>;

  GET_ID_TIMED_POLICIES(overrides?: CallOverrides): Promise<string>;

  GET_ID_TRUSTED_NODES(overrides?: CallOverrides): Promise<string>;

  MIN_GENERATION_DURATION(overrides?: CallOverrides): Promise<BigNumber>;

  canImplementInterfaceForAddress(
    arg0: PromiseOrValue<BytesLike>,
    _addr: PromiseOrValue<string>,
    overrides?: CallOverrides
  ): Promise<string>;

  clone(
    overrides?: Overrides & { from?: PromiseOrValue<string> }
  ): Promise<ContractTransaction>;

  command(
    _policed: PromiseOrValue<string>,
    _action: PromiseOrValue<string>,
    overrides?: Overrides & { from?: PromiseOrValue<string> }
  ): Promise<ContractTransaction>;

  implementation(overrides?: CallOverrides): Promise<string>;

  initialize(
    _self: PromiseOrValue<string>,
    overrides?: Overrides & { from?: PromiseOrValue<string> }
  ): Promise<ContractTransaction>;

  policy(overrides?: CallOverrides): Promise<string>;

  policyCommand(
    _delegate: PromiseOrValue<string>,
    _data: PromiseOrValue<BytesLike>,
    overrides?: Overrides & { from?: PromiseOrValue<string> }
  ): Promise<ContractTransaction>;

  setExpectedInterfaceSet(
    _addr: PromiseOrValue<string>,
    overrides?: Overrides & { from?: PromiseOrValue<string> }
  ): Promise<ContractTransaction>;

  callStatic: {
    GENERATION_START(overrides?: CallOverrides): Promise<BigNumber>;

    GET_ID_CURRENCY_GOVERNANCE(overrides?: CallOverrides): Promise<string>;

    GET_ID_CURRENCY_TIMER(overrides?: CallOverrides): Promise<string>;

    GET_ID_ECO(overrides?: CallOverrides): Promise<string>;

    GET_ID_ECOX(overrides?: CallOverrides): Promise<string>;

    GET_ID_ECOXSTAKING(overrides?: CallOverrides): Promise<string>;

    GET_ID_FAUCET(overrides?: CallOverrides): Promise<string>;

    GET_ID_POLICY_PROPOSALS(overrides?: CallOverrides): Promise<string>;

    GET_ID_POLICY_VOTES(overrides?: CallOverrides): Promise<string>;

    GET_ID_TIMED_POLICIES(overrides?: CallOverrides): Promise<string>;

    GET_ID_TRUSTED_NODES(overrides?: CallOverrides): Promise<string>;

    MIN_GENERATION_DURATION(overrides?: CallOverrides): Promise<BigNumber>;

    canImplementInterfaceForAddress(
      arg0: PromiseOrValue<BytesLike>,
      _addr: PromiseOrValue<string>,
      overrides?: CallOverrides
    ): Promise<string>;

    clone(overrides?: CallOverrides): Promise<string>;

    command(
      _policed: PromiseOrValue<string>,
      _action: PromiseOrValue<string>,
      overrides?: CallOverrides
    ): Promise<void>;

    implementation(overrides?: CallOverrides): Promise<string>;

    initialize(
      _self: PromiseOrValue<string>,
      overrides?: CallOverrides
    ): Promise<void>;

    policy(overrides?: CallOverrides): Promise<string>;

    policyCommand(
      _delegate: PromiseOrValue<string>,
      _data: PromiseOrValue<BytesLike>,
      overrides?: CallOverrides
    ): Promise<void>;

    setExpectedInterfaceSet(
      _addr: PromiseOrValue<string>,
      overrides?: CallOverrides
    ): Promise<void>;
  };

  filters: {};

  estimateGas: {
    GENERATION_START(overrides?: CallOverrides): Promise<BigNumber>;

    GET_ID_CURRENCY_GOVERNANCE(overrides?: CallOverrides): Promise<BigNumber>;

    GET_ID_CURRENCY_TIMER(overrides?: CallOverrides): Promise<BigNumber>;

    GET_ID_ECO(overrides?: CallOverrides): Promise<BigNumber>;

    GET_ID_ECOX(overrides?: CallOverrides): Promise<BigNumber>;

    GET_ID_ECOXSTAKING(overrides?: CallOverrides): Promise<BigNumber>;

    GET_ID_FAUCET(overrides?: CallOverrides): Promise<BigNumber>;

    GET_ID_POLICY_PROPOSALS(overrides?: CallOverrides): Promise<BigNumber>;

    GET_ID_POLICY_VOTES(overrides?: CallOverrides): Promise<BigNumber>;

    GET_ID_TIMED_POLICIES(overrides?: CallOverrides): Promise<BigNumber>;

    GET_ID_TRUSTED_NODES(overrides?: CallOverrides): Promise<BigNumber>;

    MIN_GENERATION_DURATION(overrides?: CallOverrides): Promise<BigNumber>;

    canImplementInterfaceForAddress(
      arg0: PromiseOrValue<BytesLike>,
      _addr: PromiseOrValue<string>,
      overrides?: CallOverrides
    ): Promise<BigNumber>;

    clone(
      overrides?: Overrides & { from?: PromiseOrValue<string> }
    ): Promise<BigNumber>;

    command(
      _policed: PromiseOrValue<string>,
      _action: PromiseOrValue<string>,
      overrides?: Overrides & { from?: PromiseOrValue<string> }
    ): Promise<BigNumber>;

    implementation(overrides?: CallOverrides): Promise<BigNumber>;

    initialize(
      _self: PromiseOrValue<string>,
      overrides?: Overrides & { from?: PromiseOrValue<string> }
    ): Promise<BigNumber>;

    policy(overrides?: CallOverrides): Promise<BigNumber>;

    policyCommand(
      _delegate: PromiseOrValue<string>,
      _data: PromiseOrValue<BytesLike>,
      overrides?: Overrides & { from?: PromiseOrValue<string> }
    ): Promise<BigNumber>;

    setExpectedInterfaceSet(
      _addr: PromiseOrValue<string>,
      overrides?: Overrides & { from?: PromiseOrValue<string> }
    ): Promise<BigNumber>;
  };

  populateTransaction: {
    GENERATION_START(overrides?: CallOverrides): Promise<PopulatedTransaction>;

    GET_ID_CURRENCY_GOVERNANCE(
      overrides?: CallOverrides
    ): Promise<PopulatedTransaction>;

    GET_ID_CURRENCY_TIMER(
      overrides?: CallOverrides
    ): Promise<PopulatedTransaction>;

    GET_ID_ECO(overrides?: CallOverrides): Promise<PopulatedTransaction>;

    GET_ID_ECOX(overrides?: CallOverrides): Promise<PopulatedTransaction>;

    GET_ID_ECOXSTAKING(
      overrides?: CallOverrides
    ): Promise<PopulatedTransaction>;

    GET_ID_FAUCET(overrides?: CallOverrides): Promise<PopulatedTransaction>;

    GET_ID_POLICY_PROPOSALS(
      overrides?: CallOverrides
    ): Promise<PopulatedTransaction>;

    GET_ID_POLICY_VOTES(
      overrides?: CallOverrides
    ): Promise<PopulatedTransaction>;

    GET_ID_TIMED_POLICIES(
      overrides?: CallOverrides
    ): Promise<PopulatedTransaction>;

    GET_ID_TRUSTED_NODES(
      overrides?: CallOverrides
    ): Promise<PopulatedTransaction>;

    MIN_GENERATION_DURATION(
      overrides?: CallOverrides
    ): Promise<PopulatedTransaction>;

    canImplementInterfaceForAddress(
      arg0: PromiseOrValue<BytesLike>,
      _addr: PromiseOrValue<string>,
      overrides?: CallOverrides
    ): Promise<PopulatedTransaction>;

    clone(
      overrides?: Overrides & { from?: PromiseOrValue<string> }
    ): Promise<PopulatedTransaction>;

    command(
      _policed: PromiseOrValue<string>,
      _action: PromiseOrValue<string>,
      overrides?: Overrides & { from?: PromiseOrValue<string> }
    ): Promise<PopulatedTransaction>;

    implementation(overrides?: CallOverrides): Promise<PopulatedTransaction>;

    initialize(
      _self: PromiseOrValue<string>,
      overrides?: Overrides & { from?: PromiseOrValue<string> }
    ): Promise<PopulatedTransaction>;

    policy(overrides?: CallOverrides): Promise<PopulatedTransaction>;

    policyCommand(
      _delegate: PromiseOrValue<string>,
      _data: PromiseOrValue<BytesLike>,
      overrides?: Overrides & { from?: PromiseOrValue<string> }
    ): Promise<PopulatedTransaction>;

    setExpectedInterfaceSet(
      _addr: PromiseOrValue<string>,
      overrides?: Overrides & { from?: PromiseOrValue<string> }
    ): Promise<PopulatedTransaction>;
  };
}
