Skip to main content

Module events

Module events 

Source

Re-exportsยง

use super::MAX_CONCURRENT_RPC_REQUESTS; ๐Ÿ”’
use super::fetch_code_via_rpc; ๐Ÿ”’
use super::logs::LogQueryArgs; ๐Ÿ”’
use crate::traces::CallTraceDecoderBuilder; ๐Ÿ”’
use crate::traces::DecodedEvent; ๐Ÿ”’
use crate::traces::identifier::ExternalIdentifier; ๐Ÿ”’
use crate::traces::identifier::SignaturesIdentifier; ๐Ÿ”’
use alloy_dyn_abi::DynSolValue; ๐Ÿ”’
use alloy_json_abi::JsonAbi; ๐Ÿ”’
use alloy_network::Network; ๐Ÿ”’
use alloy_primitives::Address; ๐Ÿ”’
use alloy_primitives::B256; ๐Ÿ”’
use alloy_primitives::Bytes; ๐Ÿ”’
use alloy_primitives::TxHash; ๐Ÿ”’
use alloy_provider::Provider; ๐Ÿ”’
use alloy_rpc_types::BlockId; ๐Ÿ”’
use alloy_rpc_types::Log; ๐Ÿ”’
use clap::ArgGroup; ๐Ÿ”’
use clap::Parser; ๐Ÿ”’
use eyre::Result; ๐Ÿ”’
use foundry_cli::json::print_json_object; ๐Ÿ”’
use foundry_cli::opts::EtherscanOpts; ๐Ÿ”’
use foundry_cli::opts::RpcOpts; ๐Ÿ”’
use foundry_cli::utils; ๐Ÿ”’
use foundry_cli::utils::load_config_from_provider; ๐Ÿ”’
use foundry_common::ContractsByArtifact; ๐Ÿ”’
use foundry_common::compile::ProjectCompiler; ๐Ÿ”’
use foundry_common::fmt::serialize_value_as_json; ๐Ÿ”’
use foundry_common::shell; ๐Ÿ”’
use foundry_config::Chain; ๐Ÿ”’
use foundry_config::Config; ๐Ÿ”’
use futures::StreamExt; ๐Ÿ”’
use itertools::Itertools; ๐Ÿ”’
use serde::Serialize; ๐Ÿ”’
use serde::Serialize; ๐Ÿ”’
use serde::Serializer; ๐Ÿ”’
use std::collections::BTreeMap; ๐Ÿ”’
use std::collections::BTreeSet; ๐Ÿ”’
use std::fmt::Write as _; ๐Ÿ”’

Structsยง

EventOutput ๐Ÿ”’
EventParam ๐Ÿ”’
EventsArgs
CLI arguments for cast events.

Functionsยง

decode_logs ๐Ÿ”’
format_events ๐Ÿ”’
Formats decoded and raw events for human-readable output.
local_event_abis ๐Ÿ”’
resolve_chains ๐Ÿ”’
Decodes against the RPC chain, but looks ABIs up on the configured explorer chain.
serialize_abi_value ๐Ÿ”’