Function precompile_utils::solidity::codec::encode_arguments
source · pub fn encode_arguments<T: Codec>(value: T) -> Vec<u8> ⓘ
Expand description
Encode the value into its Solidity ABI format.
If T
is a tuple every element is encoded without a prefixed offset.
It matches the encoding of Solidity function arguments and return value, or event data.