Skip to main content

Crate cast

Crate cast 

Source
Expand description

Cast is a Swiss Army knife for interacting with Ethereum applications from the command line.

Re-exportsยง

pub(crate) use op_alloy_consensus as _; ๐Ÿ”’ optimism

Modulesยง

args
base
Number base parsing and formatting for the cast conversion commands.
call_spec
Call specification parsing for batch transactions.
cmd
cast subcommands.
core
foundry-evm-core
coverage
foundry-evm-coverage
debug ๐Ÿ”’
evm_version ๐Ÿ”’
Detects the EVM version a node executes at a given block.
executors
EVM executor abstractions, which can execute calls.
fuzz
foundry-evm-fuzz
hardforks
EVM hardfork definitions for Foundry.
inspectors
EVM inspectors.
opts
rlp_converter ๐Ÿ”’
rpc_trace
Conversion from geth callTracer output into a CallTraceArena.
tempo
Tempo transaction helpers used by Cast-facing commands.
traces
foundry-evm-traces
tx

Macrosยง

call_inspectors
Helper macro to call the same method on multiple inspectors without resorting to dynamic dispatch.

Structsยง

EvmEnv
The spec, runtime version and block an EVM is built with.

Constantsยง

EVM_THREAD_STACK_SIZE
Stack size of the threads that run EVM executions.