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

import { Contract, Interface, type ContractRunner } from "ethers";
import type {
  ICuration,
  ICurationInterface,
} from "../../../../contracts/contracts/curation/ICuration";

const _abi = [
  {
    inputs: [
      {
        internalType: "bytes32",
        name: "subgraphDeploymentID",
        type: "bytes32",
      },
      {
        internalType: "uint256",
        name: "signalIn",
        type: "uint256",
      },
      {
        internalType: "uint256",
        name: "tokensOutMin",
        type: "uint256",
      },
    ],
    name: "burn",
    outputs: [
      {
        internalType: "uint256",
        name: "",
        type: "uint256",
      },
    ],
    stateMutability: "nonpayable",
    type: "function",
  },
  {
    inputs: [
      {
        internalType: "bytes32",
        name: "subgraphDeploymentID",
        type: "bytes32",
      },
      {
        internalType: "uint256",
        name: "tokens",
        type: "uint256",
      },
    ],
    name: "collect",
    outputs: [],
    stateMutability: "nonpayable",
    type: "function",
  },
  {
    inputs: [],
    name: "curationTaxPercentage",
    outputs: [
      {
        internalType: "uint32",
        name: "",
        type: "uint32",
      },
    ],
    stateMutability: "view",
    type: "function",
  },
  {
    inputs: [
      {
        internalType: "bytes32",
        name: "subgraphDeploymentID",
        type: "bytes32",
      },
    ],
    name: "getCurationPoolSignal",
    outputs: [
      {
        internalType: "uint256",
        name: "",
        type: "uint256",
      },
    ],
    stateMutability: "view",
    type: "function",
  },
  {
    inputs: [
      {
        internalType: "bytes32",
        name: "subgraphDeploymentID",
        type: "bytes32",
      },
    ],
    name: "getCurationPoolTokens",
    outputs: [
      {
        internalType: "uint256",
        name: "",
        type: "uint256",
      },
    ],
    stateMutability: "view",
    type: "function",
  },
  {
    inputs: [
      {
        internalType: "address",
        name: "curator",
        type: "address",
      },
      {
        internalType: "bytes32",
        name: "subgraphDeploymentID",
        type: "bytes32",
      },
    ],
    name: "getCuratorSignal",
    outputs: [
      {
        internalType: "uint256",
        name: "",
        type: "uint256",
      },
    ],
    stateMutability: "view",
    type: "function",
  },
  {
    inputs: [
      {
        internalType: "bytes32",
        name: "subgraphDeploymentID",
        type: "bytes32",
      },
    ],
    name: "isCurated",
    outputs: [
      {
        internalType: "bool",
        name: "",
        type: "bool",
      },
    ],
    stateMutability: "view",
    type: "function",
  },
  {
    inputs: [
      {
        internalType: "bytes32",
        name: "subgraphDeploymentID",
        type: "bytes32",
      },
      {
        internalType: "uint256",
        name: "tokensIn",
        type: "uint256",
      },
      {
        internalType: "uint256",
        name: "signalOutMin",
        type: "uint256",
      },
    ],
    name: "mint",
    outputs: [
      {
        internalType: "uint256",
        name: "",
        type: "uint256",
      },
      {
        internalType: "uint256",
        name: "",
        type: "uint256",
      },
    ],
    stateMutability: "nonpayable",
    type: "function",
  },
  {
    inputs: [
      {
        internalType: "uint32",
        name: "percentage",
        type: "uint32",
      },
    ],
    name: "setCurationTaxPercentage",
    outputs: [],
    stateMutability: "nonpayable",
    type: "function",
  },
  {
    inputs: [
      {
        internalType: "address",
        name: "curationTokenMaster",
        type: "address",
      },
    ],
    name: "setCurationTokenMaster",
    outputs: [],
    stateMutability: "nonpayable",
    type: "function",
  },
  {
    inputs: [
      {
        internalType: "uint32",
        name: "defaultReserveRatio",
        type: "uint32",
      },
    ],
    name: "setDefaultReserveRatio",
    outputs: [],
    stateMutability: "nonpayable",
    type: "function",
  },
  {
    inputs: [
      {
        internalType: "uint256",
        name: "minimumCurationDeposit",
        type: "uint256",
      },
    ],
    name: "setMinimumCurationDeposit",
    outputs: [],
    stateMutability: "nonpayable",
    type: "function",
  },
  {
    inputs: [
      {
        internalType: "bytes32",
        name: "subgraphDeploymentID",
        type: "bytes32",
      },
      {
        internalType: "uint256",
        name: "signalIn",
        type: "uint256",
      },
    ],
    name: "signalToTokens",
    outputs: [
      {
        internalType: "uint256",
        name: "",
        type: "uint256",
      },
    ],
    stateMutability: "view",
    type: "function",
  },
  {
    inputs: [
      {
        internalType: "bytes32",
        name: "subgraphDeploymentID",
        type: "bytes32",
      },
      {
        internalType: "uint256",
        name: "tokensIn",
        type: "uint256",
      },
    ],
    name: "tokensToSignal",
    outputs: [
      {
        internalType: "uint256",
        name: "",
        type: "uint256",
      },
      {
        internalType: "uint256",
        name: "",
        type: "uint256",
      },
    ],
    stateMutability: "view",
    type: "function",
  },
] as const;

export class ICuration__factory {
  static readonly abi = _abi;
  static readonly interfaceId = "0x6e5e053f" as const;
  static readonly interfaceName = "ICuration" as const;
  static createInterface(): ICurationInterface {
    return new Interface(_abi) as ICurationInterface;
  }
  static connect(address: string, runner?: ContractRunner | null): ICuration {
    return new Contract(address, _abi, runner) as unknown as ICuration;
  }
}
