```\nfunction univTransfer(\n IERC20 token,\n address payable to,\n uint256 amount\n) internal {\n if (amount > 0) {\n if (isFTM(token)) {\n (bool sent, ) = to.call{ value: amount }("");\n require(sent, "Failed to send Ether");\n } else {\n token.safeTransfer(to, amount);\n }\n }\n}\n```\n