Skip to main content

Module inspect

Module inspect 

Source

Re-exportsยง

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; ๐Ÿ”’

Macrosยง

impl_value_enum ๐Ÿ”’

Structsยง

InspectArgs
CLI arguments for forge inspect.

Enumsยง

ContractArtifactField
Contract level output selection

Functionsยง

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 ๐Ÿ”’