@layerzerolabs/verify-contract 1.0.423 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,24 @@
1
+ import { Logger } from 'winston';
2
+
3
+ type NetworkName = string;
4
+
5
+ interface VerifyHardhatDeployPathsConfig {
6
+ deployments: string;
7
+ }
8
+ interface VerifyHardhatDeploysNetworkConfig {
9
+ apiUrl: string;
10
+ apiKey?: string;
11
+ browserUrl?: string;
12
+ }
13
+ type VerifyHardhatDeployFilterConfig = boolean | string | string[] | RegExp | VerifyHardhatDeployFilterConfigFunction;
14
+ type VerifyHardhatDeployFilterConfigFunction = (name: string, path: string, networkName: NetworkName) => boolean;
15
+ interface VerifyHardhatDeploysConfig {
16
+ paths?: Partial<VerifyHardhatDeployPathsConfig>;
17
+ networks?: Record<NetworkName, Partial<VerifyHardhatDeploysNetworkConfig>>;
18
+ verify?: VerifyHardhatDeployFilterConfig;
19
+ dryRun?: boolean;
20
+ }
21
+
22
+ declare const _default: (config: VerifyHardhatDeploysConfig, logger: Logger) => Promise<void>;
23
+
24
+ export { _default as verifyHardhatDeploy };
@@ -0,0 +1,24 @@
1
+ import { Logger } from 'winston';
2
+
3
+ type NetworkName = string;
4
+
5
+ interface VerifyHardhatDeployPathsConfig {
6
+ deployments: string;
7
+ }
8
+ interface VerifyHardhatDeploysNetworkConfig {
9
+ apiUrl: string;
10
+ apiKey?: string;
11
+ browserUrl?: string;
12
+ }
13
+ type VerifyHardhatDeployFilterConfig = boolean | string | string[] | RegExp | VerifyHardhatDeployFilterConfigFunction;
14
+ type VerifyHardhatDeployFilterConfigFunction = (name: string, path: string, networkName: NetworkName) => boolean;
15
+ interface VerifyHardhatDeploysConfig {
16
+ paths?: Partial<VerifyHardhatDeployPathsConfig>;
17
+ networks?: Record<NetworkName, Partial<VerifyHardhatDeploysNetworkConfig>>;
18
+ verify?: VerifyHardhatDeployFilterConfig;
19
+ dryRun?: boolean;
20
+ }
21
+
22
+ declare const _default: (config: VerifyHardhatDeploysConfig, logger: Logger) => Promise<void>;
23
+
24
+ export { _default as verifyHardhatDeploy };