```\n    uint256 minPrice = base.getPrice(tokens[0]);\n    for(uint256 i = 1; i != length; ++i) {\n        uint256 price = base.getPrice(tokens[i]);\n        minPrice = (price < minPrice) ? price : minPrice;\n    }\n    return minPrice.mulWadDown(pool.getRate());\n```\n