import {IERC20} from '@openzeppelin/contracts/token/ERC20/IERC20.sol';
import {SafeERC20} from '@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol';

using SafeERC20 for IERC20;

    function recoverERC20(address token_, uint256 amount, address recipient) external onlyOwner {
        if (amount > 0) {
            IERC20(token_).safeTransfer(recipient, amount);
            emit ERC20Recovered(token_, amount);
        }
    }
