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

import { Contract, Interface, type ContractRunner } from "ethers";
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 readonly interfaceId = "0xfde7644c" as const;
  static readonly interfaceName = "IEthereumDIDRegistry" as const;
  static createInterface(): IEthereumDIDRegistryInterface {
    return new Interface(_abi) as IEthereumDIDRegistryInterface;
  }
  static connect(
    address: string,
    runner?: ContractRunner | null,
  ): IEthereumDIDRegistry {
    return new Contract(
      address,
      _abi,
      runner,
    ) as unknown as IEthereumDIDRegistry;
  }
}
