Module darwinia_evm_precompile_utils::prelude
source · [−]Re-exports
Macros
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 from Vec<u8>
which will be serialized with padding for each u8
element
of the array, while Bytes
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.
Enums
Whether a function modifies or reads blockchain state
Traits
Data that can be converted from and to EVM data types.
Functions
Check that a function call is compatible with the context it is called into.
Create a 0-topic log.
Create a 1-topic log.
Create a 2-topics log.
Create a 3-topics log.
Create a 4-topics log.