```\nfunction safeTransferETH(address to, uint256 amount) internal {\n    bool callStatus;\n\n    assembly {\n        // Transfer the ETH and store if it succeeded or not.\n        callStatus := call(gas(), to, amount, 0, 0, 0, 0)\n    }\n\n    require(callStatus, "ETH_TRANSFER_FAILED");\n}\n```\n