github.com/ethereum-optimism/optimism@v1.7.2/packages/contracts-bedrock/src/L2/SequencerFeeVault.sol (about)

     1  // SPDX-License-Identifier: MIT
     2  pragma solidity 0.8.15;
     3  
     4  import { ISemver } from "src/universal/ISemver.sol";
     5  import { FeeVault } from "src/universal/FeeVault.sol";
     6  
     7  /// @custom:proxied
     8  /// @custom:predeploy 0x4200000000000000000000000000000000000011
     9  /// @title SequencerFeeVault
    10  /// @notice The SequencerFeeVault is the contract that holds any fees paid to the Sequencer during
    11  ///         transaction processing and block production.
    12  contract SequencerFeeVault is FeeVault, ISemver {
    13      /// @custom:semver 1.4.1
    14      string public constant version = "1.4.1";
    15  
    16      /// @notice Constructs the SequencerFeeVault contract.
    17      /// @param _recipient           Wallet that will receive the fees.
    18      /// @param _minWithdrawalAmount Minimum balance for withdrawals.
    19      /// @param _withdrawalNetwork   Network which the recipient will receive fees on.
    20      constructor(
    21          address _recipient,
    22          uint256 _minWithdrawalAmount,
    23          WithdrawalNetwork _withdrawalNetwork
    24      )
    25          FeeVault(_recipient, _minWithdrawalAmount, _withdrawalNetwork)
    26      { }
    27  
    28      /// @custom:legacy
    29      /// @notice Legacy getter for the recipient address.
    30      /// @return The recipient address.
    31      function l1FeeWallet() public view returns (address) {
    32          return RECIPIENT;
    33      }
    34  }