Re-exportsยง
use super::JsonResult;๐use super::NestedValue;๐use super::ScriptResult;๐use super::runner::ScriptRunner;๐use crate::ScriptArgs;๐use crate::ScriptConfig;๐use crate::build::CompiledState;๐use crate::build::LinkedBuildData;๐use crate::simulate::PreSimulationState;๐use alloy_dyn_abi::FunctionExt;๐use alloy_json_abi::Function;๐use alloy_json_abi::InternalType;๐use alloy_json_abi::JsonAbi;๐use alloy_network::AnyNetwork;๐use alloy_network::Network;๐use alloy_primitives::Address;๐use alloy_primitives::Bytes;๐use alloy_primitives::map::HashMap;๐use alloy_primitives::map::HashSet;๐use alloy_provider::Provider;๐use eyre::OptionExt;๐use eyre::Result;๐use foundry_cheatcodes::Wallets;๐use foundry_cli::utils::ensure_clean_constructor;๐use foundry_cli::utils::needs_setup;๐use foundry_common::ContractsByArtifact;๐use foundry_common::fmt::format_token;๐use foundry_common::fmt::format_token_raw;๐use foundry_common::provider::ProviderBuilder;๐use foundry_compilers::multi::MultiCompilerLanguage;๐use foundry_config::Chain;๐use foundry_config::NamedChain;๐use foundry_debugger::DebuggerBuilder;๐use foundry_evm::core::evm::FoundryEvmNetwork;๐use foundry_evm::decode::decode_console_logs;๐use foundry_evm::inspectors::cheatcodes::BroadcastableTransactions;๐use foundry_evm::traces::CallTraceDecoder;๐use foundry_evm::traces::CallTraceDecoderBuilder;๐use foundry_evm::traces::DebugTraceIdentifier;๐use foundry_evm::traces::TraceKind;๐use foundry_evm::traces::debug::ContractSources;๐use foundry_evm::traces::decode_trace_arena;๐use foundry_evm::traces::identifier::SignaturesIdentifier;๐use foundry_evm::traces::identifier::TraceIdentifiers;๐use foundry_evm::traces::prune_trace_depth;๐use foundry_evm::traces::render_trace_arena_inner;๐use foundry_evm::traces::trace_arena_at_depth;๐use foundry_wallets::wallet_browser::signer::BrowserSigner;๐use futures::future::join_all;๐use itertools::Itertools;๐use std::path::Path;๐use yansi::Paint;๐
Structsยง
- Executed
State - State after the script has been executed.
- Execution
Artifacts - Container for data being collected after execution.
- Execution
Data - Container for data we need for execution which can only be obtained after linking stage.
- Linked
State - State after linking, contains the linked build data along with library addresses and optional array of libraries that need to be predeployed.
- PreExecution
State - Same as LinkedState, but also contains ExecutionData.
- RpcData
- Container for information about RPC-endpoints used during script execution.
Functionsยง
- build_
trace_ ๐decoder_ for_ context - Builds a trace decoder for the exact execution context of a script runner.