Optimal Dynamic Fees for L2s: A Vault Approach
Abstract
Layer 2 (L2) blockchains incur costs when posting data to Layer 1 (L1) and charge users fees intended to recover those costs. We model this mechanism as a *vault*: user fees increase its balance, L1 posting costs reduce it, and surplus and deficit accumulate over time. Forecast-based fees aim to recover posting costs, but forecast errors accumulate in the vault. Returning the vault balance to a target requires feedback on the accumulated error. Treating the vault as a discrete-time control system, we derive in closed form the optimal trade-off between vault tracking and fee smoothness in an idealized benchmark. The optimal rule retains a fraction of the previous fee and corrects in proportion to the current vault error. This fee-memory fraction is the single parameter tracing the entire trade-off frontier. We compare proportional (P), proportional-integral (PI), and Arbitrum-style controllers against this frontier, both analytically and on historical Ethereum fee data. At the fee movement implied by Arbitrum's current parameters, the optimal rule reduces the benchmark tracking error by about one third. Fee memory improves the tracking-smoothness trade-off.
Create a lesson
Metadata
- Comments
- 24 pages, 3 figures, 3 tables
Related papers
AgentBouncer: Defending Software Engineering Agents via Dynamic System-Call Mediation
Shared title terminologycs.CRPascal Joos, Michael Pradel
IDSMorph: Self-Adaptive Malicious Traffic Detection through Consistency-Guided Dynamic Decision Boundaries
Shared title terminologycs.CRHao Fu, Degang Sun, Jinxia Wei et al.
GEOHunter: Mapping a Generative Engine Optimization Network in the Wild
Shared title terminologycs.CRSean Tang, Peiran Wang, Ying Li et al.
DailySafe: Benchmarking Dynamic Safety Awareness in Everyday Multi-Turn Multimodal Interactions
Shared title terminologycs.CRXuankun Rong, Xinhao Deng, Wenzheng Jiang et al.
PIVOT: Distribution-Preserving Multi-BitWatermarking with Minimax-Optimal Scoring
Shared title terminologycs.CRWen Zhang, Kaiyi Pang, Minhao Bai et al.