github ethereum-optimism/optimism op-contracts/v0.6.0-rc.2

pre-release6 hours ago

Overview

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

This release does not modify any L1 contracts, and thus is being made as an incremented -rc on the existing v6.0.0 tag.


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

Don't miss a new optimism release

NewReleases is sending notifications on new releases.