// This file was autogenerated by hardhat-viem, do not edit it.
// prettier-ignore
// tslint:disable
// eslint-disable

import type { Address } from "viem";
import type { GetContractReturnType } from "@nomicfoundation/hardhat-viem/types";
import "@nomicfoundation/hardhat-viem/types";

export interface Create2$Type {
  "_format": "hh-sol-artifact-1",
  "contractName": "Create2",
  "sourceName": "@openzeppelin/contracts/utils/Create2.sol",
  "abi": [
    {
      "inputs": [],
      "name": "Create2EmptyBytecode",
      "type": "error"
    }
  ],
  "bytecode": "0x60808060405234601757603a9081601d823930815050f35b600080fdfe600080fdfea2646970667358221220fffb2bb0848a5a2d795a70a1149095fe97f49b3215eecdd37e1306dba33669a864736f6c634300081c0033",
  "deployedBytecode": "0x600080fdfea2646970667358221220fffb2bb0848a5a2d795a70a1149095fe97f49b3215eecdd37e1306dba33669a864736f6c634300081c0033",
  "linkReferences": {},
  "deployedLinkReferences": {}
}

declare module "@nomicfoundation/hardhat-viem/types" {
  export function deployContract(
    contractName: "Create2",
    constructorArgs?: [],
    config?: DeployContractConfig
  ): Promise<GetContractReturnType<Create2$Type["abi"]>>;
  export function deployContract(
    contractName: "@openzeppelin/contracts/utils/Create2.sol:Create2",
    constructorArgs?: [],
    config?: DeployContractConfig
  ): Promise<GetContractReturnType<Create2$Type["abi"]>>;

  export function sendDeploymentTransaction(
    contractName: "Create2",
    constructorArgs?: [],
    config?: SendDeploymentTransactionConfig
  ): Promise<{
    contract: GetContractReturnType<Create2$Type["abi"]>;
    deploymentTransaction: GetTransactionReturnType;
  }>;
  export function sendDeploymentTransaction(
    contractName: "@openzeppelin/contracts/utils/Create2.sol:Create2",
    constructorArgs?: [],
    config?: SendDeploymentTransactionConfig
  ): Promise<{
    contract: GetContractReturnType<Create2$Type["abi"]>;
    deploymentTransaction: GetTransactionReturnType;
  }>;

  export function getContractAt(
    contractName: "Create2",
    address: Address,
    config?: GetContractAtConfig
  ): Promise<GetContractReturnType<Create2$Type["abi"]>>;
  export function getContractAt(
    contractName: "@openzeppelin/contracts/utils/Create2.sol:Create2",
    address: Address,
    config?: GetContractAtConfig
  ): Promise<GetContractReturnType<Create2$Type["abi"]>>;
}
