```\n    for (uint256 i = 0; i < rewardTokens.length; i++) {\n        uint256 rewards = _doCutRewardsFee(rewardTokens[i]);\n        _ensureApprove(rewardTokens[i], address(swapRouter), rewards);\n        swapRouter.swapExactTokensForTokens(\n            rewards,\n            0,\n            swapPath[i],\n            address(this),\n            type(uint256).max\n        );\n    }\n```\n