axos_primitives/
system.rs

1use alloy_primitives::{Address, U256};
2use serde::{Deserialize, Serialize};
3
4/// Optimism system config contract values
5#[derive(Debug, Clone, Copy, Serialize, Deserialize, PartialEq, Eq)]
6pub struct SystemConfig {
7    /// Batch sender address
8    pub batch_sender: Address,
9    /// L2 gas limit
10    pub gas_limit: U256,
11    /// Fee overhead
12    pub l1_fee_overhead: U256,
13    /// Fee scalar
14    pub l1_fee_scalar: U256,
15    /// Sequencer's signer for unsafe blocks
16    pub unsafe_block_signer: Address,
17}