{
    "Function": "_sendValueWithFallbackWithdraw",
    "File": "contracts/mixins/SendValueWithFallbackWithdraw.sol",
    "Parent Contracts": [
        "node_modules/@openzeppelin/contracts-upgradeable/security/ReentrancyGuardUpgradeable.sol",
        "node_modules/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol"
    ],
    "High-Level Calls": [],
    "Internal Calls": [],
    "Library Calls": [],
    "Low-Level Calls": [
        "call"
    ],
    "Code": "function _sendValueWithFallbackWithdraw(\n    address payable user,\n    uint256 amount,\n    uint256 gasLimit\n  ) internal {\n    if (amount == 0) {\n      return;\n    }\n    // Cap the gas to prevent consuming all available gas to block a tx from completing successfully\n    // solhint-disable-next-line avoid-low-level-calls\n    (bool success, ) = user.call{ value: amount, gas: gasLimit }(\"\");\n    if (!success) {\n      // Record failed sends for a withdrawal later\n      // Transfers could fail if sent to a multisig with non-trivial receiver logic\n      unchecked {\n        pendingWithdrawals[user] += amount;\n      }\n      emit WithdrawPending(user, amount);\n    }\n  }"
}