/* 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 RewardsManagerInterface extends ethers.utils.Interface {
  functions: {
    "accRewardsPerSignal()": FunctionFragment;
    "accRewardsPerSignalLastBlockUpdated()": FunctionFragment;
    "acceptProxy(address)": FunctionFragment;
    "acceptProxyAndCall(address,bytes)": FunctionFragment;
    "controller()": FunctionFragment;
    "denylist(bytes32)": FunctionFragment;
    "getAccRewardsForSubgraph(bytes32)": FunctionFragment;
    "getAccRewardsPerAllocatedToken(bytes32)": FunctionFragment;
    "getAccRewardsPerSignal()": FunctionFragment;
    "getNewRewardsPerSignal()": FunctionFragment;
    "getRewards(address)": FunctionFragment;
    "initialize(address,uint256)": FunctionFragment;
    "isDenied(bytes32)": FunctionFragment;
    "issuanceRate()": FunctionFragment;
    "onSubgraphAllocationUpdate(bytes32)": FunctionFragment;
    "onSubgraphSignalUpdate(bytes32)": FunctionFragment;
    "setController(address)": FunctionFragment;
    "setDenied(bytes32,bool)": FunctionFragment;
    "setDeniedMany(bytes32[],bool[])": FunctionFragment;
    "setIssuanceRate(uint256)": FunctionFragment;
    "setSubgraphAvailabilityOracle(address)": FunctionFragment;
    "subgraphAvailabilityOracle()": FunctionFragment;
    "subgraphs(bytes32)": FunctionFragment;
    "syncAllContracts()": FunctionFragment;
    "takeRewards(address)": FunctionFragment;
    "updateAccRewardsPerSignal()": FunctionFragment;
  };

  encodeFunctionData(
    functionFragment: "accRewardsPerSignal",
    values?: undefined
  ): string;
  encodeFunctionData(
    functionFragment: "accRewardsPerSignalLastBlockUpdated",
    values?: undefined
  ): string;
  encodeFunctionData(functionFragment: "acceptProxy", values: [string]): string;
  encodeFunctionData(
    functionFragment: "acceptProxyAndCall",
    values: [string, BytesLike]
  ): string;
  encodeFunctionData(
    functionFragment: "controller",
    values?: undefined
  ): string;
  encodeFunctionData(functionFragment: "denylist", values: [BytesLike]): string;
  encodeFunctionData(
    functionFragment: "getAccRewardsForSubgraph",
    values: [BytesLike]
  ): string;
  encodeFunctionData(
    functionFragment: "getAccRewardsPerAllocatedToken",
    values: [BytesLike]
  ): string;
  encodeFunctionData(
    functionFragment: "getAccRewardsPerSignal",
    values?: undefined
  ): string;
  encodeFunctionData(
    functionFragment: "getNewRewardsPerSignal",
    values?: undefined
  ): string;
  encodeFunctionData(functionFragment: "getRewards", values: [string]): string;
  encodeFunctionData(
    functionFragment: "initialize",
    values: [string, BigNumberish]
  ): string;
  encodeFunctionData(functionFragment: "isDenied", values: [BytesLike]): string;
  encodeFunctionData(
    functionFragment: "issuanceRate",
    values?: undefined
  ): string;
  encodeFunctionData(
    functionFragment: "onSubgraphAllocationUpdate",
    values: [BytesLike]
  ): string;
  encodeFunctionData(
    functionFragment: "onSubgraphSignalUpdate",
    values: [BytesLike]
  ): string;
  encodeFunctionData(
    functionFragment: "setController",
    values: [string]
  ): string;
  encodeFunctionData(
    functionFragment: "setDenied",
    values: [BytesLike, boolean]
  ): string;
  encodeFunctionData(
    functionFragment: "setDeniedMany",
    values: [BytesLike[], boolean[]]
  ): string;
  encodeFunctionData(
    functionFragment: "setIssuanceRate",
    values: [BigNumberish]
  ): string;
  encodeFunctionData(
    functionFragment: "setSubgraphAvailabilityOracle",
    values: [string]
  ): string;
  encodeFunctionData(
    functionFragment: "subgraphAvailabilityOracle",
    values?: undefined
  ): string;
  encodeFunctionData(
    functionFragment: "subgraphs",
    values: [BytesLike]
  ): string;
  encodeFunctionData(
    functionFragment: "syncAllContracts",
    values?: undefined
  ): string;
  encodeFunctionData(functionFragment: "takeRewards", values: [string]): string;
  encodeFunctionData(
    functionFragment: "updateAccRewardsPerSignal",
    values?: undefined
  ): string;

  decodeFunctionResult(
    functionFragment: "accRewardsPerSignal",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "accRewardsPerSignalLastBlockUpdated",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "acceptProxy",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "acceptProxyAndCall",
    data: BytesLike
  ): Result;
  decodeFunctionResult(functionFragment: "controller", data: BytesLike): Result;
  decodeFunctionResult(functionFragment: "denylist", data: BytesLike): Result;
  decodeFunctionResult(
    functionFragment: "getAccRewardsForSubgraph",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "getAccRewardsPerAllocatedToken",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "getAccRewardsPerSignal",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "getNewRewardsPerSignal",
    data: BytesLike
  ): Result;
  decodeFunctionResult(functionFragment: "getRewards", data: BytesLike): Result;
  decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result;
  decodeFunctionResult(functionFragment: "isDenied", data: BytesLike): Result;
  decodeFunctionResult(
    functionFragment: "issuanceRate",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "onSubgraphAllocationUpdate",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "onSubgraphSignalUpdate",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "setController",
    data: BytesLike
  ): Result;
  decodeFunctionResult(functionFragment: "setDenied", data: BytesLike): Result;
  decodeFunctionResult(
    functionFragment: "setDeniedMany",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "setIssuanceRate",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "setSubgraphAvailabilityOracle",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "subgraphAvailabilityOracle",
    data: BytesLike
  ): Result;
  decodeFunctionResult(functionFragment: "subgraphs", data: BytesLike): Result;
  decodeFunctionResult(
    functionFragment: "syncAllContracts",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "takeRewards",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "updateAccRewardsPerSignal",
    data: BytesLike
  ): Result;

  events: {
    "ContractSynced(bytes32,address)": EventFragment;
    "ParameterUpdated(string)": EventFragment;
    "RewardsAssigned(address,address,uint256,uint256)": EventFragment;
    "RewardsDenied(address,address,uint256)": EventFragment;
    "RewardsDenylistUpdated(bytes32,uint256)": EventFragment;
    "SetController(address)": EventFragment;
  };

  getEvent(nameOrSignatureOrTopic: "ContractSynced"): EventFragment;
  getEvent(nameOrSignatureOrTopic: "ParameterUpdated"): EventFragment;
  getEvent(nameOrSignatureOrTopic: "RewardsAssigned"): EventFragment;
  getEvent(nameOrSignatureOrTopic: "RewardsDenied"): EventFragment;
  getEvent(nameOrSignatureOrTopic: "RewardsDenylistUpdated"): EventFragment;
  getEvent(nameOrSignatureOrTopic: "SetController"): EventFragment;
}

export class RewardsManager 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: RewardsManagerInterface;

  functions: {
    accRewardsPerSignal(overrides?: CallOverrides): Promise<[BigNumber]>;

    accRewardsPerSignalLastBlockUpdated(
      overrides?: CallOverrides
    ): Promise<[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>;

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

    denylist(arg0: BytesLike, overrides?: CallOverrides): Promise<[BigNumber]>;

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

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

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

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

    getRewards(
      _allocationID: string,
      overrides?: CallOverrides
    ): Promise<[BigNumber]>;

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

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

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

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

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

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

    setDenied(
      _subgraphDeploymentID: BytesLike,
      _deny: boolean,
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<ContractTransaction>;

    setDeniedMany(
      _subgraphDeploymentID: BytesLike[],
      _deny: boolean[],
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<ContractTransaction>;

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

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

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

    subgraphs(
      arg0: BytesLike,
      overrides?: CallOverrides
    ): Promise<
      [BigNumber, BigNumber, BigNumber, BigNumber] & {
        accRewardsForSubgraph: BigNumber;
        accRewardsForSubgraphSnapshot: BigNumber;
        accRewardsPerSignalSnapshot: BigNumber;
        accRewardsPerAllocatedToken: BigNumber;
      }
    >;

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

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

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

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

  accRewardsPerSignalLastBlockUpdated(
    overrides?: CallOverrides
  ): Promise<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>;

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

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

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

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

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

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

  getRewards(
    _allocationID: string,
    overrides?: CallOverrides
  ): Promise<BigNumber>;

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

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

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

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

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

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

  setDenied(
    _subgraphDeploymentID: BytesLike,
    _deny: boolean,
    overrides?: Overrides & { from?: string | Promise<string> }
  ): Promise<ContractTransaction>;

  setDeniedMany(
    _subgraphDeploymentID: BytesLike[],
    _deny: boolean[],
    overrides?: Overrides & { from?: string | Promise<string> }
  ): Promise<ContractTransaction>;

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

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

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

  subgraphs(
    arg0: BytesLike,
    overrides?: CallOverrides
  ): Promise<
    [BigNumber, BigNumber, BigNumber, BigNumber] & {
      accRewardsForSubgraph: BigNumber;
      accRewardsForSubgraphSnapshot: BigNumber;
      accRewardsPerSignalSnapshot: BigNumber;
      accRewardsPerAllocatedToken: BigNumber;
    }
  >;

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

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

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

  callStatic: {
    accRewardsPerSignal(overrides?: CallOverrides): Promise<BigNumber>;

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

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

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

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

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

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

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

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

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

    getRewards(
      _allocationID: string,
      overrides?: CallOverrides
    ): Promise<BigNumber>;

    initialize(
      _controller: string,
      _issuanceRate: BigNumberish,
      overrides?: CallOverrides
    ): Promise<void>;

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

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

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

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

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

    setDenied(
      _subgraphDeploymentID: BytesLike,
      _deny: boolean,
      overrides?: CallOverrides
    ): Promise<void>;

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

    setIssuanceRate(
      _issuanceRate: BigNumberish,
      overrides?: CallOverrides
    ): Promise<void>;

    setSubgraphAvailabilityOracle(
      _subgraphAvailabilityOracle: string,
      overrides?: CallOverrides
    ): Promise<void>;

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

    subgraphs(
      arg0: BytesLike,
      overrides?: CallOverrides
    ): Promise<
      [BigNumber, BigNumber, BigNumber, BigNumber] & {
        accRewardsForSubgraph: BigNumber;
        accRewardsForSubgraphSnapshot: BigNumber;
        accRewardsPerSignalSnapshot: BigNumber;
        accRewardsPerAllocatedToken: BigNumber;
      }
    >;

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

    takeRewards(
      _allocationID: string,
      overrides?: CallOverrides
    ): Promise<BigNumber>;

    updateAccRewardsPerSignal(overrides?: CallOverrides): Promise<BigNumber>;
  };

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

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

    RewardsAssigned(
      indexer?: string | null,
      allocationID?: string | null,
      epoch?: null,
      amount?: null
    ): TypedEventFilter<
      [string, string, BigNumber, BigNumber],
      {
        indexer: string;
        allocationID: string;
        epoch: BigNumber;
        amount: BigNumber;
      }
    >;

    RewardsDenied(
      indexer?: string | null,
      allocationID?: string | null,
      epoch?: null
    ): TypedEventFilter<
      [string, string, BigNumber],
      { indexer: string; allocationID: string; epoch: BigNumber }
    >;

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

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

  estimateGas: {
    accRewardsPerSignal(overrides?: CallOverrides): Promise<BigNumber>;

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

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

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

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

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

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

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

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

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

    getRewards(
      _allocationID: string,
      overrides?: CallOverrides
    ): Promise<BigNumber>;

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

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

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

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

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

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

    setDenied(
      _subgraphDeploymentID: BytesLike,
      _deny: boolean,
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<BigNumber>;

    setDeniedMany(
      _subgraphDeploymentID: BytesLike[],
      _deny: boolean[],
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<BigNumber>;

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

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

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

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

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

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

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

  populateTransaction: {
    accRewardsPerSignal(
      overrides?: CallOverrides
    ): Promise<PopulatedTransaction>;

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

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

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

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

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

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

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

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

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

    getRewards(
      _allocationID: string,
      overrides?: CallOverrides
    ): Promise<PopulatedTransaction>;

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

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

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

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

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

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

    setDenied(
      _subgraphDeploymentID: BytesLike,
      _deny: boolean,
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<PopulatedTransaction>;

    setDeniedMany(
      _subgraphDeploymentID: BytesLike[],
      _deny: boolean[],
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<PopulatedTransaction>;

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

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

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

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

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

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

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