{
    "Function": "isPriceValid",
    "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",
        "_getCurrentPrice"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function isPriceValid(OrderTypes.MakerOrder calldata sell, OrderTypes.MakerOrder calldata buy)\n    public\n    view\n    returns (bool, uint256)\n  {\n    (uint256 currentSellPrice, uint256 currentBuyPrice) = (_getCurrentPrice(sell), _getCurrentPrice(buy));\n    return (currentBuyPrice >= currentSellPrice, currentSellPrice);\n  }"
}