Crate revm_precompile

Source
Expand description

§revm-precompile

Implementations of EVM precompiled contracts.

Re-exports§

pub use primitives;
pub use interface::*;

Modules§

blake2
bls12_381
bls12_381_const
bn128
hash
identity
interface
kzg_point_evaluation
modexp
secp256k1
secp256r1
EIP-7212 secp256r1 Precompile
utilities

Structs§

Address
An Ethereum address, 20 bytes in length.
Bytes
Wrapper type around [bytes::Bytes] to support “0x” prefixed hex strings.
Log
A log consists of an address, and some log data.
PrecompileWithAddress
Precompiles

Enums§

PrecompileSpecId

Functions§

calc_linear_cost_u32
u64_to_address
Const function for making an address by concatenating the bytes from two given numbers.

Type Aliases§

B256
32-byte [fixed byte-array][FixedBytes] type.
HashMap
A HashMap using the default hasher.
HashSet
A HashSet using the default hasher.