{
    "Function": "updateTrancheTokenPrice",
    "File": "src/InvestmentManager.sol",
    "Parent Contracts": [
        "src/util/Auth.sol"
    ],
    "High-Level Calls": [
        "PoolManagerLike",
        "PoolManagerLike",
        "LiquidityPoolLike"
    ],
    "Internal Calls": [
        "onlyGateway",
        "require(bool,string)"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function updateTrancheTokenPrice(uint64 poolId, bytes16 trancheId, uint128 currencyId, uint128 price)\n        public\n        onlyGateway\n    {\n        address currency = poolManager.currencyIdToAddress(currencyId);\n        address liquidityPool = poolManager.getLiquidityPool(poolId, trancheId, currency);\n        require(liquidityPool != address(0), \"InvestmentManager/tranche-does-not-exist\");\n\n        LiquidityPoolLike(liquidityPool).updatePrice(price);\n    }"
}