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

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

interface CurationInterface extends ethers.utils.Interface {
  functions: {
    "acceptProxy(address)": FunctionFragment;
    "acceptProxyAndCall(address,bytes)": FunctionFragment;
    "bondingCurve()": FunctionFragment;
    "burn(bytes32,uint256,uint256)": FunctionFragment;
    "collect(bytes32,uint256)": FunctionFragment;
    "controller()": FunctionFragment;
    "curationTaxPercentage()": FunctionFragment;
    "defaultReserveRatio()": FunctionFragment;
    "getCurationPoolSignal(bytes32)": FunctionFragment;
    "getCurationPoolTokens(bytes32)": FunctionFragment;
    "getCuratorSignal(address,bytes32)": FunctionFragment;
    "initialize(address,address,uint32,uint32,uint256)": FunctionFragment;
    "isCurated(bytes32)": FunctionFragment;
    "minimumCurationDeposit()": FunctionFragment;
    "mint(bytes32,uint256,uint256)": FunctionFragment;
    "pools(bytes32)": FunctionFragment;
    "setController(address)": FunctionFragment;
    "setCurationTaxPercentage(uint32)": FunctionFragment;
    "setDefaultReserveRatio(uint32)": FunctionFragment;
    "setMinimumCurationDeposit(uint256)": FunctionFragment;
    "signalToTokens(bytes32,uint256)": FunctionFragment;
    "syncAllContracts()": FunctionFragment;
    "tokensToSignal(bytes32,uint256)": FunctionFragment;
  };

  encodeFunctionData(functionFragment: "acceptProxy", values: [string]): string;
  encodeFunctionData(
    functionFragment: "acceptProxyAndCall",
    values: [string, BytesLike]
  ): string;
  encodeFunctionData(
    functionFragment: "bondingCurve",
    values?: undefined
  ): string;
  encodeFunctionData(
    functionFragment: "burn",
    values: [BytesLike, BigNumberish, BigNumberish]
  ): string;
  encodeFunctionData(
    functionFragment: "collect",
    values: [BytesLike, BigNumberish]
  ): string;
  encodeFunctionData(
    functionFragment: "controller",
    values?: undefined
  ): string;
  encodeFunctionData(
    functionFragment: "curationTaxPercentage",
    values?: undefined
  ): string;
  encodeFunctionData(
    functionFragment: "defaultReserveRatio",
    values?: undefined
  ): string;
  encodeFunctionData(
    functionFragment: "getCurationPoolSignal",
    values: [BytesLike]
  ): string;
  encodeFunctionData(
    functionFragment: "getCurationPoolTokens",
    values: [BytesLike]
  ): string;
  encodeFunctionData(
    functionFragment: "getCuratorSignal",
    values: [string, BytesLike]
  ): string;
  encodeFunctionData(
    functionFragment: "initialize",
    values: [string, string, BigNumberish, BigNumberish, BigNumberish]
  ): string;
  encodeFunctionData(
    functionFragment: "isCurated",
    values: [BytesLike]
  ): string;
  encodeFunctionData(
    functionFragment: "minimumCurationDeposit",
    values?: undefined
  ): string;
  encodeFunctionData(
    functionFragment: "mint",
    values: [BytesLike, BigNumberish, BigNumberish]
  ): string;
  encodeFunctionData(functionFragment: "pools", values: [BytesLike]): string;
  encodeFunctionData(
    functionFragment: "setController",
    values: [string]
  ): string;
  encodeFunctionData(
    functionFragment: "setCurationTaxPercentage",
    values: [BigNumberish]
  ): string;
  encodeFunctionData(
    functionFragment: "setDefaultReserveRatio",
    values: [BigNumberish]
  ): string;
  encodeFunctionData(
    functionFragment: "setMinimumCurationDeposit",
    values: [BigNumberish]
  ): string;
  encodeFunctionData(
    functionFragment: "signalToTokens",
    values: [BytesLike, BigNumberish]
  ): string;
  encodeFunctionData(
    functionFragment: "syncAllContracts",
    values?: undefined
  ): string;
  encodeFunctionData(
    functionFragment: "tokensToSignal",
    values: [BytesLike, BigNumberish]
  ): string;

  decodeFunctionResult(
    functionFragment: "acceptProxy",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "acceptProxyAndCall",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "bondingCurve",
    data: BytesLike
  ): Result;
  decodeFunctionResult(functionFragment: "burn", data: BytesLike): Result;
  decodeFunctionResult(functionFragment: "collect", data: BytesLike): Result;
  decodeFunctionResult(functionFragment: "controller", data: BytesLike): Result;
  decodeFunctionResult(
    functionFragment: "curationTaxPercentage",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "defaultReserveRatio",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "getCurationPoolSignal",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "getCurationPoolTokens",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "getCuratorSignal",
    data: BytesLike
  ): Result;
  decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result;
  decodeFunctionResult(functionFragment: "isCurated", data: BytesLike): Result;
  decodeFunctionResult(
    functionFragment: "minimumCurationDeposit",
    data: BytesLike
  ): Result;
  decodeFunctionResult(functionFragment: "mint", data: BytesLike): Result;
  decodeFunctionResult(functionFragment: "pools", data: BytesLike): Result;
  decodeFunctionResult(
    functionFragment: "setController",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "setCurationTaxPercentage",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "setDefaultReserveRatio",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "setMinimumCurationDeposit",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "signalToTokens",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "syncAllContracts",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "tokensToSignal",
    data: BytesLike
  ): Result;

  events: {
    "Burned(address,bytes32,uint256,uint256)": EventFragment;
    "Collected(bytes32,uint256)": EventFragment;
    "ContractSynced(bytes32,address)": EventFragment;
    "ParameterUpdated(string)": EventFragment;
    "SetController(address)": EventFragment;
    "Signalled(address,bytes32,uint256,uint256,uint256)": EventFragment;
  };

  getEvent(nameOrSignatureOrTopic: "Burned"): EventFragment;
  getEvent(nameOrSignatureOrTopic: "Collected"): EventFragment;
  getEvent(nameOrSignatureOrTopic: "ContractSynced"): EventFragment;
  getEvent(nameOrSignatureOrTopic: "ParameterUpdated"): EventFragment;
  getEvent(nameOrSignatureOrTopic: "SetController"): EventFragment;
  getEvent(nameOrSignatureOrTopic: "Signalled"): EventFragment;
}

export class Curation 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: CurationInterface;

  functions: {
    acceptProxy(
      _proxy: string,
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<ContractTransaction>;

    acceptProxyAndCall(
      _proxy: string,
      _data: BytesLike,
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<ContractTransaction>;

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

    burn(
      _subgraphDeploymentID: BytesLike,
      _signalIn: BigNumberish,
      _tokensOutMin: BigNumberish,
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<ContractTransaction>;

    collect(
      _subgraphDeploymentID: BytesLike,
      _tokens: BigNumberish,
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<ContractTransaction>;

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

    curationTaxPercentage(overrides?: CallOverrides): Promise<[number]>;

    defaultReserveRatio(overrides?: CallOverrides): Promise<[number]>;

    getCurationPoolSignal(
      _subgraphDeploymentID: BytesLike,
      overrides?: CallOverrides
    ): Promise<[BigNumber]>;

    getCurationPoolTokens(
      _subgraphDeploymentID: BytesLike,
      overrides?: CallOverrides
    ): Promise<[BigNumber]>;

    getCuratorSignal(
      _curator: string,
      _subgraphDeploymentID: BytesLike,
      overrides?: CallOverrides
    ): Promise<[BigNumber]>;

    initialize(
      _controller: string,
      _bondingCurve: string,
      _defaultReserveRatio: BigNumberish,
      _curationTaxPercentage: BigNumberish,
      _minimumCurationDeposit: BigNumberish,
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<ContractTransaction>;

    isCurated(
      _subgraphDeploymentID: BytesLike,
      overrides?: CallOverrides
    ): Promise<[boolean]>;

    minimumCurationDeposit(overrides?: CallOverrides): Promise<[BigNumber]>;

    mint(
      _subgraphDeploymentID: BytesLike,
      _tokensIn: BigNumberish,
      _signalOutMin: BigNumberish,
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<ContractTransaction>;

    pools(
      arg0: BytesLike,
      overrides?: CallOverrides
    ): Promise<
      [BigNumber, number, string] & {
        tokens: BigNumber;
        reserveRatio: number;
        gcs: string;
      }
    >;

    setController(
      _controller: string,
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<ContractTransaction>;

    setCurationTaxPercentage(
      _percentage: BigNumberish,
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<ContractTransaction>;

    setDefaultReserveRatio(
      _defaultReserveRatio: BigNumberish,
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<ContractTransaction>;

    setMinimumCurationDeposit(
      _minimumCurationDeposit: BigNumberish,
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<ContractTransaction>;

    signalToTokens(
      _subgraphDeploymentID: BytesLike,
      _signalIn: BigNumberish,
      overrides?: CallOverrides
    ): Promise<[BigNumber]>;

    syncAllContracts(
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<ContractTransaction>;

    tokensToSignal(
      _subgraphDeploymentID: BytesLike,
      _tokensIn: BigNumberish,
      overrides?: CallOverrides
    ): Promise<[BigNumber, BigNumber]>;
  };

  acceptProxy(
    _proxy: string,
    overrides?: Overrides & { from?: string | Promise<string> }
  ): Promise<ContractTransaction>;

  acceptProxyAndCall(
    _proxy: string,
    _data: BytesLike,
    overrides?: Overrides & { from?: string | Promise<string> }
  ): Promise<ContractTransaction>;

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

  burn(
    _subgraphDeploymentID: BytesLike,
    _signalIn: BigNumberish,
    _tokensOutMin: BigNumberish,
    overrides?: Overrides & { from?: string | Promise<string> }
  ): Promise<ContractTransaction>;

  collect(
    _subgraphDeploymentID: BytesLike,
    _tokens: BigNumberish,
    overrides?: Overrides & { from?: string | Promise<string> }
  ): Promise<ContractTransaction>;

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

  curationTaxPercentage(overrides?: CallOverrides): Promise<number>;

  defaultReserveRatio(overrides?: CallOverrides): Promise<number>;

  getCurationPoolSignal(
    _subgraphDeploymentID: BytesLike,
    overrides?: CallOverrides
  ): Promise<BigNumber>;

  getCurationPoolTokens(
    _subgraphDeploymentID: BytesLike,
    overrides?: CallOverrides
  ): Promise<BigNumber>;

  getCuratorSignal(
    _curator: string,
    _subgraphDeploymentID: BytesLike,
    overrides?: CallOverrides
  ): Promise<BigNumber>;

  initialize(
    _controller: string,
    _bondingCurve: string,
    _defaultReserveRatio: BigNumberish,
    _curationTaxPercentage: BigNumberish,
    _minimumCurationDeposit: BigNumberish,
    overrides?: Overrides & { from?: string | Promise<string> }
  ): Promise<ContractTransaction>;

  isCurated(
    _subgraphDeploymentID: BytesLike,
    overrides?: CallOverrides
  ): Promise<boolean>;

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

  mint(
    _subgraphDeploymentID: BytesLike,
    _tokensIn: BigNumberish,
    _signalOutMin: BigNumberish,
    overrides?: Overrides & { from?: string | Promise<string> }
  ): Promise<ContractTransaction>;

  pools(
    arg0: BytesLike,
    overrides?: CallOverrides
  ): Promise<
    [BigNumber, number, string] & {
      tokens: BigNumber;
      reserveRatio: number;
      gcs: string;
    }
  >;

  setController(
    _controller: string,
    overrides?: Overrides & { from?: string | Promise<string> }
  ): Promise<ContractTransaction>;

  setCurationTaxPercentage(
    _percentage: BigNumberish,
    overrides?: Overrides & { from?: string | Promise<string> }
  ): Promise<ContractTransaction>;

  setDefaultReserveRatio(
    _defaultReserveRatio: BigNumberish,
    overrides?: Overrides & { from?: string | Promise<string> }
  ): Promise<ContractTransaction>;

  setMinimumCurationDeposit(
    _minimumCurationDeposit: BigNumberish,
    overrides?: Overrides & { from?: string | Promise<string> }
  ): Promise<ContractTransaction>;

  signalToTokens(
    _subgraphDeploymentID: BytesLike,
    _signalIn: BigNumberish,
    overrides?: CallOverrides
  ): Promise<BigNumber>;

  syncAllContracts(
    overrides?: Overrides & { from?: string | Promise<string> }
  ): Promise<ContractTransaction>;

  tokensToSignal(
    _subgraphDeploymentID: BytesLike,
    _tokensIn: BigNumberish,
    overrides?: CallOverrides
  ): Promise<[BigNumber, BigNumber]>;

  callStatic: {
    acceptProxy(_proxy: string, overrides?: CallOverrides): Promise<void>;

    acceptProxyAndCall(
      _proxy: string,
      _data: BytesLike,
      overrides?: CallOverrides
    ): Promise<void>;

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

    burn(
      _subgraphDeploymentID: BytesLike,
      _signalIn: BigNumberish,
      _tokensOutMin: BigNumberish,
      overrides?: CallOverrides
    ): Promise<BigNumber>;

    collect(
      _subgraphDeploymentID: BytesLike,
      _tokens: BigNumberish,
      overrides?: CallOverrides
    ): Promise<void>;

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

    curationTaxPercentage(overrides?: CallOverrides): Promise<number>;

    defaultReserveRatio(overrides?: CallOverrides): Promise<number>;

    getCurationPoolSignal(
      _subgraphDeploymentID: BytesLike,
      overrides?: CallOverrides
    ): Promise<BigNumber>;

    getCurationPoolTokens(
      _subgraphDeploymentID: BytesLike,
      overrides?: CallOverrides
    ): Promise<BigNumber>;

    getCuratorSignal(
      _curator: string,
      _subgraphDeploymentID: BytesLike,
      overrides?: CallOverrides
    ): Promise<BigNumber>;

    initialize(
      _controller: string,
      _bondingCurve: string,
      _defaultReserveRatio: BigNumberish,
      _curationTaxPercentage: BigNumberish,
      _minimumCurationDeposit: BigNumberish,
      overrides?: CallOverrides
    ): Promise<void>;

    isCurated(
      _subgraphDeploymentID: BytesLike,
      overrides?: CallOverrides
    ): Promise<boolean>;

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

    mint(
      _subgraphDeploymentID: BytesLike,
      _tokensIn: BigNumberish,
      _signalOutMin: BigNumberish,
      overrides?: CallOverrides
    ): Promise<[BigNumber, BigNumber]>;

    pools(
      arg0: BytesLike,
      overrides?: CallOverrides
    ): Promise<
      [BigNumber, number, string] & {
        tokens: BigNumber;
        reserveRatio: number;
        gcs: string;
      }
    >;

    setController(
      _controller: string,
      overrides?: CallOverrides
    ): Promise<void>;

    setCurationTaxPercentage(
      _percentage: BigNumberish,
      overrides?: CallOverrides
    ): Promise<void>;

    setDefaultReserveRatio(
      _defaultReserveRatio: BigNumberish,
      overrides?: CallOverrides
    ): Promise<void>;

    setMinimumCurationDeposit(
      _minimumCurationDeposit: BigNumberish,
      overrides?: CallOverrides
    ): Promise<void>;

    signalToTokens(
      _subgraphDeploymentID: BytesLike,
      _signalIn: BigNumberish,
      overrides?: CallOverrides
    ): Promise<BigNumber>;

    syncAllContracts(overrides?: CallOverrides): Promise<void>;

    tokensToSignal(
      _subgraphDeploymentID: BytesLike,
      _tokensIn: BigNumberish,
      overrides?: CallOverrides
    ): Promise<[BigNumber, BigNumber]>;
  };

  filters: {
    Burned(
      curator?: string | null,
      subgraphDeploymentID?: BytesLike | null,
      tokens?: null,
      signal?: null
    ): TypedEventFilter<
      [string, string, BigNumber, BigNumber],
      {
        curator: string;
        subgraphDeploymentID: string;
        tokens: BigNumber;
        signal: BigNumber;
      }
    >;

    Collected(
      subgraphDeploymentID?: BytesLike | null,
      tokens?: null
    ): TypedEventFilter<
      [string, BigNumber],
      { subgraphDeploymentID: string; tokens: BigNumber }
    >;

    ContractSynced(
      nameHash?: BytesLike | null,
      contractAddress?: null
    ): TypedEventFilter<
      [string, string],
      { nameHash: string; contractAddress: string }
    >;

    ParameterUpdated(
      param?: null
    ): TypedEventFilter<[string], { param: string }>;

    SetController(
      controller?: null
    ): TypedEventFilter<[string], { controller: string }>;

    Signalled(
      curator?: string | null,
      subgraphDeploymentID?: BytesLike | null,
      tokens?: null,
      signal?: null,
      curationTax?: null
    ): TypedEventFilter<
      [string, string, BigNumber, BigNumber, BigNumber],
      {
        curator: string;
        subgraphDeploymentID: string;
        tokens: BigNumber;
        signal: BigNumber;
        curationTax: BigNumber;
      }
    >;
  };

  estimateGas: {
    acceptProxy(
      _proxy: string,
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<BigNumber>;

    acceptProxyAndCall(
      _proxy: string,
      _data: BytesLike,
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<BigNumber>;

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

    burn(
      _subgraphDeploymentID: BytesLike,
      _signalIn: BigNumberish,
      _tokensOutMin: BigNumberish,
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<BigNumber>;

    collect(
      _subgraphDeploymentID: BytesLike,
      _tokens: BigNumberish,
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<BigNumber>;

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

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

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

    getCurationPoolSignal(
      _subgraphDeploymentID: BytesLike,
      overrides?: CallOverrides
    ): Promise<BigNumber>;

    getCurationPoolTokens(
      _subgraphDeploymentID: BytesLike,
      overrides?: CallOverrides
    ): Promise<BigNumber>;

    getCuratorSignal(
      _curator: string,
      _subgraphDeploymentID: BytesLike,
      overrides?: CallOverrides
    ): Promise<BigNumber>;

    initialize(
      _controller: string,
      _bondingCurve: string,
      _defaultReserveRatio: BigNumberish,
      _curationTaxPercentage: BigNumberish,
      _minimumCurationDeposit: BigNumberish,
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<BigNumber>;

    isCurated(
      _subgraphDeploymentID: BytesLike,
      overrides?: CallOverrides
    ): Promise<BigNumber>;

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

    mint(
      _subgraphDeploymentID: BytesLike,
      _tokensIn: BigNumberish,
      _signalOutMin: BigNumberish,
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<BigNumber>;

    pools(arg0: BytesLike, overrides?: CallOverrides): Promise<BigNumber>;

    setController(
      _controller: string,
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<BigNumber>;

    setCurationTaxPercentage(
      _percentage: BigNumberish,
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<BigNumber>;

    setDefaultReserveRatio(
      _defaultReserveRatio: BigNumberish,
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<BigNumber>;

    setMinimumCurationDeposit(
      _minimumCurationDeposit: BigNumberish,
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<BigNumber>;

    signalToTokens(
      _subgraphDeploymentID: BytesLike,
      _signalIn: BigNumberish,
      overrides?: CallOverrides
    ): Promise<BigNumber>;

    syncAllContracts(
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<BigNumber>;

    tokensToSignal(
      _subgraphDeploymentID: BytesLike,
      _tokensIn: BigNumberish,
      overrides?: CallOverrides
    ): Promise<BigNumber>;
  };

  populateTransaction: {
    acceptProxy(
      _proxy: string,
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<PopulatedTransaction>;

    acceptProxyAndCall(
      _proxy: string,
      _data: BytesLike,
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<PopulatedTransaction>;

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

    burn(
      _subgraphDeploymentID: BytesLike,
      _signalIn: BigNumberish,
      _tokensOutMin: BigNumberish,
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<PopulatedTransaction>;

    collect(
      _subgraphDeploymentID: BytesLike,
      _tokens: BigNumberish,
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<PopulatedTransaction>;

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

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

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

    getCurationPoolSignal(
      _subgraphDeploymentID: BytesLike,
      overrides?: CallOverrides
    ): Promise<PopulatedTransaction>;

    getCurationPoolTokens(
      _subgraphDeploymentID: BytesLike,
      overrides?: CallOverrides
    ): Promise<PopulatedTransaction>;

    getCuratorSignal(
      _curator: string,
      _subgraphDeploymentID: BytesLike,
      overrides?: CallOverrides
    ): Promise<PopulatedTransaction>;

    initialize(
      _controller: string,
      _bondingCurve: string,
      _defaultReserveRatio: BigNumberish,
      _curationTaxPercentage: BigNumberish,
      _minimumCurationDeposit: BigNumberish,
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<PopulatedTransaction>;

    isCurated(
      _subgraphDeploymentID: BytesLike,
      overrides?: CallOverrides
    ): Promise<PopulatedTransaction>;

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

    mint(
      _subgraphDeploymentID: BytesLike,
      _tokensIn: BigNumberish,
      _signalOutMin: BigNumberish,
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<PopulatedTransaction>;

    pools(
      arg0: BytesLike,
      overrides?: CallOverrides
    ): Promise<PopulatedTransaction>;

    setController(
      _controller: string,
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<PopulatedTransaction>;

    setCurationTaxPercentage(
      _percentage: BigNumberish,
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<PopulatedTransaction>;

    setDefaultReserveRatio(
      _defaultReserveRatio: BigNumberish,
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<PopulatedTransaction>;

    setMinimumCurationDeposit(
      _minimumCurationDeposit: BigNumberish,
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<PopulatedTransaction>;

    signalToTokens(
      _subgraphDeploymentID: BytesLike,
      _signalIn: BigNumberish,
      overrides?: CallOverrides
    ): Promise<PopulatedTransaction>;

    syncAllContracts(
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<PopulatedTransaction>;

    tokensToSignal(
      _subgraphDeploymentID: BytesLike,
      _tokensIn: BigNumberish,
      overrides?: CallOverrides
    ): Promise<PopulatedTransaction>;
  };
}
