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

import { Contract, Interface, type ContractRunner } from "ethers";
import type {
  IL2GNS,
  IL2GNSInterface,
} from "../../../../../../@graphprotocol/contracts/contracts/l2/discovery/IL2GNS";

const _abi = [
  {
    inputs: [
      {
        internalType: "uint256",
        name: "_l2SubgraphID",
        type: "uint256",
      },
      {
        internalType: "bytes32",
        name: "_subgraphDeploymentID",
        type: "bytes32",
      },
      {
        internalType: "bytes32",
        name: "_subgraphMetadata",
        type: "bytes32",
      },
      {
        internalType: "bytes32",
        name: "_versionMetadata",
        type: "bytes32",
      },
    ],
    name: "finishSubgraphTransferFromL1",
    outputs: [],
    stateMutability: "nonpayable",
    type: "function",
  },
  {
    inputs: [
      {
        internalType: "uint256",
        name: "_l1SubgraphID",
        type: "uint256",
      },
    ],
    name: "getAliasedL2SubgraphID",
    outputs: [
      {
        internalType: "uint256",
        name: "",
        type: "uint256",
      },
    ],
    stateMutability: "pure",
    type: "function",
  },
  {
    inputs: [
      {
        internalType: "uint256",
        name: "_l2SubgraphID",
        type: "uint256",
      },
    ],
    name: "getUnaliasedL1SubgraphID",
    outputs: [
      {
        internalType: "uint256",
        name: "",
        type: "uint256",
      },
    ],
    stateMutability: "pure",
    type: "function",
  },
  {
    inputs: [
      {
        internalType: "address",
        name: "_from",
        type: "address",
      },
      {
        internalType: "uint256",
        name: "_amount",
        type: "uint256",
      },
      {
        internalType: "bytes",
        name: "_data",
        type: "bytes",
      },
    ],
    name: "onTokenTransfer",
    outputs: [],
    stateMutability: "nonpayable",
    type: "function",
  },
] as const;

export class IL2GNS__factory {
  static readonly abi = _abi;
  static createInterface(): IL2GNSInterface {
    return new Interface(_abi) as IL2GNSInterface;
  }
  static connect(address: string, runner?: ContractRunner | null): IL2GNS {
    return new Contract(address, _abi, runner) as unknown as IL2GNS;
  }
}
