{
    "Function": "withdrawFrom",
    "File": "contracts/FETH.sol",
    "Parent Contracts": [],
    "High-Level Calls": [
        "AddressUpgradeable"
    ],
    "Internal Calls": [
        "_deductAllowanceFrom",
        "_deductBalanceFrom",
        "revert FETH_No_Funds_To_Withdraw()",
        "_freeFromEscrow"
    ],
    "Library Calls": [
        "sendValue"
    ],
    "Low-Level Calls": [],
    "Code": "function withdrawFrom(\n    address from,\n    address payable to,\n    uint256 amount\n  ) external {\n    if (amount == 0) {\n      revert FETH_No_Funds_To_Withdraw();\n    }\n    AccountInfo storage accountInfo = _freeFromEscrow(from);\n    if (from != msg.sender) {\n      _deductAllowanceFrom(accountInfo, amount);\n    }\n    _deductBalanceFrom(accountInfo, amount);\n\n    // With the external call after state changes, we do not need a nonReentrant guard\n    to.sendValue(amount);\n\n    emit ETHWithdrawn(from, to, amount);\n  }"
}