{
    "Function": "calculateRedeemPrice",
    "File": "src/InvestmentManager.sol",
    "Parent Contracts": [
        "src/util/Auth.sol"
    ],
    "High-Level Calls": [],
    "Internal Calls": [
        "_calculatePrice"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function calculateRedeemPrice(address user, address liquidityPool) public view returns (uint256 redeemPrice) {\n        LPValues storage lpValues = orderbook[user][liquidityPool];\n        if (lpValues.maxRedeem == 0) {\n            return 0;\n        }\n\n        redeemPrice = _calculatePrice(lpValues.maxWithdraw, lpValues.maxRedeem, liquidityPool);\n    }"
}