revm_state/types.rs
1use super::{Account, EvmStorageSlot};
2use primitives::{Address, HashMap, U256};
3
4/// EVM State is a mapping from addresses to accounts.
5pub type EvmState = HashMap<Address, Account>;
6
7/// Structure used for EIP-1153 transient storage
8pub type TransientStorage = HashMap<(Address, U256), U256>;
9
10/// An account's Storage is a mapping from 256-bit integer keys to [EvmStorageSlot]s.
11pub type EvmStorage = HashMap<U256, EvmStorageSlot>;