github.com/ethereum-optimism/optimism@v1.7.2/packages/contracts-bedrock/src/L2/BaseFeeVault.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 0x4200000000000000000000000000000000000019 9 /// @title BaseFeeVault 10 /// @notice The BaseFeeVault accumulates the base fee that is paid by transactions. 11 contract BaseFeeVault is FeeVault, ISemver { 12 /// @notice Semantic version. 13 /// @custom:semver 1.4.1 14 string public constant version = "1.4.1"; 15 16 /// @notice Constructs the BaseFeeVault 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 }