extract_event_signature

Function extract_event_signature 

Source
pub fn extract_event_signature(log: &Log) -> Result<String>
Expand description

Extracts the event signature from a log entry and returns it as a hex string

ยงErrors

Returns an error if the event signature (topic0) is not present in the log.