{
    "Function": "getUnderlyingTwapPrice",
    "File": "contracts/tests/TestOracle.sol",
    "Parent Contracts": [
        "contracts/Oracle.sol",
        "contracts/legos/Governable.sol",
        "node_modules/@openzeppelin/contracts/proxy/utils/Initializable.sol",
        "contracts/legos/Governable.sol"
    ],
    "High-Level Calls": [],
    "Internal Calls": [
        "require(bool,string)"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function getUnderlyingTwapPrice(address underlying, uint256 /* intervalInSeconds */)\n        override\n        public\n        view\n        returns (int256)\n    {\n        if (stablePrice[underlying] != 0) {\n            return stablePrice[underlying];\n        }\n        require(twapPrices[underlying] != 0, \"underlying twap price has not been set as yet\");\n        return twapPrices[underlying];\n    }"
}