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 eip4844;
13pub mod eip7702;
14pub mod eip7823;
15pub mod eof;
16pub mod hardfork;
17
18pub use constants::*;
19
20// Reexport alloy primitives.
21
22pub use alloy_primitives::map::{self, hash_map, hash_set, HashMap, HashSet};
23pub use alloy_primitives::{
24    self, address, b256, bytes, fixed_bytes, hex, hex_literal, keccak256, ruint, uint, Address,
25    Bytes, FixedBytes, Log, LogData, TxKind, B256, I128, I256, U128, U256,
26};
27
28/// type alias for storage keys
29pub type StorageKey = U256;
30/// type alias for storage values
31pub type StorageValue = U256;