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

import {
  ethers,
  EventFilter,
  Signer,
  BigNumber,
  BigNumberish,
  PopulatedTransaction,
  BaseContract,
  ContractTransaction,
  CallOverrides,
} from "ethers";
import { BytesLike } from "@ethersproject/bytes";
import { Listener, Provider } from "@ethersproject/providers";
import { FunctionFragment, EventFragment, Result } from "@ethersproject/abi";
import type { TypedEventFilter, TypedEvent, TypedListener } from "./common";

interface BatchTreeVerifierSelectorInterface extends ethers.utils.Interface {
  functions: {
    "v16()": FunctionFragment;
    "v32()": FunctionFragment;
    "v4()": FunctionFragment;
    "v8()": FunctionFragment;
    "verifyProof(uint256[2],uint256[2][2],uint256[2],uint256[1],uint256)": FunctionFragment;
  };

  encodeFunctionData(functionFragment: "v16", values?: undefined): string;
  encodeFunctionData(functionFragment: "v32", values?: undefined): string;
  encodeFunctionData(functionFragment: "v4", values?: undefined): string;
  encodeFunctionData(functionFragment: "v8", values?: undefined): string;
  encodeFunctionData(
    functionFragment: "verifyProof",
    values: [
      [BigNumberish, BigNumberish],
      [[BigNumberish, BigNumberish], [BigNumberish, BigNumberish]],
      [BigNumberish, BigNumberish],
      [BigNumberish],
      BigNumberish
    ]
  ): string;

  decodeFunctionResult(functionFragment: "v16", data: BytesLike): Result;
  decodeFunctionResult(functionFragment: "v32", data: BytesLike): Result;
  decodeFunctionResult(functionFragment: "v4", data: BytesLike): Result;
  decodeFunctionResult(functionFragment: "v8", data: BytesLike): Result;
  decodeFunctionResult(
    functionFragment: "verifyProof",
    data: BytesLike
  ): Result;

  events: {};
}

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

  listeners<EventArgsArray extends Array<any>, EventArgsObject>(
    eventFilter?: TypedEventFilter<EventArgsArray, EventArgsObject>
  ): Array<TypedListener<EventArgsArray, EventArgsObject>>;
  off<EventArgsArray extends Array<any>, EventArgsObject>(
    eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>,
    listener: TypedListener<EventArgsArray, EventArgsObject>
  ): this;
  on<EventArgsArray extends Array<any>, EventArgsObject>(
    eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>,
    listener: TypedListener<EventArgsArray, EventArgsObject>
  ): this;
  once<EventArgsArray extends Array<any>, EventArgsObject>(
    eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>,
    listener: TypedListener<EventArgsArray, EventArgsObject>
  ): this;
  removeListener<EventArgsArray extends Array<any>, EventArgsObject>(
    eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>,
    listener: TypedListener<EventArgsArray, EventArgsObject>
  ): this;
  removeAllListeners<EventArgsArray extends Array<any>, EventArgsObject>(
    eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>
  ): this;

  listeners(eventName?: string): Array<Listener>;
  off(eventName: string, listener: Listener): this;
  on(eventName: string, listener: Listener): this;
  once(eventName: string, listener: Listener): this;
  removeListener(eventName: string, listener: Listener): this;
  removeAllListeners(eventName?: string): this;

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

  interface: BatchTreeVerifierSelectorInterface;

  functions: {
    v16(overrides?: CallOverrides): Promise<[string]>;

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

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

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

    verifyProof(
      _a: [BigNumberish, BigNumberish],
      _b: [[BigNumberish, BigNumberish], [BigNumberish, BigNumberish]],
      _c: [BigNumberish, BigNumberish],
      _input: [BigNumberish],
      _batchSize: BigNumberish,
      overrides?: CallOverrides
    ): Promise<[boolean]>;
  };

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

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

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

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

  verifyProof(
    _a: [BigNumberish, BigNumberish],
    _b: [[BigNumberish, BigNumberish], [BigNumberish, BigNumberish]],
    _c: [BigNumberish, BigNumberish],
    _input: [BigNumberish],
    _batchSize: BigNumberish,
    overrides?: CallOverrides
  ): Promise<boolean>;

  callStatic: {
    v16(overrides?: CallOverrides): Promise<string>;

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

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

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

    verifyProof(
      _a: [BigNumberish, BigNumberish],
      _b: [[BigNumberish, BigNumberish], [BigNumberish, BigNumberish]],
      _c: [BigNumberish, BigNumberish],
      _input: [BigNumberish],
      _batchSize: BigNumberish,
      overrides?: CallOverrides
    ): Promise<boolean>;
  };

  filters: {};

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

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

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

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

    verifyProof(
      _a: [BigNumberish, BigNumberish],
      _b: [[BigNumberish, BigNumberish], [BigNumberish, BigNumberish]],
      _c: [BigNumberish, BigNumberish],
      _input: [BigNumberish],
      _batchSize: BigNumberish,
      overrides?: CallOverrides
    ): Promise<BigNumber>;
  };

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

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

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

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

    verifyProof(
      _a: [BigNumberish, BigNumberish],
      _b: [[BigNumberish, BigNumberish], [BigNumberish, BigNumberish]],
      _c: [BigNumberish, BigNumberish],
      _input: [BigNumberish],
      _batchSize: BigNumberish,
      overrides?: CallOverrides
    ): Promise<PopulatedTransaction>;
  };
}
