diff --git a/src/FeeCollector.sol b/src/FeeCollector.sol index 2711463..0b26dc7 100644 --- a/src/FeeCollector.sol +++ b/src/FeeCollector.sol @@ -132,11 +132,6 @@ contract FeeCollector is Ownable { SafeTransferLib.safeTransfer(ERC20(_token), msg.sender, withdrawAmt); } - /** - * @notice Executes when native is sent to this contract through a non-existent function. - */ - fallback() external payable { } // solhint-disable-line no-empty-blocks - /** * @notice Executes when native is sent to this contract with a plain transaction. */ diff --git a/src/PositionFactory.sol b/src/PositionFactory.sol index 54a97f0..7bdb8cd 100644 --- a/src/PositionFactory.sol +++ b/src/PositionFactory.sol @@ -81,11 +81,6 @@ contract PositionFactory is Ownable { SafeTransferLib.safeTransfer(ERC20(_token), msg.sender, balance); } - /** - * @notice Executes when native is sent to this contract through a non-existent function. - */ - fallback() external payable { } // solhint-disable-line no-empty-blocks - /** * @notice Executes when native is sent to this contract with a plain transaction. */ diff --git a/src/services/AdminService.sol b/src/services/AdminService.sol index 455f6b5..d941869 100644 --- a/src/services/AdminService.sol +++ b/src/services/AdminService.sol @@ -36,11 +36,6 @@ contract AdminService { SafeTransferLib.safeTransfer(ERC20(_token), msg.sender, balance); } - /** - * @notice Executes when native is sent to this contract through a non-existent function. - */ - fallback() external payable { } // solhint-disable-line no-empty-blocks - /** * @notice Executes when native is sent to this contract with a plain transaction. */