hardhat
Version:
Hardhat is an extensible developer tool that helps smart contract developers increase productivity by reliably bringing together the tools they want.
17 lines • 870 B
TypeScript
import type { Compiler } from "../../../../../types/solidity.js";
import { CompilerPlatform } from "./downloader.js";
/**
* Returns true if a platform-specific build exists for the given version
* on the given compiler platform. On non-ARM64 platforms (including WASM)
* every version is assumed to have a build; on ARM64 Linux only versions
* in the community mirror (>= 0.5.0) or with official builds (>= 0.8.31) do.
*
* Exported only for testing purposes.
*/
export declare function hasNativeBuildForPlatform(version: string, platform: CompilerPlatform): boolean;
export declare function downloadSolcCompilers(versions: Set<string>, quiet: boolean): Promise<void>;
export declare function getCompiler(version: string, { preferWasm, compilerPath }: {
preferWasm: boolean;
compilerPath?: string;
}): Promise<Compiler>;
//# sourceMappingURL=index.d.ts.map