Re-exportsΒ§
use alloy_dyn_abi::DynSolValue;πuse alloy_dyn_abi::Specifier;πuse alloy_json_abi::Constructor;πuse alloy_json_abi::JsonAbi;πuse eyre::Result;πuse eyre::WrapErr;πuse foundry_common::TestFunctionExt;πuse foundry_common::fmt::parse_tokens;πuse foundry_common::fs;πuse foundry_common::fs::json_files;πuse foundry_common::selectors::SelectorKind;πuse foundry_common::shell;πuse foundry_compilers::Artifact;πuse foundry_compilers::ArtifactId;πuse foundry_compilers::ProjectCompileOutput;πuse foundry_compilers::artifacts::CompactBytecode;πuse foundry_compilers::utils::read_json_file;πuse foundry_config::Chain;πuse foundry_config::Config;πuse foundry_config::NamedChain;πuse foundry_config::error::ExtractConfigError;πuse foundry_config::figment::Figment;πuse foundry_config::figment::Provider;πuse foundry_evm::core::evm::FoundryEvmNetwork;πuse foundry_evm::executors::DeployResult;πuse foundry_evm::executors::EvmError;πuse foundry_evm::executors::RawCallResult;πuse foundry_evm::opts::EvmOpts;πuse foundry_evm::traces::CallTraceDecoder;πuse foundry_evm::traces::TraceKind;πuse foundry_evm::traces::Traces;πuse foundry_evm::traces::decode_trace_arena;πuse foundry_evm::traces::identifier::SignaturesCache;πuse foundry_evm::traces::prune_trace_depth;πuse foundry_evm::traces::render_trace_arena_inner;πuse foundry_evm::traces::trace_arena_at_depth;πuse std::fmt::Write;πuse std::path::Path;πuse std::path::PathBuf;πuse yansi::Paint;π
StructsΒ§
- Trace
Result - A slimmed down return from the executor used for returning minimal trace + gas metering info
TraitsΒ§
- Load
Config - Helpers for loading configuration.
FunctionsΒ§
- cache_
local_ signatures - Traverse the artifacts in the project to generate local signatures and merge them into the cache file.
- cache_
signatures_ from_ abis - Traverses all files at
folder_path, parses any JSON ABI files found, and caches their function/event/error signatures to the local signatures cache. - emit_
warnings π - ensure_
clean_ constructor - Returns error if constructor has arguments.
- eta_key
- find_
contract_ artifacts - Given a
Projectβs output, finds the contract by path and name and returns its ABI, creation bytecode, andArtifactId. - has_
batch_ support - True if it supports broadcasting in batches.
- has_
different_ gas_ calc - True if the network calculates gas costs differently.
- init_
progress - load_
config_ from_ provider - Loads and sanitizes
Configfrom a provider and emits generated warnings. - needs_
setup - parse_
constructor_ args - Parses constructor arguments by matching them against the constructorβs input parameters.
- print_
traces - read_
constructor_ args_ file - Read contract constructor arguments from the given file.