github ethereum-optimism/optimism op-contracts/v5.0.0+l2-rev-share-contracts

pre-release3 hours ago

Overview

This release introduces Revenue Sharing, an opt-in mechanism for configurable distribution of L2 transaction fees between Optimism and chain operators.


New Contracts

  • FeeSplitter
    L2 predeploy: 0x420000000000000000000000000000000000002B
    Orchestrates fee collection from vaults and distributes funds to configured recipients.

  • SuperchainRevSharesCalculator
    Calculates Optimism’s share as: max(2.5% of gross revenue, 15% of net revenue)

  • L1Withdrawer
    Automatically bridges collected shares to L1 once a threshold is reached.
    (Optimism uses this for its share of fees.)

  • FeesDepositor (L1)
    Receives bridged fees and deposits them once the threshold is reached
    (for Optimism, this deposits into OPM).


Updates

  • FeeVault

    • Added flexible configuration via:
      • setRecipient()
      • setWithdrawalNetwork()
      • setMinWithdrawalAmount()
  • Added DeployFeesDepositor deployment script

  • Added Genesis flow support to enable revenue sharing on new chain deployments

Audits


Full Changelog: op-contracts/v5.0.0...op-contracts/v5.2.0+l2-fee-splitter-contracts

Don't miss a new optimism release

NewReleases is sending notifications on new releases.