hardhat
Version:
Hardhat is an extensible developer tool that helps smart contract developers increase productivity by reliably bringing together the tools they want.
18 lines • 1.04 kB
TypeScript
import type { SolidityCompilerConfig } from "../../../types/config.js";
import type { Compiler } from "../../../types/solidity.js";
/**
* Downloads solc compilers for the given configs, filtering out non-solc types.
* This is the default implementation of the `downloadCompilers` hook handler.
*/
export declare function downloadSolcCompilersHandler(compilerConfigs: SolidityCompilerConfig[], quiet: boolean): Promise<void>;
/**
* Resolves the preferWasm setting for a given compiler config, falling back
* to the build profile's preferWasm if not set on the compiler.
*/
export declare function resolvePreferWasm(compilerConfig: SolidityCompilerConfig, buildProfilePreferWasm: boolean): boolean;
/**
* Creates a solc Compiler for the given config. This is the default
* implementation used as the fallback in the `getCompiler` hook chain.
*/
export declare function getSolcCompilerForConfig(compilerConfig: SolidityCompilerConfig, buildProfilePreferWasm: boolean): Promise<Compiler>;
//# sourceMappingURL=solidity-hooks.d.ts.map