/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import type {
  BaseContract,
  BigNumberish,
  BytesLike,
  FunctionFragment,
  Result,
  Interface,
  AddressLike,
  ContractRunner,
  ContractMethod,
  Listener,
} from "ethers";
import type {
  TypedContractEvent,
  TypedDeferredTopicFilter,
  TypedEventLog,
  TypedListener,
  TypedContractMethod,
} from "../../../common";

export interface IL2CurationToolshedInterface extends Interface {
  getFunction(
    nameOrSignature:
      | "mintTaxFree"
      | "setSubgraphService"
      | "subgraphService"
      | "tokensToSignalNoTax"
      | "tokensToSignalToTokensNoTax"
  ): FunctionFragment;

  encodeFunctionData(
    functionFragment: "mintTaxFree",
    values: [BytesLike, BigNumberish]
  ): string;
  encodeFunctionData(
    functionFragment: "setSubgraphService",
    values: [AddressLike]
  ): string;
  encodeFunctionData(
    functionFragment: "subgraphService",
    values?: undefined
  ): string;
  encodeFunctionData(
    functionFragment: "tokensToSignalNoTax",
    values: [BytesLike, BigNumberish]
  ): string;
  encodeFunctionData(
    functionFragment: "tokensToSignalToTokensNoTax",
    values: [BytesLike, BigNumberish]
  ): string;

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

export interface IL2CurationToolshed extends BaseContract {
  connect(runner?: ContractRunner | null): IL2CurationToolshed;
  waitForDeployment(): Promise<this>;

  interface: IL2CurationToolshedInterface;

  queryFilter<TCEvent extends TypedContractEvent>(
    event: TCEvent,
    fromBlockOrBlockhash?: string | number | undefined,
    toBlock?: string | number | undefined
  ): Promise<Array<TypedEventLog<TCEvent>>>;
  queryFilter<TCEvent extends TypedContractEvent>(
    filter: TypedDeferredTopicFilter<TCEvent>,
    fromBlockOrBlockhash?: string | number | undefined,
    toBlock?: string | number | undefined
  ): Promise<Array<TypedEventLog<TCEvent>>>;

  on<TCEvent extends TypedContractEvent>(
    event: TCEvent,
    listener: TypedListener<TCEvent>
  ): Promise<this>;
  on<TCEvent extends TypedContractEvent>(
    filter: TypedDeferredTopicFilter<TCEvent>,
    listener: TypedListener<TCEvent>
  ): Promise<this>;

  once<TCEvent extends TypedContractEvent>(
    event: TCEvent,
    listener: TypedListener<TCEvent>
  ): Promise<this>;
  once<TCEvent extends TypedContractEvent>(
    filter: TypedDeferredTopicFilter<TCEvent>,
    listener: TypedListener<TCEvent>
  ): Promise<this>;

  listeners<TCEvent extends TypedContractEvent>(
    event: TCEvent
  ): Promise<Array<TypedListener<TCEvent>>>;
  listeners(eventName?: string): Promise<Array<Listener>>;
  removeAllListeners<TCEvent extends TypedContractEvent>(
    event?: TCEvent
  ): Promise<this>;

  mintTaxFree: TypedContractMethod<
    [_subgraphDeploymentID: BytesLike, _tokensIn: BigNumberish],
    [bigint],
    "nonpayable"
  >;

  setSubgraphService: TypedContractMethod<
    [_subgraphService: AddressLike],
    [void],
    "nonpayable"
  >;

  subgraphService: TypedContractMethod<[], [string], "view">;

  tokensToSignalNoTax: TypedContractMethod<
    [_subgraphDeploymentID: BytesLike, _tokensIn: BigNumberish],
    [bigint],
    "view"
  >;

  tokensToSignalToTokensNoTax: TypedContractMethod<
    [_subgraphDeploymentID: BytesLike, _tokensIn: BigNumberish],
    [bigint],
    "view"
  >;

  getFunction<T extends ContractMethod = ContractMethod>(
    key: string | FunctionFragment
  ): T;

  getFunction(
    nameOrSignature: "mintTaxFree"
  ): TypedContractMethod<
    [_subgraphDeploymentID: BytesLike, _tokensIn: BigNumberish],
    [bigint],
    "nonpayable"
  >;
  getFunction(
    nameOrSignature: "setSubgraphService"
  ): TypedContractMethod<[_subgraphService: AddressLike], [void], "nonpayable">;
  getFunction(
    nameOrSignature: "subgraphService"
  ): TypedContractMethod<[], [string], "view">;
  getFunction(
    nameOrSignature: "tokensToSignalNoTax"
  ): TypedContractMethod<
    [_subgraphDeploymentID: BytesLike, _tokensIn: BigNumberish],
    [bigint],
    "view"
  >;
  getFunction(
    nameOrSignature: "tokensToSignalToTokensNoTax"
  ): TypedContractMethod<
    [_subgraphDeploymentID: BytesLike, _tokensIn: BigNumberish],
    [bigint],
    "view"
  >;

  filters: {};
}
