{
    "Function": "previewWithdraw",
    "File": "contracts/lib/solmate/src/mixins/ERC4626.sol",
    "Parent Contracts": [
        "contracts/lib/solmate/src/tokens/ERC20.sol"
    ],
    "High-Level Calls": [
        "FixedPointMathLib"
    ],
    "Internal Calls": [
        "totalAssets"
    ],
    "Library Calls": [
        "mulDivUp"
    ],
    "Low-Level Calls": [],
    "Code": "function previewWithdraw(uint256 assets) public view virtual returns (uint256) {\n        uint256 supply = totalSupply; // Saves an extra SLOAD if totalSupply is non-zero.\n\n        return supply == 0 ? assets : assets.mulDivUp(supply, totalAssets());\n    }"
}