/* 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 IL2CurationInterface extends Interface {
  getFunction(
    nameOrSignature:
      | "mintTaxFree"
      | "setSubgraphService"
      | "tokensToSignalNoTax"
      | "tokensToSignalToTokensNoTax",
  ): FunctionFragment;

  encodeFunctionData(
    functionFragment: "mintTaxFree",
    values: [BytesLike, BigNumberish],
  ): string;
  encodeFunctionData(
    functionFragment: "setSubgraphService",
    values: [AddressLike],
  ): 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: "tokensToSignalNoTax",
    data: BytesLike,
  ): Result;
  decodeFunctionResult(
    functionFragment: "tokensToSignalToTokensNoTax",
    data: BytesLike,
  ): Result;
}

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

  interface: IL2CurationInterface;

  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"
  >;

  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: "tokensToSignalNoTax",
  ): TypedContractMethod<
    [subgraphDeploymentID: BytesLike, tokensIn: BigNumberish],
    [bigint],
    "view"
  >;
  getFunction(
    nameOrSignature: "tokensToSignalToTokensNoTax",
  ): TypedContractMethod<
    [subgraphDeploymentID: BytesLike, tokensIn: BigNumberish],
    [bigint],
    "view"
  >;

  filters: {};
}
