(&self, input: &str, py: Python)
| 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(); |
| 122 | let decoded_input = self |
| 123 | .inner |
| 124 | .decode_input(&input) |
| 125 | .context("decode log") |
| 126 | .unwrap(); |
| 127 | decoded_input.map(|decoded_input| { |
| 128 | decoded_input |
| 129 | .into_iter() |
| 130 | .map(|value| DecodedSolValue::new(py, value, self.checksummed_addresses)) |
| 131 | .collect() |
| 132 | }) |
| 133 | } |
| 134 | } |
no test coverage detected