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

import { Contract, Signer, utils } from "ethers";
import type { Provider } from "@ethersproject/providers";
import type {
  ITokenRegistry,
  ITokenRegistryInterface,
} from "../ITokenRegistry";

const _abi = [
  {
    type: "function",
    name: "getTokenIndex",
    inputs: [
      {
        name: "evmContract",
        type: "address",
        internalType: "address",
      },
    ],
    outputs: [
      {
        name: "index",
        type: "uint32",
        internalType: "uint32",
      },
    ],
    stateMutability: "view",
  },
] as const;

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