Skip to main contentModule inspect
Source use self::ContractArtifactField as Caf; ๐ use alloy_json_abi::Event; ๐ use alloy_json_abi::EventParam; ๐ use alloy_json_abi::InternalType; ๐ use alloy_json_abi::JsonAbi; ๐ use alloy_json_abi::Param; ๐ use clap::Parser; ๐ use comfy_table::Cell; ๐ use comfy_table::Table; ๐ use comfy_table::presets::ASCII_FULL; ๐ use comfy_table::presets::ASCII_MARKDOWN; ๐ use eyre::Result; ๐ use eyre::eyre; ๐ use foundry_cli::opts::BuildOpts; ๐ use foundry_cli::opts::CompilerOpts; ๐ use foundry_cli::utils::LoadConfig; ๐ use foundry_common::compile::PathOrContractInfo; ๐ use foundry_common::compile::ProjectCompiler; ๐ use foundry_common::find_matching_contract_artifact; ๐ use foundry_common::find_target_path; ๐ use foundry_common::namespaced_storage; ๐ use foundry_common::shell; ๐ use foundry_compilers::ProjectCompileOutput; ๐ use foundry_compilers::artifacts::StorageLayout; ๐ use foundry_compilers::artifacts::output_selection::BytecodeOutputSelection; ๐ use foundry_compilers::artifacts::output_selection::ContractOutputSelection; ๐ use foundry_compilers::artifacts::output_selection::ContractOutputSelection as Cos; ๐ use foundry_compilers::artifacts::output_selection::DeployedBytecodeOutputSelection; ๐ use foundry_compilers::artifacts::output_selection::EvmOutputSelection; ๐ use foundry_compilers::artifacts::output_selection::EvmOutputSelection as Eos; ๐ use foundry_compilers::artifacts::output_selection::EwasmOutputSelection; ๐ use foundry_compilers::artifacts::output_selection::OutputSelection; ๐ use foundry_compilers::solc::SolcCompiler; ๐ use foundry_compilers::solc::SolcLanguage; ๐ use path_slash::PathExt; ๐ use regex::Regex; ๐ use serde_json::Map; ๐ use serde_json::Value; ๐ use solar::sema::hir; ๐ use solar::sema::interface::source_map::FileName; ๐ use std::collections::BTreeMap; ๐ use std::fmt; ๐ use std::ops::ControlFlow; ๐ use std::path::Path; ๐ use std::str::FromStr; ๐ use std::sync::LazyLock; ๐
- impl_value_enum ๐
- InspectArgs
- CLI arguments for
forge inspect.
- ContractArtifactField
- Contract level output selection
- event_topic ๐
- Returns topic0 for non-anonymous events. Anonymous events have no signature topic.
- find_target_contract ๐
- Returns the single contract named
target_name, or the only contract, in target_path. - get_ty_sig ๐
- internal_ty ๐
- is_solidity_source ๐
- missing_error ๐
- parse_errors ๐
- parse_event_params ๐
- parse_events ๐
- print_abi ๐
- print_errors_events ๐
- print_json ๐
- print_json_str ๐
- print_linearization ๐
- print_method_identifiers ๐
- print_storage_layout
- print_table ๐
- print_yul ๐