@matterlabs/hardhat-zksync-verify
Version:
Hardhat plugin to verify smart contracts for the ZKsync network
17 lines • 1.36 kB
TypeScript
import { HardhatRuntimeEnvironment, SolcUserConfig } from 'hardhat/types';
import { ZkSyncVerifyPluginError } from './errors';
import { SolcConfigData } from './config-normalizer';
export declare function handleAxiosError(error: any): never;
export declare function delay(ms: number): Promise<unknown>;
export declare function encodeArguments(abi: any, constructorArgs: any[]): Promise<string>;
export declare function nextAttemptDelay(currentAttempt: number, baseDelay: number, baseNumberOfAttempts: number): number;
export declare function retrieveContractBytecode(address: string, hre: HardhatRuntimeEnvironment): Promise<string>;
export declare function parseWrongConstructorArgumentsError(string: string): string;
export declare function extractModule(constructorArgsModulePath: string): Promise<any>;
export declare function getZkVmNormalizedVersion(solcVersion: string, zkVmSolcVersion: string): string;
export declare function normalizeCompilerVersions(solcConfigData: SolcConfigData, zkSolcConfig: any, latestEraVersion: string, userConfigCompilers: SolcUserConfig[] | Map<string, SolcUserConfig>): string | undefined;
export declare function extractQueryParams(url: string): [string, {
[k: string]: string;
}];
export declare function printVerificationErrors(errors: Record<string, ZkSyncVerifyPluginError>): void;
//# sourceMappingURL=utils.d.ts.map