pub fn encode_sequence<T: for<'a> SolParamsEncode<'a>>(value: &T) -> Vec<u8> ⓘExpand description
Solidity ABI encode the given value as a parameter sequence.
§Note
Tmust be a tuple type where each member implementsSolEncode.- The result can be different from
SolEncode::encodefor the given tuple because this function always returns the encoded data in place, even for tuples containing dynamic types (i.e. no top-level offset is included for dynamic tuples).
This function is a convenience wrapper for SolParamsEncode::encode.