Expand description
Solc artifact types.
Re-exports§
- pub use serde_helpers::deserialize_bytes;
- pub use serde_helpers::deserialize_opt_bytes;
- pub use error::*;
- pub use ast::*;
- pub use remappings::*;
- pub use bytecode::*;
- pub use contract::*;
- pub use configurable::*;
- pub use sources::*;
Modules§
- ast
- Bindings for the Solidity and Yul ASTs.
- bytecode
- Bytecode related types.
- configurable
- contract
- Contract related types.
- error
- hh
- Hardhat support
- output_selection 
- Bindings for standard json output selection.
- remappings
- serde_helpers 
- Serde helpers.
- sourcemap
- sources
Structs§
- Compiler
- CompilerOutput 
- Output type solcproduces
- Creation
- DebuggingSettings 
- Debugging settings for solc
- DevDoc
- Doc
- DocLibraries
- ErrorDoc 
- EventDoc 
- Evm
- Ewasm
- FunctionDebug Data 
- GasEstimates
- GeneratedSource 
- Item
- Libraries
- A wrapper type for all libraries in the form of <file>:<lib>:<addr>
- LosslessMetadata 
- A helper type that ensures lossless (de)serialisation so we can preserve the exact String metadata value that’s being hashed by solc
- Metadata
- Bindings for solccontract metadata
- MetadataSettings 
- Compiler settings
- MetadataSource 
- MetadataSources 
- Compilation source files/source units, keys are file names
- MethodDoc 
- ModelChecker Settings 
- Model checker settings for solc
- Offsets
- Byte offsets into the bytecode. Linking replaces the 20 bytes located there.
- Optimizer
- OptimizerDetails 
- Output
- OutputContracts 
- A wrapper helper type for the Contractstype alias
- Settings
- SettingsMetadata 
- SolcAbi
- SolcInput 
- Input type solcexpects.
- SourceFile 
- SourceFiles 
- A wrapper type for a list of source files: path -> SourceFile.
- StandardJson Compiler Input 
- A CompilerInputrepresentation used for verify
- Storage
- StorageLayout 
- Represents the storage-layoutsection of theCompilerOutputif selected.
- StorageType 
- UserDoc
- YulDetails
Enums§
- BytecodeHash 
- Determines the hash method for the metadata hash that is appended to the bytecode.
- EofVersion
- Available EOF versions.
- EvmVersion
- EVM versions.
- ModelChecker Engine 
- Which model checker engine to run.
- ModelChecker Invariant 
- Which model checker invariants to check.
- ModelChecker Solver 
- Which model checker solvers to check.
- ModelChecker Target 
- Which model checker targets to check.
- RevertStrings 
- How to treat revert (and require) reason strings.
- SolcLanguage 
- Languages supported by the Solc compiler.
- UserDocNotice 
Constants§
Type Aliases§
- Contracts
- file -> (contract name -> Contract)
- FileToContracts Map 
- Solidity files are made up of multiple source units, a solidity contract is such asource unit, therefore a solidity file can contain multiple contracts: (1-N*) relationship.