Expand description
Executor
This module contains the execution logic for the SessionSource.
Re-exportsยง
use crate::prelude::ChiselDispatcher;๐use crate::prelude::ChiselResult;๐use crate::prelude::ChiselRunner;๐use crate::prelude::SessionSource;๐use crate::prelude::SolidityHelper;๐use alloy_dyn_abi::DynSolType;๐use alloy_dyn_abi::DynSolValue;๐use alloy_json_abi::EventParam;๐use alloy_primitives::Address;๐use alloy_primitives::B256;๐use alloy_primitives::U256;๐use alloy_primitives::hex;๐use alloy_primitives::hex;๐use eyre::Result;๐use eyre::WrapErr;๐use foundry_compilers::Artifact;๐use foundry_evm::backend::Backend;๐use foundry_evm::core::evm::FoundryEvmNetwork;๐use foundry_evm::decode::decode_console_logs;๐use foundry_evm::inspectors::CheatsConfig;๐use foundry_evm::opts::ExecutionSpecContext;๐use foundry_evm::opts::resolve_execution_spec;๐use foundry_evm::traces::TraceRequirements;๐use solar::ast::ElementaryType;๐use solar::ast::LitKind;๐use solar::ast::StmtKind as AstStmtKind;๐use solar::ast::StrKind;๐use solar::ast::UnOpKind;๐use solar::ast::yul;๐use solar::interface::Session;๐use solar::sema::hir::Event;๐use solar::sema::hir::Expr;๐use solar::sema::hir::ExprKind;๐use solar::sema::hir::StmtKind;๐use solar::sema::ty::Gcx;๐use solar::sema::ty::Ty;๐use solar::sema::ty::TyKind;๐use std::ops::ControlFlow;๐use yansi::Paint;๐
Structsยง
- Inspect
Result - Result of inspecting a Solidity snippet.
- YulInspection ๐
Functionsยง
- dyn_
ty_ ๐contains_ function - elementary_
to_ ๐dyn - Maps a solar [
ElementaryType] to a [DynSolType]. - expr_
to_ ๐dyn - Converts an [
Expr] directly to a [DynSolType] for ABI inspection. - format_
event_ ๐definition - Formats an [
Event] into an inspection message. - format_
token ๐ - Formats a value into an inspection message
- should_
continue ๐ - Whether execution should continue after inspecting this expression.
- solar_
expr_ ๐ty_ to_ dyn - Maps a solar [
Ty] to a [DynSolType]. - solar_
ty_ ๐to_ dyn - yul_
inspection ๐