Crate maili_genesis

Source
Expand description

§maili-genesis

§Notice

This crate is deprecated.

Please use kona-genesis instead.

Structs§

AddressList
The set of network-specific contracts for a given chain.
AltDAConfig
AltDA configuration.
BaseFeeConfig
Optimism Base Fee Config
BatcherUpdate
The batcher update type.
ChainConfig
Defines core blockchain settings per block.
ChainGenesis
Chain genesis information.
Eip1559Update
The EIP-1559 update type.
GasConfigUpdate
The gas config update type.
GasLimitUpdate
The gas limit update type.
HardForkConfig
Hardfork configuration.
OperatorFeeUpdate
The Operator Fee update type.
Roles
Roles in the OP Stack.
RollupConfig
The Rollup configuration.
Superchain
A superchain configuration.
SuperchainConfig
A superchain configuration file format
SuperchainL1Info
Superchain L1 anchor information
Superchains
A list of Hydrated Superchain Configs.
SystemConfig
System configuration.
SystemConfigLog
The system config log is an EVM log entry emitted by the system contract to update the system config.

Enums§

BatcherUpdateError
An error for updating the batcher address on the crate::SystemConfig.
EIP1559UpdateError
An error for updating the EIP-1559 parameters on the crate::SystemConfig.
GasConfigUpdateError
An error for updating the gas config on the crate::SystemConfig.
GasLimitUpdateError
An error for updating the gas limit on the crate::SystemConfig.
LogProcessingError
An error occurred while processing the update log.
OperatorFeeUpdateError
An error for updating the operator fee parameters on the crate::SystemConfig.
SuperchainLevel
Level of integration with the superchain.
SystemConfigUpdate
The system config update is an update of type SystemConfigUpdateKind.
SystemConfigUpdateError
An error for processing the crate::SystemConfig update log.
SystemConfigUpdateKind
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 BaseFeeConfig for the given chain id.
base_fee_params
Returns the BaseFeeParams for the given chain id.
base_fee_params_canyon
Returns the BaseFeeParams for the given chain id, for canyon hardfork.

Type Aliases§

HardForkConfigurationDeprecated
An alias for the hardfork configuration.