Function ethers_core::abi::decode

source ·
pub fn decode(
    types: &[ParamType],
    data: &[u8]
) -> Result<Vec<Token, Global>, Error>
Expand description

Decodes ABI compliant vector of bytes into vector of tokens described by types param. Returns ok, even if some data left to decode