-
Notifications
You must be signed in to change notification settings - Fork 0
/
hardhat.d.ts
105 lines (100 loc) · 3.07 KB
/
hardhat.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import { ethers } from "ethers";
import {
FactoryOptions,
HardhatEthersHelpers as HardhatEthersHelpersBase,
} from "@nomiclabs/hardhat-ethers/types";
import * as Contracts from ".";
declare module "hardhat/types/runtime" {
interface HardhatEthersHelpers extends HardhatEthersHelpersBase {
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: "IZRC20",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.IZRC20__factory>;
getContractFactory(
name: "ZContract",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.ZContract__factory>;
getContractFactory(
name: "SystemContract",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.SystemContract__factory>;
getContractFactory(
name: "SystemContractErrors",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.SystemContractErrors__factory>;
getContractFactory(
name: "Staking",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.Staking__factory>;
getContractAt(
name: "ERC20",
address: string,
signer?: ethers.Signer
): Promise<Contracts.ERC20>;
getContractAt(
name: "IERC20Metadata",
address: string,
signer?: ethers.Signer
): Promise<Contracts.IERC20Metadata>;
getContractAt(
name: "IERC20",
address: string,
signer?: ethers.Signer
): Promise<Contracts.IERC20>;
getContractAt(
name: "IZRC20",
address: string,
signer?: ethers.Signer
): Promise<Contracts.IZRC20>;
getContractAt(
name: "ZContract",
address: string,
signer?: ethers.Signer
): Promise<Contracts.ZContract>;
getContractAt(
name: "SystemContract",
address: string,
signer?: ethers.Signer
): Promise<Contracts.SystemContract>;
getContractAt(
name: "SystemContractErrors",
address: string,
signer?: ethers.Signer
): Promise<Contracts.SystemContractErrors>;
getContractAt(
name: "Staking",
address: string,
signer?: ethers.Signer
): Promise<Contracts.Staking>;
// default types
getContractFactory(
name: string,
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<ethers.ContractFactory>;
getContractFactory(
abi: any[],
bytecode: ethers.utils.BytesLike,
signer?: ethers.Signer
): Promise<ethers.ContractFactory>;
getContractAt(
nameOrAbi: string | any[],
address: string,
signer?: ethers.Signer
): Promise<ethers.Contract>;
}
}