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

Method decode_traces_input_sync

src/decode_call.rs:109–118  ·  view source on GitHub ↗
(
        &self,
        traces: Vec<Trace>,
        py: Python,
    )

Source from the content-addressed store, hash-verified

107 }
108
109 pub fn decode_traces_input_sync(
110 &self,
111 traces: Vec<Trace>,
112 py: Python,
113 ) -> Vec<Option<Vec<DecodedSolValue>>> {
114 traces
115 .into_iter()
116 .map(|trace| self.decode_impl(trace.input?.as_str(), py))
117 .collect()
118 }
119
120 pub fn decode_impl(&self, input: &str, py: Python) -> Option<Vec<DecodedSolValue>> {
121 let input = Data::decode_hex(input).context("decode input").unwrap();

Callers 1

decode_traces_inputMethod · 0.45

Calls 2

collectMethod · 0.45
decode_implMethod · 0.45

Tested by

no test coverage detected