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

import { Contract, Interface, type ContractRunner } from "ethers";
import type {
  IExtensionsContext,
  IExtensionsContextInterface,
} from "../../../contracts/interfaces/IExtensionsContext";

const _abi = [
  {
    inputs: [
      {
        internalType: "address",
        name: "extension",
        type: "address",
      },
    ],
    name: "addExtension",
    outputs: [],
    stateMutability: "nonpayable",
    type: "function",
  },
  {
    inputs: [
      {
        internalType: "address",
        name: "extension",
        type: "address",
      },
      {
        internalType: "address",
        name: "account",
        type: "address",
      },
    ],
    name: "hasExtension",
    outputs: [
      {
        internalType: "bool",
        name: "",
        type: "bool",
      },
    ],
    stateMutability: "view",
    type: "function",
  },
  {
    inputs: [
      {
        internalType: "address",
        name: "extension",
        type: "address",
      },
    ],
    name: "revokeExtension",
    outputs: [],
    stateMutability: "nonpayable",
    type: "function",
  },
] as const;

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