Skip to main content

Module call_overrides

Module call_overrides 

Source
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ยง

CallOverrideOpts
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.