Crate rtvm_precompile
source ·Expand description
§rtvm-precompile
Implementations of EVM precompiled contracts.
Modules§
Structs§
- An Ethereum address, 20 bytes in length.
- Wrapper type around
bytes::Bytes
to support “0x” prefixed hex strings. - A hash map implemented with quadratic probing and SIMD lookup.
- A log consists of an address, and some log data.
Enums§
- Precompile and its handlers.
Traits§
- Stateful precompile trait. It is used to create a arc precompile Precompile::Stateful.
- Mutable stateful precompile trait. It is used to create a boxed precompile in Precompile::StatefulMut.
Functions§
- Const function for making an address by concatenating the bytes from two given numbers.
Type Aliases§
- 32-byte fixed byte-array type.
- A precompile operation result.
- Arc over stateful precompile.
- Box over mutable stateful precompile