Expand description
Shared eth_call state and block override options.
Re-exportsยง
use alloy_contract::CallDecoder;๐use alloy_contract::EthCall;๐use alloy_network::Network;๐use alloy_primitives::Address;๐use alloy_primitives::B256;๐use alloy_primitives::Bytes;๐use alloy_primitives::U256;๐use alloy_primitives::map::HashMap;๐use alloy_rpc_types::BlockOverrides;๐use alloy_rpc_types::state::StateOverride;๐use alloy_rpc_types::state::StateOverridesBuilder;๐use clap::Args;๐use eyre::Result;๐use regex::Regex;๐use std::str::FromStr;๐use std::sync::LazyLock;๐
Structsยง
- Call
Override Opts - State and block overrides for an
eth_call.
Staticsยง
- OVERRIDE_
PATTERN ๐
Functionsยง
- address_
slot_ ๐value_ overrides - Parses override strings in the format address:slot:value, grouped by address.
- address_
value_ ๐overrides - Parses override strings in the format address:value.