/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */

import {
  ethers,
  EventFilter,
  Signer,
  BigNumber,
  BigNumberish,
  PopulatedTransaction,
} from "ethers";
import {
  Contract,
  ContractTransaction,
  Overrides,
  CallOverrides,
} from "@ethersproject/contracts";
import { BytesLike } from "@ethersproject/bytes";
import { Listener, Provider } from "@ethersproject/providers";
import { FunctionFragment, EventFragment, Result } from "@ethersproject/abi";

interface InnovaiSpawnerExploitMockInterface extends ethers.utils.Interface {
  functions: {
    "convert(address,address)": FunctionFragment;
    "innovaiSpawner()": FunctionFragment;
  };

  encodeFunctionData(
    functionFragment: "convert",
    values: [string, string]
  ): string;
  encodeFunctionData(
    functionFragment: "innovaiSpawner",
    values?: undefined
  ): string;

  decodeFunctionResult(functionFragment: "convert", data: BytesLike): Result;
  decodeFunctionResult(
    functionFragment: "innovaiSpawner",
    data: BytesLike
  ): Result;

  events: {};
}

export class InnovaiSpawnerExploitMock extends Contract {
  connect(signerOrProvider: Signer | Provider | string): this;
  attach(addressOrName: string): this;
  deployed(): Promise<this>;

  on(event: EventFilter | string, listener: Listener): this;
  once(event: EventFilter | string, listener: Listener): this;
  addListener(eventName: EventFilter | string, listener: Listener): this;
  removeAllListeners(eventName: EventFilter | string): this;
  removeListener(eventName: any, listener: Listener): this;

  interface: InnovaiSpawnerExploitMockInterface;

  functions: {
    convert(
      token0: string,
      token1: string,
      overrides?: Overrides
    ): Promise<ContractTransaction>;

    "convert(address,address)"(
      token0: string,
      token1: string,
      overrides?: Overrides
    ): Promise<ContractTransaction>;

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

    "innovaiSpawner()"(overrides?: CallOverrides): Promise<[string]>;
  };

  convert(
    token0: string,
    token1: string,
    overrides?: Overrides
  ): Promise<ContractTransaction>;

  "convert(address,address)"(
    token0: string,
    token1: string,
    overrides?: Overrides
  ): Promise<ContractTransaction>;

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

  "innovaiSpawner()"(overrides?: CallOverrides): Promise<string>;

  callStatic: {
    convert(
      token0: string,
      token1: string,
      overrides?: CallOverrides
    ): Promise<void>;

    "convert(address,address)"(
      token0: string,
      token1: string,
      overrides?: CallOverrides
    ): Promise<void>;

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

    "innovaiSpawner()"(overrides?: CallOverrides): Promise<string>;
  };

  filters: {};

  estimateGas: {
    convert(
      token0: string,
      token1: string,
      overrides?: Overrides
    ): Promise<BigNumber>;

    "convert(address,address)"(
      token0: string,
      token1: string,
      overrides?: Overrides
    ): Promise<BigNumber>;

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

    "innovaiSpawner()"(overrides?: CallOverrides): Promise<BigNumber>;
  };

  populateTransaction: {
    convert(
      token0: string,
      token1: string,
      overrides?: Overrides
    ): Promise<PopulatedTransaction>;

    "convert(address,address)"(
      token0: string,
      token1: string,
      overrides?: Overrides
    ): Promise<PopulatedTransaction>;

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

    "innovaiSpawner()"(
      overrides?: CallOverrides
    ): Promise<PopulatedTransaction>;
  };
}
