UNPKG

@matterlabs/hardhat-zksync-solc

Version:
27 lines 971 B
/** * This class is responsible for downloading the zkvm solc binary. */ export declare class ZkVmSolcCompilerDownloader { private _solcVersion; private _zkVmSolcVersion; private readonly _compilersDirectory; static getDownloaderWithVersionValidated(zkVmSolcVersion: string, solcVersion: string, compilersDir: string): Promise<ZkVmSolcCompilerDownloader>; private static _instance; private version; /** * Use `getDownloaderWithVersionValidated` to create an instance of this class. */ private constructor(); getSolcVersion(): string; getZkVmSolcVersion(): string; getVersion(): string; getCompilerPath(): string; isCompilerDownloaded(): Promise<boolean>; downloadCompiler(): Promise<void>; private _downloadCompiler; private _getCompilerUrl; private _attemptDownload; private _postProcessCompilerDownload; private _verifyCompiler; } //# sourceMappingURL=zkvm-solc-downloader.d.ts.map