Decode an ABI encoded buffer with the specified types. The types must be
valid Solidity ABI types.
This will attempt to infer the output types from the input types. For
example, if you use uint256 as an input type, the output type will be
bigint. This does not work for all types, however. For example, if you use
nested array types or tuple types, the output type will be unknown.
The resulting types of the values will be as follows:
Decode an ABI encoded buffer with the specified types. The types must be valid Solidity ABI types.
This will attempt to infer the output types from the input types. For example, if you use
uint256as an input type, the output type will bebigint. This does not work for all types, however. For example, if you use nested array types or tuple types, the output type will beunknown.The resulting types of the values will be as follows:
addressstringboolbooleanbytes(n)Uint8Arrayfunctionint(n)bigintstringstringtupleArrayarrayArrayuint(n)bigintExample
See
https://docs.soliditylang.org/en/v0.8.17/abi-spec.html#types
Returns
The decoded values as array.