Module l1_pricing

Module l1_pricing 

Source

Structs§

BatchPosterState
BatchPostersTable
FundsDueItem
L1PricingState
L1 pricing state manages the cost model for L1 data posting.

Constants§

BATCH_POSTER_ADDRESS
BATCH_POSTER_PAY_TO_ADDRESS
ESTIMATION_PADDING_BASIS_POINTS
ESTIMATION_PADDING_UNITS
INITIAL_EQUILIBRATION_UNITS_V0
INITIAL_EQUILIBRATION_UNITS_V6
INITIAL_INERTIA
INITIAL_PER_BATCH_GAS_COST_V6
INITIAL_PER_BATCH_GAS_COST_V12
INITIAL_PER_UNIT_REWARD
L1_PRICER_FUNDS_POOL_ADDRESS
TX_DATA_NON_ZERO_GAS_EIP2028

Functions§

byte_count_after_brotli_level
Computes the brotli-compressed size at a given compression level.
compute_poster_cost_standalone
Compute poster cost and calldata units from pre-loaded pricing parameters.
initialize_batch_posters_table
initialize_l1_pricing_state
open_batch_posters_table
open_l1_pricing_state
poster_units_from_bytes
Compute calldata units from tx bytes using brotli compression.