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

import { Contract, Signer, utils } from "ethers";
import type { Provider } from "@ethersproject/providers";
import type {
  IEthereumDIDRegistry,
  IEthereumDIDRegistryInterface,
} from "../../../../../contracts/contracts/discovery/erc1056/IEthereumDIDRegistry";

const _abi = [
  {
    inputs: [
      {
        internalType: "address",
        name: "identity",
        type: "address",
      },
    ],
    name: "identityOwner",
    outputs: [
      {
        internalType: "address",
        name: "",
        type: "address",
      },
    ],
    stateMutability: "view",
    type: "function",
  },
  {
    inputs: [
      {
        internalType: "address",
        name: "identity",
        type: "address",
      },
      {
        internalType: "bytes32",
        name: "name",
        type: "bytes32",
      },
      {
        internalType: "bytes",
        name: "value",
        type: "bytes",
      },
      {
        internalType: "uint256",
        name: "validity",
        type: "uint256",
      },
    ],
    name: "setAttribute",
    outputs: [],
    stateMutability: "nonpayable",
    type: "function",
  },
] as const;

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