/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
import type { Provider, TransactionRequest } from "@ethersproject/providers";
import type { PromiseOrValue } from "../../../common";
import type {
  Initialized,
  InitializedInterface,
} from "../../../contracts/utils/Initialized";

const _abi = [
  {
    inputs: [],
    name: "initialized",
    outputs: [
      {
        internalType: "bool",
        name: "",
        type: "bool",
      },
    ],
    stateMutability: "view",
    type: "function",
  },
] as const;

const _bytecode =
  "0x6080604052348015600f57600080fd5b5060838061001e6000396000f3fe6080604052348015600f57600080fd5b506004361060285760003560e01c8063158ef93e14602d575b600080fd5b60005460399060ff1681565b604051901515815260200160405180910390f3fea2646970667358221220620a177357a7937c5f6a2ad49a013f2ed432cfe4ed38c931459a3b79788f7e0464736f6c63430008120033";

type InitializedConstructorParams =
  | [signer?: Signer]
  | ConstructorParameters<typeof ContractFactory>;

const isSuperArgs = (
  xs: InitializedConstructorParams
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;

export class Initialized__factory extends ContractFactory {
  constructor(...args: InitializedConstructorParams) {
    if (isSuperArgs(args)) {
      super(...args);
    } else {
      super(_abi, _bytecode, args[0]);
    }
  }

  override deploy(
    overrides?: Overrides & { from?: PromiseOrValue<string> }
  ): Promise<Initialized> {
    return super.deploy(overrides || {}) as Promise<Initialized>;
  }
  override getDeployTransaction(
    overrides?: Overrides & { from?: PromiseOrValue<string> }
  ): TransactionRequest {
    return super.getDeployTransaction(overrides || {});
  }
  override attach(address: string): Initialized {
    return super.attach(address) as Initialized;
  }
  override connect(signer: Signer): Initialized__factory {
    return super.connect(signer) as Initialized__factory;
  }

  static readonly bytecode = _bytecode;
  static readonly abi = _abi;
  static createInterface(): InitializedInterface {
    return new utils.Interface(_abi) as InitializedInterface;
  }
  static connect(
    address: string,
    signerOrProvider: Signer | Provider
  ): Initialized {
    return new Contract(address, _abi, signerOrProvider) as Initialized;
  }
}
