revm_primitives/
lib.rs

1//! # revm-primitives
2//!
3//! EVM primitive types.
4#![cfg_attr(not(test), warn(unused_crate_dependencies))]
5#![cfg_attr(not(feature = "std"), no_std)]
6
7#[cfg(not(feature = "std"))]
8extern crate alloc as std;
9
10pub mod constants;
11pub mod eip170;
12pub mod eip3860;
13pub mod eip4844;
14pub mod eip7702;
15pub mod eip7823;
16pub mod eip7825;
17pub mod eip7907;
18pub mod eip7918;
19pub mod hardfork;
20
21pub use constants::*;
22
23// Reexport alloy primitives.
24
25pub use alloy_primitives::map::{self, hash_map, hash_set, HashMap, HashSet};
26pub use alloy_primitives::{
27    self, address, b256, bytes, fixed_bytes, hex, hex_literal, keccak256, ruint, uint, Address,
28    Bytes, FixedBytes, Log, LogData, TxKind, B256, I128, I256, U128, U256,
29};
30
31/// type alias for storage keys
32pub type StorageKey = U256;
33/// type alias for storage values
34pub type StorageValue = U256;