{
    "Function": "pricePointCurrent",
    "File": "contracts/market/OverlayV1PricePoint.sol",
    "Parent Contracts": [],
    "High-Level Calls": [],
    "Internal Calls": [
        "fetchPricePoint",
        "readPricePoint",
        "readPricePoint"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function pricePointCurrent () public view returns (\n        uint bid_,\n        uint ask_,\n        uint depth_\n    ){\n\n        uint _now = block.timestamp;\n        uint _updated = updated;\n\n        if (_now != _updated) {\n\n            ( bid_, ask_, depth_ ) = readPricePoint(fetchPricePoint());\n\n        } else {\n\n            ( bid_, ask_, depth_ ) = readPricePoint(_pricePoints.length - 1);\n\n        }\n\n    }"
}