Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var StandardConfig map[string]*StandardConfigTy
StandardConfig is keyed by superchain target, e.g. "mainnet" or "sepolia" or "sepolia-dev-0"
Functions ¶
This section is empty.
Types ¶
type BigIntBounds ¶
type EcotoneGasPriceOracleBounds ¶
type EcotoneGasPriceOracleBounds struct { Decimals BigIntBounds `toml:"decimals"` BlobBaseFeeScalar Uint32Bounds `toml:"blob_base_fee_scalar"` BaseFeeScalar Uint32Bounds `toml:"base_fee_scalar"` }
type GasPriceOracleBounds ¶
type GasPriceOracleBounds struct { PreEcotone PreEcotoneGasPriceOracleBounds `toml:"pre-ecotone"` Ecotone EcotoneGasPriceOracleBounds `toml:"ecotone"` }
type L2OOParams ¶
type L2OOParams struct { SubmissionInterval *big.Int `toml:"submission_interval"` // Interval in blocks at which checkpoints must be submitted. L2BlockTime *big.Int `toml:"l2_block_time"` // The time per L2 block, in seconds. FinalizationPeriodSeconds *big.Int `toml:"finalization_period_seconds"` // The minimum time (in seconds) that must elapse before a withdrawal can be finalized. }
type PreEcotoneGasPriceOracleBounds ¶
type PreEcotoneGasPriceOracleBounds struct { Decimals BigIntBounds `toml:"decimals"` Overhead BigIntBounds `toml:"overhead"` Scalar BigIntBounds `toml:"scalar"` }
type ResourceConfig ¶
type ResourceConfig struct { MaxResourceLimit uint32 `toml:"max_resource_limit"` ElasticityMultiplier uint8 `toml:"elasticity_multiplier"` BaseFeeMaxChangeDenominator uint8 `toml:"base_fee_max_change_denominator"` MinimumBaseFee uint32 `toml:"minimum_base_fee"` SystemTxMaxGas uint32 `toml:"system_tx_max_gas"` MaximumBaseFee *big.Int `toml:"maximum_base_fee"` }
type StandardConfigTy ¶
type StandardConfigTy struct { ResourceConfig ResourceConfig `toml:"resource_config"` L2OOParams L2OOParams `toml:"l2_output_oracle"` GPOParams GasPriceOracleBounds `toml:"gas_price_oracle"` }
type Uint32Bounds ¶
type Uint32Bounds = [2]uint32
Click to show internal directories.
Click to hide internal directories.