/ typechain-types / hardhat.d.ts
hardhat.d.ts
1 /* Autogenerated file. Do not edit manually. */ 2 /* tslint:disable */ 3 /* eslint-disable */ 4 5 import { ethers } from "ethers"; 6 import { 7 DeployContractOptions, 8 FactoryOptions, 9 HardhatEthersHelpers as HardhatEthersHelpersBase, 10 } from "@nomicfoundation/hardhat-ethers/types"; 11 12 import * as Contracts from "."; 13 14 declare module "hardhat/types/runtime" { 15 interface HardhatEthersHelpers extends HardhatEthersHelpersBase { 16 getContractFactory( 17 name: "MasterFactory", 18 signerOrOptions?: ethers.Signer | FactoryOptions 19 ): Promise<Contracts.MasterFactory__factory>; 20 getContractFactory( 21 name: "Post", 22 signerOrOptions?: ethers.Signer | FactoryOptions 23 ): Promise<Contracts.Post__factory>; 24 getContractFactory( 25 name: "UserProfile", 26 signerOrOptions?: ethers.Signer | FactoryOptions 27 ): Promise<Contracts.UserProfile__factory>; 28 29 getContractAt( 30 name: "MasterFactory", 31 address: string | ethers.Addressable, 32 signer?: ethers.Signer 33 ): Promise<Contracts.MasterFactory>; 34 getContractAt( 35 name: "Post", 36 address: string | ethers.Addressable, 37 signer?: ethers.Signer 38 ): Promise<Contracts.Post>; 39 getContractAt( 40 name: "UserProfile", 41 address: string | ethers.Addressable, 42 signer?: ethers.Signer 43 ): Promise<Contracts.UserProfile>; 44 45 deployContract( 46 name: "MasterFactory", 47 signerOrOptions?: ethers.Signer | DeployContractOptions 48 ): Promise<Contracts.MasterFactory>; 49 deployContract( 50 name: "Post", 51 signerOrOptions?: ethers.Signer | DeployContractOptions 52 ): Promise<Contracts.Post>; 53 deployContract( 54 name: "UserProfile", 55 signerOrOptions?: ethers.Signer | DeployContractOptions 56 ): Promise<Contracts.UserProfile>; 57 58 deployContract( 59 name: "MasterFactory", 60 args: any[], 61 signerOrOptions?: ethers.Signer | DeployContractOptions 62 ): Promise<Contracts.MasterFactory>; 63 deployContract( 64 name: "Post", 65 args: any[], 66 signerOrOptions?: ethers.Signer | DeployContractOptions 67 ): Promise<Contracts.Post>; 68 deployContract( 69 name: "UserProfile", 70 args: any[], 71 signerOrOptions?: ethers.Signer | DeployContractOptions 72 ): Promise<Contracts.UserProfile>; 73 74 // default types 75 getContractFactory( 76 name: string, 77 signerOrOptions?: ethers.Signer | FactoryOptions 78 ): Promise<ethers.ContractFactory>; 79 getContractFactory( 80 abi: any[], 81 bytecode: ethers.BytesLike, 82 signer?: ethers.Signer 83 ): Promise<ethers.ContractFactory>; 84 getContractAt( 85 nameOrAbi: string | any[], 86 address: string | ethers.Addressable, 87 signer?: ethers.Signer 88 ): Promise<ethers.Contract>; 89 deployContract( 90 name: string, 91 signerOrOptions?: ethers.Signer | DeployContractOptions 92 ): Promise<ethers.Contract>; 93 deployContract( 94 name: string, 95 args: any[], 96 signerOrOptions?: ethers.Signer | DeployContractOptions 97 ): Promise<ethers.Contract>; 98 } 99 }