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

export interface CurationMockInterface extends Interface {
  getFunction(nameOrSignature: 'collect' | 'curation' | 'isCurated' | 'signal'): FunctionFragment

  encodeFunctionData(functionFragment: 'collect', values: [BytesLike, BigNumberish]): string
  encodeFunctionData(functionFragment: 'curation', values: [BytesLike]): string
  encodeFunctionData(functionFragment: 'isCurated', values: [BytesLike]): string
  encodeFunctionData(functionFragment: 'signal', values: [BytesLike, BigNumberish]): string

  decodeFunctionResult(functionFragment: 'collect', data: BytesLike): Result
  decodeFunctionResult(functionFragment: 'curation', data: BytesLike): Result
  decodeFunctionResult(functionFragment: 'isCurated', data: BytesLike): Result
  decodeFunctionResult(functionFragment: 'signal', data: BytesLike): Result
}

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

  interface: CurationMockInterface

  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>

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

  curation: TypedContractMethod<[subgraphDeploymentID: BytesLike], [bigint], 'view'>

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

  signal: TypedContractMethod<[subgraphDeploymentID: BytesLike, tokens: BigNumberish], [void], 'nonpayable'>

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

  getFunction(
    nameOrSignature: 'collect',
  ): TypedContractMethod<[subgraphDeploymentID: BytesLike, tokens: BigNumberish], [void], 'nonpayable'>
  getFunction(nameOrSignature: 'curation'): TypedContractMethod<[subgraphDeploymentID: BytesLike], [bigint], 'view'>
  getFunction(nameOrSignature: 'isCurated'): TypedContractMethod<[subgraphDeploymentID: BytesLike], [boolean], 'view'>
  getFunction(
    nameOrSignature: 'signal',
  ): TypedContractMethod<[subgraphDeploymentID: BytesLike, tokens: BigNumberish], [void], 'nonpayable'>

  filters: {}
}
