pub fn decode_event<T: SolEvent>(event: &Event) -> (usize, usize, Log<T>)
Decode data attached to an Event
event
Panics if the data cannot be decoded for the given event