pub struct SystemConfig {
pub batch_sender: Address,
pub gas_limit: U256,
pub l1_fee_overhead: U256,
pub l1_fee_scalar: U256,
pub unsafe_block_signer: Address,
}Expand description
Optimism system config contract values
Fields§
§batch_sender: AddressBatch sender address
gas_limit: U256L2 gas limit
l1_fee_overhead: U256Fee overhead
l1_fee_scalar: U256Fee scalar
unsafe_block_signer: AddressSequencer’s signer for unsafe blocks
Trait Implementations§
Source§impl Clone for SystemConfig
impl Clone for SystemConfig
Source§fn clone(&self) -> SystemConfig
fn clone(&self) -> SystemConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SystemConfig
impl Debug for SystemConfig
Source§impl<'de> Deserialize<'de> for SystemConfig
impl<'de> Deserialize<'de> for SystemConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SystemConfig
impl PartialEq for SystemConfig
Source§impl Serialize for SystemConfig
impl Serialize for SystemConfig
impl Copy for SystemConfig
impl Eq for SystemConfig
impl StructuralPartialEq for SystemConfig
Auto Trait Implementations§
impl Freeze for SystemConfig
impl RefUnwindSafe for SystemConfig
impl Send for SystemConfig
impl Sync for SystemConfig
impl Unpin for SystemConfig
impl UnwindSafe for SystemConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more