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