Expand description
Cast is a Swiss Army knife for interacting with Ethereum applications from the command line.
ModulesΒ§
- args
- base
- call_
spec - Call specification parsing for batch transactions.
- cmd
castsubcommands.- core
- foundry-evm-core
- coverage
- foundry-evm-coverage
- debug π
- diagnostic
- Stable, machine-readable diagnostic codes emitted by
cast. - errors
- Errors for this crate
- executors
- EVM executor abstractions, which can execute calls.
- fuzz
- foundry-evm-fuzz
- hardforks
- EVM hardfork definitions for Foundry.
- inspectors
- EVM inspectors.
- introspect
- Stable, agent-facing metadata for the
castcommand tree. - opts
- revm
- Revm is a Rust EVM implementation.
- rlp_
converter π - 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Β§
- Cast
- EvmEnv
- Container type that holds both the configuration and block environment for EVM execution.
- Simple
Cast
TraitsΒ§
- Foundry
Inspector Ext - A combined inspector trait that integrates revmβs
Inspectorwith Foundry-specific extensions. Automatically implemented for any type that implements bothInspector<CTX>andInspectorExt. - Inspector
Ext - Foundry-specific inspector methods, decoupled from any particular EVM context type.
FunctionsΒ§
- explorer_
client π - is_
range_ πlimit_ error - Returns
trueiferris a provider range/result-size limit that retrying over a smaller range can fix. Network, auth, rate-limit, and malformed-response errors returnfalse. - strip_
0x π