@nomiclabs/buidler > Compiler

Class: Compiler

Hierarchy

Compiler

Index

Constructors

Methods


Constructors

constructor

new Compiler(version: string, compilersDir: string, compilerDownloader?: CompilerDownloader): Compiler

Defined in internal/solidity/compiler/index.ts:14

Parameters:

Name Type
version string
compilersDir string
Optional compilerDownloader CompilerDownloader

Returns: Compiler


Methods

compile

compile(input: any): Promise<any>

Defined in internal/solidity/compiler/index.ts:35

Parameters:

Name Type
input any

Returns: Promise<any>


getSolc

getSolc(): Promise<any>

Defined in internal/solidity/compiler/index.ts:42

Returns: Promise<any>