@nomiclabs/buidler
Version:
Buidler is an extensible developer tool that helps smart contract developers increase productivity by reliably bringing together the tools they want.
21 lines • 790 B
TypeScript
import { CompilerDownloader } from "./downloader";
export declare class Compiler {
private static _getLocalSolcVersion;
private readonly _version;
private readonly _compilersDir;
private readonly _downloader;
private readonly _localSolcVersion;
private _loadedSolc?;
constructor(version: string, compilersDir: string, compilerDownloader?: CompilerDownloader);
compile(input: any): Promise<any>;
getSolc(): Promise<any>;
private _isUsingLocalSolcVersion;
/**
* This function loads the compiler sources bypassing any require hook.
*
* The compiler is a huge asm.js file, and using a simple require may trigger
* babel/register and hang the process.
*/
private _loadCompilerSources;
}
//# sourceMappingURL=index.d.ts.map