Module astar_primitives::evm
source · Expand description
EVM primitives.
Structs§
- Wrapper around the
EvmFungibleAdapter
from thepallet-evm
. - Handler for automatic revert code registration.
- Fixed-size uninterpreted hash type with 20 bytes (160 bits) size.
- Fixed-size uninterpreted hash type with 32 bytes (256 bits) size.
- Mappings derieved from hashing the original address
- Little-endian large integer type 256-bit unsigned integer.
Enums§
Constants§
- Revert opt code. It’s inserted at the precompile addresses, to make them functional in EVM.
Traits§
- Trait describing an object that can hash a slice of bytes. Used to abstract other types over the hashing algorithm. Defines a single
hash
method and anOut
associated type with the necessary bounds. - Mapping between Native and EVM Addresses