{
  "contractName": "FixedPoint96",
  "abi": [],
  "metadata": "{\"compiler\":{\"version\":\"0.6.8+commit.0bbfe453\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"Used in SqrtPriceMath.sol\",\"methods\":{},\"title\":\"FixedPoint96\"},\"userdoc\":{\"methods\":{},\"notice\":\"A library for handling binary fixed point numbers, see https://en.wikipedia.org/wiki/Q_(number_format)\"}},\"settings\":{\"compilationTarget\":{\"project:/contracts/interfaces/uniswap/FixedPoint96.sol\":\"FixedPoint96\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":10000},\"remappings\":[]},\"sources\":{\"project:/contracts/interfaces/uniswap/FixedPoint96.sol\":{\"keccak256\":\"0x0ba8a9b95a956a4050749c0158e928398c447c91469682ca8a7cc7e77a7fe032\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://186d3b528866065a5856f96d2aeec698efa99f8da913e9adf34f8cc296cc993d\",\"dweb:/ipfs/QmUAiMvtAQp8c9dy57bqJYzG7hkb1uChiPaQmt264skoqP\"]}},\"version\":1}",
  "bytecode": "0x60566023600b82828239805160001a607314601657fe5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220f767f453be8d42137871334817a6a25a67587d80cd7c33b38d22e898bbdf2bb864736f6c63430006080033",
  "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220f767f453be8d42137871334817a6a25a67587d80cd7c33b38d22e898bbdf2bb864736f6c63430006080033",
  "immutableReferences": {},
  "sourceMap": "245:134:24:-:0;;132:2:-1;166:7;155:9;146:7;137:37;255:7;249:14;246:1;241:23;235:4;232:33;222:2;;269:9;222:2;293:9;290:1;283:20;323:4;314:7;306:22;347:7;338;331:24",
  "deployedSourceMap": "245:134:24:-:0;;;;;;12:1:-1;9;2:12",
  "source": "// SPDX-License-Identifier: GPL-2.0-or-later\npragma solidity >=0.4.0;\n\n/// @title FixedPoint96\n/// @notice A library for handling binary fixed point numbers, see https://en.wikipedia.org/wiki/Q_(number_format)\n/// @dev Used in SqrtPriceMath.sol\nlibrary FixedPoint96 {\n    uint8 internal constant RESOLUTION = 96;\n    uint256 internal constant Q96 = 0x1000000000000000000000000;\n}\n",
  "sourcePath": "/home/thezviad_gmail_com/src/swappa/contracts/interfaces/uniswap/FixedPoint96.sol",
  "ast": {
    "absolutePath": "project:/contracts/interfaces/uniswap/FixedPoint96.sol",
    "exportedSymbols": {
      "FixedPoint96": [
        2172
      ]
    },
    "id": 2173,
    "license": "GPL-2.0-or-later",
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 2164,
        "literals": [
          "solidity",
          ">=",
          "0.4",
          ".0"
        ],
        "nodeType": "PragmaDirective",
        "src": "45:24:24"
      },
      {
        "abstract": false,
        "baseContracts": [],
        "contractDependencies": [],
        "contractKind": "library",
        "documentation": {
          "id": 2165,
          "nodeType": "StructuredDocumentation",
          "src": "71:174:24",
          "text": "@title FixedPoint96\n @notice A library for handling binary fixed point numbers, see https://en.wikipedia.org/wiki/Q_(number_format)\n @dev Used in SqrtPriceMath.sol"
        },
        "fullyImplemented": true,
        "id": 2172,
        "linearizedBaseContracts": [
          2172
        ],
        "name": "FixedPoint96",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "constant": true,
            "id": 2168,
            "mutability": "constant",
            "name": "RESOLUTION",
            "nodeType": "VariableDeclaration",
            "overrides": null,
            "scope": 2172,
            "src": "272:39:24",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_uint8",
              "typeString": "uint8"
            },
            "typeName": {
              "id": 2166,
              "name": "uint8",
              "nodeType": "ElementaryTypeName",
              "src": "272:5:24",
              "typeDescriptions": {
                "typeIdentifier": "t_uint8",
                "typeString": "uint8"
              }
            },
            "value": {
              "argumentTypes": null,
              "hexValue": "3936",
              "id": 2167,
              "isConstant": false,
              "isLValue": false,
              "isPure": true,
              "kind": "number",
              "lValueRequested": false,
              "nodeType": "Literal",
              "src": "309:2:24",
              "subdenomination": null,
              "typeDescriptions": {
                "typeIdentifier": "t_rational_96_by_1",
                "typeString": "int_const 96"
              },
              "value": "96"
            },
            "visibility": "internal"
          },
          {
            "constant": true,
            "id": 2171,
            "mutability": "constant",
            "name": "Q96",
            "nodeType": "VariableDeclaration",
            "overrides": null,
            "scope": 2172,
            "src": "317:59:24",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_uint256",
              "typeString": "uint256"
            },
            "typeName": {
              "id": 2169,
              "name": "uint256",
              "nodeType": "ElementaryTypeName",
              "src": "317:7:24",
              "typeDescriptions": {
                "typeIdentifier": "t_uint256",
                "typeString": "uint256"
              }
            },
            "value": {
              "argumentTypes": null,
              "hexValue": "307831303030303030303030303030303030303030303030303030",
              "id": 2170,
              "isConstant": false,
              "isLValue": false,
              "isPure": true,
              "kind": "number",
              "lValueRequested": false,
              "nodeType": "Literal",
              "src": "349:27:24",
              "subdenomination": null,
              "typeDescriptions": {
                "typeIdentifier": "t_rational_79228162514264337593543950336_by_1",
                "typeString": "int_const 79228162514264337593543950336"
              },
              "value": "0x1000000000000000000000000"
            },
            "visibility": "internal"
          }
        ],
        "scope": 2173,
        "src": "245:134:24"
      }
    ],
    "src": "45:335:24"
  },
  "legacyAST": {
    "attributes": {
      "absolutePath": "project:/contracts/interfaces/uniswap/FixedPoint96.sol",
      "exportedSymbols": {
        "FixedPoint96": [
          2172
        ]
      },
      "license": "GPL-2.0-or-later"
    },
    "children": [
      {
        "attributes": {
          "literals": [
            "solidity",
            ">=",
            "0.4",
            ".0"
          ]
        },
        "id": 2164,
        "name": "PragmaDirective",
        "src": "45:24:24"
      },
      {
        "attributes": {
          "abstract": false,
          "baseContracts": [
            null
          ],
          "contractDependencies": [
            null
          ],
          "contractKind": "library",
          "fullyImplemented": true,
          "linearizedBaseContracts": [
            2172
          ],
          "name": "FixedPoint96",
          "scope": 2173
        },
        "children": [
          {
            "attributes": {
              "text": "@title FixedPoint96\n @notice A library for handling binary fixed point numbers, see https://en.wikipedia.org/wiki/Q_(number_format)\n @dev Used in SqrtPriceMath.sol"
            },
            "id": 2165,
            "name": "StructuredDocumentation",
            "src": "71:174:24"
          },
          {
            "attributes": {
              "constant": true,
              "mutability": "constant",
              "name": "RESOLUTION",
              "overrides": null,
              "scope": 2172,
              "stateVariable": true,
              "storageLocation": "default",
              "type": "uint8",
              "visibility": "internal"
            },
            "children": [
              {
                "attributes": {
                  "name": "uint8",
                  "type": "uint8"
                },
                "id": 2166,
                "name": "ElementaryTypeName",
                "src": "272:5:24"
              },
              {
                "attributes": {
                  "argumentTypes": null,
                  "hexvalue": "3936",
                  "isConstant": false,
                  "isLValue": false,
                  "isPure": true,
                  "lValueRequested": false,
                  "subdenomination": null,
                  "token": "number",
                  "type": "int_const 96",
                  "value": "96"
                },
                "id": 2167,
                "name": "Literal",
                "src": "309:2:24"
              }
            ],
            "id": 2168,
            "name": "VariableDeclaration",
            "src": "272:39:24"
          },
          {
            "attributes": {
              "constant": true,
              "mutability": "constant",
              "name": "Q96",
              "overrides": null,
              "scope": 2172,
              "stateVariable": true,
              "storageLocation": "default",
              "type": "uint256",
              "visibility": "internal"
            },
            "children": [
              {
                "attributes": {
                  "name": "uint256",
                  "type": "uint256"
                },
                "id": 2169,
                "name": "ElementaryTypeName",
                "src": "317:7:24"
              },
              {
                "attributes": {
                  "argumentTypes": null,
                  "hexvalue": "307831303030303030303030303030303030303030303030303030",
                  "isConstant": false,
                  "isLValue": false,
                  "isPure": true,
                  "lValueRequested": false,
                  "subdenomination": null,
                  "token": "number",
                  "type": "int_const 79228162514264337593543950336",
                  "value": "0x1000000000000000000000000"
                },
                "id": 2170,
                "name": "Literal",
                "src": "349:27:24"
              }
            ],
            "id": 2171,
            "name": "VariableDeclaration",
            "src": "317:59:24"
          }
        ],
        "id": 2172,
        "name": "ContractDefinition",
        "src": "245:134:24"
      }
    ],
    "id": 2173,
    "name": "SourceUnit",
    "src": "45:335:24"
  },
  "compiler": {
    "name": "solc",
    "version": "0.6.8+commit.0bbfe453.Emscripten.clang"
  },
  "networks": {},
  "schemaVersion": "3.4.16",
  "updatedAt": "2025-02-07T17:50:42.778Z",
  "devdoc": {
    "details": "Used in SqrtPriceMath.sol",
    "methods": {},
    "title": "FixedPoint96"
  },
  "userdoc": {
    "methods": {},
    "notice": "A library for handling binary fixed point numbers, see https://en.wikipedia.org/wiki/Q_(number_format)"
  }
}