compile.compiler Module¶
The compile.compiler module
Solidity compiling functionality
-
class
solidbyte.compile.compiler.Compiler(project_dir=None)[source]¶ Handle compiling of contracts
-
compile(filename)[source]¶ Compile a single source contract at
filenameParameters: filename – Source contract’s filename
-
solc_version¶ Get the version of the solidity copmiler
Returns: A strrepresentation of the version
-
version¶ A
listof all compiler versions
-
vyper_version¶ Get the version of the vyper copmiler
Returns: A strrepresentation of the version
-
-
solidbyte.compile.compiler.get_all_source_files(contracts_dir: pathlib.Path) → Set[pathlib.Path][source]¶ Return a Path for every contract source file in the provided directory and any sub- directories.
Parameters: contracts_dir – The Path of the directory to start at. Returns: List of Paths to every source file in the directory.