MCPcopy Create free account
hub / github.com/enviodev/hypersync-client-python / decode_logs_sync

Method decode_logs_sync

src/decode.rs:53–57  ·  view source on GitHub ↗
(&self, logs: Vec<Log>, py: Python)

Source from the content-addressed store, hash-verified

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,

Callers 2

test_decode_logsFunction · 0.95
decode_logsMethod · 0.45

Calls 1

decode_implMethod · 0.45

Tested by 1

test_decode_logsFunction · 0.76