Expand description
Shared core extraction functions for parsing event logs.
These functions operate on raw bytes and are used by both HyperSync and RPC parsers to ensure consistent extraction logic.
Functionsยง
- extract_
address_ from_ bytes - Extract address from 32-byte topic (address in last 20 bytes).
- extract_
i32_ from_ bytes - Extract i32 from 32-byte topic (value in last 4 bytes, big-endian, signed).
- extract_
u32_ from_ bytes - Extract u32 from 32-byte topic (value in last 4 bytes, big-endian).
- validate_
signature_ bytes - Validate event signature matches expected hash.