From 6f90469958a98298a3e9196be0b6d04d837dcc84 Mon Sep 17 00:00:00 2001 From: 0xddong Date: Wed, 21 Aug 2024 20:10:58 -0700 Subject: [PATCH] removing rescueToken --- src/Strategy.sol | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/Strategy.sol b/src/Strategy.sol index acb6de1..cb3a486 100644 --- a/src/Strategy.sol +++ b/src/Strategy.sol @@ -78,20 +78,6 @@ contract Strategy is BaseStrategy, Pausable, ReentrancyGuard { MANAGEMENT FUNCTIONS //////////////////////////////////////////////////////////////*/ - /** - * @notice Rescue tokens from the contract - * @param token The address of the token to rescue - * @param amount The amount of tokens to rescue - */ - function rescueToken( - address token, - uint256 amount - ) external onlyManagement { - if (amount > 0) { - IERC20(token).safeTransfer(msg.sender, amount); - } - } - /** * @notice Pause the contract */