Expand description
Support for compiling [foundry_compilers::Project]
Structsยง
- Contract
Info - How big the contract is and whether it is a dev contract where size limits can be neglected
- Contract
Size Limits - Runtime and initcode byte-size limits for compiled contract size reports.
- Project
Compiler - Builder type to configure how to compile a project.
- Size
Report - Contracts with info about their size
Enumsยง
- Path
OrContract Info - Container type for parsing contract identifiers from CLI.
Constantsยง
- CONTRACT_
INITCODE_ ๐SIZE_ LIMIT - CONTRACT_
INITCODE_ ๐SIZE_ WARN_ THRESHOLD - CONTRACT_
RUNTIME_ ๐SIZE_ LIMIT - CONTRACT_
RUNTIME_ ๐SIZE_ WARN_ THRESHOLD
Functionsยง
- compile_
target - Compiles target file path.
- contract_
size ๐ - Returns the deployed or init size of the contract.
- etherscan_
project - Creates a [Project] from an Etherscan source.
- scaled_
threshold ๐ - with_
compilation_ reporter - Configures the reporter and runs the given closure.
Type Aliasesยง
- Analysis
- A Solar compiler instance, to grant syntactic and semantic analysis capabilities.