Module helpers

Module helpers 

Source

Functionsยง

extract_address_from_topic
Extracts an address from a specific topic in a log entry
extract_block_number
Extracts the block number from a log entry
extract_event_signature
Extracts the event signature from a log entry and returns it as a hex string
extract_event_signature_bytes
Extracts the event signature from a log entry and returns it as raw bytes
extract_log_index
Extracts the log index from a log entry
extract_transaction_hash
Extracts the transaction hash from a log entry
extract_transaction_index
Extracts the transaction index from a log entry
validate_event_signature_hash
Validates that a log entry corresponds to the expected event by comparing its topic0 with the provided event signature hash.