evm_core/external.rs
1use primitive_types::{H160, U256};
2
3/// Operations for recording external costs
4pub enum ExternalOperation {
5 /// Reading basic account from storage. Fixed size.
6 AccountBasicRead,
7 /// Reading address code from storage. Dynamic size.
8 AddressCodeRead(H160),
9 /// Basic check for account emptiness. Fixed size.
10 IsEmpty,
11 /// Writing to storage (Number of bytes written).
12 Write(U256),
13 /// Resolving EIP-7702 delegation (target address).
14 DelegationResolution(H160),
15}