/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import type {
  BaseContract,
  BigNumber,
  BigNumberish,
  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 IL2CurationInterface extends utils.Interface {
  functions: {
    "mintTaxFree(bytes32,uint256)": FunctionFragment;
    "setSubgraphService(address)": FunctionFragment;
    "tokensToSignalNoTax(bytes32,uint256)": FunctionFragment;
    "tokensToSignalToTokensNoTax(bytes32,uint256)": FunctionFragment;
  };

  getFunction(
    nameOrSignatureOrTopic:
      | "mintTaxFree"
      | "setSubgraphService"
      | "tokensToSignalNoTax"
      | "tokensToSignalToTokensNoTax",
  ): FunctionFragment;

  encodeFunctionData(
    functionFragment: "mintTaxFree",
    values: [PromiseOrValue<BytesLike>, PromiseOrValue<BigNumberish>],
  ): string;
  encodeFunctionData(
    functionFragment: "setSubgraphService",
    values: [PromiseOrValue<string>],
  ): string;
  encodeFunctionData(
    functionFragment: "tokensToSignalNoTax",
    values: [PromiseOrValue<BytesLike>, PromiseOrValue<BigNumberish>],
  ): string;
  encodeFunctionData(
    functionFragment: "tokensToSignalToTokensNoTax",
    values: [PromiseOrValue<BytesLike>, PromiseOrValue<BigNumberish>],
  ): string;

  decodeFunctionResult(
    functionFragment: "mintTaxFree",
    data: BytesLike,
  ): Result;
  decodeFunctionResult(
    functionFragment: "setSubgraphService",
    data: BytesLike,
  ): Result;
  decodeFunctionResult(
    functionFragment: "tokensToSignalNoTax",
    data: BytesLike,
  ): Result;
  decodeFunctionResult(
    functionFragment: "tokensToSignalToTokensNoTax",
    data: BytesLike,
  ): Result;

  events: {};
}

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

  interface: IL2CurationInterface;

  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: {
    mintTaxFree(
      subgraphDeploymentID: PromiseOrValue<BytesLike>,
      tokensIn: PromiseOrValue<BigNumberish>,
      overrides?: Overrides & { from?: PromiseOrValue<string> },
    ): Promise<ContractTransaction>;

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

    tokensToSignalNoTax(
      subgraphDeploymentID: PromiseOrValue<BytesLike>,
      tokensIn: PromiseOrValue<BigNumberish>,
      overrides?: CallOverrides,
    ): Promise<[BigNumber]>;

    tokensToSignalToTokensNoTax(
      subgraphDeploymentID: PromiseOrValue<BytesLike>,
      tokensIn: PromiseOrValue<BigNumberish>,
      overrides?: CallOverrides,
    ): Promise<[BigNumber]>;
  };

  mintTaxFree(
    subgraphDeploymentID: PromiseOrValue<BytesLike>,
    tokensIn: PromiseOrValue<BigNumberish>,
    overrides?: Overrides & { from?: PromiseOrValue<string> },
  ): Promise<ContractTransaction>;

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

  tokensToSignalNoTax(
    subgraphDeploymentID: PromiseOrValue<BytesLike>,
    tokensIn: PromiseOrValue<BigNumberish>,
    overrides?: CallOverrides,
  ): Promise<BigNumber>;

  tokensToSignalToTokensNoTax(
    subgraphDeploymentID: PromiseOrValue<BytesLike>,
    tokensIn: PromiseOrValue<BigNumberish>,
    overrides?: CallOverrides,
  ): Promise<BigNumber>;

  callStatic: {
    mintTaxFree(
      subgraphDeploymentID: PromiseOrValue<BytesLike>,
      tokensIn: PromiseOrValue<BigNumberish>,
      overrides?: CallOverrides,
    ): Promise<BigNumber>;

    setSubgraphService(
      subgraphService: PromiseOrValue<string>,
      overrides?: CallOverrides,
    ): Promise<void>;

    tokensToSignalNoTax(
      subgraphDeploymentID: PromiseOrValue<BytesLike>,
      tokensIn: PromiseOrValue<BigNumberish>,
      overrides?: CallOverrides,
    ): Promise<BigNumber>;

    tokensToSignalToTokensNoTax(
      subgraphDeploymentID: PromiseOrValue<BytesLike>,
      tokensIn: PromiseOrValue<BigNumberish>,
      overrides?: CallOverrides,
    ): Promise<BigNumber>;
  };

  filters: {};

  estimateGas: {
    mintTaxFree(
      subgraphDeploymentID: PromiseOrValue<BytesLike>,
      tokensIn: PromiseOrValue<BigNumberish>,
      overrides?: Overrides & { from?: PromiseOrValue<string> },
    ): Promise<BigNumber>;

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

    tokensToSignalNoTax(
      subgraphDeploymentID: PromiseOrValue<BytesLike>,
      tokensIn: PromiseOrValue<BigNumberish>,
      overrides?: CallOverrides,
    ): Promise<BigNumber>;

    tokensToSignalToTokensNoTax(
      subgraphDeploymentID: PromiseOrValue<BytesLike>,
      tokensIn: PromiseOrValue<BigNumberish>,
      overrides?: CallOverrides,
    ): Promise<BigNumber>;
  };

  populateTransaction: {
    mintTaxFree(
      subgraphDeploymentID: PromiseOrValue<BytesLike>,
      tokensIn: PromiseOrValue<BigNumberish>,
      overrides?: Overrides & { from?: PromiseOrValue<string> },
    ): Promise<PopulatedTransaction>;

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

    tokensToSignalNoTax(
      subgraphDeploymentID: PromiseOrValue<BytesLike>,
      tokensIn: PromiseOrValue<BigNumberish>,
      overrides?: CallOverrides,
    ): Promise<PopulatedTransaction>;

    tokensToSignalToTokensNoTax(
      subgraphDeploymentID: PromiseOrValue<BytesLike>,
      tokensIn: PromiseOrValue<BigNumberish>,
      overrides?: CallOverrides,
    ): Promise<PopulatedTransaction>;
  };
}
