Skip to main content

decode_event

Function decode_event 

Source
fn decode_event<T: SolEvent>(log: &Log) -> Option<T>
Expand description

Decodes after the caller has matched topic0, avoiding the allocating invalid-signature error path for unrelated events.