Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions packages/contracts-bedrock/interfaces/L2/ISharesCalculator.sol
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@ interface ISharesCalculator {
/// @notice Returns the recipients and amounts for fee distribution.
/// @dev Any implementation MUST return ShareInfo where the sum of all amounts equals
/// the total revenue (sum of all vault balances) as it will revert otherwise
/// @param _sequencerFeeVaultBalance Balance of the sequencer fee vault.
/// @param _baseFeeVaultBalance Balance of the base fee vault.
/// @param _operatorFeeVaultBalance Balance of the operator fee vault.
/// @param _l1FeeVaultBalance Balance of the L1 fee vault.
/// @param _sequencerFeeRevenue Balance of the sequencer fee vault.
/// @param _baseFeeRevenue Balance of the base fee vault.
/// @param _operatorFeeRevenue Balance of the operator fee vault.
/// @param _l1FeeRevenue Balance of the L1 fee vault.
/// @return shareInfo Array of ShareInfo structs containing recipients and amounts.
function getRecipientsAndAmounts(
uint256 _sequencerFeeVaultBalance,
uint256 _baseFeeVaultBalance,
uint256 _operatorFeeVaultBalance,
uint256 _l1FeeVaultBalance
uint256 _sequencerFeeRevenue,
uint256 _baseFeeRevenue,
uint256 _operatorFeeRevenue,
uint256 _l1FeeRevenue
)
external
view
Expand Down
2 changes: 1 addition & 1 deletion packages/contracts-bedrock/src/L2/FeeSplitter.sol
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ contract FeeSplitter is ISemver, Initializable {
}

/// @dev Receives ETH fees withdrawn from L2 FeeVaults.
receive() external payable virtual {
receive() external payable {
if (!_isTransientDisbursing()) revert FeeSplitter_ReceiveWindowClosed();
if (
msg.sender != Predeploys.SEQUENCER_FEE_WALLET && msg.sender != Predeploys.BASE_FEE_VAULT
Expand Down