Expand description
Structs§
- Address
List - The set of network-specific contracts for a given chain.
- AltDA
Config - AltDA configuration.
- Base
FeeConfig - Optimism Base Fee Config
- Batcher
Update - The batcher update type.
- Chain
Config - Defines core blockchain settings per block.
- Chain
Genesis - Chain genesis information.
- Eip1559
Update - The EIP-1559 update type.
- GasConfig
Update - The gas config update type.
- GasLimit
Update - The gas limit update type.
- Hard
Fork Config - Hardfork configuration.
- Operator
FeeUpdate - The Operator Fee update type.
- Roles
- Roles in the OP Stack.
- Rollup
Config - The Rollup configuration.
- Superchain
- A superchain configuration.
- Superchain
Config - A superchain configuration file format
- Superchain
L1Info - Superchain L1 anchor information
- Superchains
- A list of Hydrated Superchain Configs.
- System
Config - System configuration.
- System
Config Log - The system config log is an EVM log entry emitted by the system contract to update the system config.
Enums§
- Batcher
Update Error - An error for updating the batcher address on the crate::SystemConfig.
- EIP1559
Update Error - An error for updating the EIP-1559 parameters on the crate::SystemConfig.
- GasConfig
Update Error - An error for updating the gas config on the crate::SystemConfig.
- GasLimit
Update Error - An error for updating the gas limit on the crate::SystemConfig.
- LogProcessing
Error - An error occurred while processing the update log.
- Operator
FeeUpdate Error - An error for updating the operator fee parameters on the crate::SystemConfig.
- Superchain
Level - Level of integration with the superchain.
- System
Config Update - The system config update is an update
of type
SystemConfigUpdateKind. - System
Config Update Error - An error for processing the crate::SystemConfig update log.
- System
Config Update Kind - Represents type of update to the system config.
Constants§
- BASE_
MAINNET_ BASE_ FEE_ CONFIG - Get the base fee parameters for Base Mainnet.
- BASE_
MAINNET_ CHAIN_ ID - Base Sepolia chain ID.
- BASE_
MAINNET_ EIP1559_ BASE_ FEE_ MAX_ CHANGE_ DENOMINATOR_ CANYON - Base fee max change denominator for Base Mainnet as defined in the Optimism Canyon hardfork.
- BASE_
MAINNET_ EIP1559_ DEFAULT_ BASE_ FEE_ MAX_ CHANGE_ DENOMINATOR - Base fee max change denominator for Base Mainnet as defined in the Optimism Canyon hardfork.
- BASE_
MAINNET_ EIP1559_ DEFAULT_ ELASTICITY_ MULTIPLIER - Base fee max change denominator for Base Mainnet as defined in the Optimism transaction costs doc.
- BASE_
SEPOLIA_ BASE_ FEE_ CONFIG - Get the base fee parameters for Base Sepolia.
- BASE_
SEPOLIA_ BASE_ FEE_ PARAMS - Get the base fee parameters for Base Sepolia.
- BASE_
SEPOLIA_ BASE_ FEE_ PARAMS_ CANYON - Get the base fee parameters for Base Sepolia.
- BASE_
SEPOLIA_ CHAIN_ ID - Base Sepolia chain ID.
- BASE_
SEPOLIA_ EIP1559_ BASE_ FEE_ MAX_ CHANGE_ DENOMINATOR_ CANYON - Base fee max change denominator for Base Sepolia as defined in the Optimism Canyon hardfork.
- BASE_
SEPOLIA_ EIP1559_ DEFAULT_ BASE_ FEE_ MAX_ CHANGE_ DENOMINATOR - Base fee max change denominator for Base Sepolia as defined in the Optimism Canyon hardfork.
- BASE_
SEPOLIA_ EIP1559_ DEFAULT_ ELASTICITY_ MULTIPLIER - Base fee max change denominator for Base Sepolia as defined in the Optimism transaction costs doc.
- CONFIG_
UPDATE_ EVENT_ VERSION_ 0 - The initial version of the system config event log.
- CONFIG_
UPDATE_ TOPIC keccak256("ConfigUpdate(uint256,uint8,bytes)")- DEFAULT_
INTEROP_ MESSAGE_ EXPIRY_ WINDOW - The default interop message expiry window. (1 hour, in seconds)
- FJORD_
MAX_ SEQUENCER_ DRIFT - The max sequencer drift when the Fjord hardfork is active.
- GRANITE_
CHANNEL_ TIMEOUT - The channel timeout once the Granite hardfork is active.
- MAX_
RLP_ BYTES_ PER_ CHANNEL_ BEDROCK - The max rlp bytes per channel for the Bedrock hardfork.
- MAX_
RLP_ BYTES_ PER_ CHANNEL_ FJORD - The max rlp bytes per channel for the Fjord hardfork.
- OP_
MAINNET_ BASE_ FEE_ CONFIG - Get the base fee parameters for Optimism Mainnet.
- OP_
MAINNET_ BASE_ FEE_ PARAMS - Get the base fee parameters for Optimism Mainnet.
- OP_
MAINNET_ BASE_ FEE_ PARAMS_ CANYON - Get the base fee parameters for Optimism Mainnet.
- OP_
MAINNET_ CHAIN_ ID - OP Mainnet chain ID.
- OP_
MAINNET_ EIP1559_ BASE_ FEE_ MAX_ CHANGE_ DENOMINATOR_ CANYON - Base fee max change denominator for Optimism Mainnet as defined in the Optimism Canyon hardfork.
- OP_
MAINNET_ EIP1559_ DEFAULT_ BASE_ FEE_ MAX_ CHANGE_ DENOMINATOR - Base fee max change denominator for Optimism Mainnet as defined in the Optimism transaction costs doc.
- OP_
MAINNET_ EIP1559_ DEFAULT_ ELASTICITY_ MULTIPLIER - Base fee max change denominator for Optimism Mainnet as defined in the Optimism transaction costs doc.
- OP_
SEPOLIA_ BASE_ FEE_ CONFIG - Get the base fee parameters for Optimism Sepolia.
- OP_
SEPOLIA_ BASE_ FEE_ PARAMS - Get the base fee parameters for Optimism Sepolia.
- OP_
SEPOLIA_ BASE_ FEE_ PARAMS_ CANYON - Get the base fee parameters for Optimism Sepolia.
- OP_
SEPOLIA_ CHAIN_ ID - OP Sepolia chain ID.
- OP_
SEPOLIA_ EIP1559_ BASE_ FEE_ MAX_ CHANGE_ DENOMINATOR_ CANYON - Base fee max change denominator for Optimism Sepolia as defined in the Optimism Canyon hardfork.
- OP_
SEPOLIA_ EIP1559_ DEFAULT_ BASE_ FEE_ MAX_ CHANGE_ DENOMINATOR - Base fee max change denominator for Optimism Sepolia as defined in the Optimism transaction costs doc.
- OP_
SEPOLIA_ EIP1559_ DEFAULT_ ELASTICITY_ MULTIPLIER - Base fee max change denominator for Optimism Sepolia as defined in the Optimism transaction costs doc.
Functions§
- base_
fee_ config - Returns the
BaseFeeConfigfor the given chain id. - base_
fee_ params - Returns the
BaseFeeParamsfor the given chain id. - base_
fee_ params_ canyon - Returns the
BaseFeeParamsfor the given chain id, for canyon hardfork.
Type Aliases§
- Hard
Fork Configuration Deprecated - An alias for the hardfork configuration.