revm_state/
types.rs

1
2
3
4
5
6
7
8
9
10
11
use super::{Account, EvmStorageSlot};
use primitives::{Address, HashMap, U256};

/// EVM State is a mapping from addresses to accounts.
pub type EvmState = HashMap<Address, Account>;

/// Structure used for EIP-1153 transient storage.
pub type TransientStorage = HashMap<(Address, U256), U256>;

/// An account's Storage is a mapping from 256-bit integer keys to [EvmStorageSlot]s.
pub type EvmStorage = HashMap<U256, EvmStorageSlot>;