{
    "Function": "convertToAssets",
    "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": [
        "mulDivDown"
    ],
    "Low-Level Calls": [],
    "Code": "function convertToAssets(uint256 shares) public view virtual returns (uint256) {\n        uint256 supply = totalSupply; // Saves an extra SLOAD if totalSupply is non-zero.\n\n        return supply == 0 ? shares : shares.mulDivDown(totalAssets(), supply);\n    }"
}