Module precompile_util_solidity::data
source · Structs
- The
address
type of Solidity. H160 could represent 2 types of data (bytes20 and address) that are not encoded the same way. To avoid issues writing H160 is thus not supported. - The
bytes
/string
type of Solidity. It is different fromVec<u8>
which will be serialized with padding for eachu8
element of the array, whileBytes
is tightly packed. - Wrapper around an EVM input slice, helping to parse it. Provide functions to parse common types.
- Help build an EVM input/output data.
Traits
- Data that can be converted from and to EVM data types.