Crate precompile
Expand description
§revm-precompile
Implementations of EVM precompiled contracts.
Modules§
- bls12_
381 blst
- kzg_
point_ evaluation c-kzg
orkzg-rs
- secp256r1
secp256r1
EIP-7212 secp256r1 Precompile
Structs§
- An Ethereum address, 20 bytes in length.
- Wrapper type around [
bytes::Bytes
] to support “0x” prefixed hex strings. - A log consists of an address, and some log data.
- Precompile execution output
Enums§
- Precompile and its handlers.
- Precompile errors.
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§
- Disable kzg precompile. This will return Fatal error on precompile call
- Const function for making an address by concatenating the bytes from two given numbers.
Type Aliases§
- 32-byte fixed byte-array type.
- A
HashMap
using the default hasher. - A
HashSet
using the default hasher. - A precompile operation result.
- Arc over stateful precompile.
- Box over mutable stateful precompile