diff --git a/contracts/ChildChainGaugeInjectorV2.sol b/contracts/ChildChainGaugeInjectorV2.sol index f1cea29..3c5fd75 100644 --- a/contracts/ChildChainGaugeInjectorV2.sol +++ b/contracts/ChildChainGaugeInjectorV2.sol @@ -28,7 +28,6 @@ KeeperCompatibleInterface { using EnumerableSet for EnumerableSet.AddressSet; - event GasTokenWithdrawn(uint256 amountWithdrawn, address recipient); event KeeperRegistryAddressUpdated(address[] oldAddresses, address[] newAddresses); event MinWaitPeriodUpdated(uint256 oldMinWaitPeriod, uint256 newMinWaitPeriod); event MaxInjectionAmountUpdated(uint256 oldAmount, uint256 newAmount); @@ -305,18 +304,6 @@ KeeperCompatibleInterface } } } -/** - * @notice Withdraws the contract balance - */ - function withdrawGasToken(address payable dest) external onlyOwner { - address payable recipient = dest; - if (recipient == address(0)) { - revert ZeroAddress(); - } - uint256 amount = address(this).balance; - recipient.transfer(amount); - emit GasTokenWithdrawn(amount, recipient); - } /** * @notice Sweep the full contract's balance for a given ERC-20 token