406 lines
13 KiB
TypeScript
406 lines
13 KiB
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: "ERC20",
|
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
): Promise<Contracts.ERC20__factory>;
|
|
getContractFactory(
|
|
name: "IERC20Metadata",
|
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
): Promise<Contracts.IERC20Metadata__factory>;
|
|
getContractFactory(
|
|
name: "IERC20",
|
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
): Promise<Contracts.IERC20__factory>;
|
|
getContractFactory(
|
|
name: "ERC721",
|
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
): Promise<Contracts.ERC721__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: "SafeCast",
|
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
): Promise<Contracts.SafeCast__factory>;
|
|
getContractFactory(
|
|
name: "Strings",
|
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
): Promise<Contracts.Strings__factory>;
|
|
getContractFactory(
|
|
name: "IVault",
|
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
): Promise<Contracts.IVault__factory>;
|
|
getContractFactory(
|
|
name: "RewardNFT",
|
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
): Promise<Contracts.RewardNFT__factory>;
|
|
getContractFactory(
|
|
name: "Stablecoin",
|
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
): Promise<Contracts.Stablecoin__factory>;
|
|
getContractFactory(
|
|
name: "StableVault",
|
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
): Promise<Contracts.StableVault__factory>;
|
|
getContractFactory(
|
|
name: "VaultManager",
|
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
): Promise<Contracts.VaultManager__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: "ERC20",
|
|
address: string | ethers.Addressable,
|
|
signer?: ethers.Signer
|
|
): Promise<Contracts.ERC20>;
|
|
getContractAt(
|
|
name: "IERC20Metadata",
|
|
address: string | ethers.Addressable,
|
|
signer?: ethers.Signer
|
|
): Promise<Contracts.IERC20Metadata>;
|
|
getContractAt(
|
|
name: "IERC20",
|
|
address: string | ethers.Addressable,
|
|
signer?: ethers.Signer
|
|
): Promise<Contracts.IERC20>;
|
|
getContractAt(
|
|
name: "ERC721",
|
|
address: string | ethers.Addressable,
|
|
signer?: ethers.Signer
|
|
): Promise<Contracts.ERC721>;
|
|
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: "SafeCast",
|
|
address: string | ethers.Addressable,
|
|
signer?: ethers.Signer
|
|
): Promise<Contracts.SafeCast>;
|
|
getContractAt(
|
|
name: "Strings",
|
|
address: string | ethers.Addressable,
|
|
signer?: ethers.Signer
|
|
): Promise<Contracts.Strings>;
|
|
getContractAt(
|
|
name: "IVault",
|
|
address: string | ethers.Addressable,
|
|
signer?: ethers.Signer
|
|
): Promise<Contracts.IVault>;
|
|
getContractAt(
|
|
name: "RewardNFT",
|
|
address: string | ethers.Addressable,
|
|
signer?: ethers.Signer
|
|
): Promise<Contracts.RewardNFT>;
|
|
getContractAt(
|
|
name: "Stablecoin",
|
|
address: string | ethers.Addressable,
|
|
signer?: ethers.Signer
|
|
): Promise<Contracts.Stablecoin>;
|
|
getContractAt(
|
|
name: "StableVault",
|
|
address: string | ethers.Addressable,
|
|
signer?: ethers.Signer
|
|
): Promise<Contracts.StableVault>;
|
|
getContractAt(
|
|
name: "VaultManager",
|
|
address: string | ethers.Addressable,
|
|
signer?: ethers.Signer
|
|
): Promise<Contracts.VaultManager>;
|
|
|
|
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: "ERC20",
|
|
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
): Promise<Contracts.ERC20>;
|
|
deployContract(
|
|
name: "IERC20Metadata",
|
|
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
): Promise<Contracts.IERC20Metadata>;
|
|
deployContract(
|
|
name: "IERC20",
|
|
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
): Promise<Contracts.IERC20>;
|
|
deployContract(
|
|
name: "ERC721",
|
|
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
): Promise<Contracts.ERC721>;
|
|
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: "SafeCast",
|
|
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
): Promise<Contracts.SafeCast>;
|
|
deployContract(
|
|
name: "Strings",
|
|
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
): Promise<Contracts.Strings>;
|
|
deployContract(
|
|
name: "IVault",
|
|
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
): Promise<Contracts.IVault>;
|
|
deployContract(
|
|
name: "RewardNFT",
|
|
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
): Promise<Contracts.RewardNFT>;
|
|
deployContract(
|
|
name: "Stablecoin",
|
|
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
): Promise<Contracts.Stablecoin>;
|
|
deployContract(
|
|
name: "StableVault",
|
|
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
): Promise<Contracts.StableVault>;
|
|
deployContract(
|
|
name: "VaultManager",
|
|
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
): Promise<Contracts.VaultManager>;
|
|
|
|
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: "ERC20",
|
|
args: any[],
|
|
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
): Promise<Contracts.ERC20>;
|
|
deployContract(
|
|
name: "IERC20Metadata",
|
|
args: any[],
|
|
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
): Promise<Contracts.IERC20Metadata>;
|
|
deployContract(
|
|
name: "IERC20",
|
|
args: any[],
|
|
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
): Promise<Contracts.IERC20>;
|
|
deployContract(
|
|
name: "ERC721",
|
|
args: any[],
|
|
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
): Promise<Contracts.ERC721>;
|
|
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: "SafeCast",
|
|
args: any[],
|
|
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
): Promise<Contracts.SafeCast>;
|
|
deployContract(
|
|
name: "Strings",
|
|
args: any[],
|
|
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
): Promise<Contracts.Strings>;
|
|
deployContract(
|
|
name: "IVault",
|
|
args: any[],
|
|
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
): Promise<Contracts.IVault>;
|
|
deployContract(
|
|
name: "RewardNFT",
|
|
args: any[],
|
|
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
): Promise<Contracts.RewardNFT>;
|
|
deployContract(
|
|
name: "Stablecoin",
|
|
args: any[],
|
|
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
): Promise<Contracts.Stablecoin>;
|
|
deployContract(
|
|
name: "StableVault",
|
|
args: any[],
|
|
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
): Promise<Contracts.StableVault>;
|
|
deployContract(
|
|
name: "VaultManager",
|
|
args: any[],
|
|
signerOrOptions?: ethers.Signer | DeployContractOptions
|
|
): Promise<Contracts.VaultManager>;
|
|
|
|
// 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>;
|
|
}
|
|
}
|