/* 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:
      | "burn"
      | "collect"
      | "curationTaxPercentage"
      | "getCurationPoolSignal"
      | "getCurationPoolTokens"
      | "getCuratorSignal"
      | "isCurated"
      | "mint"
      | "mintTaxFree"
      | "setCurationTaxPercentage"
      | "setCurationTokenMaster"
      | "setDefaultReserveRatio"
      | "setMinimumCurationDeposit"
      | "setSubgraphService"
      | "signalToTokens"
      | "subgraphService"
      | "tokensToSignal"
      | "tokensToSignalNoTax"
      | "tokensToSignalToTokensNoTax",
  ): FunctionFragment;

  encodeFunctionData(
    functionFragment: "burn",
    values: [BytesLike, BigNumberish, BigNumberish],
  ): string;
  encodeFunctionData(
    functionFragment: "collect",
    values: [BytesLike, BigNumberish],
  ): string;
  encodeFunctionData(
    functionFragment: "curationTaxPercentage",
    values?: undefined,
  ): string;
  encodeFunctionData(
    functionFragment: "getCurationPoolSignal",
    values: [BytesLike],
  ): string;
  encodeFunctionData(
    functionFragment: "getCurationPoolTokens",
    values: [BytesLike],
  ): string;
  encodeFunctionData(
    functionFragment: "getCuratorSignal",
    values: [AddressLike, BytesLike],
  ): string;
  encodeFunctionData(
    functionFragment: "isCurated",
    values: [BytesLike],
  ): string;
  encodeFunctionData(
    functionFragment: "mint",
    values: [BytesLike, BigNumberish, BigNumberish],
  ): string;
  encodeFunctionData(
    functionFragment: "mintTaxFree",
    values: [BytesLike, BigNumberish],
  ): string;
  encodeFunctionData(
    functionFragment: "setCurationTaxPercentage",
    values: [BigNumberish],
  ): string;
  encodeFunctionData(
    functionFragment: "setCurationTokenMaster",
    values: [AddressLike],
  ): string;
  encodeFunctionData(
    functionFragment: "setDefaultReserveRatio",
    values: [BigNumberish],
  ): string;
  encodeFunctionData(
    functionFragment: "setMinimumCurationDeposit",
    values: [BigNumberish],
  ): string;
  encodeFunctionData(
    functionFragment: "setSubgraphService",
    values: [AddressLike],
  ): string;
  encodeFunctionData(
    functionFragment: "signalToTokens",
    values: [BytesLike, BigNumberish],
  ): string;
  encodeFunctionData(
    functionFragment: "subgraphService",
    values?: undefined,
  ): string;
  encodeFunctionData(
    functionFragment: "tokensToSignal",
    values: [BytesLike, BigNumberish],
  ): string;
  encodeFunctionData(
    functionFragment: "tokensToSignalNoTax",
    values: [BytesLike, BigNumberish],
  ): string;
  encodeFunctionData(
    functionFragment: "tokensToSignalToTokensNoTax",
    values: [BytesLike, BigNumberish],
  ): string;

  decodeFunctionResult(functionFragment: "burn", data: BytesLike): Result;
  decodeFunctionResult(functionFragment: "collect", data: BytesLike): Result;
  decodeFunctionResult(
    functionFragment: "curationTaxPercentage",
    data: BytesLike,
  ): Result;
  decodeFunctionResult(
    functionFragment: "getCurationPoolSignal",
    data: BytesLike,
  ): Result;
  decodeFunctionResult(
    functionFragment: "getCurationPoolTokens",
    data: BytesLike,
  ): Result;
  decodeFunctionResult(
    functionFragment: "getCuratorSignal",
    data: BytesLike,
  ): Result;
  decodeFunctionResult(functionFragment: "isCurated", data: BytesLike): Result;
  decodeFunctionResult(functionFragment: "mint", data: BytesLike): Result;
  decodeFunctionResult(
    functionFragment: "mintTaxFree",
    data: BytesLike,
  ): Result;
  decodeFunctionResult(
    functionFragment: "setCurationTaxPercentage",
    data: BytesLike,
  ): Result;
  decodeFunctionResult(
    functionFragment: "setCurationTokenMaster",
    data: BytesLike,
  ): Result;
  decodeFunctionResult(
    functionFragment: "setDefaultReserveRatio",
    data: BytesLike,
  ): Result;
  decodeFunctionResult(
    functionFragment: "setMinimumCurationDeposit",
    data: BytesLike,
  ): Result;
  decodeFunctionResult(
    functionFragment: "setSubgraphService",
    data: BytesLike,
  ): Result;
  decodeFunctionResult(
    functionFragment: "signalToTokens",
    data: BytesLike,
  ): Result;
  decodeFunctionResult(
    functionFragment: "subgraphService",
    data: BytesLike,
  ): Result;
  decodeFunctionResult(
    functionFragment: "tokensToSignal",
    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>;

  burn: TypedContractMethod<
    [
      subgraphDeploymentID: BytesLike,
      signalIn: BigNumberish,
      tokensOutMin: BigNumberish,
    ],
    [bigint],
    "nonpayable"
  >;

  collect: TypedContractMethod<
    [subgraphDeploymentID: BytesLike, tokens: BigNumberish],
    [void],
    "nonpayable"
  >;

  curationTaxPercentage: TypedContractMethod<[], [bigint], "view">;

  getCurationPoolSignal: TypedContractMethod<
    [subgraphDeploymentID: BytesLike],
    [bigint],
    "view"
  >;

  getCurationPoolTokens: TypedContractMethod<
    [subgraphDeploymentID: BytesLike],
    [bigint],
    "view"
  >;

  getCuratorSignal: TypedContractMethod<
    [curator: AddressLike, subgraphDeploymentID: BytesLike],
    [bigint],
    "view"
  >;

  isCurated: TypedContractMethod<
    [subgraphDeploymentID: BytesLike],
    [boolean],
    "view"
  >;

  mint: TypedContractMethod<
    [
      subgraphDeploymentID: BytesLike,
      tokensIn: BigNumberish,
      signalOutMin: BigNumberish,
    ],
    [[bigint, bigint]],
    "nonpayable"
  >;

  mintTaxFree: TypedContractMethod<
    [subgraphDeploymentID: BytesLike, tokensIn: BigNumberish],
    [bigint],
    "nonpayable"
  >;

  setCurationTaxPercentage: TypedContractMethod<
    [percentage: BigNumberish],
    [void],
    "nonpayable"
  >;

  setCurationTokenMaster: TypedContractMethod<
    [curationTokenMaster: AddressLike],
    [void],
    "nonpayable"
  >;

  setDefaultReserveRatio: TypedContractMethod<
    [defaultReserveRatio: BigNumberish],
    [void],
    "nonpayable"
  >;

  setMinimumCurationDeposit: TypedContractMethod<
    [minimumCurationDeposit: BigNumberish],
    [void],
    "nonpayable"
  >;

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

  signalToTokens: TypedContractMethod<
    [subgraphDeploymentID: BytesLike, signalIn: BigNumberish],
    [bigint],
    "view"
  >;

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

  tokensToSignal: TypedContractMethod<
    [subgraphDeploymentID: BytesLike, tokensIn: BigNumberish],
    [[bigint, bigint]],
    "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: "burn",
  ): TypedContractMethod<
    [
      subgraphDeploymentID: BytesLike,
      signalIn: BigNumberish,
      tokensOutMin: BigNumberish,
    ],
    [bigint],
    "nonpayable"
  >;
  getFunction(
    nameOrSignature: "collect",
  ): TypedContractMethod<
    [subgraphDeploymentID: BytesLike, tokens: BigNumberish],
    [void],
    "nonpayable"
  >;
  getFunction(
    nameOrSignature: "curationTaxPercentage",
  ): TypedContractMethod<[], [bigint], "view">;
  getFunction(
    nameOrSignature: "getCurationPoolSignal",
  ): TypedContractMethod<[subgraphDeploymentID: BytesLike], [bigint], "view">;
  getFunction(
    nameOrSignature: "getCurationPoolTokens",
  ): TypedContractMethod<[subgraphDeploymentID: BytesLike], [bigint], "view">;
  getFunction(
    nameOrSignature: "getCuratorSignal",
  ): TypedContractMethod<
    [curator: AddressLike, subgraphDeploymentID: BytesLike],
    [bigint],
    "view"
  >;
  getFunction(
    nameOrSignature: "isCurated",
  ): TypedContractMethod<[subgraphDeploymentID: BytesLike], [boolean], "view">;
  getFunction(
    nameOrSignature: "mint",
  ): TypedContractMethod<
    [
      subgraphDeploymentID: BytesLike,
      tokensIn: BigNumberish,
      signalOutMin: BigNumberish,
    ],
    [[bigint, bigint]],
    "nonpayable"
  >;
  getFunction(
    nameOrSignature: "mintTaxFree",
  ): TypedContractMethod<
    [subgraphDeploymentID: BytesLike, tokensIn: BigNumberish],
    [bigint],
    "nonpayable"
  >;
  getFunction(
    nameOrSignature: "setCurationTaxPercentage",
  ): TypedContractMethod<[percentage: BigNumberish], [void], "nonpayable">;
  getFunction(
    nameOrSignature: "setCurationTokenMaster",
  ): TypedContractMethod<
    [curationTokenMaster: AddressLike],
    [void],
    "nonpayable"
  >;
  getFunction(
    nameOrSignature: "setDefaultReserveRatio",
  ): TypedContractMethod<
    [defaultReserveRatio: BigNumberish],
    [void],
    "nonpayable"
  >;
  getFunction(
    nameOrSignature: "setMinimumCurationDeposit",
  ): TypedContractMethod<
    [minimumCurationDeposit: BigNumberish],
    [void],
    "nonpayable"
  >;
  getFunction(
    nameOrSignature: "setSubgraphService",
  ): TypedContractMethod<[subgraphService: AddressLike], [void], "nonpayable">;
  getFunction(
    nameOrSignature: "signalToTokens",
  ): TypedContractMethod<
    [subgraphDeploymentID: BytesLike, signalIn: BigNumberish],
    [bigint],
    "view"
  >;
  getFunction(
    nameOrSignature: "subgraphService",
  ): TypedContractMethod<[], [string], "view">;
  getFunction(
    nameOrSignature: "tokensToSignal",
  ): TypedContractMethod<
    [subgraphDeploymentID: BytesLike, tokensIn: BigNumberish],
    [[bigint, bigint]],
    "view"
  >;
  getFunction(
    nameOrSignature: "tokensToSignalNoTax",
  ): TypedContractMethod<
    [subgraphDeploymentID: BytesLike, tokensIn: BigNumberish],
    [bigint],
    "view"
  >;
  getFunction(
    nameOrSignature: "tokensToSignalToTokensNoTax",
  ): TypedContractMethod<
    [subgraphDeploymentID: BytesLike, tokensIn: BigNumberish],
    [bigint],
    "view"
  >;

  filters: {};
}
