{
    "Function": "addPricePoints",
    "File": "contracts/mocks/MirinOracleMock.sol",
    "Parent Contracts": [
        "contracts/interfaces/IMirinOracle.sol"
    ],
    "High-Level Calls": [],
    "Internal Calls": [
        "require(bool,string)"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function addPricePoints(\n        uint256[] memory _timestamps,\n        uint256[] memory _price0Cumulatives,\n        uint256[] memory _price1Cumulatives\n    ) public {\n        require(_timestamps.length == _price0Cumulatives.length && _price0Cumulatives.length == _price1Cumulatives.length, \"price point arrays must have same length\");\n        for (uint256 i = 0; i < _timestamps.length; i++) {\n            pricePoints.push(PricePoint(\n                _timestamps[i],\n                _price0Cumulatives[i],\n                _price1Cumulatives[i]\n            ));\n        }\n    }"
}