```\nfunction sendValue(address payable recipient, uint256 amount) internal {\n    require(\n        address(this).balance >= amount,\n        "Address: insufficient balance"\n    );\n\n    // solhint-disable-next-line avoid-low-level-calls, avoid-call-value\n    (bool success, ) = recipient.call{value: amount}("");\n    require(\n        success,\n        "Address: unable to send value, recipient may have reverted"\n    );\n}\n```\n