revm_primitives/eip7702.rs
1pub mod authorization_list;
2pub mod bytecode;
3
4pub use authorization_list::{
5 Authorization, AuthorizationList, RecoveredAuthority, RecoveredAuthorization, Signature,
6 SignedAuthorization,
7};
8pub use bytecode::{
9 Eip7702Bytecode, Eip7702DecodeError, EIP7702_MAGIC, EIP7702_MAGIC_BYTES, EIP7702_VERSION,
10};
11
12// Base cost of updating authorized account.
13pub const PER_AUTH_BASE_COST: u64 = 12500;
14
15/// Cost of creating authorized account that was previously empty.
16pub const PER_EMPTY_ACCOUNT_COST: u64 = 25000;