@digitalproductpassport/smartcontracts
Version:
Public project for Digital Product Passport with the idea to create an EIP
388 lines (380 loc) • 13 kB
TypeScript
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import { ethers } from "ethers";
import {
DeployContractOptions,
FactoryOptions,
HardhatEthersHelpers as HardhatEthersHelpersBase,
} from "@nomicfoundation/hardhat-ethers/types";
import * as Contracts from ".";
declare module "hardhat/types/runtime" {
interface HardhatEthersHelpers extends HardhatEthersHelpersBase {
getContractFactory(
name: "Ownable",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.Ownable__factory>;
getContractFactory(
name: "IERC1155Errors",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.IERC1155Errors__factory>;
getContractFactory(
name: "IERC20Errors",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.IERC20Errors__factory>;
getContractFactory(
name: "IERC721Errors",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.IERC721Errors__factory>;
getContractFactory(
name: "IERC4906",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.IERC4906__factory>;
getContractFactory(
name: "ERC721",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.ERC721__factory>;
getContractFactory(
name: "ERC721URIStorage",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.ERC721URIStorage__factory>;
getContractFactory(
name: "IERC721Metadata",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.IERC721Metadata__factory>;
getContractFactory(
name: "IERC721",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.IERC721__factory>;
getContractFactory(
name: "IERC721Receiver",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.IERC721Receiver__factory>;
getContractFactory(
name: "ERC165",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.ERC165__factory>;
getContractFactory(
name: "IERC165",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.IERC165__factory>;
getContractFactory(
name: "Math",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.Math__factory>;
getContractFactory(
name: "Strings",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.Strings__factory>;
getContractFactory(
name: "Batch",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.Batch__factory>;
getContractFactory(
name: "ComplexManagement",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.ComplexManagement__factory>;
getContractFactory(
name: "Geolocation",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.Geolocation__factory>;
getContractFactory(
name: "ProductDetails",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.ProductDetails__factory>;
getContractFactory(
name: "ProductPassport",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.ProductPassport__factory>;
getContractAt(
name: "Ownable",
address: string | ethers.Addressable,
signer?: ethers.Signer
): Promise<Contracts.Ownable>;
getContractAt(
name: "IERC1155Errors",
address: string | ethers.Addressable,
signer?: ethers.Signer
): Promise<Contracts.IERC1155Errors>;
getContractAt(
name: "IERC20Errors",
address: string | ethers.Addressable,
signer?: ethers.Signer
): Promise<Contracts.IERC20Errors>;
getContractAt(
name: "IERC721Errors",
address: string | ethers.Addressable,
signer?: ethers.Signer
): Promise<Contracts.IERC721Errors>;
getContractAt(
name: "IERC4906",
address: string | ethers.Addressable,
signer?: ethers.Signer
): Promise<Contracts.IERC4906>;
getContractAt(
name: "ERC721",
address: string | ethers.Addressable,
signer?: ethers.Signer
): Promise<Contracts.ERC721>;
getContractAt(
name: "ERC721URIStorage",
address: string | ethers.Addressable,
signer?: ethers.Signer
): Promise<Contracts.ERC721URIStorage>;
getContractAt(
name: "IERC721Metadata",
address: string | ethers.Addressable,
signer?: ethers.Signer
): Promise<Contracts.IERC721Metadata>;
getContractAt(
name: "IERC721",
address: string | ethers.Addressable,
signer?: ethers.Signer
): Promise<Contracts.IERC721>;
getContractAt(
name: "IERC721Receiver",
address: string | ethers.Addressable,
signer?: ethers.Signer
): Promise<Contracts.IERC721Receiver>;
getContractAt(
name: "ERC165",
address: string | ethers.Addressable,
signer?: ethers.Signer
): Promise<Contracts.ERC165>;
getContractAt(
name: "IERC165",
address: string | ethers.Addressable,
signer?: ethers.Signer
): Promise<Contracts.IERC165>;
getContractAt(
name: "Math",
address: string | ethers.Addressable,
signer?: ethers.Signer
): Promise<Contracts.Math>;
getContractAt(
name: "Strings",
address: string | ethers.Addressable,
signer?: ethers.Signer
): Promise<Contracts.Strings>;
getContractAt(
name: "Batch",
address: string | ethers.Addressable,
signer?: ethers.Signer
): Promise<Contracts.Batch>;
getContractAt(
name: "ComplexManagement",
address: string | ethers.Addressable,
signer?: ethers.Signer
): Promise<Contracts.ComplexManagement>;
getContractAt(
name: "Geolocation",
address: string | ethers.Addressable,
signer?: ethers.Signer
): Promise<Contracts.Geolocation>;
getContractAt(
name: "ProductDetails",
address: string | ethers.Addressable,
signer?: ethers.Signer
): Promise<Contracts.ProductDetails>;
getContractAt(
name: "ProductPassport",
address: string | ethers.Addressable,
signer?: ethers.Signer
): Promise<Contracts.ProductPassport>;
deployContract(
name: "Ownable",
signerOrOptions?: ethers.Signer | DeployContractOptions
): Promise<Contracts.Ownable>;
deployContract(
name: "IERC1155Errors",
signerOrOptions?: ethers.Signer | DeployContractOptions
): Promise<Contracts.IERC1155Errors>;
deployContract(
name: "IERC20Errors",
signerOrOptions?: ethers.Signer | DeployContractOptions
): Promise<Contracts.IERC20Errors>;
deployContract(
name: "IERC721Errors",
signerOrOptions?: ethers.Signer | DeployContractOptions
): Promise<Contracts.IERC721Errors>;
deployContract(
name: "IERC4906",
signerOrOptions?: ethers.Signer | DeployContractOptions
): Promise<Contracts.IERC4906>;
deployContract(
name: "ERC721",
signerOrOptions?: ethers.Signer | DeployContractOptions
): Promise<Contracts.ERC721>;
deployContract(
name: "ERC721URIStorage",
signerOrOptions?: ethers.Signer | DeployContractOptions
): Promise<Contracts.ERC721URIStorage>;
deployContract(
name: "IERC721Metadata",
signerOrOptions?: ethers.Signer | DeployContractOptions
): Promise<Contracts.IERC721Metadata>;
deployContract(
name: "IERC721",
signerOrOptions?: ethers.Signer | DeployContractOptions
): Promise<Contracts.IERC721>;
deployContract(
name: "IERC721Receiver",
signerOrOptions?: ethers.Signer | DeployContractOptions
): Promise<Contracts.IERC721Receiver>;
deployContract(
name: "ERC165",
signerOrOptions?: ethers.Signer | DeployContractOptions
): Promise<Contracts.ERC165>;
deployContract(
name: "IERC165",
signerOrOptions?: ethers.Signer | DeployContractOptions
): Promise<Contracts.IERC165>;
deployContract(
name: "Math",
signerOrOptions?: ethers.Signer | DeployContractOptions
): Promise<Contracts.Math>;
deployContract(
name: "Strings",
signerOrOptions?: ethers.Signer | DeployContractOptions
): Promise<Contracts.Strings>;
deployContract(
name: "Batch",
signerOrOptions?: ethers.Signer | DeployContractOptions
): Promise<Contracts.Batch>;
deployContract(
name: "ComplexManagement",
signerOrOptions?: ethers.Signer | DeployContractOptions
): Promise<Contracts.ComplexManagement>;
deployContract(
name: "Geolocation",
signerOrOptions?: ethers.Signer | DeployContractOptions
): Promise<Contracts.Geolocation>;
deployContract(
name: "ProductDetails",
signerOrOptions?: ethers.Signer | DeployContractOptions
): Promise<Contracts.ProductDetails>;
deployContract(
name: "ProductPassport",
signerOrOptions?: ethers.Signer | DeployContractOptions
): Promise<Contracts.ProductPassport>;
deployContract(
name: "Ownable",
args: any[],
signerOrOptions?: ethers.Signer | DeployContractOptions
): Promise<Contracts.Ownable>;
deployContract(
name: "IERC1155Errors",
args: any[],
signerOrOptions?: ethers.Signer | DeployContractOptions
): Promise<Contracts.IERC1155Errors>;
deployContract(
name: "IERC20Errors",
args: any[],
signerOrOptions?: ethers.Signer | DeployContractOptions
): Promise<Contracts.IERC20Errors>;
deployContract(
name: "IERC721Errors",
args: any[],
signerOrOptions?: ethers.Signer | DeployContractOptions
): Promise<Contracts.IERC721Errors>;
deployContract(
name: "IERC4906",
args: any[],
signerOrOptions?: ethers.Signer | DeployContractOptions
): Promise<Contracts.IERC4906>;
deployContract(
name: "ERC721",
args: any[],
signerOrOptions?: ethers.Signer | DeployContractOptions
): Promise<Contracts.ERC721>;
deployContract(
name: "ERC721URIStorage",
args: any[],
signerOrOptions?: ethers.Signer | DeployContractOptions
): Promise<Contracts.ERC721URIStorage>;
deployContract(
name: "IERC721Metadata",
args: any[],
signerOrOptions?: ethers.Signer | DeployContractOptions
): Promise<Contracts.IERC721Metadata>;
deployContract(
name: "IERC721",
args: any[],
signerOrOptions?: ethers.Signer | DeployContractOptions
): Promise<Contracts.IERC721>;
deployContract(
name: "IERC721Receiver",
args: any[],
signerOrOptions?: ethers.Signer | DeployContractOptions
): Promise<Contracts.IERC721Receiver>;
deployContract(
name: "ERC165",
args: any[],
signerOrOptions?: ethers.Signer | DeployContractOptions
): Promise<Contracts.ERC165>;
deployContract(
name: "IERC165",
args: any[],
signerOrOptions?: ethers.Signer | DeployContractOptions
): Promise<Contracts.IERC165>;
deployContract(
name: "Math",
args: any[],
signerOrOptions?: ethers.Signer | DeployContractOptions
): Promise<Contracts.Math>;
deployContract(
name: "Strings",
args: any[],
signerOrOptions?: ethers.Signer | DeployContractOptions
): Promise<Contracts.Strings>;
deployContract(
name: "Batch",
args: any[],
signerOrOptions?: ethers.Signer | DeployContractOptions
): Promise<Contracts.Batch>;
deployContract(
name: "ComplexManagement",
args: any[],
signerOrOptions?: ethers.Signer | DeployContractOptions
): Promise<Contracts.ComplexManagement>;
deployContract(
name: "Geolocation",
args: any[],
signerOrOptions?: ethers.Signer | DeployContractOptions
): Promise<Contracts.Geolocation>;
deployContract(
name: "ProductDetails",
args: any[],
signerOrOptions?: ethers.Signer | DeployContractOptions
): Promise<Contracts.ProductDetails>;
deployContract(
name: "ProductPassport",
args: any[],
signerOrOptions?: ethers.Signer | DeployContractOptions
): Promise<Contracts.ProductPassport>;
// default types
getContractFactory(
name: string,
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<ethers.ContractFactory>;
getContractFactory(
abi: any[],
bytecode: ethers.BytesLike,
signer?: ethers.Signer
): Promise<ethers.ContractFactory>;
getContractAt(
nameOrAbi: string | any[],
address: string | ethers.Addressable,
signer?: ethers.Signer
): Promise<ethers.Contract>;
deployContract(
name: string,
signerOrOptions?: ethers.Signer | DeployContractOptions
): Promise<ethers.Contract>;
deployContract(
name: string,
args: any[],
signerOrOptions?: ethers.Signer | DeployContractOptions
): Promise<ethers.Contract>;
}
}