Module compilers

Source

Modules§

solc
vyper

Structs§

CompilerOutput
Output of the compiler, including contracts, sources and errors. Currently only generic over the error but might be extended in the future.

Enums§

CompilerVersion
A compiler version is either installed (available locally) or can be downloaded, from the remote endpoint
VersionManagerError

Traits§

CompilationError
Error returned by compiler. Might also represent a warning or informational message.
Compiler
The main compiler abstraction trait. Currently mostly represents a wrapper around compiler binary aware of the version and able to compile given input into CompilerOutput including artifacts and errors.
CompilerInput
Input of a compiler, including sources and settings used for their compilation.
CompilerSettings
Compilation settings including evm_version, output_selection, etc.
CompilerVersionManager
Abstraction over a compiler version manager. Currently main implementation is SolcVersionManager. Acts as a factory of Compilers.
ParsedSource
Parser of the source files which is used to identify imports and version requirements of the given source. Used by path resolver to resolve imports or determine compiler versions needed to compiler given sources.