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

import { Contract, Signer, utils } from "ethers";
import type { Provider } from "@ethersproject/providers";
import type {
  IL2CurationToolshed,
  IL2CurationToolshedInterface,
} from "../../../contracts/toolshed/IL2CurationToolshed";

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: "bytes32",
        name: "subgraphDeploymentID",
        type: "bytes32",
      },
      {
        internalType: "uint256",
        name: "tokensIn",
        type: "uint256",
      },
    ],
    name: "mintTaxFree",
    outputs: [
      {
        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: "address",
        name: "subgraphService",
        type: "address",
      },
    ],
    name: "setSubgraphService",
    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: [],
    name: "subgraphService",
    outputs: [
      {
        internalType: "address",
        name: "",
        type: "address",
      },
    ],
    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",
  },
  {
    inputs: [
      {
        internalType: "bytes32",
        name: "subgraphDeploymentID",
        type: "bytes32",
      },
      {
        internalType: "uint256",
        name: "tokensIn",
        type: "uint256",
      },
    ],
    name: "tokensToSignalNoTax",
    outputs: [
      {
        internalType: "uint256",
        name: "",
        type: "uint256",
      },
    ],
    stateMutability: "view",
    type: "function",
  },
  {
    inputs: [
      {
        internalType: "bytes32",
        name: "subgraphDeploymentID",
        type: "bytes32",
      },
      {
        internalType: "uint256",
        name: "tokensIn",
        type: "uint256",
      },
    ],
    name: "tokensToSignalToTokensNoTax",
    outputs: [
      {
        internalType: "uint256",
        name: "",
        type: "uint256",
      },
    ],
    stateMutability: "view",
    type: "function",
  },
] as const;

export class IL2CurationToolshed__factory {
  static readonly abi = _abi;
  static createInterface(): IL2CurationToolshedInterface {
    return new utils.Interface(_abi) as IL2CurationToolshedInterface;
  }
  static connect(
    address: string,
    signerOrProvider: Signer | Provider,
  ): IL2CurationToolshed {
    return new Contract(address, _abi, signerOrProvider) as IL2CurationToolshed;
  }
}
