(&self, logs: Vec<Log>, py: Python)
| 51 | } |
| 52 | |
| 53 | pub fn decode_logs_sync(&self, logs: Vec<Log>, py: Python) -> Vec<Option<DecodedEvent>> { |
| 54 | logs.iter() |
| 55 | .map(|log| self.decode_impl(log, py).ok().flatten()) |
| 56 | .collect::<Vec<_>>() |
| 57 | } |
| 58 | |
| 59 | pub fn decode_events<'py>( |
| 60 | &self, |