Function ethers_contract::decode_function_data
source · pub fn decode_function_data<D: Detokenize, T: AsRef<[u8]>>(
function: &Function,
bytes: T,
is_input: bool
) -> Result<D, AbiError>
Expand description
Helper for ABI decoding raw data based on a function’s input or output.