Skip to main content Module signatures Copy item path Source use alloy_json_abi::Error; ๐ use alloy_json_abi::Event; ๐ use alloy_json_abi::Function; ๐ use alloy_json_abi::JsonAbi; ๐ use alloy_primitives::B256; ๐ use alloy_primitives::Selector; ๐ use alloy_primitives::map::HashMap; ๐ use alloy_primitives::map::HashSet; ๐ use eyre::Result ; ๐ use foundry_common::abi::get_error ; ๐ use foundry_common::abi::get_event ; ๐ use foundry_common::abi::get_func ; ๐ use foundry_common::fs ; ๐ use foundry_common::selectors::OpenChainClient ; ๐ use foundry_common::selectors::SelectorKind ; ๐ use foundry_config::Config ; ๐ use serde::Deserialize ; ๐ use serde::Deserialize ; ๐ use serde::Serialize ; ๐ use serde::Serialize ; ๐ use std::collections::BTreeMap ; ๐ use std::path::Path ; ๐ use std::path::PathBuf ; ๐ use std::sync::Arc ; ๐ use tokio::sync::RwLock; ๐ SignaturesCache Cache for function, event and error signatures. Used by SignaturesIdentifier . SignaturesDiskCache ๐ Disk representation of the signatures cache. SignaturesIdentifier An identifier that tries to identify functions and events using signatures found at
https://openchain.xyz or a local cache. SignaturesIdentifierInner ๐ event_cache_signature ๐ Returns the event signature stored in the cache: like [Event::full_signature], with indexed
flags and parameter names, but with struct parameters written as plain tuples, because
[Event::parse] rejects named tuple components.