Structs§
- Batch
Poster State - Batch
Posters Table - Funds
DueItem - L1Pricing
State - 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.