Skip to main content

Module utils

Module utils 

Source

Structsยง

SolarSourceStatus
Describes the Solidity sources encountered while configuring Solar.

Functionsยง

configure_pcx
Configures a [ParsingContext] from [Config].
configure_pcx_all_sources
Configures a Solar parsing context with all Solar-compatible project sources.
configure_pcx_all_sources_with_status
Configures a Solar parsing context with all Solar-compatible project sources and reports whether unsupported sources were skipped.
configure_pcx_from_compile_output
Configures a [ParsingContext] from a [ProjectCompileOutput].
configure_pcx_from_solc
Configures a [ParsingContext] from [ProjectPathsConfig] and [SolcVersionedInput].
configure_pcx_from_solc_cli ๐Ÿ”’
configure_pcx_with_sources ๐Ÿ”’
get_solar_sources_from_compile_output
Extracts Solar-compatible sources from a [ProjectCompileOutput].