{
    "Function": "_sumCurrentPrices",
    "File": "contracts/core/InfinityOrderBookComplication.sol",
    "Parent Contracts": [
        "node_modules/@openzeppelin/contracts/access/Ownable.sol",
        "node_modules/@openzeppelin/contracts/utils/Context.sol",
        "contracts/interfaces/IComplication.sol"
    ],
    "High-Level Calls": [],
    "Internal Calls": [
        "_getCurrentPrice"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function _sumCurrentPrices(OrderTypes.MakerOrder[] calldata orders) internal view returns (uint256) {\n    uint256 sum = 0;\n    uint256 ordersLength = orders.length;\n    for (uint256 i = 0; i < ordersLength; ) {\n      sum += _getCurrentPrice(orders[i]);\n      unchecked {\n        ++i;\n      }\n    }\n    return sum;\n  }"
}