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