{
    "Function": "getPriceFromId",
    "File": "src/libraries/BinHelper.sol",
    "Parent Contracts": [],
    "High-Level Calls": [
        "Math128x128"
    ],
    "Internal Calls": [
        "_getBPValue",
        "revert BinHelper__IntOverflows(uint256)"
    ],
    "Library Calls": [
        "power"
    ],
    "Low-Level Calls": [],
    "Code": "function getPriceFromId(uint256 _id, uint256 _binStep) internal pure returns (uint256) {\n        if (_id > uint256(type(int256).max)) revert BinHelper__IntOverflows(_id);\n        unchecked {\n            int256 _realId = int256(_id) - REAL_ID_SHIFT;\n\n            return _getBPValue(_binStep).power(_realId);\n        }\n    }"
}