{
  "abi": [],
  "bytecode": {
    "object": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212204e30a7f928dfb9a7dcc48e8cdae6d36f9a7fb0c3bd3eae73f4fb45b513785d5764736f6c63430008060033",
    "sourceMap": "566:24502:128:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;566:24502:128;;;;;;;;;;;;;;;;;",
    "linkReferences": {}
  },
  "deployedBytecode": {
    "object": "0x73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212204e30a7f928dfb9a7dcc48e8cdae6d36f9a7fb0c3bd3eae73f4fb45b513785d5764736f6c63430008060033",
    "sourceMap": "566:24502:128:-:0;;;;;;;;",
    "linkReferences": {}
  },
  "methodIdentifiers": {},
  "rawMetadata": "{\"compiler\":{\"version\":\"0.8.6+commit.11564f7e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"author\":\"Paul Razvan Berg\",\"kind\":\"dev\",\"methods\":{},\"stateVariables\":{\"HALF_SCALE\":{\"details\":\"Half the SCALE number.\"},\"LOG2_E\":{\"details\":\"log2(e) as an unsigned 60.18-decimal fixed-point number.\"},\"MAX_UD60x18\":{\"details\":\"The maximum value an unsigned 60.18-decimal fixed-point number can have.\"},\"MAX_WHOLE_UD60x18\":{\"details\":\"The maximum whole value an unsigned 60.18-decimal fixed-point number can have.\"},\"SCALE\":{\"details\":\"How many trailing decimals can be represented.\"}},\"title\":\"PRBMathUD60x18\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"notice\":\"Smart contract library for advanced fixed-point math that works with uint256 numbers considered to have 18 trailing decimals. We call this number representation unsigned 60.18-decimal fixed-point, since there can be up to 60 digits in the integer part and up to 18 decimals in the fractional part. The numbers are bound by the minimum and the maximum values permitted by the Solidity type uint256.\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"lib/juice-contracts-v2/lib/prb-math/contracts/PRBMathUD60x18.sol\":\"PRBMathUD60x18\"},\"evmVersion\":\"berlin\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":10000000},\"remappings\":[\":@chainlink/=lib/juice-contracts-v2/lib/chainlink/\",\":@jbx-protocol-v1/=lib/juice-contracts-v1/\",\":@jbx-protocol-v2/=lib/juice-contracts-v2/\",\":@jbx-protocol-v3/=lib/juice-contracts-v3/\",\":@juicebox/=lib/juice-contracts-v2/contracts/\",\":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/\",\":@paulrberg/contracts/math/=lib/juice-contracts-v2/lib/prb-math/contracts/\",\":chainlink/=lib/juice-contracts-v2/lib/chainlink/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/\",\":forge-std/=lib/forge-std/src/\",\":juice-contracts-v1/=lib/juice-contracts-v1/contracts/\",\":juice-contracts-v2/=lib/juice-contracts-v2/contracts/\",\":juice-contracts-v3/=lib/juice-contracts-v3/contracts/\",\":openzeppelin-contracts/=lib/openzeppelin-contracts/contracts/\",\":openzeppelin-contracts/contracts/=lib/juice-contracts-v2/lib/openzeppelin-contracts/contracts/\",\":prb-math/=lib/juice-contracts-v2/lib/prb-math/\"]},\"sources\":{\"lib/juice-contracts-v2/lib/prb-math/contracts/PRBMath.sol\":{\"keccak256\":\"0xe981069ba1d98749de50dec3983d023a996575d2e7e983f9eb4a33601f655766\",\"license\":\"Unlicense\",\"urls\":[\"bzz-raw://2804382c50036b38925399624a1a271b50f77ac5476d93fa703266bb60e70de8\",\"dweb:/ipfs/QmXbw6xZc3tBt8MEwSymL9H842xPcnHVu9pwNzf5wAgCoH\"]},\"lib/juice-contracts-v2/lib/prb-math/contracts/PRBMathUD60x18.sol\":{\"keccak256\":\"0x2180489de7680a79844dd5ef145f800e4f68e515e0e89409242f0187dbbd657b\",\"license\":\"Unlicense\",\"urls\":[\"bzz-raw://d79ea95d887792ad6922f8bdcefc21bc2949b7438784f16276917160c3bdf5e1\",\"dweb:/ipfs/QmQ24reyfKuvBzJaPpqnENYNHySu4r28Yx5kJXiNGyTrhv\"]}},\"version\":1}",
  "metadata": {
    "compiler": {
      "version": "0.8.6+commit.11564f7e"
    },
    "language": "Solidity",
    "output": {
      "abi": [],
      "devdoc": {
        "kind": "dev",
        "methods": {},
        "version": 1
      },
      "userdoc": {
        "kind": "user",
        "methods": {},
        "version": 1
      }
    },
    "settings": {
      "remappings": [
        ":@chainlink/=lib/juice-contracts-v2/lib/chainlink/",
        ":@jbx-protocol-v1/=lib/juice-contracts-v1/",
        ":@jbx-protocol-v2/=lib/juice-contracts-v2/",
        ":@jbx-protocol-v3/=lib/juice-contracts-v3/",
        ":@juicebox/=lib/juice-contracts-v2/contracts/",
        ":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",
        ":@paulrberg/contracts/math/=lib/juice-contracts-v2/lib/prb-math/contracts/",
        ":chainlink/=lib/juice-contracts-v2/lib/chainlink/",
        ":ds-test/=lib/forge-std/lib/ds-test/src/",
        ":erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/",
        ":forge-std/=lib/forge-std/src/",
        ":juice-contracts-v1/=lib/juice-contracts-v1/contracts/",
        ":juice-contracts-v2/=lib/juice-contracts-v2/contracts/",
        ":juice-contracts-v3/=lib/juice-contracts-v3/contracts/",
        ":openzeppelin-contracts/=lib/openzeppelin-contracts/contracts/",
        ":openzeppelin-contracts/contracts/=lib/juice-contracts-v2/lib/openzeppelin-contracts/contracts/",
        ":prb-math/=lib/juice-contracts-v2/lib/prb-math/"
      ],
      "optimizer": {
        "enabled": true,
        "runs": 10000000
      },
      "metadata": {
        "bytecodeHash": "ipfs"
      },
      "compilationTarget": {
        "lib/juice-contracts-v2/lib/prb-math/contracts/PRBMathUD60x18.sol": "PRBMathUD60x18"
      },
      "libraries": {}
    },
    "sources": {
      "lib/juice-contracts-v2/lib/prb-math/contracts/PRBMath.sol": {
        "keccak256": "0xe981069ba1d98749de50dec3983d023a996575d2e7e983f9eb4a33601f655766",
        "urls": [
          "bzz-raw://2804382c50036b38925399624a1a271b50f77ac5476d93fa703266bb60e70de8",
          "dweb:/ipfs/QmXbw6xZc3tBt8MEwSymL9H842xPcnHVu9pwNzf5wAgCoH"
        ],
        "license": "Unlicense"
      },
      "lib/juice-contracts-v2/lib/prb-math/contracts/PRBMathUD60x18.sol": {
        "keccak256": "0x2180489de7680a79844dd5ef145f800e4f68e515e0e89409242f0187dbbd657b",
        "urls": [
          "bzz-raw://d79ea95d887792ad6922f8bdcefc21bc2949b7438784f16276917160c3bdf5e1",
          "dweb:/ipfs/QmQ24reyfKuvBzJaPpqnENYNHySu4r28Yx5kJXiNGyTrhv"
        ],
        "license": "Unlicense"
      }
    },
    "version": 1
  },
  "ast": {
    "absolutePath": "lib/juice-contracts-v2/lib/prb-math/contracts/PRBMathUD60x18.sol",
    "id": 26718,
    "exportedSymbols": {
      "PRBMath": [
        26107
      ],
      "PRBMathSD59x18__AbsInputTooSmall": [
        24238
      ],
      "PRBMathSD59x18__CeilOverflow": [
        24243
      ],
      "PRBMathSD59x18__DivInputTooSmall": [
        24246
      ],
      "PRBMathSD59x18__DivOverflow": [
        24251
      ],
      "PRBMathSD59x18__Exp2InputTooBig": [
        24261
      ],
      "PRBMathSD59x18__ExpInputTooBig": [
        24256
      ],
      "PRBMathSD59x18__FloorUnderflow": [
        24266
      ],
      "PRBMathSD59x18__FromIntOverflow": [
        24271
      ],
      "PRBMathSD59x18__FromIntUnderflow": [
        24276
      ],
      "PRBMathSD59x18__GmNegativeProduct": [
        24283
      ],
      "PRBMathSD59x18__GmOverflow": [
        24290
      ],
      "PRBMathSD59x18__LogInputTooSmall": [
        24295
      ],
      "PRBMathSD59x18__MulInputTooSmall": [
        24298
      ],
      "PRBMathSD59x18__MulOverflow": [
        24303
      ],
      "PRBMathSD59x18__PowuOverflow": [
        24308
      ],
      "PRBMathSD59x18__SqrtNegativeInput": [
        24313
      ],
      "PRBMathSD59x18__SqrtOverflow": [
        24318
      ],
      "PRBMathUD60x18": [
        26717
      ],
      "PRBMathUD60x18__AddOverflow": [
        24325
      ],
      "PRBMathUD60x18__CeilOverflow": [
        24330
      ],
      "PRBMathUD60x18__Exp2InputTooBig": [
        24340
      ],
      "PRBMathUD60x18__ExpInputTooBig": [
        24335
      ],
      "PRBMathUD60x18__FromUintOverflow": [
        24345
      ],
      "PRBMathUD60x18__GmOverflow": [
        24352
      ],
      "PRBMathUD60x18__LogInputTooSmall": [
        24357
      ],
      "PRBMathUD60x18__SqrtOverflow": [
        24362
      ],
      "PRBMathUD60x18__SubUnderflow": [
        24369
      ],
      "PRBMath__MulDivFixedPointOverflow": [
        24220
      ],
      "PRBMath__MulDivOverflow": [
        24227
      ],
      "PRBMath__MulDivSignedInputTooSmall": [
        24230
      ],
      "PRBMath__MulDivSignedOverflow": [
        24235
      ]
    },
    "nodeType": "SourceUnit",
    "src": "38:25031:128",
    "nodes": [
      {
        "id": 26109,
        "nodeType": "PragmaDirective",
        "src": "38:24:128",
        "nodes": [],
        "literals": [
          "solidity",
          ">=",
          "0.8",
          ".4"
        ]
      },
      {
        "id": 26110,
        "nodeType": "ImportDirective",
        "src": "64:23:128",
        "nodes": [],
        "absolutePath": "lib/juice-contracts-v2/lib/prb-math/contracts/PRBMath.sol",
        "file": "./PRBMath.sol",
        "nameLocation": "-1:-1:-1",
        "scope": 26718,
        "sourceUnit": 26108,
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "id": 26717,
        "nodeType": "ContractDefinition",
        "src": "566:24502:128",
        "nodes": [
          {
            "id": 26115,
            "nodeType": "VariableDeclaration",
            "src": "631:43:128",
            "nodes": [],
            "constant": true,
            "documentation": {
              "id": 26112,
              "nodeType": "StructuredDocumentation",
              "src": "595:31:128",
              "text": "@dev Half the SCALE number."
            },
            "mutability": "constant",
            "name": "HALF_SCALE",
            "nameLocation": "657:10:128",
            "scope": 26717,
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_uint256",
              "typeString": "uint256"
            },
            "typeName": {
              "id": 26113,
              "name": "uint256",
              "nodeType": "ElementaryTypeName",
              "src": "631:7:128",
              "typeDescriptions": {
                "typeIdentifier": "t_uint256",
                "typeString": "uint256"
              }
            },
            "value": {
              "hexValue": "35653137",
              "id": 26114,
              "isConstant": false,
              "isLValue": false,
              "isPure": true,
              "kind": "number",
              "lValueRequested": false,
              "nodeType": "Literal",
              "src": "670:4:128",
              "typeDescriptions": {
                "typeIdentifier": "t_rational_500000000000000000_by_1",
                "typeString": "int_const 500000000000000000"
              },
              "value": "5e17"
            },
            "visibility": "internal"
          },
          {
            "id": 26119,
            "nodeType": "VariableDeclaration",
            "src": "751:55:128",
            "nodes": [],
            "constant": true,
            "documentation": {
              "id": 26116,
              "nodeType": "StructuredDocumentation",
              "src": "681:65:128",
              "text": "@dev log2(e) as an unsigned 60.18-decimal fixed-point number."
            },
            "mutability": "constant",
            "name": "LOG2_E",
            "nameLocation": "777:6:128",
            "scope": 26717,
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_uint256",
              "typeString": "uint256"
            },
            "typeName": {
              "id": 26117,
              "name": "uint256",
              "nodeType": "ElementaryTypeName",
              "src": "751:7:128",
              "typeDescriptions": {
                "typeIdentifier": "t_uint256",
                "typeString": "uint256"
              }
            },
            "value": {
              "hexValue": "315f343432363935303430383838393633343037",
              "id": 26118,
              "isConstant": false,
              "isLValue": false,
              "isPure": true,
              "kind": "number",
              "lValueRequested": false,
              "nodeType": "Literal",
              "src": "786:20:128",
              "typeDescriptions": {
                "typeIdentifier": "t_rational_1442695040888963407_by_1",
                "typeString": "int_const 1442695040888963407"
              },
              "value": "1_442695040888963407"
            },
            "visibility": "internal"
          },
          {
            "id": 26123,
            "nodeType": "VariableDeclaration",
            "src": "899:127:128",
            "nodes": [],
            "constant": true,
            "documentation": {
              "id": 26120,
              "nodeType": "StructuredDocumentation",
              "src": "813:81:128",
              "text": "@dev The maximum value an unsigned 60.18-decimal fixed-point number can have."
            },
            "mutability": "constant",
            "name": "MAX_UD60x18",
            "nameLocation": "925:11:128",
            "scope": 26717,
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_uint256",
              "typeString": "uint256"
            },
            "typeName": {
              "id": 26121,
              "name": "uint256",
              "nodeType": "ElementaryTypeName",
              "src": "899:7:128",
              "typeDescriptions": {
                "typeIdentifier": "t_uint256",
                "typeString": "uint256"
              }
            },
            "value": {
              "hexValue": "3131353739323038393233373331363139353432333537303938353030383638373930373835333236393938343636353634303536343033393435375f353834303037393133313239363339393335",
              "id": 26122,
              "isConstant": false,
              "isLValue": false,
              "isPure": true,
              "kind": "number",
              "lValueRequested": false,
              "nodeType": "Literal",
              "src": "947:79:128",
              "typeDescriptions": {
                "typeIdentifier": "t_rational_115792089237316195423570985008687907853269984665640564039457584007913129639935_by_1",
                "typeString": "int_const 1157...(70 digits omitted)...9935"
              },
              "value": "115792089237316195423570985008687907853269984665640564039457_584007913129639935"
            },
            "visibility": "internal"
          },
          {
            "id": 26127,
            "nodeType": "VariableDeclaration",
            "src": "1125:133:128",
            "nodes": [],
            "constant": true,
            "documentation": {
              "id": 26124,
              "nodeType": "StructuredDocumentation",
              "src": "1033:87:128",
              "text": "@dev The maximum whole value an unsigned 60.18-decimal fixed-point number can have."
            },
            "mutability": "constant",
            "name": "MAX_WHOLE_UD60x18",
            "nameLocation": "1151:17:128",
            "scope": 26717,
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_uint256",
              "typeString": "uint256"
            },
            "typeName": {
              "id": 26125,
              "name": "uint256",
              "nodeType": "ElementaryTypeName",
              "src": "1125:7:128",
              "typeDescriptions": {
                "typeIdentifier": "t_uint256",
                "typeString": "uint256"
              }
            },
            "value": {
              "hexValue": "3131353739323038393233373331363139353432333537303938353030383638373930373835333236393938343636353634303536343033393435375f303030303030303030303030303030303030",
              "id": 26126,
              "isConstant": false,
              "isLValue": false,
              "isPure": true,
              "kind": "number",
              "lValueRequested": false,
              "nodeType": "Literal",
              "src": "1179:79:128",
              "typeDescriptions": {
                "typeIdentifier": "t_rational_115792089237316195423570985008687907853269984665640564039457000000000000000000_by_1",
                "typeString": "int_const 1157...(70 digits omitted)...0000"
              },
              "value": "115792089237316195423570985008687907853269984665640564039457_000000000000000000"
            },
            "visibility": "internal"
          },
          {
            "id": 26131,
            "nodeType": "VariableDeclaration",
            "src": "1325:38:128",
            "nodes": [],
            "constant": true,
            "documentation": {
              "id": 26128,
              "nodeType": "StructuredDocumentation",
              "src": "1265:55:128",
              "text": "@dev How many trailing decimals can be represented."
            },
            "mutability": "constant",
            "name": "SCALE",
            "nameLocation": "1351:5:128",
            "scope": 26717,
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_uint256",
              "typeString": "uint256"
            },
            "typeName": {
              "id": 26129,
              "name": "uint256",
              "nodeType": "ElementaryTypeName",
              "src": "1325:7:128",
              "typeDescriptions": {
                "typeIdentifier": "t_uint256",
                "typeString": "uint256"
              }
            },
            "value": {
              "hexValue": "31653138",
              "id": 26130,
              "isConstant": false,
              "isLValue": false,
              "isPure": true,
              "kind": "number",
              "lValueRequested": false,
              "nodeType": "Literal",
              "src": "1359:4:128",
              "typeDescriptions": {
                "typeIdentifier": "t_rational_1000000000000000000_by_1",
                "typeString": "int_const 1000000000000000000"
              },
              "value": "1e18"
            },
            "visibility": "internal"
          },
          {
            "id": 26162,
            "nodeType": "FunctionDefinition",
            "src": "1711:432:128",
            "nodes": [],
            "body": {
              "id": 26161,
              "nodeType": "Block",
              "src": "1785:358:128",
              "nodes": [],
              "statements": [
                {
                  "id": 26160,
                  "nodeType": "UncheckedBlock",
                  "src": "1841:296:128",
                  "statements": [
                    {
                      "expression": {
                        "id": 26158,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftHandSide": {
                          "id": 26141,
                          "name": "result",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 26139,
                          "src": "2084:6:128",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "Assignment",
                        "operator": "=",
                        "rightHandSide": {
                          "commonType": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          "id": 26157,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftExpression": {
                            "commonType": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            },
                            "id": 26150,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "leftExpression": {
                              "components": [
                                {
                                  "commonType": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  },
                                  "id": 26144,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "leftExpression": {
                                    "id": 26142,
                                    "name": "x",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 26134,
                                    "src": "2094:1:128",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_uint256",
                                      "typeString": "uint256"
                                    }
                                  },
                                  "nodeType": "BinaryOperation",
                                  "operator": ">>",
                                  "rightExpression": {
                                    "hexValue": "31",
                                    "id": 26143,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": true,
                                    "kind": "number",
                                    "lValueRequested": false,
                                    "nodeType": "Literal",
                                    "src": "2099:1:128",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_rational_1_by_1",
                                      "typeString": "int_const 1"
                                    },
                                    "value": "1"
                                  },
                                  "src": "2094:6:128",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                }
                              ],
                              "id": 26145,
                              "isConstant": false,
                              "isInlineArray": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "nodeType": "TupleExpression",
                              "src": "2093:8:128",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "nodeType": "BinaryOperation",
                            "operator": "+",
                            "rightExpression": {
                              "components": [
                                {
                                  "commonType": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  },
                                  "id": 26148,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "leftExpression": {
                                    "id": 26146,
                                    "name": "y",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 26136,
                                    "src": "2105:1:128",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_uint256",
                                      "typeString": "uint256"
                                    }
                                  },
                                  "nodeType": "BinaryOperation",
                                  "operator": ">>",
                                  "rightExpression": {
                                    "hexValue": "31",
                                    "id": 26147,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": true,
                                    "kind": "number",
                                    "lValueRequested": false,
                                    "nodeType": "Literal",
                                    "src": "2110:1:128",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_rational_1_by_1",
                                      "typeString": "int_const 1"
                                    },
                                    "value": "1"
                                  },
                                  "src": "2105:6:128",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                }
                              ],
                              "id": 26149,
                              "isConstant": false,
                              "isInlineArray": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "nodeType": "TupleExpression",
                              "src": "2104:8:128",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "src": "2093:19:128",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "BinaryOperation",
                          "operator": "+",
                          "rightExpression": {
                            "components": [
                              {
                                "commonType": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                },
                                "id": 26155,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "leftExpression": {
                                  "commonType": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  },
                                  "id": 26153,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "leftExpression": {
                                    "id": 26151,
                                    "name": "x",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 26134,
                                    "src": "2116:1:128",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_uint256",
                                      "typeString": "uint256"
                                    }
                                  },
                                  "nodeType": "BinaryOperation",
                                  "operator": "&",
                                  "rightExpression": {
                                    "id": 26152,
                                    "name": "y",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 26136,
                                    "src": "2120:1:128",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_uint256",
                                      "typeString": "uint256"
                                    }
                                  },
                                  "src": "2116:5:128",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "nodeType": "BinaryOperation",
                                "operator": "&",
                                "rightExpression": {
                                  "hexValue": "31",
                                  "id": 26154,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": true,
                                  "kind": "number",
                                  "lValueRequested": false,
                                  "nodeType": "Literal",
                                  "src": "2124:1:128",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_rational_1_by_1",
                                    "typeString": "int_const 1"
                                  },
                                  "value": "1"
                                },
                                "src": "2116:9:128",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              }
                            ],
                            "id": 26156,
                            "isConstant": false,
                            "isInlineArray": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "nodeType": "TupleExpression",
                            "src": "2115:11:128",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "src": "2093:33:128",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "src": "2084:42:128",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "id": 26159,
                      "nodeType": "ExpressionStatement",
                      "src": "2084:42:128"
                    }
                  ]
                }
              ]
            },
            "documentation": {
              "id": 26132,
              "nodeType": "StructuredDocumentation",
              "src": "1370:336:128",
              "text": "@notice Calculates the arithmetic average of x and y, rounding down.\n @param x The first operand as an unsigned 60.18-decimal fixed-point number.\n @param y The second operand as an unsigned 60.18-decimal fixed-point number.\n @return result The arithmetic average as an unsigned 60.18-decimal fixed-point number."
            },
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "avg",
            "nameLocation": "1720:3:128",
            "parameters": {
              "id": 26137,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 26134,
                  "mutability": "mutable",
                  "name": "x",
                  "nameLocation": "1732:1:128",
                  "nodeType": "VariableDeclaration",
                  "scope": 26162,
                  "src": "1724:9:128",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 26133,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1724:7:128",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 26136,
                  "mutability": "mutable",
                  "name": "y",
                  "nameLocation": "1743:1:128",
                  "nodeType": "VariableDeclaration",
                  "scope": 26162,
                  "src": "1735:9:128",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 26135,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1735:7:128",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1723:22:128"
            },
            "returnParameters": {
              "id": 26140,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 26139,
                  "mutability": "mutable",
                  "name": "result",
                  "nameLocation": "1777:6:128",
                  "nodeType": "VariableDeclaration",
                  "scope": 26162,
                  "src": "1769:14:128",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 26138,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1769:7:128",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1768:16:128"
            },
            "scope": 26717,
            "stateMutability": "pure",
            "virtual": false,
            "visibility": "internal"
          },
          {
            "id": 26181,
            "nodeType": "FunctionDefinition",
            "src": "2747:543:128",
            "nodes": [],
            "body": {
              "id": 26180,
              "nodeType": "Block",
              "src": "2811:479:128",
              "nodes": [],
              "statements": [
                {
                  "condition": {
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 26172,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "id": 26170,
                      "name": "x",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 26165,
                      "src": "2825:1:128",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": ">",
                    "rightExpression": {
                      "id": 26171,
                      "name": "MAX_WHOLE_UD60x18",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 26127,
                      "src": "2829:17:128",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "2825:21:128",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 26178,
                  "nodeType": "IfStatement",
                  "src": "2821:90:128",
                  "trueBody": {
                    "id": 26177,
                    "nodeType": "Block",
                    "src": "2848:63:128",
                    "statements": [
                      {
                        "errorCall": {
                          "arguments": [
                            {
                              "id": 26174,
                              "name": "x",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 26165,
                              "src": "2898:1:128",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            ],
                            "id": 26173,
                            "name": "PRBMathUD60x18__CeilOverflow",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 24330,
                            "src": "2869:28:128",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_error_pure$_t_uint256_$returns$__$",
                              "typeString": "function (uint256) pure"
                            }
                          },
                          "id": 26175,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "2869:31:128",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$__$",
                            "typeString": "tuple()"
                          }
                        },
                        "id": 26176,
                        "nodeType": "RevertStatement",
                        "src": "2862:38:128"
                      }
                    ]
                  }
                },
                {
                  "AST": {
                    "nodeType": "YulBlock",
                    "src": "2929:355:128",
                    "statements": [
                      {
                        "nodeType": "YulVariableDeclaration",
                        "src": "2996:30:128",
                        "value": {
                          "arguments": [
                            {
                              "name": "x",
                              "nodeType": "YulIdentifier",
                              "src": "3017:1:128"
                            },
                            {
                              "name": "SCALE",
                              "nodeType": "YulIdentifier",
                              "src": "3020:5:128"
                            }
                          ],
                          "functionName": {
                            "name": "mod",
                            "nodeType": "YulIdentifier",
                            "src": "3013:3:128"
                          },
                          "nodeType": "YulFunctionCall",
                          "src": "3013:13:128"
                        },
                        "variables": [
                          {
                            "name": "remainder",
                            "nodeType": "YulTypedName",
                            "src": "3000:9:128",
                            "type": ""
                          }
                        ]
                      },
                      {
                        "nodeType": "YulVariableDeclaration",
                        "src": "3101:34:128",
                        "value": {
                          "arguments": [
                            {
                              "name": "SCALE",
                              "nodeType": "YulIdentifier",
                              "src": "3118:5:128"
                            },
                            {
                              "name": "remainder",
                              "nodeType": "YulIdentifier",
                              "src": "3125:9:128"
                            }
                          ],
                          "functionName": {
                            "name": "sub",
                            "nodeType": "YulIdentifier",
                            "src": "3114:3:128"
                          },
                          "nodeType": "YulFunctionCall",
                          "src": "3114:21:128"
                        },
                        "variables": [
                          {
                            "name": "delta",
                            "nodeType": "YulTypedName",
                            "src": "3105:5:128",
                            "type": ""
                          }
                        ]
                      },
                      {
                        "nodeType": "YulAssignment",
                        "src": "3228:46:128",
                        "value": {
                          "arguments": [
                            {
                              "name": "x",
                              "nodeType": "YulIdentifier",
                              "src": "3242:1:128"
                            },
                            {
                              "arguments": [
                                {
                                  "name": "delta",
                                  "nodeType": "YulIdentifier",
                                  "src": "3249:5:128"
                                },
                                {
                                  "arguments": [
                                    {
                                      "name": "remainder",
                                      "nodeType": "YulIdentifier",
                                      "src": "3259:9:128"
                                    },
                                    {
                                      "kind": "number",
                                      "nodeType": "YulLiteral",
                                      "src": "3270:1:128",
                                      "type": "",
                                      "value": "0"
                                    }
                                  ],
                                  "functionName": {
                                    "name": "gt",
                                    "nodeType": "YulIdentifier",
                                    "src": "3256:2:128"
                                  },
                                  "nodeType": "YulFunctionCall",
                                  "src": "3256:16:128"
                                }
                              ],
                              "functionName": {
                                "name": "mul",
                                "nodeType": "YulIdentifier",
                                "src": "3245:3:128"
                              },
                              "nodeType": "YulFunctionCall",
                              "src": "3245:28:128"
                            }
                          ],
                          "functionName": {
                            "name": "add",
                            "nodeType": "YulIdentifier",
                            "src": "3238:3:128"
                          },
                          "nodeType": "YulFunctionCall",
                          "src": "3238:36:128"
                        },
                        "variableNames": [
                          {
                            "name": "result",
                            "nodeType": "YulIdentifier",
                            "src": "3228:6:128"
                          }
                        ]
                      }
                    ]
                  },
                  "evmVersion": "berlin",
                  "externalReferences": [
                    {
                      "declaration": 26131,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "3020:5:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26131,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "3118:5:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26168,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "3228:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26165,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "3017:1:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26165,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "3242:1:128",
                      "valueSize": 1
                    }
                  ],
                  "id": 26179,
                  "nodeType": "InlineAssembly",
                  "src": "2920:364:128"
                }
              ]
            },
            "documentation": {
              "id": 26163,
              "nodeType": "StructuredDocumentation",
              "src": "2149:593:128",
              "text": "@notice Yields the least unsigned 60.18 decimal fixed-point number greater than or equal to x.\n @dev Optimized for fractional value inputs, because for every whole value there are (1e18 - 1) fractional counterparts.\n See https://en.wikipedia.org/wiki/Floor_and_ceiling_functions.\n Requirements:\n - x must be less than or equal to MAX_WHOLE_UD60x18.\n @param x The unsigned 60.18-decimal fixed-point number to ceil.\n @param result The least integer greater than or equal to x, as an unsigned 60.18-decimal fixed-point number."
            },
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "ceil",
            "nameLocation": "2756:4:128",
            "parameters": {
              "id": 26166,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 26165,
                  "mutability": "mutable",
                  "name": "x",
                  "nameLocation": "2769:1:128",
                  "nodeType": "VariableDeclaration",
                  "scope": 26181,
                  "src": "2761:9:128",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 26164,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "2761:7:128",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "2760:11:128"
            },
            "returnParameters": {
              "id": 26169,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 26168,
                  "mutability": "mutable",
                  "name": "result",
                  "nameLocation": "2803:6:128",
                  "nodeType": "VariableDeclaration",
                  "scope": 26181,
                  "src": "2795:14:128",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 26167,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "2795:7:128",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "2794:16:128"
            },
            "scope": 26717,
            "stateMutability": "pure",
            "virtual": false,
            "visibility": "internal"
          },
          {
            "id": 26201,
            "nodeType": "FunctionDefinition",
            "src": "3839:127:128",
            "nodes": [],
            "body": {
              "id": 26200,
              "nodeType": "Block",
              "src": "3913:53:128",
              "nodes": [],
              "statements": [
                {
                  "expression": {
                    "id": 26198,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "id": 26191,
                      "name": "result",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 26189,
                      "src": "3923:6:128",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "arguments": [
                        {
                          "id": 26194,
                          "name": "x",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 26184,
                          "src": "3947:1:128",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        {
                          "id": 26195,
                          "name": "SCALE",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 26131,
                          "src": "3950:5:128",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        {
                          "id": 26196,
                          "name": "y",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 26186,
                          "src": "3957:1:128",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        ],
                        "expression": {
                          "id": 26192,
                          "name": "PRBMath",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 26107,
                          "src": "3932:7:128",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_contract$_PRBMath_$26107_$",
                            "typeString": "type(library PRBMath)"
                          }
                        },
                        "id": 26193,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "mulDiv",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 25696,
                        "src": "3932:14:128",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$",
                          "typeString": "function (uint256,uint256,uint256) pure returns (uint256)"
                        }
                      },
                      "id": 26197,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "3932:27:128",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "3923:36:128",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "id": 26199,
                  "nodeType": "ExpressionStatement",
                  "src": "3923:36:128"
                }
              ]
            },
            "documentation": {
              "id": 26182,
              "nodeType": "StructuredDocumentation",
              "src": "3296:538:128",
              "text": "@notice Divides two unsigned 60.18-decimal fixed-point numbers, returning a new unsigned 60.18-decimal fixed-point number.\n @dev Uses mulDiv to enable overflow-safe multiplication and division.\n Requirements:\n - The denominator cannot be zero.\n @param x The numerator as an unsigned 60.18-decimal fixed-point number.\n @param y The denominator as an unsigned 60.18-decimal fixed-point number.\n @param result The quotient as an unsigned 60.18-decimal fixed-point number."
            },
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "div",
            "nameLocation": "3848:3:128",
            "parameters": {
              "id": 26187,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 26184,
                  "mutability": "mutable",
                  "name": "x",
                  "nameLocation": "3860:1:128",
                  "nodeType": "VariableDeclaration",
                  "scope": 26201,
                  "src": "3852:9:128",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 26183,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "3852:7:128",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 26186,
                  "mutability": "mutable",
                  "name": "y",
                  "nameLocation": "3871:1:128",
                  "nodeType": "VariableDeclaration",
                  "scope": 26201,
                  "src": "3863:9:128",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 26185,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "3863:7:128",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "3851:22:128"
            },
            "returnParameters": {
              "id": 26190,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 26189,
                  "mutability": "mutable",
                  "name": "result",
                  "nameLocation": "3905:6:128",
                  "nodeType": "VariableDeclaration",
                  "scope": 26201,
                  "src": "3897:14:128",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 26188,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "3897:7:128",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "3896:16:128"
            },
            "scope": 26717,
            "stateMutability": "pure",
            "virtual": false,
            "visibility": "internal"
          },
          {
            "id": 26212,
            "nodeType": "FunctionDefinition",
            "src": "4134:98:128",
            "nodes": [],
            "body": {
              "id": 26211,
              "nodeType": "Block",
              "src": "4186:46:128",
              "nodes": [],
              "statements": [
                {
                  "expression": {
                    "id": 26209,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "id": 26207,
                      "name": "result",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 26205,
                      "src": "4196:6:128",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "hexValue": "325f373138323831383238343539303435323335",
                      "id": 26208,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "4205:20:128",
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_2718281828459045235_by_1",
                        "typeString": "int_const 2718281828459045235"
                      },
                      "value": "2_718281828459045235"
                    },
                    "src": "4196:29:128",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "id": 26210,
                  "nodeType": "ExpressionStatement",
                  "src": "4196:29:128"
                }
              ]
            },
            "documentation": {
              "id": 26202,
              "nodeType": "StructuredDocumentation",
              "src": "3972:157:128",
              "text": "@notice Returns Euler's number as an unsigned 60.18-decimal fixed-point number.\n @dev See https://en.wikipedia.org/wiki/E_(mathematical_constant)."
            },
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "e",
            "nameLocation": "4143:1:128",
            "parameters": {
              "id": 26203,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "4144:2:128"
            },
            "returnParameters": {
              "id": 26206,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 26205,
                  "mutability": "mutable",
                  "name": "result",
                  "nameLocation": "4178:6:128",
                  "nodeType": "VariableDeclaration",
                  "scope": 26212,
                  "src": "4170:14:128",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 26204,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "4170:7:128",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "4169:16:128"
            },
            "scope": 26717,
            "stateMutability": "pure",
            "virtual": false,
            "visibility": "internal"
          },
          {
            "id": 26248,
            "nodeType": "FunctionDefinition",
            "src": "4643:481:128",
            "nodes": [],
            "body": {
              "id": 26247,
              "nodeType": "Block",
              "src": "4706:418:128",
              "nodes": [],
              "statements": [
                {
                  "condition": {
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 26222,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "id": 26220,
                      "name": "x",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 26215,
                      "src": "4805:1:128",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": ">=",
                    "rightExpression": {
                      "hexValue": "3133335f303834323538363637353039343939343431",
                      "id": 26221,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "4810:22:128",
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_133084258667509499441_by_1",
                        "typeString": "int_const 133084258667509499441"
                      },
                      "value": "133_084258667509499441"
                    },
                    "src": "4805:27:128",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 26228,
                  "nodeType": "IfStatement",
                  "src": "4801:98:128",
                  "trueBody": {
                    "id": 26227,
                    "nodeType": "Block",
                    "src": "4834:65:128",
                    "statements": [
                      {
                        "errorCall": {
                          "arguments": [
                            {
                              "id": 26224,
                              "name": "x",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 26215,
                              "src": "4886:1:128",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            ],
                            "id": 26223,
                            "name": "PRBMathUD60x18__ExpInputTooBig",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 24335,
                            "src": "4855:30:128",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_error_pure$_t_uint256_$returns$__$",
                              "typeString": "function (uint256) pure"
                            }
                          },
                          "id": 26225,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "4855:33:128",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$__$",
                            "typeString": "tuple()"
                          }
                        },
                        "id": 26226,
                        "nodeType": "RevertStatement",
                        "src": "4848:40:128"
                      }
                    ]
                  }
                },
                {
                  "id": 26246,
                  "nodeType": "UncheckedBlock",
                  "src": "4974:144:128",
                  "statements": [
                    {
                      "assignments": [
                        26230
                      ],
                      "declarations": [
                        {
                          "constant": false,
                          "id": 26230,
                          "mutability": "mutable",
                          "name": "doubleScaleProduct",
                          "nameLocation": "5006:18:128",
                          "nodeType": "VariableDeclaration",
                          "scope": 26246,
                          "src": "4998:26:128",
                          "stateVariable": false,
                          "storageLocation": "default",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          "typeName": {
                            "id": 26229,
                            "name": "uint256",
                            "nodeType": "ElementaryTypeName",
                            "src": "4998:7:128",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "visibility": "internal"
                        }
                      ],
                      "id": 26234,
                      "initialValue": {
                        "commonType": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "id": 26233,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "id": 26231,
                          "name": "x",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 26215,
                          "src": "5027:1:128",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "*",
                        "rightExpression": {
                          "id": 26232,
                          "name": "LOG2_E",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 26119,
                          "src": "5031:6:128",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "src": "5027:10:128",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "nodeType": "VariableDeclarationStatement",
                      "src": "4998:39:128"
                    },
                    {
                      "expression": {
                        "id": 26244,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftHandSide": {
                          "id": 26235,
                          "name": "result",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 26218,
                          "src": "5051:6:128",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "Assignment",
                        "operator": "=",
                        "rightHandSide": {
                          "arguments": [
                            {
                              "commonType": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              "id": 26242,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "leftExpression": {
                                "components": [
                                  {
                                    "commonType": {
                                      "typeIdentifier": "t_uint256",
                                      "typeString": "uint256"
                                    },
                                    "id": 26239,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": false,
                                    "lValueRequested": false,
                                    "leftExpression": {
                                      "id": 26237,
                                      "name": "doubleScaleProduct",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": 26230,
                                      "src": "5066:18:128",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      }
                                    },
                                    "nodeType": "BinaryOperation",
                                    "operator": "+",
                                    "rightExpression": {
                                      "id": 26238,
                                      "name": "HALF_SCALE",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": 26115,
                                      "src": "5087:10:128",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      }
                                    },
                                    "src": "5066:31:128",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_uint256",
                                      "typeString": "uint256"
                                    }
                                  }
                                ],
                                "id": 26240,
                                "isConstant": false,
                                "isInlineArray": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "nodeType": "TupleExpression",
                                "src": "5065:33:128",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "nodeType": "BinaryOperation",
                              "operator": "/",
                              "rightExpression": {
                                "id": 26241,
                                "name": "SCALE",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 26131,
                                "src": "5101:5:128",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "src": "5065:41:128",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            ],
                            "id": 26236,
                            "name": "exp2",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 26283,
                            "src": "5060:4:128",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_internal_pure$_t_uint256_$returns$_t_uint256_$",
                              "typeString": "function (uint256) pure returns (uint256)"
                            }
                          },
                          "id": 26243,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "5060:47:128",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "src": "5051:56:128",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "id": 26245,
                      "nodeType": "ExpressionStatement",
                      "src": "5051:56:128"
                    }
                  ]
                }
              ]
            },
            "documentation": {
              "id": 26213,
              "nodeType": "StructuredDocumentation",
              "src": "4238:400:128",
              "text": "@notice Calculates the natural exponent of x.\n @dev Based on the insight that e^x = 2^(x * log2(e)).\n Requirements:\n - All from \"log2\".\n - x must be less than 133.084258667509499441.\n @param x The exponent as an unsigned 60.18-decimal fixed-point number.\n @return result The result as an unsigned 60.18-decimal fixed-point number."
            },
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "exp",
            "nameLocation": "4652:3:128",
            "parameters": {
              "id": 26216,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 26215,
                  "mutability": "mutable",
                  "name": "x",
                  "nameLocation": "4664:1:128",
                  "nodeType": "VariableDeclaration",
                  "scope": 26248,
                  "src": "4656:9:128",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 26214,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "4656:7:128",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "4655:11:128"
            },
            "returnParameters": {
              "id": 26219,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 26218,
                  "mutability": "mutable",
                  "name": "result",
                  "nameLocation": "4698:6:128",
                  "nodeType": "VariableDeclaration",
                  "scope": 26248,
                  "src": "4690:14:128",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 26217,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "4690:7:128",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "4689:16:128"
            },
            "scope": 26717,
            "stateMutability": "pure",
            "virtual": false,
            "visibility": "internal"
          },
          {
            "id": 26283,
            "nodeType": "FunctionDefinition",
            "src": "5574:556:128",
            "nodes": [],
            "body": {
              "id": 26282,
              "nodeType": "Block",
              "src": "5638:492:128",
              "nodes": [],
              "statements": [
                {
                  "condition": {
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 26258,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "id": 26256,
                      "name": "x",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 26251,
                      "src": "5744:1:128",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": ">=",
                    "rightExpression": {
                      "hexValue": "313932653138",
                      "id": 26257,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "5749:6:128",
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_192000000000000000000_by_1",
                        "typeString": "int_const 192000000000000000000"
                      },
                      "value": "192e18"
                    },
                    "src": "5744:11:128",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 26264,
                  "nodeType": "IfStatement",
                  "src": "5740:83:128",
                  "trueBody": {
                    "id": 26263,
                    "nodeType": "Block",
                    "src": "5757:66:128",
                    "statements": [
                      {
                        "errorCall": {
                          "arguments": [
                            {
                              "id": 26260,
                              "name": "x",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 26251,
                              "src": "5810:1:128",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            ],
                            "id": 26259,
                            "name": "PRBMathUD60x18__Exp2InputTooBig",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 24340,
                            "src": "5778:31:128",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_error_pure$_t_uint256_$returns$__$",
                              "typeString": "function (uint256) pure"
                            }
                          },
                          "id": 26261,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "5778:34:128",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$__$",
                            "typeString": "tuple()"
                          }
                        },
                        "id": 26262,
                        "nodeType": "RevertStatement",
                        "src": "5771:41:128"
                      }
                    ]
                  }
                },
                {
                  "id": 26281,
                  "nodeType": "UncheckedBlock",
                  "src": "5833:291:128",
                  "statements": [
                    {
                      "assignments": [
                        26266
                      ],
                      "declarations": [
                        {
                          "constant": false,
                          "id": 26266,
                          "mutability": "mutable",
                          "name": "x192x64",
                          "nameLocation": "5928:7:128",
                          "nodeType": "VariableDeclaration",
                          "scope": 26281,
                          "src": "5920:15:128",
                          "stateVariable": false,
                          "storageLocation": "default",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          "typeName": {
                            "id": 26265,
                            "name": "uint256",
                            "nodeType": "ElementaryTypeName",
                            "src": "5920:7:128",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "visibility": "internal"
                        }
                      ],
                      "id": 26273,
                      "initialValue": {
                        "commonType": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "id": 26272,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "components": [
                            {
                              "commonType": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              "id": 26269,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "leftExpression": {
                                "id": 26267,
                                "name": "x",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 26251,
                                "src": "5939:1:128",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "nodeType": "BinaryOperation",
                              "operator": "<<",
                              "rightExpression": {
                                "hexValue": "3634",
                                "id": 26268,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": true,
                                "kind": "number",
                                "lValueRequested": false,
                                "nodeType": "Literal",
                                "src": "5944:2:128",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_rational_64_by_1",
                                  "typeString": "int_const 64"
                                },
                                "value": "64"
                              },
                              "src": "5939:7:128",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            }
                          ],
                          "id": 26270,
                          "isConstant": false,
                          "isInlineArray": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "nodeType": "TupleExpression",
                          "src": "5938:9:128",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "/",
                        "rightExpression": {
                          "id": 26271,
                          "name": "SCALE",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 26131,
                          "src": "5950:5:128",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "src": "5938:17:128",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "nodeType": "VariableDeclarationStatement",
                      "src": "5920:35:128"
                    },
                    {
                      "expression": {
                        "id": 26279,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftHandSide": {
                          "id": 26274,
                          "name": "result",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 26254,
                          "src": "6083:6:128",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "Assignment",
                        "operator": "=",
                        "rightHandSide": {
                          "arguments": [
                            {
                              "id": 26277,
                              "name": "x192x64",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 26266,
                              "src": "6105:7:128",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            ],
                            "expression": {
                              "id": 26275,
                              "name": "PRBMath",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 26107,
                              "src": "6092:7:128",
                              "typeDescriptions": {
                                "typeIdentifier": "t_type$_t_contract$_PRBMath_$26107_$",
                                "typeString": "type(library PRBMath)"
                              }
                            },
                            "id": 26276,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "exp2",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 25440,
                            "src": "6092:12:128",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_internal_pure$_t_uint256_$returns$_t_uint256_$",
                              "typeString": "function (uint256) pure returns (uint256)"
                            }
                          },
                          "id": 26278,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "6092:21:128",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "src": "6083:30:128",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "id": 26280,
                      "nodeType": "ExpressionStatement",
                      "src": "6083:30:128"
                    }
                  ]
                }
              ]
            },
            "documentation": {
              "id": 26249,
              "nodeType": "StructuredDocumentation",
              "src": "5130:439:128",
              "text": "@notice Calculates the binary exponent of x using the binary fraction method.\n @dev See https://ethereum.stackexchange.com/q/79903/24693.\n Requirements:\n - x must be 192 or less.\n - The result must fit within MAX_UD60x18.\n @param x The exponent as an unsigned 60.18-decimal fixed-point number.\n @return result The result as an unsigned 60.18-decimal fixed-point number."
            },
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "exp2",
            "nameLocation": "5583:4:128",
            "parameters": {
              "id": 26252,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 26251,
                  "mutability": "mutable",
                  "name": "x",
                  "nameLocation": "5596:1:128",
                  "nodeType": "VariableDeclaration",
                  "scope": 26283,
                  "src": "5588:9:128",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 26250,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "5588:7:128",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "5587:11:128"
            },
            "returnParameters": {
              "id": 26255,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 26254,
                  "mutability": "mutable",
                  "name": "result",
                  "nameLocation": "5630:6:128",
                  "nodeType": "VariableDeclaration",
                  "scope": 26283,
                  "src": "5622:14:128",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 26253,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "5622:7:128",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "5621:16:128"
            },
            "scope": 26717,
            "stateMutability": "pure",
            "virtual": false,
            "visibility": "internal"
          },
          {
            "id": 26293,
            "nodeType": "FunctionDefinition",
            "src": "6628:344:128",
            "nodes": [],
            "body": {
              "id": 26292,
              "nodeType": "Block",
              "src": "6693:279:128",
              "nodes": [],
              "statements": [
                {
                  "AST": {
                    "nodeType": "YulBlock",
                    "src": "6712:254:128",
                    "statements": [
                      {
                        "nodeType": "YulVariableDeclaration",
                        "src": "6779:30:128",
                        "value": {
                          "arguments": [
                            {
                              "name": "x",
                              "nodeType": "YulIdentifier",
                              "src": "6800:1:128"
                            },
                            {
                              "name": "SCALE",
                              "nodeType": "YulIdentifier",
                              "src": "6803:5:128"
                            }
                          ],
                          "functionName": {
                            "name": "mod",
                            "nodeType": "YulIdentifier",
                            "src": "6796:3:128"
                          },
                          "nodeType": "YulFunctionCall",
                          "src": "6796:13:128"
                        },
                        "variables": [
                          {
                            "name": "remainder",
                            "nodeType": "YulTypedName",
                            "src": "6783:9:128",
                            "type": ""
                          }
                        ]
                      },
                      {
                        "nodeType": "YulAssignment",
                        "src": "6906:50:128",
                        "value": {
                          "arguments": [
                            {
                              "name": "x",
                              "nodeType": "YulIdentifier",
                              "src": "6920:1:128"
                            },
                            {
                              "arguments": [
                                {
                                  "name": "remainder",
                                  "nodeType": "YulIdentifier",
                                  "src": "6927:9:128"
                                },
                                {
                                  "arguments": [
                                    {
                                      "name": "remainder",
                                      "nodeType": "YulIdentifier",
                                      "src": "6941:9:128"
                                    },
                                    {
                                      "kind": "number",
                                      "nodeType": "YulLiteral",
                                      "src": "6952:1:128",
                                      "type": "",
                                      "value": "0"
                                    }
                                  ],
                                  "functionName": {
                                    "name": "gt",
                                    "nodeType": "YulIdentifier",
                                    "src": "6938:2:128"
                                  },
                                  "nodeType": "YulFunctionCall",
                                  "src": "6938:16:128"
                                }
                              ],
                              "functionName": {
                                "name": "mul",
                                "nodeType": "YulIdentifier",
                                "src": "6923:3:128"
                              },
                              "nodeType": "YulFunctionCall",
                              "src": "6923:32:128"
                            }
                          ],
                          "functionName": {
                            "name": "sub",
                            "nodeType": "YulIdentifier",
                            "src": "6916:3:128"
                          },
                          "nodeType": "YulFunctionCall",
                          "src": "6916:40:128"
                        },
                        "variableNames": [
                          {
                            "name": "result",
                            "nodeType": "YulIdentifier",
                            "src": "6906:6:128"
                          }
                        ]
                      }
                    ]
                  },
                  "evmVersion": "berlin",
                  "externalReferences": [
                    {
                      "declaration": 26131,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "6803:5:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26289,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "6906:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26286,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "6800:1:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26286,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "6920:1:128",
                      "valueSize": 1
                    }
                  ],
                  "id": 26291,
                  "nodeType": "InlineAssembly",
                  "src": "6703:263:128"
                }
              ]
            },
            "documentation": {
              "id": 26284,
              "nodeType": "StructuredDocumentation",
              "src": "6136:487:128",
              "text": "@notice Yields the greatest unsigned 60.18 decimal fixed-point number less than or equal to x.\n @dev Optimized for fractional value inputs, because for every whole value there are (1e18 - 1) fractional counterparts.\n See https://en.wikipedia.org/wiki/Floor_and_ceiling_functions.\n @param x The unsigned 60.18-decimal fixed-point number to floor.\n @param result The greatest integer less than or equal to x, as an unsigned 60.18-decimal fixed-point number."
            },
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "floor",
            "nameLocation": "6637:5:128",
            "parameters": {
              "id": 26287,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 26286,
                  "mutability": "mutable",
                  "name": "x",
                  "nameLocation": "6651:1:128",
                  "nodeType": "VariableDeclaration",
                  "scope": 26293,
                  "src": "6643:9:128",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 26285,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "6643:7:128",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "6642:11:128"
            },
            "returnParameters": {
              "id": 26290,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 26289,
                  "mutability": "mutable",
                  "name": "result",
                  "nameLocation": "6685:6:128",
                  "nodeType": "VariableDeclaration",
                  "scope": 26293,
                  "src": "6677:14:128",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 26288,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "6677:7:128",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "6676:16:128"
            },
            "scope": 26717,
            "stateMutability": "pure",
            "virtual": false,
            "visibility": "internal"
          },
          {
            "id": 26303,
            "nodeType": "FunctionDefinition",
            "src": "7322:136:128",
            "nodes": [],
            "body": {
              "id": 26302,
              "nodeType": "Block",
              "src": "7386:72:128",
              "nodes": [],
              "statements": [
                {
                  "AST": {
                    "nodeType": "YulBlock",
                    "src": "7405:47:128",
                    "statements": [
                      {
                        "nodeType": "YulAssignment",
                        "src": "7419:23:128",
                        "value": {
                          "arguments": [
                            {
                              "name": "x",
                              "nodeType": "YulIdentifier",
                              "src": "7433:1:128"
                            },
                            {
                              "name": "SCALE",
                              "nodeType": "YulIdentifier",
                              "src": "7436:5:128"
                            }
                          ],
                          "functionName": {
                            "name": "mod",
                            "nodeType": "YulIdentifier",
                            "src": "7429:3:128"
                          },
                          "nodeType": "YulFunctionCall",
                          "src": "7429:13:128"
                        },
                        "variableNames": [
                          {
                            "name": "result",
                            "nodeType": "YulIdentifier",
                            "src": "7419:6:128"
                          }
                        ]
                      }
                    ]
                  },
                  "evmVersion": "berlin",
                  "externalReferences": [
                    {
                      "declaration": 26131,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "7436:5:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26299,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "7419:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26296,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "7433:1:128",
                      "valueSize": 1
                    }
                  ],
                  "id": 26301,
                  "nodeType": "InlineAssembly",
                  "src": "7396:56:128"
                }
              ]
            },
            "documentation": {
              "id": 26294,
              "nodeType": "StructuredDocumentation",
              "src": "6978:339:128",
              "text": "@notice Yields the excess beyond the floor of x.\n @dev Based on the odd function definition https://en.wikipedia.org/wiki/Fractional_part.\n @param x The unsigned 60.18-decimal fixed-point number to get the fractional part of.\n @param result The fractional part of x as an unsigned 60.18-decimal fixed-point number."
            },
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "frac",
            "nameLocation": "7331:4:128",
            "parameters": {
              "id": 26297,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 26296,
                  "mutability": "mutable",
                  "name": "x",
                  "nameLocation": "7344:1:128",
                  "nodeType": "VariableDeclaration",
                  "scope": 26303,
                  "src": "7336:9:128",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 26295,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "7336:7:128",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "7335:11:128"
            },
            "returnParameters": {
              "id": 26300,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 26299,
                  "mutability": "mutable",
                  "name": "result",
                  "nameLocation": "7378:6:128",
                  "nodeType": "VariableDeclaration",
                  "scope": 26303,
                  "src": "7370:14:128",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 26298,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "7370:7:128",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "7369:16:128"
            },
            "scope": 26717,
            "stateMutability": "pure",
            "virtual": false,
            "visibility": "internal"
          },
          {
            "id": 26330,
            "nodeType": "FunctionDefinition",
            "src": "7830:254:128",
            "nodes": [],
            "body": {
              "id": 26329,
              "nodeType": "Block",
              "src": "7898:186:128",
              "nodes": [],
              "statements": [
                {
                  "id": 26328,
                  "nodeType": "UncheckedBlock",
                  "src": "7908:170:128",
                  "statements": [
                    {
                      "condition": {
                        "commonType": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "id": 26315,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "id": 26311,
                          "name": "x",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 26306,
                          "src": "7936:1:128",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": ">",
                        "rightExpression": {
                          "commonType": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          "id": 26314,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "leftExpression": {
                            "id": 26312,
                            "name": "MAX_UD60x18",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 26123,
                            "src": "7940:11:128",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "BinaryOperation",
                          "operator": "/",
                          "rightExpression": {
                            "id": 26313,
                            "name": "SCALE",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 26131,
                            "src": "7954:5:128",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "src": "7940:19:128",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "src": "7936:23:128",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      "id": 26321,
                      "nodeType": "IfStatement",
                      "src": "7932:104:128",
                      "trueBody": {
                        "id": 26320,
                        "nodeType": "Block",
                        "src": "7961:75:128",
                        "statements": [
                          {
                            "errorCall": {
                              "arguments": [
                                {
                                  "id": 26317,
                                  "name": "x",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 26306,
                                  "src": "8019:1:128",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                }
                              ],
                              "expression": {
                                "argumentTypes": [
                                  {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                ],
                                "id": 26316,
                                "name": "PRBMathUD60x18__FromUintOverflow",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 24345,
                                "src": "7986:32:128",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_function_error_pure$_t_uint256_$returns$__$",
                                  "typeString": "function (uint256) pure"
                                }
                              },
                              "id": 26318,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "kind": "functionCall",
                              "lValueRequested": false,
                              "names": [],
                              "nodeType": "FunctionCall",
                              "src": "7986:35:128",
                              "tryCall": false,
                              "typeDescriptions": {
                                "typeIdentifier": "t_tuple$__$",
                                "typeString": "tuple()"
                              }
                            },
                            "id": 26319,
                            "nodeType": "RevertStatement",
                            "src": "7979:42:128"
                          }
                        ]
                      }
                    },
                    {
                      "expression": {
                        "id": 26326,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftHandSide": {
                          "id": 26322,
                          "name": "result",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 26309,
                          "src": "8049:6:128",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "Assignment",
                        "operator": "=",
                        "rightHandSide": {
                          "commonType": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          "id": 26325,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftExpression": {
                            "id": 26323,
                            "name": "x",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 26306,
                            "src": "8058:1:128",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "BinaryOperation",
                          "operator": "*",
                          "rightExpression": {
                            "id": 26324,
                            "name": "SCALE",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 26131,
                            "src": "8062:5:128",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "src": "8058:9:128",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "src": "8049:18:128",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "id": 26327,
                      "nodeType": "ExpressionStatement",
                      "src": "8049:18:128"
                    }
                  ]
                }
              ]
            },
            "documentation": {
              "id": 26304,
              "nodeType": "StructuredDocumentation",
              "src": "7464:361:128",
              "text": "@notice Converts a number from basic integer form to unsigned 60.18-decimal fixed-point representation.\n @dev Requirements:\n - x must be less than or equal to MAX_UD60x18 divided by SCALE.\n @param x The basic integer to convert.\n @param result The same number in unsigned 60.18-decimal fixed-point representation."
            },
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "fromUint",
            "nameLocation": "7839:8:128",
            "parameters": {
              "id": 26307,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 26306,
                  "mutability": "mutable",
                  "name": "x",
                  "nameLocation": "7856:1:128",
                  "nodeType": "VariableDeclaration",
                  "scope": 26330,
                  "src": "7848:9:128",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 26305,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "7848:7:128",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "7847:11:128"
            },
            "returnParameters": {
              "id": 26310,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 26309,
                  "mutability": "mutable",
                  "name": "result",
                  "nameLocation": "7890:6:128",
                  "nodeType": "VariableDeclaration",
                  "scope": 26330,
                  "src": "7882:14:128",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 26308,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "7882:7:128",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "7881:16:128"
            },
            "scope": 26717,
            "stateMutability": "pure",
            "virtual": false,
            "visibility": "internal"
          },
          {
            "id": 26374,
            "nodeType": "FunctionDefinition",
            "src": "8536:630:128",
            "nodes": [],
            "body": {
              "id": 26373,
              "nodeType": "Block",
              "src": "8609:557:128",
              "nodes": [],
              "statements": [
                {
                  "condition": {
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 26342,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "id": 26340,
                      "name": "x",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 26333,
                      "src": "8623:1:128",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "==",
                    "rightExpression": {
                      "hexValue": "30",
                      "id": 26341,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "8628:1:128",
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "src": "8623:6:128",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 26346,
                  "nodeType": "IfStatement",
                  "src": "8619:45:128",
                  "trueBody": {
                    "id": 26345,
                    "nodeType": "Block",
                    "src": "8631:33:128",
                    "statements": [
                      {
                        "expression": {
                          "hexValue": "30",
                          "id": 26343,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "8652:1:128",
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_0_by_1",
                            "typeString": "int_const 0"
                          },
                          "value": "0"
                        },
                        "functionReturnParameters": 26339,
                        "id": 26344,
                        "nodeType": "Return",
                        "src": "8645:8:128"
                      }
                    ]
                  }
                },
                {
                  "id": 26372,
                  "nodeType": "UncheckedBlock",
                  "src": "8674:486:128",
                  "statements": [
                    {
                      "assignments": [
                        26348
                      ],
                      "declarations": [
                        {
                          "constant": false,
                          "id": 26348,
                          "mutability": "mutable",
                          "name": "xy",
                          "nameLocation": "8791:2:128",
                          "nodeType": "VariableDeclaration",
                          "scope": 26372,
                          "src": "8783:10:128",
                          "stateVariable": false,
                          "storageLocation": "default",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          "typeName": {
                            "id": 26347,
                            "name": "uint256",
                            "nodeType": "ElementaryTypeName",
                            "src": "8783:7:128",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "visibility": "internal"
                        }
                      ],
                      "id": 26352,
                      "initialValue": {
                        "commonType": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "id": 26351,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "id": 26349,
                          "name": "x",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 26333,
                          "src": "8796:1:128",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "*",
                        "rightExpression": {
                          "id": 26350,
                          "name": "y",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 26335,
                          "src": "8800:1:128",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "src": "8796:5:128",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "nodeType": "VariableDeclarationStatement",
                      "src": "8783:18:128"
                    },
                    {
                      "condition": {
                        "commonType": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "id": 26357,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "commonType": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          "id": 26355,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftExpression": {
                            "id": 26353,
                            "name": "xy",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 26348,
                            "src": "8819:2:128",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "BinaryOperation",
                          "operator": "/",
                          "rightExpression": {
                            "id": 26354,
                            "name": "x",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 26333,
                            "src": "8824:1:128",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "src": "8819:6:128",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "!=",
                        "rightExpression": {
                          "id": 26356,
                          "name": "y",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 26335,
                          "src": "8829:1:128",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "src": "8819:11:128",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      "id": 26364,
                      "nodeType": "IfStatement",
                      "src": "8815:89:128",
                      "trueBody": {
                        "id": 26363,
                        "nodeType": "Block",
                        "src": "8832:72:128",
                        "statements": [
                          {
                            "errorCall": {
                              "arguments": [
                                {
                                  "id": 26359,
                                  "name": "x",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 26333,
                                  "src": "8884:1:128",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                {
                                  "id": 26360,
                                  "name": "y",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 26335,
                                  "src": "8887:1:128",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                }
                              ],
                              "expression": {
                                "argumentTypes": [
                                  {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  },
                                  {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                ],
                                "id": 26358,
                                "name": "PRBMathUD60x18__GmOverflow",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 24352,
                                "src": "8857:26:128",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_function_error_pure$_t_uint256_$_t_uint256_$returns$__$",
                                  "typeString": "function (uint256,uint256) pure"
                                }
                              },
                              "id": 26361,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "kind": "functionCall",
                              "lValueRequested": false,
                              "names": [],
                              "nodeType": "FunctionCall",
                              "src": "8857:32:128",
                              "tryCall": false,
                              "typeDescriptions": {
                                "typeIdentifier": "t_tuple$__$",
                                "typeString": "tuple()"
                              }
                            },
                            "id": 26362,
                            "nodeType": "RevertStatement",
                            "src": "8850:39:128"
                          }
                        ]
                      }
                    },
                    {
                      "expression": {
                        "id": 26370,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftHandSide": {
                          "id": 26365,
                          "name": "result",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 26338,
                          "src": "9124:6:128",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "Assignment",
                        "operator": "=",
                        "rightHandSide": {
                          "arguments": [
                            {
                              "id": 26368,
                              "name": "xy",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 26348,
                              "src": "9146:2:128",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            ],
                            "expression": {
                              "id": 26366,
                              "name": "PRBMath",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 26107,
                              "src": "9133:7:128",
                              "typeDescriptions": {
                                "typeIdentifier": "t_type$_t_contract$_PRBMath_$26107_$",
                                "typeString": "type(library PRBMath)"
                              }
                            },
                            "id": 26367,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "sqrt",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 26106,
                            "src": "9133:12:128",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_internal_pure$_t_uint256_$returns$_t_uint256_$",
                              "typeString": "function (uint256) pure returns (uint256)"
                            }
                          },
                          "id": 26369,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "9133:16:128",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "src": "9124:25:128",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "id": 26371,
                      "nodeType": "ExpressionStatement",
                      "src": "9124:25:128"
                    }
                  ]
                }
              ]
            },
            "documentation": {
              "id": 26331,
              "nodeType": "StructuredDocumentation",
              "src": "8090:441:128",
              "text": "@notice Calculates geometric mean of x and y, i.e. sqrt(x * y), rounding down.\n @dev Requirements:\n - x * y must fit within MAX_UD60x18, lest it overflows.\n @param x The first operand as an unsigned 60.18-decimal fixed-point number.\n @param y The second operand as an unsigned 60.18-decimal fixed-point number.\n @return result The result as an unsigned 60.18-decimal fixed-point number."
            },
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "gm",
            "nameLocation": "8545:2:128",
            "parameters": {
              "id": 26336,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 26333,
                  "mutability": "mutable",
                  "name": "x",
                  "nameLocation": "8556:1:128",
                  "nodeType": "VariableDeclaration",
                  "scope": 26374,
                  "src": "8548:9:128",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 26332,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "8548:7:128",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 26335,
                  "mutability": "mutable",
                  "name": "y",
                  "nameLocation": "8567:1:128",
                  "nodeType": "VariableDeclaration",
                  "scope": 26374,
                  "src": "8559:9:128",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 26334,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "8559:7:128",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "8547:22:128"
            },
            "returnParameters": {
              "id": 26339,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 26338,
                  "mutability": "mutable",
                  "name": "result",
                  "nameLocation": "8601:6:128",
                  "nodeType": "VariableDeclaration",
                  "scope": 26374,
                  "src": "8593:14:128",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 26337,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "8593:7:128",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "8592:16:128"
            },
            "scope": 26717,
            "stateMutability": "pure",
            "virtual": false,
            "visibility": "internal"
          },
          {
            "id": 26390,
            "nodeType": "FunctionDefinition",
            "src": "9482:169:128",
            "nodes": [],
            "body": {
              "id": 26389,
              "nodeType": "Block",
              "src": "9545:106:128",
              "nodes": [],
              "statements": [
                {
                  "id": 26388,
                  "nodeType": "UncheckedBlock",
                  "src": "9555:90:128",
                  "statements": [
                    {
                      "expression": {
                        "id": 26386,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftHandSide": {
                          "id": 26382,
                          "name": "result",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 26380,
                          "src": "9617:6:128",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "Assignment",
                        "operator": "=",
                        "rightHandSide": {
                          "commonType": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          "id": 26385,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftExpression": {
                            "hexValue": "31653336",
                            "id": 26383,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "kind": "number",
                            "lValueRequested": false,
                            "nodeType": "Literal",
                            "src": "9626:4:128",
                            "typeDescriptions": {
                              "typeIdentifier": "t_rational_1000000000000000000000000000000000000_by_1",
                              "typeString": "int_const 1000...(29 digits omitted)...0000"
                            },
                            "value": "1e36"
                          },
                          "nodeType": "BinaryOperation",
                          "operator": "/",
                          "rightExpression": {
                            "id": 26384,
                            "name": "x",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 26377,
                            "src": "9633:1:128",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "src": "9626:8:128",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "src": "9617:17:128",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "id": 26387,
                      "nodeType": "ExpressionStatement",
                      "src": "9617:17:128"
                    }
                  ]
                }
              ]
            },
            "documentation": {
              "id": 26375,
              "nodeType": "StructuredDocumentation",
              "src": "9172:305:128",
              "text": "@notice Calculates 1 / x, rounding toward zero.\n @dev Requirements:\n - x cannot be zero.\n @param x The unsigned 60.18-decimal fixed-point number for which to calculate the inverse.\n @return result The inverse as an unsigned 60.18-decimal fixed-point number."
            },
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "inv",
            "nameLocation": "9491:3:128",
            "parameters": {
              "id": 26378,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 26377,
                  "mutability": "mutable",
                  "name": "x",
                  "nameLocation": "9503:1:128",
                  "nodeType": "VariableDeclaration",
                  "scope": 26390,
                  "src": "9495:9:128",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 26376,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "9495:7:128",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "9494:11:128"
            },
            "returnParameters": {
              "id": 26381,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 26380,
                  "mutability": "mutable",
                  "name": "result",
                  "nameLocation": "9537:6:128",
                  "nodeType": "VariableDeclaration",
                  "scope": 26390,
                  "src": "9529:14:128",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 26379,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "9529:7:128",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "9528:16:128"
            },
            "scope": 26717,
            "stateMutability": "pure",
            "virtual": false,
            "visibility": "internal"
          },
          {
            "id": 26411,
            "nodeType": "FunctionDefinition",
            "src": "10224:322:128",
            "nodes": [],
            "body": {
              "id": 26410,
              "nodeType": "Block",
              "src": "10286:260:128",
              "nodes": [],
              "statements": [
                {
                  "id": 26409,
                  "nodeType": "UncheckedBlock",
                  "src": "10470:70:128",
                  "statements": [
                    {
                      "expression": {
                        "id": 26407,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftHandSide": {
                          "id": 26398,
                          "name": "result",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 26396,
                          "src": "10494:6:128",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "Assignment",
                        "operator": "=",
                        "rightHandSide": {
                          "commonType": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          "id": 26406,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftExpression": {
                            "components": [
                              {
                                "commonType": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                },
                                "id": 26403,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "leftExpression": {
                                  "arguments": [
                                    {
                                      "id": 26400,
                                      "name": "x",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": 26393,
                                      "src": "10509:1:128",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      }
                                    }
                                  ],
                                  "expression": {
                                    "argumentTypes": [
                                      {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      }
                                    ],
                                    "id": 26399,
                                    "name": "log2",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 26531,
                                    "src": "10504:4:128",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_function_internal_pure$_t_uint256_$returns$_t_uint256_$",
                                      "typeString": "function (uint256) pure returns (uint256)"
                                    }
                                  },
                                  "id": 26401,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "kind": "functionCall",
                                  "lValueRequested": false,
                                  "names": [],
                                  "nodeType": "FunctionCall",
                                  "src": "10504:7:128",
                                  "tryCall": false,
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "nodeType": "BinaryOperation",
                                "operator": "*",
                                "rightExpression": {
                                  "id": 26402,
                                  "name": "SCALE",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 26131,
                                  "src": "10514:5:128",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "src": "10504:15:128",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              }
                            ],
                            "id": 26404,
                            "isConstant": false,
                            "isInlineArray": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "nodeType": "TupleExpression",
                            "src": "10503:17:128",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "BinaryOperation",
                          "operator": "/",
                          "rightExpression": {
                            "id": 26405,
                            "name": "LOG2_E",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 26119,
                            "src": "10523:6:128",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "src": "10503:26:128",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "src": "10494:35:128",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "id": 26408,
                      "nodeType": "ExpressionStatement",
                      "src": "10494:35:128"
                    }
                  ]
                }
              ]
            },
            "documentation": {
              "id": 26391,
              "nodeType": "StructuredDocumentation",
              "src": "9657:562:128",
              "text": "@notice Calculates the natural logarithm of x.\n @dev Based on the insight that ln(x) = log2(x) / log2(e).\n Requirements:\n - All from \"log2\".\n Caveats:\n - All from \"log2\".\n - This doesn't return exactly 1 for 2.718281828459045235, for that we would need more fine-grained precision.\n @param x The unsigned 60.18-decimal fixed-point number for which to calculate the natural logarithm.\n @return result The natural logarithm as an unsigned 60.18-decimal fixed-point number."
            },
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "ln",
            "nameLocation": "10233:2:128",
            "parameters": {
              "id": 26394,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 26393,
                  "mutability": "mutable",
                  "name": "x",
                  "nameLocation": "10244:1:128",
                  "nodeType": "VariableDeclaration",
                  "scope": 26411,
                  "src": "10236:9:128",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 26392,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "10236:7:128",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "10235:11:128"
            },
            "returnParameters": {
              "id": 26397,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 26396,
                  "mutability": "mutable",
                  "name": "result",
                  "nameLocation": "10278:6:128",
                  "nodeType": "VariableDeclaration",
                  "scope": 26411,
                  "src": "10270:14:128",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 26395,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "10270:7:128",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "10269:16:128"
            },
            "scope": 26717,
            "stateMutability": "pure",
            "virtual": false,
            "visibility": "internal"
          },
          {
            "id": 26447,
            "nodeType": "FunctionDefinition",
            "src": "11119:7576:128",
            "nodes": [],
            "body": {
              "id": 26446,
              "nodeType": "Block",
              "src": "11184:7511:128",
              "nodes": [],
              "statements": [
                {
                  "condition": {
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 26421,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "id": 26419,
                      "name": "x",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 26414,
                      "src": "11198:1:128",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "<",
                    "rightExpression": {
                      "id": 26420,
                      "name": "SCALE",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 26131,
                      "src": "11202:5:128",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "11198:9:128",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 26427,
                  "nodeType": "IfStatement",
                  "src": "11194:82:128",
                  "trueBody": {
                    "id": 26426,
                    "nodeType": "Block",
                    "src": "11209:67:128",
                    "statements": [
                      {
                        "errorCall": {
                          "arguments": [
                            {
                              "id": 26423,
                              "name": "x",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 26414,
                              "src": "11263:1:128",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            ],
                            "id": 26422,
                            "name": "PRBMathUD60x18__LogInputTooSmall",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 24357,
                            "src": "11230:32:128",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_error_pure$_t_uint256_$returns$__$",
                              "typeString": "function (uint256) pure"
                            }
                          },
                          "id": 26424,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "11230:35:128",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$__$",
                            "typeString": "tuple()"
                          }
                        },
                        "id": 26425,
                        "nodeType": "RevertStatement",
                        "src": "11223:42:128"
                      }
                    ]
                  }
                },
                {
                  "AST": {
                    "nodeType": "YulBlock",
                    "src": "11469:6975:128",
                    "statements": [
                      {
                        "cases": [
                          {
                            "body": {
                              "nodeType": "YulBlock",
                              "src": "11511:36:128",
                              "statements": [
                                {
                                  "nodeType": "YulAssignment",
                                  "src": "11513:32:128",
                                  "value": {
                                    "arguments": [
                                      {
                                        "name": "SCALE",
                                        "nodeType": "YulIdentifier",
                                        "src": "11527:5:128"
                                      },
                                      {
                                        "arguments": [
                                          {
                                            "kind": "number",
                                            "nodeType": "YulLiteral",
                                            "src": "11538:1:128",
                                            "type": "",
                                            "value": "0"
                                          },
                                          {
                                            "kind": "number",
                                            "nodeType": "YulLiteral",
                                            "src": "11541:2:128",
                                            "type": "",
                                            "value": "18"
                                          }
                                        ],
                                        "functionName": {
                                          "name": "sub",
                                          "nodeType": "YulIdentifier",
                                          "src": "11534:3:128"
                                        },
                                        "nodeType": "YulFunctionCall",
                                        "src": "11534:10:128"
                                      }
                                    ],
                                    "functionName": {
                                      "name": "mul",
                                      "nodeType": "YulIdentifier",
                                      "src": "11523:3:128"
                                    },
                                    "nodeType": "YulFunctionCall",
                                    "src": "11523:22:128"
                                  },
                                  "variableNames": [
                                    {
                                      "name": "result",
                                      "nodeType": "YulIdentifier",
                                      "src": "11513:6:128"
                                    }
                                  ]
                                }
                              ]
                            },
                            "nodeType": "YulCase",
                            "src": "11504:43:128",
                            "value": {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "11509:1:128",
                              "type": "",
                              "value": "1"
                            }
                          },
                          {
                            "body": {
                              "nodeType": "YulBlock",
                              "src": "11568:36:128",
                              "statements": [
                                {
                                  "nodeType": "YulAssignment",
                                  "src": "11570:32:128",
                                  "value": {
                                    "arguments": [
                                      {
                                        "name": "SCALE",
                                        "nodeType": "YulIdentifier",
                                        "src": "11584:5:128"
                                      },
                                      {
                                        "arguments": [
                                          {
                                            "kind": "number",
                                            "nodeType": "YulLiteral",
                                            "src": "11595:1:128",
                                            "type": "",
                                            "value": "1"
                                          },
                                          {
                                            "kind": "number",
                                            "nodeType": "YulLiteral",
                                            "src": "11598:2:128",
                                            "type": "",
                                            "value": "18"
                                          }
                                        ],
                                        "functionName": {
                                          "name": "sub",
                                          "nodeType": "YulIdentifier",
                                          "src": "11591:3:128"
                                        },
                                        "nodeType": "YulFunctionCall",
                                        "src": "11591:10:128"
                                      }
                                    ],
                                    "functionName": {
                                      "name": "mul",
                                      "nodeType": "YulIdentifier",
                                      "src": "11580:3:128"
                                    },
                                    "nodeType": "YulFunctionCall",
                                    "src": "11580:22:128"
                                  },
                                  "variableNames": [
                                    {
                                      "name": "result",
                                      "nodeType": "YulIdentifier",
                                      "src": "11570:6:128"
                                    }
                                  ]
                                }
                              ]
                            },
                            "nodeType": "YulCase",
                            "src": "11560:44:128",
                            "value": {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "11565:2:128",
                              "type": "",
                              "value": "10"
                            }
                          },
                          {
                            "body": {
                              "nodeType": "YulBlock",
                              "src": "11626:36:128",
                              "statements": [
                                {
                                  "nodeType": "YulAssignment",
                                  "src": "11628:32:128",
                                  "value": {
                                    "arguments": [
                                      {
                                        "name": "SCALE",
                                        "nodeType": "YulIdentifier",
                                        "src": "11642:5:128"
                                      },
                                      {
                                        "arguments": [
                                          {
                                            "kind": "number",
                                            "nodeType": "YulLiteral",
                                            "src": "11653:1:128",
                                            "type": "",
                                            "value": "2"
                                          },
                                          {
                                            "kind": "number",
                                            "nodeType": "YulLiteral",
                                            "src": "11656:2:128",
                                            "type": "",
                                            "value": "18"
                                          }
                                        ],
                                        "functionName": {
                                          "name": "sub",
                                          "nodeType": "YulIdentifier",
                                          "src": "11649:3:128"
                                        },
                                        "nodeType": "YulFunctionCall",
                                        "src": "11649:10:128"
                                      }
                                    ],
                                    "functionName": {
                                      "name": "mul",
                                      "nodeType": "YulIdentifier",
                                      "src": "11638:3:128"
                                    },
                                    "nodeType": "YulFunctionCall",
                                    "src": "11638:22:128"
                                  },
                                  "variableNames": [
                                    {
                                      "name": "result",
                                      "nodeType": "YulIdentifier",
                                      "src": "11628:6:128"
                                    }
                                  ]
                                }
                              ]
                            },
                            "nodeType": "YulCase",
                            "src": "11617:45:128",
                            "value": {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "11622:3:128",
                              "type": "",
                              "value": "100"
                            }
                          },
                          {
                            "body": {
                              "nodeType": "YulBlock",
                              "src": "11685:36:128",
                              "statements": [
                                {
                                  "nodeType": "YulAssignment",
                                  "src": "11687:32:128",
                                  "value": {
                                    "arguments": [
                                      {
                                        "name": "SCALE",
                                        "nodeType": "YulIdentifier",
                                        "src": "11701:5:128"
                                      },
                                      {
                                        "arguments": [
                                          {
                                            "kind": "number",
                                            "nodeType": "YulLiteral",
                                            "src": "11712:1:128",
                                            "type": "",
                                            "value": "3"
                                          },
                                          {
                                            "kind": "number",
                                            "nodeType": "YulLiteral",
                                            "src": "11715:2:128",
                                            "type": "",
                                            "value": "18"
                                          }
                                        ],
                                        "functionName": {
                                          "name": "sub",
                                          "nodeType": "YulIdentifier",
                                          "src": "11708:3:128"
                                        },
                                        "nodeType": "YulFunctionCall",
                                        "src": "11708:10:128"
                                      }
                                    ],
                                    "functionName": {
                                      "name": "mul",
                                      "nodeType": "YulIdentifier",
                                      "src": "11697:3:128"
                                    },
                                    "nodeType": "YulFunctionCall",
                                    "src": "11697:22:128"
                                  },
                                  "variableNames": [
                                    {
                                      "name": "result",
                                      "nodeType": "YulIdentifier",
                                      "src": "11687:6:128"
                                    }
                                  ]
                                }
                              ]
                            },
                            "nodeType": "YulCase",
                            "src": "11675:46:128",
                            "value": {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "11680:4:128",
                              "type": "",
                              "value": "1000"
                            }
                          },
                          {
                            "body": {
                              "nodeType": "YulBlock",
                              "src": "11745:36:128",
                              "statements": [
                                {
                                  "nodeType": "YulAssignment",
                                  "src": "11747:32:128",
                                  "value": {
                                    "arguments": [
                                      {
                                        "name": "SCALE",
                                        "nodeType": "YulIdentifier",
                                        "src": "11761:5:128"
                                      },
                                      {
                                        "arguments": [
                                          {
                                            "kind": "number",
                                            "nodeType": "YulLiteral",
                                            "src": "11772:1:128",
                                            "type": "",
                                            "value": "4"
                                          },
                                          {
                                            "kind": "number",
                                            "nodeType": "YulLiteral",
                                            "src": "11775:2:128",
                                            "type": "",
                                            "value": "18"
                                          }
                                        ],
                                        "functionName": {
                                          "name": "sub",
                                          "nodeType": "YulIdentifier",
                                          "src": "11768:3:128"
                                        },
                                        "nodeType": "YulFunctionCall",
                                        "src": "11768:10:128"
                                      }
                                    ],
                                    "functionName": {
                                      "name": "mul",
                                      "nodeType": "YulIdentifier",
                                      "src": "11757:3:128"
                                    },
                                    "nodeType": "YulFunctionCall",
                                    "src": "11757:22:128"
                                  },
                                  "variableNames": [
                                    {
                                      "name": "result",
                                      "nodeType": "YulIdentifier",
                                      "src": "11747:6:128"
                                    }
                                  ]
                                }
                              ]
                            },
                            "nodeType": "YulCase",
                            "src": "11734:47:128",
                            "value": {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "11739:5:128",
                              "type": "",
                              "value": "10000"
                            }
                          },
                          {
                            "body": {
                              "nodeType": "YulBlock",
                              "src": "11806:36:128",
                              "statements": [
                                {
                                  "nodeType": "YulAssignment",
                                  "src": "11808:32:128",
                                  "value": {
                                    "arguments": [
                                      {
                                        "name": "SCALE",
                                        "nodeType": "YulIdentifier",
                                        "src": "11822:5:128"
                                      },
                                      {
                                        "arguments": [
                                          {
                                            "kind": "number",
                                            "nodeType": "YulLiteral",
                                            "src": "11833:1:128",
                                            "type": "",
                                            "value": "5"
                                          },
                                          {
                                            "kind": "number",
                                            "nodeType": "YulLiteral",
                                            "src": "11836:2:128",
                                            "type": "",
                                            "value": "18"
                                          }
                                        ],
                                        "functionName": {
                                          "name": "sub",
                                          "nodeType": "YulIdentifier",
                                          "src": "11829:3:128"
                                        },
                                        "nodeType": "YulFunctionCall",
                                        "src": "11829:10:128"
                                      }
                                    ],
                                    "functionName": {
                                      "name": "mul",
                                      "nodeType": "YulIdentifier",
                                      "src": "11818:3:128"
                                    },
                                    "nodeType": "YulFunctionCall",
                                    "src": "11818:22:128"
                                  },
                                  "variableNames": [
                                    {
                                      "name": "result",
                                      "nodeType": "YulIdentifier",
                                      "src": "11808:6:128"
                                    }
                                  ]
                                }
                              ]
                            },
                            "nodeType": "YulCase",
                            "src": "11794:48:128",
                            "value": {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "11799:6:128",
                              "type": "",
                              "value": "100000"
                            }
                          },
                          {
                            "body": {
                              "nodeType": "YulBlock",
                              "src": "11868:36:128",
                              "statements": [
                                {
                                  "nodeType": "YulAssignment",
                                  "src": "11870:32:128",
                                  "value": {
                                    "arguments": [
                                      {
                                        "name": "SCALE",
                                        "nodeType": "YulIdentifier",
                                        "src": "11884:5:128"
                                      },
                                      {
                                        "arguments": [
                                          {
                                            "kind": "number",
                                            "nodeType": "YulLiteral",
                                            "src": "11895:1:128",
                                            "type": "",
                                            "value": "6"
                                          },
                                          {
                                            "kind": "number",
                                            "nodeType": "YulLiteral",
                                            "src": "11898:2:128",
                                            "type": "",
                                            "value": "18"
                                          }
                                        ],
                                        "functionName": {
                                          "name": "sub",
                                          "nodeType": "YulIdentifier",
                                          "src": "11891:3:128"
                                        },
                                        "nodeType": "YulFunctionCall",
                                        "src": "11891:10:128"
                                      }
                                    ],
                                    "functionName": {
                                      "name": "mul",
                                      "nodeType": "YulIdentifier",
                                      "src": "11880:3:128"
                                    },
                                    "nodeType": "YulFunctionCall",
                                    "src": "11880:22:128"
                                  },
                                  "variableNames": [
                                    {
                                      "name": "result",
                                      "nodeType": "YulIdentifier",
                                      "src": "11870:6:128"
                                    }
                                  ]
                                }
                              ]
                            },
                            "nodeType": "YulCase",
                            "src": "11855:49:128",
                            "value": {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "11860:7:128",
                              "type": "",
                              "value": "1000000"
                            }
                          },
                          {
                            "body": {
                              "nodeType": "YulBlock",
                              "src": "11931:36:128",
                              "statements": [
                                {
                                  "nodeType": "YulAssignment",
                                  "src": "11933:32:128",
                                  "value": {
                                    "arguments": [
                                      {
                                        "name": "SCALE",
                                        "nodeType": "YulIdentifier",
                                        "src": "11947:5:128"
                                      },
                                      {
                                        "arguments": [
                                          {
                                            "kind": "number",
                                            "nodeType": "YulLiteral",
                                            "src": "11958:1:128",
                                            "type": "",
                                            "value": "7"
                                          },
                                          {
                                            "kind": "number",
                                            "nodeType": "YulLiteral",
                                            "src": "11961:2:128",
                                            "type": "",
                                            "value": "18"
                                          }
                                        ],
                                        "functionName": {
                                          "name": "sub",
                                          "nodeType": "YulIdentifier",
                                          "src": "11954:3:128"
                                        },
                                        "nodeType": "YulFunctionCall",
                                        "src": "11954:10:128"
                                      }
                                    ],
                                    "functionName": {
                                      "name": "mul",
                                      "nodeType": "YulIdentifier",
                                      "src": "11943:3:128"
                                    },
                                    "nodeType": "YulFunctionCall",
                                    "src": "11943:22:128"
                                  },
                                  "variableNames": [
                                    {
                                      "name": "result",
                                      "nodeType": "YulIdentifier",
                                      "src": "11933:6:128"
                                    }
                                  ]
                                }
                              ]
                            },
                            "nodeType": "YulCase",
                            "src": "11917:50:128",
                            "value": {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "11922:8:128",
                              "type": "",
                              "value": "10000000"
                            }
                          },
                          {
                            "body": {
                              "nodeType": "YulBlock",
                              "src": "11995:36:128",
                              "statements": [
                                {
                                  "nodeType": "YulAssignment",
                                  "src": "11997:32:128",
                                  "value": {
                                    "arguments": [
                                      {
                                        "name": "SCALE",
                                        "nodeType": "YulIdentifier",
                                        "src": "12011:5:128"
                                      },
                                      {
                                        "arguments": [
                                          {
                                            "kind": "number",
                                            "nodeType": "YulLiteral",
                                            "src": "12022:1:128",
                                            "type": "",
                                            "value": "8"
                                          },
                                          {
                                            "kind": "number",
                                            "nodeType": "YulLiteral",
                                            "src": "12025:2:128",
                                            "type": "",
                                            "value": "18"
                                          }
                                        ],
                                        "functionName": {
                                          "name": "sub",
                                          "nodeType": "YulIdentifier",
                                          "src": "12018:3:128"
                                        },
                                        "nodeType": "YulFunctionCall",
                                        "src": "12018:10:128"
                                      }
                                    ],
                                    "functionName": {
                                      "name": "mul",
                                      "nodeType": "YulIdentifier",
                                      "src": "12007:3:128"
                                    },
                                    "nodeType": "YulFunctionCall",
                                    "src": "12007:22:128"
                                  },
                                  "variableNames": [
                                    {
                                      "name": "result",
                                      "nodeType": "YulIdentifier",
                                      "src": "11997:6:128"
                                    }
                                  ]
                                }
                              ]
                            },
                            "nodeType": "YulCase",
                            "src": "11980:51:128",
                            "value": {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "11985:9:128",
                              "type": "",
                              "value": "100000000"
                            }
                          },
                          {
                            "body": {
                              "nodeType": "YulBlock",
                              "src": "12060:36:128",
                              "statements": [
                                {
                                  "nodeType": "YulAssignment",
                                  "src": "12062:32:128",
                                  "value": {
                                    "arguments": [
                                      {
                                        "name": "SCALE",
                                        "nodeType": "YulIdentifier",
                                        "src": "12076:5:128"
                                      },
                                      {
                                        "arguments": [
                                          {
                                            "kind": "number",
                                            "nodeType": "YulLiteral",
                                            "src": "12087:1:128",
                                            "type": "",
                                            "value": "9"
                                          },
                                          {
                                            "kind": "number",
                                            "nodeType": "YulLiteral",
                                            "src": "12090:2:128",
                                            "type": "",
                                            "value": "18"
                                          }
                                        ],
                                        "functionName": {
                                          "name": "sub",
                                          "nodeType": "YulIdentifier",
                                          "src": "12083:3:128"
                                        },
                                        "nodeType": "YulFunctionCall",
                                        "src": "12083:10:128"
                                      }
                                    ],
                                    "functionName": {
                                      "name": "mul",
                                      "nodeType": "YulIdentifier",
                                      "src": "12072:3:128"
                                    },
                                    "nodeType": "YulFunctionCall",
                                    "src": "12072:22:128"
                                  },
                                  "variableNames": [
                                    {
                                      "name": "result",
                                      "nodeType": "YulIdentifier",
                                      "src": "12062:6:128"
                                    }
                                  ]
                                }
                              ]
                            },
                            "nodeType": "YulCase",
                            "src": "12044:52:128",
                            "value": {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "12049:10:128",
                              "type": "",
                              "value": "1000000000"
                            }
                          },
                          {
                            "body": {
                              "nodeType": "YulBlock",
                              "src": "12126:37:128",
                              "statements": [
                                {
                                  "nodeType": "YulAssignment",
                                  "src": "12128:33:128",
                                  "value": {
                                    "arguments": [
                                      {
                                        "name": "SCALE",
                                        "nodeType": "YulIdentifier",
                                        "src": "12142:5:128"
                                      },
                                      {
                                        "arguments": [
                                          {
                                            "kind": "number",
                                            "nodeType": "YulLiteral",
                                            "src": "12153:2:128",
                                            "type": "",
                                            "value": "10"
                                          },
                                          {
                                            "kind": "number",
                                            "nodeType": "YulLiteral",
                                            "src": "12157:2:128",
                                            "type": "",
                                            "value": "18"
                                          }
                                        ],
                                        "functionName": {
                                          "name": "sub",
                                          "nodeType": "YulIdentifier",
                                          "src": "12149:3:128"
                                        },
                                        "nodeType": "YulFunctionCall",
                                        "src": "12149:11:128"
                                      }
                                    ],
                                    "functionName": {
                                      "name": "mul",
                                      "nodeType": "YulIdentifier",
                                      "src": "12138:3:128"
                                    },
                                    "nodeType": "YulFunctionCall",
                                    "src": "12138:23:128"
                                  },
                                  "variableNames": [
                                    {
                                      "name": "result",
                                      "nodeType": "YulIdentifier",
                                      "src": "12128:6:128"
                                    }
                                  ]
                                }
                              ]
                            },
                            "nodeType": "YulCase",
                            "src": "12109:54:128",
                            "value": {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "12114:11:128",
                              "type": "",
                              "value": "10000000000"
                            }
                          },
                          {
                            "body": {
                              "nodeType": "YulBlock",
                              "src": "12194:37:128",
                              "statements": [
                                {
                                  "nodeType": "YulAssignment",
                                  "src": "12196:33:128",
                                  "value": {
                                    "arguments": [
                                      {
                                        "name": "SCALE",
                                        "nodeType": "YulIdentifier",
                                        "src": "12210:5:128"
                                      },
                                      {
                                        "arguments": [
                                          {
                                            "kind": "number",
                                            "nodeType": "YulLiteral",
                                            "src": "12221:2:128",
                                            "type": "",
                                            "value": "11"
                                          },
                                          {
                                            "kind": "number",
                                            "nodeType": "YulLiteral",
                                            "src": "12225:2:128",
                                            "type": "",
                                            "value": "18"
                                          }
                                        ],
                                        "functionName": {
                                          "name": "sub",
                                          "nodeType": "YulIdentifier",
                                          "src": "12217:3:128"
                                        },
                                        "nodeType": "YulFunctionCall",
                                        "src": "12217:11:128"
                                      }
                                    ],
                                    "functionName": {
                                      "name": "mul",
                                      "nodeType": "YulIdentifier",
                                      "src": "12206:3:128"
                                    },
                                    "nodeType": "YulFunctionCall",
                                    "src": "12206:23:128"
                                  },
                                  "variableNames": [
                                    {
                                      "name": "result",
                                      "nodeType": "YulIdentifier",
                                      "src": "12196:6:128"
                                    }
                                  ]
                                }
                              ]
                            },
                            "nodeType": "YulCase",
                            "src": "12176:55:128",
                            "value": {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "12181:12:128",
                              "type": "",
                              "value": "100000000000"
                            }
                          },
                          {
                            "body": {
                              "nodeType": "YulBlock",
                              "src": "12263:37:128",
                              "statements": [
                                {
                                  "nodeType": "YulAssignment",
                                  "src": "12265:33:128",
                                  "value": {
                                    "arguments": [
                                      {
                                        "name": "SCALE",
                                        "nodeType": "YulIdentifier",
                                        "src": "12279:5:128"
                                      },
                                      {
                                        "arguments": [
                                          {
                                            "kind": "number",
                                            "nodeType": "YulLiteral",
                                            "src": "12290:2:128",
                                            "type": "",
                                            "value": "12"
                                          },
                                          {
                                            "kind": "number",
                                            "nodeType": "YulLiteral",
                                            "src": "12294:2:128",
                                            "type": "",
                                            "value": "18"
                                          }
                                        ],
                                        "functionName": {
                                          "name": "sub",
                                          "nodeType": "YulIdentifier",
                                          "src": "12286:3:128"
                                        },
                                        "nodeType": "YulFunctionCall",
                                        "src": "12286:11:128"
                                      }
                                    ],
                                    "functionName": {
                                      "name": "mul",
                                      "nodeType": "YulIdentifier",
                                      "src": "12275:3:128"
                                    },
                                    "nodeType": "YulFunctionCall",
                                    "src": "12275:23:128"
                                  },
                                  "variableNames": [
                                    {
                                      "name": "result",
                                      "nodeType": "YulIdentifier",
                                      "src": "12265:6:128"
                                    }
                                  ]
                                }
                              ]
                            },
                            "nodeType": "YulCase",
                            "src": "12244:56:128",
                            "value": {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "12249:13:128",
                              "type": "",
                              "value": "1000000000000"
                            }
                          },
                          {
                            "body": {
                              "nodeType": "YulBlock",
                              "src": "12333:37:128",
                              "statements": [
                                {
                                  "nodeType": "YulAssignment",
                                  "src": "12335:33:128",
                                  "value": {
                                    "arguments": [
                                      {
                                        "name": "SCALE",
                                        "nodeType": "YulIdentifier",
                                        "src": "12349:5:128"
                                      },
                                      {
                                        "arguments": [
                                          {
                                            "kind": "number",
                                            "nodeType": "YulLiteral",
                                            "src": "12360:2:128",
                                            "type": "",
                                            "value": "13"
                                          },
                                          {
                                            "kind": "number",
                                            "nodeType": "YulLiteral",
                                            "src": "12364:2:128",
                                            "type": "",
                                            "value": "18"
                                          }
                                        ],
                                        "functionName": {
                                          "name": "sub",
                                          "nodeType": "YulIdentifier",
                                          "src": "12356:3:128"
                                        },
                                        "nodeType": "YulFunctionCall",
                                        "src": "12356:11:128"
                                      }
                                    ],
                                    "functionName": {
                                      "name": "mul",
                                      "nodeType": "YulIdentifier",
                                      "src": "12345:3:128"
                                    },
                                    "nodeType": "YulFunctionCall",
                                    "src": "12345:23:128"
                                  },
                                  "variableNames": [
                                    {
                                      "name": "result",
                                      "nodeType": "YulIdentifier",
                                      "src": "12335:6:128"
                                    }
                                  ]
                                }
                              ]
                            },
                            "nodeType": "YulCase",
                            "src": "12313:57:128",
                            "value": {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "12318:14:128",
                              "type": "",
                              "value": "10000000000000"
                            }
                          },
                          {
                            "body": {
                              "nodeType": "YulBlock",
                              "src": "12404:37:128",
                              "statements": [
                                {
                                  "nodeType": "YulAssignment",
                                  "src": "12406:33:128",
                                  "value": {
                                    "arguments": [
                                      {
                                        "name": "SCALE",
                                        "nodeType": "YulIdentifier",
                                        "src": "12420:5:128"
                                      },
                                      {
                                        "arguments": [
                                          {
                                            "kind": "number",
                                            "nodeType": "YulLiteral",
                                            "src": "12431:2:128",
                                            "type": "",
                                            "value": "14"
                                          },
                                          {
                                            "kind": "number",
                                            "nodeType": "YulLiteral",
                                            "src": "12435:2:128",
                                            "type": "",
                                            "value": "18"
                                          }
                                        ],
                                        "functionName": {
                                          "name": "sub",
                                          "nodeType": "YulIdentifier",
                                          "src": "12427:3:128"
                                        },
                                        "nodeType": "YulFunctionCall",
                                        "src": "12427:11:128"
                                      }
                                    ],
                                    "functionName": {
                                      "name": "mul",
                                      "nodeType": "YulIdentifier",
                                      "src": "12416:3:128"
                                    },
                                    "nodeType": "YulFunctionCall",
                                    "src": "12416:23:128"
                                  },
                                  "variableNames": [
                                    {
                                      "name": "result",
                                      "nodeType": "YulIdentifier",
                                      "src": "12406:6:128"
                                    }
                                  ]
                                }
                              ]
                            },
                            "nodeType": "YulCase",
                            "src": "12383:58:128",
                            "value": {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "12388:15:128",
                              "type": "",
                              "value": "100000000000000"
                            }
                          },
                          {
                            "body": {
                              "nodeType": "YulBlock",
                              "src": "12476:37:128",
                              "statements": [
                                {
                                  "nodeType": "YulAssignment",
                                  "src": "12478:33:128",
                                  "value": {
                                    "arguments": [
                                      {
                                        "name": "SCALE",
                                        "nodeType": "YulIdentifier",
                                        "src": "12492:5:128"
                                      },
                                      {
                                        "arguments": [
                                          {
                                            "kind": "number",
                                            "nodeType": "YulLiteral",
                                            "src": "12503:2:128",
                                            "type": "",
                                            "value": "15"
                                          },
                                          {
                                            "kind": "number",
                                            "nodeType": "YulLiteral",
                                            "src": "12507:2:128",
                                            "type": "",
                                            "value": "18"
                                          }
                                        ],
                                        "functionName": {
                                          "name": "sub",
                                          "nodeType": "YulIdentifier",
                                          "src": "12499:3:128"
                                        },
                                        "nodeType": "YulFunctionCall",
                                        "src": "12499:11:128"
                                      }
                                    ],
                                    "functionName": {
                                      "name": "mul",
                                      "nodeType": "YulIdentifier",
                                      "src": "12488:3:128"
                                    },
                                    "nodeType": "YulFunctionCall",
                                    "src": "12488:23:128"
                                  },
                                  "variableNames": [
                                    {
                                      "name": "result",
                                      "nodeType": "YulIdentifier",
                                      "src": "12478:6:128"
                                    }
                                  ]
                                }
                              ]
                            },
                            "nodeType": "YulCase",
                            "src": "12454:59:128",
                            "value": {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "12459:16:128",
                              "type": "",
                              "value": "1000000000000000"
                            }
                          },
                          {
                            "body": {
                              "nodeType": "YulBlock",
                              "src": "12549:37:128",
                              "statements": [
                                {
                                  "nodeType": "YulAssignment",
                                  "src": "12551:33:128",
                                  "value": {
                                    "arguments": [
                                      {
                                        "name": "SCALE",
                                        "nodeType": "YulIdentifier",
                                        "src": "12565:5:128"
                                      },
                                      {
                                        "arguments": [
                                          {
                                            "kind": "number",
                                            "nodeType": "YulLiteral",
                                            "src": "12576:2:128",
                                            "type": "",
                                            "value": "16"
                                          },
                                          {
                                            "kind": "number",
                                            "nodeType": "YulLiteral",
                                            "src": "12580:2:128",
                                            "type": "",
                                            "value": "18"
                                          }
                                        ],
                                        "functionName": {
                                          "name": "sub",
                                          "nodeType": "YulIdentifier",
                                          "src": "12572:3:128"
                                        },
                                        "nodeType": "YulFunctionCall",
                                        "src": "12572:11:128"
                                      }
                                    ],
                                    "functionName": {
                                      "name": "mul",
                                      "nodeType": "YulIdentifier",
                                      "src": "12561:3:128"
                                    },
                                    "nodeType": "YulFunctionCall",
                                    "src": "12561:23:128"
                                  },
                                  "variableNames": [
                                    {
                                      "name": "result",
                                      "nodeType": "YulIdentifier",
                                      "src": "12551:6:128"
                                    }
                                  ]
                                }
                              ]
                            },
                            "nodeType": "YulCase",
                            "src": "12526:60:128",
                            "value": {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "12531:17:128",
                              "type": "",
                              "value": "10000000000000000"
                            }
                          },
                          {
                            "body": {
                              "nodeType": "YulBlock",
                              "src": "12623:37:128",
                              "statements": [
                                {
                                  "nodeType": "YulAssignment",
                                  "src": "12625:33:128",
                                  "value": {
                                    "arguments": [
                                      {
                                        "name": "SCALE",
                                        "nodeType": "YulIdentifier",
                                        "src": "12639:5:128"
                                      },
                                      {
                                        "arguments": [
                                          {
                                            "kind": "number",
                                            "nodeType": "YulLiteral",
                                            "src": "12650:2:128",
                                            "type": "",
                                            "value": "17"
                                          },
                                          {
                                            "kind": "number",
                                            "nodeType": "YulLiteral",
                                            "src": "12654:2:128",
                                            "type": "",
                                            "value": "18"
                                          }
                                        ],
                                        "functionName": {
                                          "name": "sub",
                                          "nodeType": "YulIdentifier",
                                          "src": "12646:3:128"
                                        },
                                        "nodeType": "YulFunctionCall",
                                        "src": "12646:11:128"
                                      }
                                    ],
                                    "functionName": {
                                      "name": "mul",
                                      "nodeType": "YulIdentifier",
                                      "src": "12635:3:128"
                                    },
                                    "nodeType": "YulFunctionCall",
                                    "src": "12635:23:128"
                                  },
                                  "variableNames": [
                                    {
                                      "name": "result",
                                      "nodeType": "YulIdentifier",
                                      "src": "12625:6:128"
                                    }
                                  ]
                                }
                              ]
                            },
                            "nodeType": "YulCase",
                            "src": "12599:61:128",
                            "value": {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "12604:18:128",
                              "type": "",
                              "value": "100000000000000000"
                            }
                          },
                          {
                            "body": {
                              "nodeType": "YulBlock",
                              "src": "12698:15:128",
                              "statements": [
                                {
                                  "nodeType": "YulAssignment",
                                  "src": "12700:11:128",
                                  "value": {
                                    "kind": "number",
                                    "nodeType": "YulLiteral",
                                    "src": "12710:1:128",
                                    "type": "",
                                    "value": "0"
                                  },
                                  "variableNames": [
                                    {
                                      "name": "result",
                                      "nodeType": "YulIdentifier",
                                      "src": "12700:6:128"
                                    }
                                  ]
                                }
                              ]
                            },
                            "nodeType": "YulCase",
                            "src": "12673:40:128",
                            "value": {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "12678:19:128",
                              "type": "",
                              "value": "1000000000000000000"
                            }
                          },
                          {
                            "body": {
                              "nodeType": "YulBlock",
                              "src": "12752:19:128",
                              "statements": [
                                {
                                  "nodeType": "YulAssignment",
                                  "src": "12754:15:128",
                                  "value": {
                                    "name": "SCALE",
                                    "nodeType": "YulIdentifier",
                                    "src": "12764:5:128"
                                  },
                                  "variableNames": [
                                    {
                                      "name": "result",
                                      "nodeType": "YulIdentifier",
                                      "src": "12754:6:128"
                                    }
                                  ]
                                }
                              ]
                            },
                            "nodeType": "YulCase",
                            "src": "12726:45:128",
                            "value": {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "12731:20:128",
                              "type": "",
                              "value": "10000000000000000000"
                            }
                          },
                          {
                            "body": {
                              "nodeType": "YulBlock",
                              "src": "12811:27:128",
                              "statements": [
                                {
                                  "nodeType": "YulAssignment",
                                  "src": "12813:23:128",
                                  "value": {
                                    "arguments": [
                                      {
                                        "name": "SCALE",
                                        "nodeType": "YulIdentifier",
                                        "src": "12827:5:128"
                                      },
                                      {
                                        "kind": "number",
                                        "nodeType": "YulLiteral",
                                        "src": "12834:1:128",
                                        "type": "",
                                        "value": "2"
                                      }
                                    ],
                                    "functionName": {
                                      "name": "mul",
                                      "nodeType": "YulIdentifier",
                                      "src": "12823:3:128"
                                    },
                                    "nodeType": "YulFunctionCall",
                                    "src": "12823:13:128"
                                  },
                                  "variableNames": [
                                    {
                                      "name": "result",
                                      "nodeType": "YulIdentifier",
                                      "src": "12813:6:128"
                                    }
                                  ]
                                }
                              ]
                            },
                            "nodeType": "YulCase",
                            "src": "12784:54:128",
                            "value": {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "12789:21:128",
                              "type": "",
                              "value": "100000000000000000000"
                            }
                          },
                          {
                            "body": {
                              "nodeType": "YulBlock",
                              "src": "12879:27:128",
                              "statements": [
                                {
                                  "nodeType": "YulAssignment",
                                  "src": "12881:23:128",
                                  "value": {
                                    "arguments": [
                                      {
                                        "name": "SCALE",
                                        "nodeType": "YulIdentifier",
                                        "src": "12895:5:128"
                                      },
                                      {
                                        "kind": "number",
                                        "nodeType": "YulLiteral",
                                        "src": "12902:1:128",
                                        "type": "",
                                        "value": "3"
                                      }
                                    ],
                                    "functionName": {
                                      "name": "mul",
                                      "nodeType": "YulIdentifier",
                                      "src": "12891:3:128"
                                    },
                                    "nodeType": "YulFunctionCall",
                                    "src": "12891:13:128"
                                  },
                                  "variableNames": [
                                    {
                                      "name": "result",
                                      "nodeType": "YulIdentifier",
                                      "src": "12881:6:128"
                                    }
                                  ]
                                }
                              ]
                            },
                            "nodeType": "YulCase",
                            "src": "12851:55:128",
                            "value": {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "12856:22:128",
                              "type": "",
                              "value": "1000000000000000000000"
                            }
                          },
                          {
                            "body": {
                              "nodeType": "YulBlock",
                              "src": "12948:27:128",
                              "statements": [
                                {
                                  "nodeType": "YulAssignment",
                                  "src": "12950:23:128",
                                  "value": {
                                    "arguments": [
                                      {
                                        "name": "SCALE",
                                        "nodeType": "YulIdentifier",
                                        "src": "12964:5:128"
                                      },
                                      {
                                        "kind": "number",
                                        "nodeType": "YulLiteral",
                                        "src": "12971:1:128",
                                        "type": "",
                                        "value": "4"
                                      }
                                    ],
                                    "functionName": {
                                      "name": "mul",
                                      "nodeType": "YulIdentifier",
                                      "src": "12960:3:128"
                                    },
                                    "nodeType": "YulFunctionCall",
                                    "src": "12960:13:128"
                                  },
                                  "variableNames": [
                                    {
                                      "name": "result",
                                      "nodeType": "YulIdentifier",
                                      "src": "12950:6:128"
                                    }
                                  ]
                                }
                              ]
                            },
                            "nodeType": "YulCase",
                            "src": "12919:56:128",
                            "value": {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "12924:23:128",
                              "type": "",
                              "value": "10000000000000000000000"
                            }
                          },
                          {
                            "body": {
                              "nodeType": "YulBlock",
                              "src": "13018:27:128",
                              "statements": [
                                {
                                  "nodeType": "YulAssignment",
                                  "src": "13020:23:128",
                                  "value": {
                                    "arguments": [
                                      {
                                        "name": "SCALE",
                                        "nodeType": "YulIdentifier",
                                        "src": "13034:5:128"
                                      },
                                      {
                                        "kind": "number",
                                        "nodeType": "YulLiteral",
                                        "src": "13041:1:128",
                                        "type": "",
                                        "value": "5"
                                      }
                                    ],
                                    "functionName": {
                                      "name": "mul",
                                      "nodeType": "YulIdentifier",
                                      "src": "13030:3:128"
                                    },
                                    "nodeType": "YulFunctionCall",
                                    "src": "13030:13:128"
                                  },
                                  "variableNames": [
                                    {
                                      "name": "result",
                                      "nodeType": "YulIdentifier",
                                      "src": "13020:6:128"
                                    }
                                  ]
                                }
                              ]
                            },
                            "nodeType": "YulCase",
                            "src": "12988:57:128",
                            "value": {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "12993:24:128",
                              "type": "",
                              "value": "100000000000000000000000"
                            }
                          },
                          {
                            "body": {
                              "nodeType": "YulBlock",
                              "src": "13089:27:128",
                              "statements": [
                                {
                                  "nodeType": "YulAssignment",
                                  "src": "13091:23:128",
                                  "value": {
                                    "arguments": [
                                      {
                                        "name": "SCALE",
                                        "nodeType": "YulIdentifier",
                                        "src": "13105:5:128"
                                      },
                                      {
                                        "kind": "number",
                                        "nodeType": "YulLiteral",
                                        "src": "13112:1:128",
                                        "type": "",
                                        "value": "6"
                                      }
                                    ],
                                    "functionName": {
                                      "name": "mul",
                                      "nodeType": "YulIdentifier",
                                      "src": "13101:3:128"
                                    },
                                    "nodeType": "YulFunctionCall",
                                    "src": "13101:13:128"
                                  },
                                  "variableNames": [
                                    {
                                      "name": "result",
                                      "nodeType": "YulIdentifier",
                                      "src": "13091:6:128"
                                    }
                                  ]
                                }
                              ]
                            },
                            "nodeType": "YulCase",
                            "src": "13058:58:128",
                            "value": {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "13063:25:128",
                              "type": "",
                              "value": "1000000000000000000000000"
                            }
                          },
                          {
                            "body": {
                              "nodeType": "YulBlock",
                              "src": "13161:27:128",
                              "statements": [
                                {
                                  "nodeType": "YulAssignment",
                                  "src": "13163:23:128",
                                  "value": {
                                    "arguments": [
                                      {
                                        "name": "SCALE",
                                        "nodeType": "YulIdentifier",
                                        "src": "13177:5:128"
                                      },
                                      {
                                        "kind": "number",
                                        "nodeType": "YulLiteral",
                                        "src": "13184:1:128",
                                        "type": "",
                                        "value": "7"
                                      }
                                    ],
                                    "functionName": {
                                      "name": "mul",
                                      "nodeType": "YulIdentifier",
                                      "src": "13173:3:128"
                                    },
                                    "nodeType": "YulFunctionCall",
                                    "src": "13173:13:128"
                                  },
                                  "variableNames": [
                                    {
                                      "name": "result",
                                      "nodeType": "YulIdentifier",
                                      "src": "13163:6:128"
                                    }
                                  ]
                                }
                              ]
                            },
                            "nodeType": "YulCase",
                            "src": "13129:59:128",
                            "value": {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "13134:26:128",
                              "type": "",
                              "value": "10000000000000000000000000"
                            }
                          },
                          {
                            "body": {
                              "nodeType": "YulBlock",
                              "src": "13234:27:128",
                              "statements": [
                                {
                                  "nodeType": "YulAssignment",
                                  "src": "13236:23:128",
                                  "value": {
                                    "arguments": [
                                      {
                                        "name": "SCALE",
                                        "nodeType": "YulIdentifier",
                                        "src": "13250:5:128"
                                      },
                                      {
                                        "kind": "number",
                                        "nodeType": "YulLiteral",
                                        "src": "13257:1:128",
                                        "type": "",
                                        "value": "8"
                                      }
                                    ],
                                    "functionName": {
                                      "name": "mul",
                                      "nodeType": "YulIdentifier",
                                      "src": "13246:3:128"
                                    },
                                    "nodeType": "YulFunctionCall",
                                    "src": "13246:13:128"
                                  },
                                  "variableNames": [
                                    {
                                      "name": "result",
                                      "nodeType": "YulIdentifier",
                                      "src": "13236:6:128"
                                    }
                                  ]
                                }
                              ]
                            },
                            "nodeType": "YulCase",
                            "src": "13201:60:128",
                            "value": {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "13206:27:128",
                              "type": "",
                              "value": "100000000000000000000000000"
                            }
                          },
                          {
                            "body": {
                              "nodeType": "YulBlock",
                              "src": "13308:27:128",
                              "statements": [
                                {
                                  "nodeType": "YulAssignment",
                                  "src": "13310:23:128",
                                  "value": {
                                    "arguments": [
                                      {
                                        "name": "SCALE",
                                        "nodeType": "YulIdentifier",
                                        "src": "13324:5:128"
                                      },
                                      {
                                        "kind": "number",
                                        "nodeType": "YulLiteral",
                                        "src": "13331:1:128",
                                        "type": "",
                                        "value": "9"
                                      }
                                    ],
                                    "functionName": {
                                      "name": "mul",
                                      "nodeType": "YulIdentifier",
                                      "src": "13320:3:128"
                                    },
                                    "nodeType": "YulFunctionCall",
                                    "src": "13320:13:128"
                                  },
                                  "variableNames": [
                                    {
                                      "name": "result",
                                      "nodeType": "YulIdentifier",
                                      "src": "13310:6:128"
                                    }
                                  ]
                                }
                              ]
                            },
                            "nodeType": "YulCase",
                            "src": "13274:61:128",
                            "value": {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "13279:28:128",
                              "type": "",
                              "value": "1000000000000000000000000000"
                            }
                          },
                          {
                            "body": {
                              "nodeType": "YulBlock",
                              "src": "13383:28:128",
                              "statements": [
                                {
                                  "nodeType": "YulAssignment",
                                  "src": "13385:24:128",
                                  "value": {
                                    "arguments": [
                                      {
                                        "name": "SCALE",
                                        "nodeType": "YulIdentifier",
                                        "src": "13399:5:128"
                                      },
                                      {
                                        "kind": "number",
                                        "nodeType": "YulLiteral",
                                        "src": "13406:2:128",
                                        "type": "",
                                        "value": "10"
                                      }
                                    ],
                                    "functionName": {
                                      "name": "mul",
                                      "nodeType": "YulIdentifier",
                                      "src": "13395:3:128"
                                    },
                                    "nodeType": "YulFunctionCall",
                                    "src": "13395:14:128"
                                  },
                                  "variableNames": [
                                    {
                                      "name": "result",
                                      "nodeType": "YulIdentifier",
                                      "src": "13385:6:128"
                                    }
                                  ]
                                }
                              ]
                            },
                            "nodeType": "YulCase",
                            "src": "13348:63:128",
                            "value": {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "13353:29:128",
                              "type": "",
                              "value": "10000000000000000000000000000"
                            }
                          },
                          {
                            "body": {
                              "nodeType": "YulBlock",
                              "src": "13460:28:128",
                              "statements": [
                                {
                                  "nodeType": "YulAssignment",
                                  "src": "13462:24:128",
                                  "value": {
                                    "arguments": [
                                      {
                                        "name": "SCALE",
                                        "nodeType": "YulIdentifier",
                                        "src": "13476:5:128"
                                      },
                                      {
                                        "kind": "number",
                                        "nodeType": "YulLiteral",
                                        "src": "13483:2:128",
                                        "type": "",
                                        "value": "11"
                                      }
                                    ],
                                    "functionName": {
                                      "name": "mul",
                                      "nodeType": "YulIdentifier",
                                      "src": "13472:3:128"
                                    },
                                    "nodeType": "YulFunctionCall",
                                    "src": "13472:14:128"
                                  },
                                  "variableNames": [
                                    {
                                      "name": "result",
                                      "nodeType": "YulIdentifier",
                                      "src": "13462:6:128"
                                    }
                                  ]
                                }
                              ]
                            },
                            "nodeType": "YulCase",
                            "src": "13424:64:128",
                            "value": {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "13429:30:128",
                              "type": "",
                              "value": "100000000000000000000000000000"
                            }
                          },
                          {
                            "body": {
                              "nodeType": "YulBlock",
                              "src": "13538:28:128",
                              "statements": [
                                {
                                  "nodeType": "YulAssignment",
                                  "src": "13540:24:128",
                                  "value": {
                                    "arguments": [
                                      {
                                        "name": "SCALE",
                                        "nodeType": "YulIdentifier",
                                        "src": "13554:5:128"
                                      },
                                      {
                                        "kind": "number",
                                        "nodeType": "YulLiteral",
                                        "src": "13561:2:128",
                                        "type": "",
                                        "value": "12"
                                      }
                                    ],
                                    "functionName": {
                                      "name": "mul",
                                      "nodeType": "YulIdentifier",
                                      "src": "13550:3:128"
                                    },
                                    "nodeType": "YulFunctionCall",
                                    "src": "13550:14:128"
                                  },
                                  "variableNames": [
                                    {
                                      "name": "result",
                                      "nodeType": "YulIdentifier",
                                      "src": "13540:6:128"
                                    }
                                  ]
                                }
                              ]
                            },
                            "nodeType": "YulCase",
                            "src": "13501:65:128",
                            "value": {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "13506:31:128",
                              "type": "",
                              "value": "1000000000000000000000000000000"
                            }
                          },
                          {
                            "body": {
                              "nodeType": "YulBlock",
                              "src": "13617:28:128",
                              "statements": [
                                {
                                  "nodeType": "YulAssignment",
                                  "src": "13619:24:128",
                                  "value": {
                                    "arguments": [
                                      {
                                        "name": "SCALE",
                                        "nodeType": "YulIdentifier",
                                        "src": "13633:5:128"
                                      },
                                      {
                                        "kind": "number",
                                        "nodeType": "YulLiteral",
                                        "src": "13640:2:128",
                                        "type": "",
                                        "value": "13"
                                      }
                                    ],
                                    "functionName": {
                                      "name": "mul",
                                      "nodeType": "YulIdentifier",
                                      "src": "13629:3:128"
                                    },
                                    "nodeType": "YulFunctionCall",
                                    "src": "13629:14:128"
                                  },
                                  "variableNames": [
                                    {
                                      "name": "result",
                                      "nodeType": "YulIdentifier",
                                      "src": "13619:6:128"
                                    }
                                  ]
                                }
                              ]
                            },
                            "nodeType": "YulCase",
                            "src": "13579:66:128",
                            "value": {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "13584:32:128",
                              "type": "",
                              "value": "10000000000000000000000000000000"
                            }
                          },
                          {
                            "body": {
                              "nodeType": "YulBlock",
                              "src": "13697:28:128",
                              "statements": [
                                {
                                  "nodeType": "YulAssignment",
                                  "src": "13699:24:128",
                                  "value": {
                                    "arguments": [
                                      {
                                        "name": "SCALE",
                                        "nodeType": "YulIdentifier",
                                        "src": "13713:5:128"
                                      },
                                      {
                                        "kind": "number",
                                        "nodeType": "YulLiteral",
                                        "src": "13720:2:128",
                                        "type": "",
                                        "value": "14"
                                      }
                                    ],
                                    "functionName": {
                                      "name": "mul",
                                      "nodeType": "YulIdentifier",
                                      "src": "13709:3:128"
                                    },
                                    "nodeType": "YulFunctionCall",
                                    "src": "13709:14:128"
                                  },
                                  "variableNames": [
                                    {
                                      "name": "result",
                                      "nodeType": "YulIdentifier",
                                      "src": "13699:6:128"
                                    }
                                  ]
                                }
                              ]
                            },
                            "nodeType": "YulCase",
                            "src": "13658:67:128",
                            "value": {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "13663:33:128",
                              "type": "",
                              "value": "100000000000000000000000000000000"
                            }
                          },
                          {
                            "body": {
                              "nodeType": "YulBlock",
                              "src": "13778:28:128",
                              "statements": [
                                {
                                  "nodeType": "YulAssignment",
                                  "src": "13780:24:128",
                                  "value": {
                                    "arguments": [
                                      {
                                        "name": "SCALE",
                                        "nodeType": "YulIdentifier",
                                        "src": "13794:5:128"
                                      },
                                      {
                                        "kind": "number",
                                        "nodeType": "YulLiteral",
                                        "src": "13801:2:128",
                                        "type": "",
                                        "value": "15"
                                      }
                                    ],
                                    "functionName": {
                                      "name": "mul",
                                      "nodeType": "YulIdentifier",
                                      "src": "13790:3:128"
                                    },
                                    "nodeType": "YulFunctionCall",
                                    "src": "13790:14:128"
                                  },
                                  "variableNames": [
                                    {
                                      "name": "result",
                                      "nodeType": "YulIdentifier",
                                      "src": "13780:6:128"
                                    }
                                  ]
                                }
                              ]
                            },
                            "nodeType": "YulCase",
                            "src": "13738:68:128",
                            "value": {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "13743:34:128",
                              "type": "",
                              "value": "1000000000000000000000000000000000"
                            }
                          },
                          {
                            "body": {
                              "nodeType": "YulBlock",
                              "src": "13860:28:128",
                              "statements": [
                                {
                                  "nodeType": "YulAssignment",
                                  "src": "13862:24:128",
                                  "value": {
                                    "arguments": [
                                      {
                                        "name": "SCALE",
                                        "nodeType": "YulIdentifier",
                                        "src": "13876:5:128"
                                      },
                                      {
                                        "kind": "number",
                                        "nodeType": "YulLiteral",
                                        "src": "13883:2:128",
                                        "type": "",
                                        "value": "16"
                                      }
                                    ],
                                    "functionName": {
                                      "name": "mul",
                                      "nodeType": "YulIdentifier",
                                      "src": "13872:3:128"
                                    },
                                    "nodeType": "YulFunctionCall",
                                    "src": "13872:14:128"
                                  },
                                  "variableNames": [
                                    {
                                      "name": "result",
                                      "nodeType": "YulIdentifier",
                                      "src": "13862:6:128"
                                    }
                                  ]
                                }
                              ]
                            },
                            "nodeType": "YulCase",
                            "src": "13819:69:128",
                            "value": {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "13824:35:128",
                              "type": "",
                              "value": "10000000000000000000000000000000000"
                            }
                          },
                          {
                            "body": {
                              "nodeType": "YulBlock",
                              "src": "13943:28:128",
                              "statements": [
                                {
                                  "nodeType": "YulAssignment",
                                  "src": "13945:24:128",
                                  "value": {
                                    "arguments": [
                                      {
                                        "name": "SCALE",
                                        "nodeType": "YulIdentifier",
                                        "src": "13959:5:128"
                                      },
                                      {
                                        "kind": "number",
                                        "nodeType": "YulLiteral",
                                        "src": "13966:2:128",
                                        "type": "",
                                        "value": "17"
                                      }
                                    ],
                                    "functionName": {
                                      "name": "mul",
                                      "nodeType": "YulIdentifier",
                                      "src": "13955:3:128"
                                    },
                                    "nodeType": "YulFunctionCall",
                                    "src": "13955:14:128"
                                  },
                                  "variableNames": [
                                    {
                                      "name": "result",
                                      "nodeType": "YulIdentifier",
                                      "src": "13945:6:128"
                                    }
                                  ]
                                }
                              ]
                            },
                            "nodeType": "YulCase",
                            "src": "13901:70:128",
                            "value": {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "13906:36:128",
                              "type": "",
                              "value": "100000000000000000000000000000000000"
                            }
                          },
                          {
                            "body": {
                              "nodeType": "YulBlock",
                              "src": "14027:28:128",
                              "statements": [
                                {
                                  "nodeType": "YulAssignment",
                                  "src": "14029:24:128",
                                  "value": {
                                    "arguments": [
                                      {
                                        "name": "SCALE",
                                        "nodeType": "YulIdentifier",
                                        "src": "14043:5:128"
                                      },
                                      {
                                        "kind": "number",
                                        "nodeType": "YulLiteral",
                                        "src": "14050:2:128",
                                        "type": "",
                                        "value": "18"
                                      }
                                    ],
                                    "functionName": {
                                      "name": "mul",
                                      "nodeType": "YulIdentifier",
                                      "src": "14039:3:128"
                                    },
                                    "nodeType": "YulFunctionCall",
                                    "src": "14039:14:128"
                                  },
                                  "variableNames": [
                                    {
                                      "name": "result",
                                      "nodeType": "YulIdentifier",
                                      "src": "14029:6:128"
                                    }
                                  ]
                                }
                              ]
                            },
                            "nodeType": "YulCase",
                            "src": "13984:71:128",
                            "value": {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "13989:37:128",
                              "type": "",
                              "value": "1000000000000000000000000000000000000"
                            }
                          },
                          {
                            "body": {
                              "nodeType": "YulBlock",
                              "src": "14112:28:128",
                              "statements": [
                                {
                                  "nodeType": "YulAssignment",
                                  "src": "14114:24:128",
                                  "value": {
                                    "arguments": [
                                      {
                                        "name": "SCALE",
                                        "nodeType": "YulIdentifier",
                                        "src": "14128:5:128"
                                      },
                                      {
                                        "kind": "number",
                                        "nodeType": "YulLiteral",
                                        "src": "14135:2:128",
                                        "type": "",
                                        "value": "19"
                                      }
                                    ],
                                    "functionName": {
                                      "name": "mul",
                                      "nodeType": "YulIdentifier",
                                      "src": "14124:3:128"
                                    },
                                    "nodeType": "YulFunctionCall",
                                    "src": "14124:14:128"
                                  },
                                  "variableNames": [
                                    {
                                      "name": "result",
                                      "nodeType": "YulIdentifier",
                                      "src": "14114:6:128"
                                    }
                                  ]
                                }
                              ]
                            },
                            "nodeType": "YulCase",
                            "src": "14068:72:128",
                            "value": {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "14073:38:128",
                              "type": "",
                              "value": "10000000000000000000000000000000000000"
                            }
                          },
                          {
                            "body": {
                              "nodeType": "YulBlock",
                              "src": "14198:28:128",
                              "statements": [
                                {
                                  "nodeType": "YulAssignment",
                                  "src": "14200:24:128",
                                  "value": {
                                    "arguments": [
                                      {
                                        "name": "SCALE",
                                        "nodeType": "YulIdentifier",
                                        "src": "14214:5:128"
                                      },
                                      {
                                        "kind": "number",
                                        "nodeType": "YulLiteral",
                                        "src": "14221:2:128",
                                        "type": "",
                                        "value": "20"
                                      }
                                    ],
                                    "functionName": {
                                      "name": "mul",
                                      "nodeType": "YulIdentifier",
                                      "src": "14210:3:128"
                                    },
                                    "nodeType": "YulFunctionCall",
                                    "src": "14210:14:128"
                                  },
                                  "variableNames": [
                                    {
                                      "name": "result",
                                      "nodeType": "YulIdentifier",
                                      "src": "14200:6:128"
                                    }
                                  ]
                                }
                              ]
                            },
                            "nodeType": "YulCase",
                            "src": "14153:73:128",
                            "value": {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "14158:39:128",
                              "type": "",
                              "value": "100000000000000000000000000000000000000"
                            }
                          },
                          {
                            "body": {
                              "nodeType": "YulBlock",
                              "src": "14285:28:128",
                              "statements": [
                                {
                                  "nodeType": "YulAssignment",
                                  "src": "14287:24:128",
                                  "value": {
                                    "arguments": [
                                      {
                                        "name": "SCALE",
                                        "nodeType": "YulIdentifier",
                                        "src": "14301:5:128"
                                      },
                                      {
                                        "kind": "number",
                                        "nodeType": "YulLiteral",
                                        "src": "14308:2:128",
                                        "type": "",
                                        "value": "21"
                                      }
                                    ],
                                    "functionName": {
                                      "name": "mul",
                                      "nodeType": "YulIdentifier",
                                      "src": "14297:3:128"
                                    },
                                    "nodeType": "YulFunctionCall",
                                    "src": "14297:14:128"
                                  },
                                  "variableNames": [
                                    {
                                      "name": "result",
                                      "nodeType": "YulIdentifier",
                                      "src": "14287:6:128"
                                    }
                                  ]
                                }
                              ]
                            },
                            "nodeType": "YulCase",
                            "src": "14239:74:128",
                            "value": {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "14244:40:128",
                              "type": "",
                              "value": "1000000000000000000000000000000000000000"
                            }
                          },
                          {
                            "body": {
                              "nodeType": "YulBlock",
                              "src": "14373:28:128",
                              "statements": [
                                {
                                  "nodeType": "YulAssignment",
                                  "src": "14375:24:128",
                                  "value": {
                                    "arguments": [
                                      {
                                        "name": "SCALE",
                                        "nodeType": "YulIdentifier",
                                        "src": "14389:5:128"
                                      },
                                      {
                                        "kind": "number",
                                        "nodeType": "YulLiteral",
                                        "src": "14396:2:128",
                                        "type": "",
                                        "value": "22"
                                      }
                                    ],
                                    "functionName": {
                                      "name": "mul",
                                      "nodeType": "YulIdentifier",
                                      "src": "14385:3:128"
                                    },
                                    "nodeType": "YulFunctionCall",
                                    "src": "14385:14:128"
                                  },
                                  "variableNames": [
                                    {
                                      "name": "result",
                                      "nodeType": "YulIdentifier",
                                      "src": "14375:6:128"
                                    }
                                  ]
                                }
                              ]
                            },
                            "nodeType": "YulCase",
                            "src": "14326:75:128",
                            "value": {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "14331:41:128",
                              "type": "",
                              "value": "10000000000000000000000000000000000000000"
                            }
                          },
                          {
                            "body": {
                              "nodeType": "YulBlock",
                              "src": "14462:28:128",
                              "statements": [
                                {
                                  "nodeType": "YulAssignment",
                                  "src": "14464:24:128",
                                  "value": {
                                    "arguments": [
                                      {
                                        "name": "SCALE",
                                        "nodeType": "YulIdentifier",
                                        "src": "14478:5:128"
                                      },
                                      {
                                        "kind": "number",
                                        "nodeType": "YulLiteral",
                                        "src": "14485:2:128",
                                        "type": "",
                                        "value": "23"
                                      }
                                    ],
                                    "functionName": {
                                      "name": "mul",
                                      "nodeType": "YulIdentifier",
                                      "src": "14474:3:128"
                                    },
                                    "nodeType": "YulFunctionCall",
                                    "src": "14474:14:128"
                                  },
                                  "variableNames": [
                                    {
                                      "name": "result",
                                      "nodeType": "YulIdentifier",
                                      "src": "14464:6:128"
                                    }
                                  ]
                                }
                              ]
                            },
                            "nodeType": "YulCase",
                            "src": "14414:76:128",
                            "value": {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "14419:42:128",
                              "type": "",
                              "value": "100000000000000000000000000000000000000000"
                            }
                          },
                          {
                            "body": {
                              "nodeType": "YulBlock",
                              "src": "14552:28:128",
                              "statements": [
                                {
                                  "nodeType": "YulAssignment",
                                  "src": "14554:24:128",
                                  "value": {
                                    "arguments": [
                                      {
                                        "name": "SCALE",
                                        "nodeType": "YulIdentifier",
                                        "src": "14568:5:128"
                                      },
                                      {
                                        "kind": "number",
                                        "nodeType": "YulLiteral",
                                        "src": "14575:2:128",
                                        "type": "",
                                        "value": "24"
                                      }
                                    ],
                                    "functionName": {
                                      "name": "mul",
                                      "nodeType": "YulIdentifier",
                                      "src": "14564:3:128"
                                    },
                                    "nodeType": "YulFunctionCall",
                                    "src": "14564:14:128"
                                  },
                                  "variableNames": [
                                    {
                                      "name": "result",
                                      "nodeType": "YulIdentifier",
                                      "src": "14554:6:128"
                                    }
                                  ]
                                }
                              ]
                            },
                            "nodeType": "YulCase",
                            "src": "14503:77:128",
                            "value": {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "14508:43:128",
                              "type": "",
                              "value": "1000000000000000000000000000000000000000000"
                            }
                          },
                          {
                            "body": {
                              "nodeType": "YulBlock",
                              "src": "14643:28:128",
                              "statements": [
                                {
                                  "nodeType": "YulAssignment",
                                  "src": "14645:24:128",
                                  "value": {
                                    "arguments": [
                                      {
                                        "name": "SCALE",
                                        "nodeType": "YulIdentifier",
                                        "src": "14659:5:128"
                                      },
                                      {
                                        "kind": "number",
                                        "nodeType": "YulLiteral",
                                        "src": "14666:2:128",
                                        "type": "",
                                        "value": "25"
                                      }
                                    ],
                                    "functionName": {
                                      "name": "mul",
                                      "nodeType": "YulIdentifier",
                                      "src": "14655:3:128"
                                    },
                                    "nodeType": "YulFunctionCall",
                                    "src": "14655:14:128"
                                  },
                                  "variableNames": [
                                    {
                                      "name": "result",
                                      "nodeType": "YulIdentifier",
                                      "src": "14645:6:128"
                                    }
                                  ]
                                }
                              ]
                            },
                            "nodeType": "YulCase",
                            "src": "14593:78:128",
                            "value": {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "14598:44:128",
                              "type": "",
                              "value": "10000000000000000000000000000000000000000000"
                            }
                          },
                          {
                            "body": {
                              "nodeType": "YulBlock",
                              "src": "14735:28:128",
                              "statements": [
                                {
                                  "nodeType": "YulAssignment",
                                  "src": "14737:24:128",
                                  "value": {
                                    "arguments": [
                                      {
                                        "name": "SCALE",
                                        "nodeType": "YulIdentifier",
                                        "src": "14751:5:128"
                                      },
                                      {
                                        "kind": "number",
                                        "nodeType": "YulLiteral",
                                        "src": "14758:2:128",
                                        "type": "",
                                        "value": "26"
                                      }
                                    ],
                                    "functionName": {
                                      "name": "mul",
                                      "nodeType": "YulIdentifier",
                                      "src": "14747:3:128"
                                    },
                                    "nodeType": "YulFunctionCall",
                                    "src": "14747:14:128"
                                  },
                                  "variableNames": [
                                    {
                                      "name": "result",
                                      "nodeType": "YulIdentifier",
                                      "src": "14737:6:128"
                                    }
                                  ]
                                }
                              ]
                            },
                            "nodeType": "YulCase",
                            "src": "14684:79:128",
                            "value": {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "14689:45:128",
                              "type": "",
                              "value": "100000000000000000000000000000000000000000000"
                            }
                          },
                          {
                            "body": {
                              "nodeType": "YulBlock",
                              "src": "14828:28:128",
                              "statements": [
                                {
                                  "nodeType": "YulAssignment",
                                  "src": "14830:24:128",
                                  "value": {
                                    "arguments": [
                                      {
                                        "name": "SCALE",
                                        "nodeType": "YulIdentifier",
                                        "src": "14844:5:128"
                                      },
                                      {
                                        "kind": "number",
                                        "nodeType": "YulLiteral",
                                        "src": "14851:2:128",
                                        "type": "",
                                        "value": "27"
                                      }
                                    ],
                                    "functionName": {
                                      "name": "mul",
                                      "nodeType": "YulIdentifier",
                                      "src": "14840:3:128"
                                    },
                                    "nodeType": "YulFunctionCall",
                                    "src": "14840:14:128"
                                  },
                                  "variableNames": [
                                    {
                                      "name": "result",
                                      "nodeType": "YulIdentifier",
                                      "src": "14830:6:128"
                                    }
                                  ]
                                }
                              ]
                            },
                            "nodeType": "YulCase",
                            "src": "14776:80:128",
                            "value": {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "14781:46:128",
                              "type": "",
                              "value": "1000000000000000000000000000000000000000000000"
                            }
                          },
                          {
                            "body": {
                              "nodeType": "YulBlock",
                              "src": "14922:28:128",
                              "statements": [
                                {
                                  "nodeType": "YulAssignment",
                                  "src": "14924:24:128",
                                  "value": {
                                    "arguments": [
                                      {
                                        "name": "SCALE",
                                        "nodeType": "YulIdentifier",
                                        "src": "14938:5:128"
                                      },
                                      {
                                        "kind": "number",
                                        "nodeType": "YulLiteral",
                                        "src": "14945:2:128",
                                        "type": "",
                                        "value": "28"
                                      }
                                    ],
                                    "functionName": {
                                      "name": "mul",
                                      "nodeType": "YulIdentifier",
                                      "src": "14934:3:128"
                                    },
                                    "nodeType": "YulFunctionCall",
                                    "src": "14934:14:128"
                                  },
                                  "variableNames": [
                                    {
                                      "name": "result",
                                      "nodeType": "YulIdentifier",
                                      "src": "14924:6:128"
                                    }
                                  ]
                                }
                              ]
                            },
                            "nodeType": "YulCase",
                            "src": "14869:81:128",
                            "value": {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "14874:47:128",
                              "type": "",
                              "value": "10000000000000000000000000000000000000000000000"
                            }
                          },
                          {
                            "body": {
                              "nodeType": "YulBlock",
                              "src": "15017:28:128",
                              "statements": [
                                {
                                  "nodeType": "YulAssignment",
                                  "src": "15019:24:128",
                                  "value": {
                                    "arguments": [
                                      {
                                        "name": "SCALE",
                                        "nodeType": "YulIdentifier",
                                        "src": "15033:5:128"
                                      },
                                      {
                                        "kind": "number",
                                        "nodeType": "YulLiteral",
                                        "src": "15040:2:128",
                                        "type": "",
                                        "value": "29"
                                      }
                                    ],
                                    "functionName": {
                                      "name": "mul",
                                      "nodeType": "YulIdentifier",
                                      "src": "15029:3:128"
                                    },
                                    "nodeType": "YulFunctionCall",
                                    "src": "15029:14:128"
                                  },
                                  "variableNames": [
                                    {
                                      "name": "result",
                                      "nodeType": "YulIdentifier",
                                      "src": "15019:6:128"
                                    }
                                  ]
                                }
                              ]
                            },
                            "nodeType": "YulCase",
                            "src": "14963:82:128",
                            "value": {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "14968:48:128",
                              "type": "",
                              "value": "100000000000000000000000000000000000000000000000"
                            }
                          },
                          {
                            "body": {
                              "nodeType": "YulBlock",
                              "src": "15113:28:128",
                              "statements": [
                                {
                                  "nodeType": "YulAssignment",
                                  "src": "15115:24:128",
                                  "value": {
                                    "arguments": [
                                      {
                                        "name": "SCALE",
                                        "nodeType": "YulIdentifier",
                                        "src": "15129:5:128"
                                      },
                                      {
                                        "kind": "number",
                                        "nodeType": "YulLiteral",
                                        "src": "15136:2:128",
                                        "type": "",
                                        "value": "30"
                                      }
                                    ],
                                    "functionName": {
                                      "name": "mul",
                                      "nodeType": "YulIdentifier",
                                      "src": "15125:3:128"
                                    },
                                    "nodeType": "YulFunctionCall",
                                    "src": "15125:14:128"
                                  },
                                  "variableNames": [
                                    {
                                      "name": "result",
                                      "nodeType": "YulIdentifier",
                                      "src": "15115:6:128"
                                    }
                                  ]
                                }
                              ]
                            },
                            "nodeType": "YulCase",
                            "src": "15058:83:128",
                            "value": {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "15063:49:128",
                              "type": "",
                              "value": "1000000000000000000000000000000000000000000000000"
                            }
                          },
                          {
                            "body": {
                              "nodeType": "YulBlock",
                              "src": "15210:28:128",
                              "statements": [
                                {
                                  "nodeType": "YulAssignment",
                                  "src": "15212:24:128",
                                  "value": {
                                    "arguments": [
                                      {
                                        "name": "SCALE",
                                        "nodeType": "YulIdentifier",
                                        "src": "15226:5:128"
                                      },
                                      {
                                        "kind": "number",
                                        "nodeType": "YulLiteral",
                                        "src": "15233:2:128",
                                        "type": "",
                                        "value": "31"
                                      }
                                    ],
                                    "functionName": {
                                      "name": "mul",
                                      "nodeType": "YulIdentifier",
                                      "src": "15222:3:128"
                                    },
                                    "nodeType": "YulFunctionCall",
                                    "src": "15222:14:128"
                                  },
                                  "variableNames": [
                                    {
                                      "name": "result",
                                      "nodeType": "YulIdentifier",
                                      "src": "15212:6:128"
                                    }
                                  ]
                                }
                              ]
                            },
                            "nodeType": "YulCase",
                            "src": "15154:84:128",
                            "value": {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "15159:50:128",
                              "type": "",
                              "value": "10000000000000000000000000000000000000000000000000"
                            }
                          },
                          {
                            "body": {
                              "nodeType": "YulBlock",
                              "src": "15308:28:128",
                              "statements": [
                                {
                                  "nodeType": "YulAssignment",
                                  "src": "15310:24:128",
                                  "value": {
                                    "arguments": [
                                      {
                                        "name": "SCALE",
                                        "nodeType": "YulIdentifier",
                                        "src": "15324:5:128"
                                      },
                                      {
                                        "kind": "number",
                                        "nodeType": "YulLiteral",
                                        "src": "15331:2:128",
                                        "type": "",
                                        "value": "32"
                                      }
                                    ],
                                    "functionName": {
                                      "name": "mul",
                                      "nodeType": "YulIdentifier",
                                      "src": "15320:3:128"
                                    },
                                    "nodeType": "YulFunctionCall",
                                    "src": "15320:14:128"
                                  },
                                  "variableNames": [
                                    {
                                      "name": "result",
                                      "nodeType": "YulIdentifier",
                                      "src": "15310:6:128"
                                    }
                                  ]
                                }
                              ]
                            },
                            "nodeType": "YulCase",
                            "src": "15251:85:128",
                            "value": {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "15256:51:128",
                              "type": "",
                              "value": "100000000000000000000000000000000000000000000000000"
                            }
                          },
                          {
                            "body": {
                              "nodeType": "YulBlock",
                              "src": "15407:28:128",
                              "statements": [
                                {
                                  "nodeType": "YulAssignment",
                                  "src": "15409:24:128",
                                  "value": {
                                    "arguments": [
                                      {
                                        "name": "SCALE",
                                        "nodeType": "YulIdentifier",
                                        "src": "15423:5:128"
                                      },
                                      {
                                        "kind": "number",
                                        "nodeType": "YulLiteral",
                                        "src": "15430:2:128",
                                        "type": "",
                                        "value": "33"
                                      }
                                    ],
                                    "functionName": {
                                      "name": "mul",
                                      "nodeType": "YulIdentifier",
                                      "src": "15419:3:128"
                                    },
                                    "nodeType": "YulFunctionCall",
                                    "src": "15419:14:128"
                                  },
                                  "variableNames": [
                                    {
                                      "name": "result",
                                      "nodeType": "YulIdentifier",
                                      "src": "15409:6:128"
                                    }
                                  ]
                                }
                              ]
                            },
                            "nodeType": "YulCase",
                            "src": "15349:86:128",
                            "value": {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "15354:52:128",
                              "type": "",
                              "value": "1000000000000000000000000000000000000000000000000000"
                            }
                          },
                          {
                            "body": {
                              "nodeType": "YulBlock",
                              "src": "15507:28:128",
                              "statements": [
                                {
                                  "nodeType": "YulAssignment",
                                  "src": "15509:24:128",
                                  "value": {
                                    "arguments": [
                                      {
                                        "name": "SCALE",
                                        "nodeType": "YulIdentifier",
                                        "src": "15523:5:128"
                                      },
                                      {
                                        "kind": "number",
                                        "nodeType": "YulLiteral",
                                        "src": "15530:2:128",
                                        "type": "",
                                        "value": "34"
                                      }
                                    ],
                                    "functionName": {
                                      "name": "mul",
                                      "nodeType": "YulIdentifier",
                                      "src": "15519:3:128"
                                    },
                                    "nodeType": "YulFunctionCall",
                                    "src": "15519:14:128"
                                  },
                                  "variableNames": [
                                    {
                                      "name": "result",
                                      "nodeType": "YulIdentifier",
                                      "src": "15509:6:128"
                                    }
                                  ]
                                }
                              ]
                            },
                            "nodeType": "YulCase",
                            "src": "15448:87:128",
                            "value": {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "15453:53:128",
                              "type": "",
                              "value": "10000000000000000000000000000000000000000000000000000"
                            }
                          },
                          {
                            "body": {
                              "nodeType": "YulBlock",
                              "src": "15608:28:128",
                              "statements": [
                                {
                                  "nodeType": "YulAssignment",
                                  "src": "15610:24:128",
                                  "value": {
                                    "arguments": [
                                      {
                                        "name": "SCALE",
                                        "nodeType": "YulIdentifier",
                                        "src": "15624:5:128"
                                      },
                                      {
                                        "kind": "number",
                                        "nodeType": "YulLiteral",
                                        "src": "15631:2:128",
                                        "type": "",
                                        "value": "35"
                                      }
                                    ],
                                    "functionName": {
                                      "name": "mul",
                                      "nodeType": "YulIdentifier",
                                      "src": "15620:3:128"
                                    },
                                    "nodeType": "YulFunctionCall",
                                    "src": "15620:14:128"
                                  },
                                  "variableNames": [
                                    {
                                      "name": "result",
                                      "nodeType": "YulIdentifier",
                                      "src": "15610:6:128"
                                    }
                                  ]
                                }
                              ]
                            },
                            "nodeType": "YulCase",
                            "src": "15548:88:128",
                            "value": {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "15553:54:128",
                              "type": "",
                              "value": "100000000000000000000000000000000000000000000000000000"
                            }
                          },
                          {
                            "body": {
                              "nodeType": "YulBlock",
                              "src": "15710:28:128",
                              "statements": [
                                {
                                  "nodeType": "YulAssignment",
                                  "src": "15712:24:128",
                                  "value": {
                                    "arguments": [
                                      {
                                        "name": "SCALE",
                                        "nodeType": "YulIdentifier",
                                        "src": "15726:5:128"
                                      },
                                      {
                                        "kind": "number",
                                        "nodeType": "YulLiteral",
                                        "src": "15733:2:128",
                                        "type": "",
                                        "value": "36"
                                      }
                                    ],
                                    "functionName": {
                                      "name": "mul",
                                      "nodeType": "YulIdentifier",
                                      "src": "15722:3:128"
                                    },
                                    "nodeType": "YulFunctionCall",
                                    "src": "15722:14:128"
                                  },
                                  "variableNames": [
                                    {
                                      "name": "result",
                                      "nodeType": "YulIdentifier",
                                      "src": "15712:6:128"
                                    }
                                  ]
                                }
                              ]
                            },
                            "nodeType": "YulCase",
                            "src": "15649:89:128",
                            "value": {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "15654:55:128",
                              "type": "",
                              "value": "1000000000000000000000000000000000000000000000000000000"
                            }
                          },
                          {
                            "body": {
                              "nodeType": "YulBlock",
                              "src": "15813:28:128",
                              "statements": [
                                {
                                  "nodeType": "YulAssignment",
                                  "src": "15815:24:128",
                                  "value": {
                                    "arguments": [
                                      {
                                        "name": "SCALE",
                                        "nodeType": "YulIdentifier",
                                        "src": "15829:5:128"
                                      },
                                      {
                                        "kind": "number",
                                        "nodeType": "YulLiteral",
                                        "src": "15836:2:128",
                                        "type": "",
                                        "value": "37"
                                      }
                                    ],
                                    "functionName": {
                                      "name": "mul",
                                      "nodeType": "YulIdentifier",
                                      "src": "15825:3:128"
                                    },
                                    "nodeType": "YulFunctionCall",
                                    "src": "15825:14:128"
                                  },
                                  "variableNames": [
                                    {
                                      "name": "result",
                                      "nodeType": "YulIdentifier",
                                      "src": "15815:6:128"
                                    }
                                  ]
                                }
                              ]
                            },
                            "nodeType": "YulCase",
                            "src": "15751:90:128",
                            "value": {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "15756:56:128",
                              "type": "",
                              "value": "10000000000000000000000000000000000000000000000000000000"
                            }
                          },
                          {
                            "body": {
                              "nodeType": "YulBlock",
                              "src": "15917:28:128",
                              "statements": [
                                {
                                  "nodeType": "YulAssignment",
                                  "src": "15919:24:128",
                                  "value": {
                                    "arguments": [
                                      {
                                        "name": "SCALE",
                                        "nodeType": "YulIdentifier",
                                        "src": "15933:5:128"
                                      },
                                      {
                                        "kind": "number",
                                        "nodeType": "YulLiteral",
                                        "src": "15940:2:128",
                                        "type": "",
                                        "value": "38"
                                      }
                                    ],
                                    "functionName": {
                                      "name": "mul",
                                      "nodeType": "YulIdentifier",
                                      "src": "15929:3:128"
                                    },
                                    "nodeType": "YulFunctionCall",
                                    "src": "15929:14:128"
                                  },
                                  "variableNames": [
                                    {
                                      "name": "result",
                                      "nodeType": "YulIdentifier",
                                      "src": "15919:6:128"
                                    }
                                  ]
                                }
                              ]
                            },
                            "nodeType": "YulCase",
                            "src": "15854:91:128",
                            "value": {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "15859:57:128",
                              "type": "",
                              "value": "100000000000000000000000000000000000000000000000000000000"
                            }
                          },
                          {
                            "body": {
                              "nodeType": "YulBlock",
                              "src": "16022:28:128",
                              "statements": [
                                {
                                  "nodeType": "YulAssignment",
                                  "src": "16024:24:128",
                                  "value": {
                                    "arguments": [
                                      {
                                        "name": "SCALE",
                                        "nodeType": "YulIdentifier",
                                        "src": "16038:5:128"
                                      },
                                      {
                                        "kind": "number",
                                        "nodeType": "YulLiteral",
                                        "src": "16045:2:128",
                                        "type": "",
                                        "value": "39"
                                      }
                                    ],
                                    "functionName": {
                                      "name": "mul",
                                      "nodeType": "YulIdentifier",
                                      "src": "16034:3:128"
                                    },
                                    "nodeType": "YulFunctionCall",
                                    "src": "16034:14:128"
                                  },
                                  "variableNames": [
                                    {
                                      "name": "result",
                                      "nodeType": "YulIdentifier",
                                      "src": "16024:6:128"
                                    }
                                  ]
                                }
                              ]
                            },
                            "nodeType": "YulCase",
                            "src": "15958:92:128",
                            "value": {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "15963:58:128",
                              "type": "",
                              "value": "1000000000000000000000000000000000000000000000000000000000"
                            }
                          },
                          {
                            "body": {
                              "nodeType": "YulBlock",
                              "src": "16128:28:128",
                              "statements": [
                                {
                                  "nodeType": "YulAssignment",
                                  "src": "16130:24:128",
                                  "value": {
                                    "arguments": [
                                      {
                                        "name": "SCALE",
                                        "nodeType": "YulIdentifier",
                                        "src": "16144:5:128"
                                      },
                                      {
                                        "kind": "number",
                                        "nodeType": "YulLiteral",
                                        "src": "16151:2:128",
                                        "type": "",
                                        "value": "40"
                                      }
                                    ],
                                    "functionName": {
                                      "name": "mul",
                                      "nodeType": "YulIdentifier",
                                      "src": "16140:3:128"
                                    },
                                    "nodeType": "YulFunctionCall",
                                    "src": "16140:14:128"
                                  },
                                  "variableNames": [
                                    {
                                      "name": "result",
                                      "nodeType": "YulIdentifier",
                                      "src": "16130:6:128"
                                    }
                                  ]
                                }
                              ]
                            },
                            "nodeType": "YulCase",
                            "src": "16063:93:128",
                            "value": {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "16068:59:128",
                              "type": "",
                              "value": "10000000000000000000000000000000000000000000000000000000000"
                            }
                          },
                          {
                            "body": {
                              "nodeType": "YulBlock",
                              "src": "16235:28:128",
                              "statements": [
                                {
                                  "nodeType": "YulAssignment",
                                  "src": "16237:24:128",
                                  "value": {
                                    "arguments": [
                                      {
                                        "name": "SCALE",
                                        "nodeType": "YulIdentifier",
                                        "src": "16251:5:128"
                                      },
                                      {
                                        "kind": "number",
                                        "nodeType": "YulLiteral",
                                        "src": "16258:2:128",
                                        "type": "",
                                        "value": "41"
                                      }
                                    ],
                                    "functionName": {
                                      "name": "mul",
                                      "nodeType": "YulIdentifier",
                                      "src": "16247:3:128"
                                    },
                                    "nodeType": "YulFunctionCall",
                                    "src": "16247:14:128"
                                  },
                                  "variableNames": [
                                    {
                                      "name": "result",
                                      "nodeType": "YulIdentifier",
                                      "src": "16237:6:128"
                                    }
                                  ]
                                }
                              ]
                            },
                            "nodeType": "YulCase",
                            "src": "16169:94:128",
                            "value": {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "16174:60:128",
                              "type": "",
                              "value": "100000000000000000000000000000000000000000000000000000000000"
                            }
                          },
                          {
                            "body": {
                              "nodeType": "YulBlock",
                              "src": "16343:28:128",
                              "statements": [
                                {
                                  "nodeType": "YulAssignment",
                                  "src": "16345:24:128",
                                  "value": {
                                    "arguments": [
                                      {
                                        "name": "SCALE",
                                        "nodeType": "YulIdentifier",
                                        "src": "16359:5:128"
                                      },
                                      {
                                        "kind": "number",
                                        "nodeType": "YulLiteral",
                                        "src": "16366:2:128",
                                        "type": "",
                                        "value": "42"
                                      }
                                    ],
                                    "functionName": {
                                      "name": "mul",
                                      "nodeType": "YulIdentifier",
                                      "src": "16355:3:128"
                                    },
                                    "nodeType": "YulFunctionCall",
                                    "src": "16355:14:128"
                                  },
                                  "variableNames": [
                                    {
                                      "name": "result",
                                      "nodeType": "YulIdentifier",
                                      "src": "16345:6:128"
                                    }
                                  ]
                                }
                              ]
                            },
                            "nodeType": "YulCase",
                            "src": "16276:95:128",
                            "value": {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "16281:61:128",
                              "type": "",
                              "value": "1000000000000000000000000000000000000000000000000000000000000"
                            }
                          },
                          {
                            "body": {
                              "nodeType": "YulBlock",
                              "src": "16452:28:128",
                              "statements": [
                                {
                                  "nodeType": "YulAssignment",
                                  "src": "16454:24:128",
                                  "value": {
                                    "arguments": [
                                      {
                                        "name": "SCALE",
                                        "nodeType": "YulIdentifier",
                                        "src": "16468:5:128"
                                      },
                                      {
                                        "kind": "number",
                                        "nodeType": "YulLiteral",
                                        "src": "16475:2:128",
                                        "type": "",
                                        "value": "43"
                                      }
                                    ],
                                    "functionName": {
                                      "name": "mul",
                                      "nodeType": "YulIdentifier",
                                      "src": "16464:3:128"
                                    },
                                    "nodeType": "YulFunctionCall",
                                    "src": "16464:14:128"
                                  },
                                  "variableNames": [
                                    {
                                      "name": "result",
                                      "nodeType": "YulIdentifier",
                                      "src": "16454:6:128"
                                    }
                                  ]
                                }
                              ]
                            },
                            "nodeType": "YulCase",
                            "src": "16384:96:128",
                            "value": {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "16389:62:128",
                              "type": "",
                              "value": "10000000000000000000000000000000000000000000000000000000000000"
                            }
                          },
                          {
                            "body": {
                              "nodeType": "YulBlock",
                              "src": "16562:28:128",
                              "statements": [
                                {
                                  "nodeType": "YulAssignment",
                                  "src": "16564:24:128",
                                  "value": {
                                    "arguments": [
                                      {
                                        "name": "SCALE",
                                        "nodeType": "YulIdentifier",
                                        "src": "16578:5:128"
                                      },
                                      {
                                        "kind": "number",
                                        "nodeType": "YulLiteral",
                                        "src": "16585:2:128",
                                        "type": "",
                                        "value": "44"
                                      }
                                    ],
                                    "functionName": {
                                      "name": "mul",
                                      "nodeType": "YulIdentifier",
                                      "src": "16574:3:128"
                                    },
                                    "nodeType": "YulFunctionCall",
                                    "src": "16574:14:128"
                                  },
                                  "variableNames": [
                                    {
                                      "name": "result",
                                      "nodeType": "YulIdentifier",
                                      "src": "16564:6:128"
                                    }
                                  ]
                                }
                              ]
                            },
                            "nodeType": "YulCase",
                            "src": "16493:97:128",
                            "value": {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "16498:63:128",
                              "type": "",
                              "value": "100000000000000000000000000000000000000000000000000000000000000"
                            }
                          },
                          {
                            "body": {
                              "nodeType": "YulBlock",
                              "src": "16673:28:128",
                              "statements": [
                                {
                                  "nodeType": "YulAssignment",
                                  "src": "16675:24:128",
                                  "value": {
                                    "arguments": [
                                      {
                                        "name": "SCALE",
                                        "nodeType": "YulIdentifier",
                                        "src": "16689:5:128"
                                      },
                                      {
                                        "kind": "number",
                                        "nodeType": "YulLiteral",
                                        "src": "16696:2:128",
                                        "type": "",
                                        "value": "45"
                                      }
                                    ],
                                    "functionName": {
                                      "name": "mul",
                                      "nodeType": "YulIdentifier",
                                      "src": "16685:3:128"
                                    },
                                    "nodeType": "YulFunctionCall",
                                    "src": "16685:14:128"
                                  },
                                  "variableNames": [
                                    {
                                      "name": "result",
                                      "nodeType": "YulIdentifier",
                                      "src": "16675:6:128"
                                    }
                                  ]
                                }
                              ]
                            },
                            "nodeType": "YulCase",
                            "src": "16603:98:128",
                            "value": {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "16608:64:128",
                              "type": "",
                              "value": "1000000000000000000000000000000000000000000000000000000000000000"
                            }
                          },
                          {
                            "body": {
                              "nodeType": "YulBlock",
                              "src": "16785:28:128",
                              "statements": [
                                {
                                  "nodeType": "YulAssignment",
                                  "src": "16787:24:128",
                                  "value": {
                                    "arguments": [
                                      {
                                        "name": "SCALE",
                                        "nodeType": "YulIdentifier",
                                        "src": "16801:5:128"
                                      },
                                      {
                                        "kind": "number",
                                        "nodeType": "YulLiteral",
                                        "src": "16808:2:128",
                                        "type": "",
                                        "value": "46"
                                      }
                                    ],
                                    "functionName": {
                                      "name": "mul",
                                      "nodeType": "YulIdentifier",
                                      "src": "16797:3:128"
                                    },
                                    "nodeType": "YulFunctionCall",
                                    "src": "16797:14:128"
                                  },
                                  "variableNames": [
                                    {
                                      "name": "result",
                                      "nodeType": "YulIdentifier",
                                      "src": "16787:6:128"
                                    }
                                  ]
                                }
                              ]
                            },
                            "nodeType": "YulCase",
                            "src": "16714:99:128",
                            "value": {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "16719:65:128",
                              "type": "",
                              "value": "10000000000000000000000000000000000000000000000000000000000000000"
                            }
                          },
                          {
                            "body": {
                              "nodeType": "YulBlock",
                              "src": "16898:28:128",
                              "statements": [
                                {
                                  "nodeType": "YulAssignment",
                                  "src": "16900:24:128",
                                  "value": {
                                    "arguments": [
                                      {
                                        "name": "SCALE",
                                        "nodeType": "YulIdentifier",
                                        "src": "16914:5:128"
                                      },
                                      {
                                        "kind": "number",
                                        "nodeType": "YulLiteral",
                                        "src": "16921:2:128",
                                        "type": "",
                                        "value": "47"
                                      }
                                    ],
                                    "functionName": {
                                      "name": "mul",
                                      "nodeType": "YulIdentifier",
                                      "src": "16910:3:128"
                                    },
                                    "nodeType": "YulFunctionCall",
                                    "src": "16910:14:128"
                                  },
                                  "variableNames": [
                                    {
                                      "name": "result",
                                      "nodeType": "YulIdentifier",
                                      "src": "16900:6:128"
                                    }
                                  ]
                                }
                              ]
                            },
                            "nodeType": "YulCase",
                            "src": "16826:100:128",
                            "value": {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "16831:66:128",
                              "type": "",
                              "value": "100000000000000000000000000000000000000000000000000000000000000000"
                            }
                          },
                          {
                            "body": {
                              "nodeType": "YulBlock",
                              "src": "17012:28:128",
                              "statements": [
                                {
                                  "nodeType": "YulAssignment",
                                  "src": "17014:24:128",
                                  "value": {
                                    "arguments": [
                                      {
                                        "name": "SCALE",
                                        "nodeType": "YulIdentifier",
                                        "src": "17028:5:128"
                                      },
                                      {
                                        "kind": "number",
                                        "nodeType": "YulLiteral",
                                        "src": "17035:2:128",
                                        "type": "",
                                        "value": "48"
                                      }
                                    ],
                                    "functionName": {
                                      "name": "mul",
                                      "nodeType": "YulIdentifier",
                                      "src": "17024:3:128"
                                    },
                                    "nodeType": "YulFunctionCall",
                                    "src": "17024:14:128"
                                  },
                                  "variableNames": [
                                    {
                                      "name": "result",
                                      "nodeType": "YulIdentifier",
                                      "src": "17014:6:128"
                                    }
                                  ]
                                }
                              ]
                            },
                            "nodeType": "YulCase",
                            "src": "16939:101:128",
                            "value": {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "16944:67:128",
                              "type": "",
                              "value": "1000000000000000000000000000000000000000000000000000000000000000000"
                            }
                          },
                          {
                            "body": {
                              "nodeType": "YulBlock",
                              "src": "17127:28:128",
                              "statements": [
                                {
                                  "nodeType": "YulAssignment",
                                  "src": "17129:24:128",
                                  "value": {
                                    "arguments": [
                                      {
                                        "name": "SCALE",
                                        "nodeType": "YulIdentifier",
                                        "src": "17143:5:128"
                                      },
                                      {
                                        "kind": "number",
                                        "nodeType": "YulLiteral",
                                        "src": "17150:2:128",
                                        "type": "",
                                        "value": "49"
                                      }
                                    ],
                                    "functionName": {
                                      "name": "mul",
                                      "nodeType": "YulIdentifier",
                                      "src": "17139:3:128"
                                    },
                                    "nodeType": "YulFunctionCall",
                                    "src": "17139:14:128"
                                  },
                                  "variableNames": [
                                    {
                                      "name": "result",
                                      "nodeType": "YulIdentifier",
                                      "src": "17129:6:128"
                                    }
                                  ]
                                }
                              ]
                            },
                            "nodeType": "YulCase",
                            "src": "17053:102:128",
                            "value": {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "17058:68:128",
                              "type": "",
                              "value": "10000000000000000000000000000000000000000000000000000000000000000000"
                            }
                          },
                          {
                            "body": {
                              "nodeType": "YulBlock",
                              "src": "17243:28:128",
                              "statements": [
                                {
                                  "nodeType": "YulAssignment",
                                  "src": "17245:24:128",
                                  "value": {
                                    "arguments": [
                                      {
                                        "name": "SCALE",
                                        "nodeType": "YulIdentifier",
                                        "src": "17259:5:128"
                                      },
                                      {
                                        "kind": "number",
                                        "nodeType": "YulLiteral",
                                        "src": "17266:2:128",
                                        "type": "",
                                        "value": "50"
                                      }
                                    ],
                                    "functionName": {
                                      "name": "mul",
                                      "nodeType": "YulIdentifier",
                                      "src": "17255:3:128"
                                    },
                                    "nodeType": "YulFunctionCall",
                                    "src": "17255:14:128"
                                  },
                                  "variableNames": [
                                    {
                                      "name": "result",
                                      "nodeType": "YulIdentifier",
                                      "src": "17245:6:128"
                                    }
                                  ]
                                }
                              ]
                            },
                            "nodeType": "YulCase",
                            "src": "17168:103:128",
                            "value": {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "17173:69:128",
                              "type": "",
                              "value": "100000000000000000000000000000000000000000000000000000000000000000000"
                            }
                          },
                          {
                            "body": {
                              "nodeType": "YulBlock",
                              "src": "17360:28:128",
                              "statements": [
                                {
                                  "nodeType": "YulAssignment",
                                  "src": "17362:24:128",
                                  "value": {
                                    "arguments": [
                                      {
                                        "name": "SCALE",
                                        "nodeType": "YulIdentifier",
                                        "src": "17376:5:128"
                                      },
                                      {
                                        "kind": "number",
                                        "nodeType": "YulLiteral",
                                        "src": "17383:2:128",
                                        "type": "",
                                        "value": "51"
                                      }
                                    ],
                                    "functionName": {
                                      "name": "mul",
                                      "nodeType": "YulIdentifier",
                                      "src": "17372:3:128"
                                    },
                                    "nodeType": "YulFunctionCall",
                                    "src": "17372:14:128"
                                  },
                                  "variableNames": [
                                    {
                                      "name": "result",
                                      "nodeType": "YulIdentifier",
                                      "src": "17362:6:128"
                                    }
                                  ]
                                }
                              ]
                            },
                            "nodeType": "YulCase",
                            "src": "17284:104:128",
                            "value": {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "17289:70:128",
                              "type": "",
                              "value": "1000000000000000000000000000000000000000000000000000000000000000000000"
                            }
                          },
                          {
                            "body": {
                              "nodeType": "YulBlock",
                              "src": "17478:28:128",
                              "statements": [
                                {
                                  "nodeType": "YulAssignment",
                                  "src": "17480:24:128",
                                  "value": {
                                    "arguments": [
                                      {
                                        "name": "SCALE",
                                        "nodeType": "YulIdentifier",
                                        "src": "17494:5:128"
                                      },
                                      {
                                        "kind": "number",
                                        "nodeType": "YulLiteral",
                                        "src": "17501:2:128",
                                        "type": "",
                                        "value": "52"
                                      }
                                    ],
                                    "functionName": {
                                      "name": "mul",
                                      "nodeType": "YulIdentifier",
                                      "src": "17490:3:128"
                                    },
                                    "nodeType": "YulFunctionCall",
                                    "src": "17490:14:128"
                                  },
                                  "variableNames": [
                                    {
                                      "name": "result",
                                      "nodeType": "YulIdentifier",
                                      "src": "17480:6:128"
                                    }
                                  ]
                                }
                              ]
                            },
                            "nodeType": "YulCase",
                            "src": "17401:105:128",
                            "value": {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "17406:71:128",
                              "type": "",
                              "value": "10000000000000000000000000000000000000000000000000000000000000000000000"
                            }
                          },
                          {
                            "body": {
                              "nodeType": "YulBlock",
                              "src": "17597:28:128",
                              "statements": [
                                {
                                  "nodeType": "YulAssignment",
                                  "src": "17599:24:128",
                                  "value": {
                                    "arguments": [
                                      {
                                        "name": "SCALE",
                                        "nodeType": "YulIdentifier",
                                        "src": "17613:5:128"
                                      },
                                      {
                                        "kind": "number",
                                        "nodeType": "YulLiteral",
                                        "src": "17620:2:128",
                                        "type": "",
                                        "value": "53"
                                      }
                                    ],
                                    "functionName": {
                                      "name": "mul",
                                      "nodeType": "YulIdentifier",
                                      "src": "17609:3:128"
                                    },
                                    "nodeType": "YulFunctionCall",
                                    "src": "17609:14:128"
                                  },
                                  "variableNames": [
                                    {
                                      "name": "result",
                                      "nodeType": "YulIdentifier",
                                      "src": "17599:6:128"
                                    }
                                  ]
                                }
                              ]
                            },
                            "nodeType": "YulCase",
                            "src": "17519:106:128",
                            "value": {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "17524:72:128",
                              "type": "",
                              "value": "100000000000000000000000000000000000000000000000000000000000000000000000"
                            }
                          },
                          {
                            "body": {
                              "nodeType": "YulBlock",
                              "src": "17717:28:128",
                              "statements": [
                                {
                                  "nodeType": "YulAssignment",
                                  "src": "17719:24:128",
                                  "value": {
                                    "arguments": [
                                      {
                                        "name": "SCALE",
                                        "nodeType": "YulIdentifier",
                                        "src": "17733:5:128"
                                      },
                                      {
                                        "kind": "number",
                                        "nodeType": "YulLiteral",
                                        "src": "17740:2:128",
                                        "type": "",
                                        "value": "54"
                                      }
                                    ],
                                    "functionName": {
                                      "name": "mul",
                                      "nodeType": "YulIdentifier",
                                      "src": "17729:3:128"
                                    },
                                    "nodeType": "YulFunctionCall",
                                    "src": "17729:14:128"
                                  },
                                  "variableNames": [
                                    {
                                      "name": "result",
                                      "nodeType": "YulIdentifier",
                                      "src": "17719:6:128"
                                    }
                                  ]
                                }
                              ]
                            },
                            "nodeType": "YulCase",
                            "src": "17638:107:128",
                            "value": {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "17643:73:128",
                              "type": "",
                              "value": "1000000000000000000000000000000000000000000000000000000000000000000000000"
                            }
                          },
                          {
                            "body": {
                              "nodeType": "YulBlock",
                              "src": "17838:28:128",
                              "statements": [
                                {
                                  "nodeType": "YulAssignment",
                                  "src": "17840:24:128",
                                  "value": {
                                    "arguments": [
                                      {
                                        "name": "SCALE",
                                        "nodeType": "YulIdentifier",
                                        "src": "17854:5:128"
                                      },
                                      {
                                        "kind": "number",
                                        "nodeType": "YulLiteral",
                                        "src": "17861:2:128",
                                        "type": "",
                                        "value": "55"
                                      }
                                    ],
                                    "functionName": {
                                      "name": "mul",
                                      "nodeType": "YulIdentifier",
                                      "src": "17850:3:128"
                                    },
                                    "nodeType": "YulFunctionCall",
                                    "src": "17850:14:128"
                                  },
                                  "variableNames": [
                                    {
                                      "name": "result",
                                      "nodeType": "YulIdentifier",
                                      "src": "17840:6:128"
                                    }
                                  ]
                                }
                              ]
                            },
                            "nodeType": "YulCase",
                            "src": "17758:108:128",
                            "value": {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "17763:74:128",
                              "type": "",
                              "value": "10000000000000000000000000000000000000000000000000000000000000000000000000"
                            }
                          },
                          {
                            "body": {
                              "nodeType": "YulBlock",
                              "src": "17960:28:128",
                              "statements": [
                                {
                                  "nodeType": "YulAssignment",
                                  "src": "17962:24:128",
                                  "value": {
                                    "arguments": [
                                      {
                                        "name": "SCALE",
                                        "nodeType": "YulIdentifier",
                                        "src": "17976:5:128"
                                      },
                                      {
                                        "kind": "number",
                                        "nodeType": "YulLiteral",
                                        "src": "17983:2:128",
                                        "type": "",
                                        "value": "56"
                                      }
                                    ],
                                    "functionName": {
                                      "name": "mul",
                                      "nodeType": "YulIdentifier",
                                      "src": "17972:3:128"
                                    },
                                    "nodeType": "YulFunctionCall",
                                    "src": "17972:14:128"
                                  },
                                  "variableNames": [
                                    {
                                      "name": "result",
                                      "nodeType": "YulIdentifier",
                                      "src": "17962:6:128"
                                    }
                                  ]
                                }
                              ]
                            },
                            "nodeType": "YulCase",
                            "src": "17879:109:128",
                            "value": {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "17884:75:128",
                              "type": "",
                              "value": "100000000000000000000000000000000000000000000000000000000000000000000000000"
                            }
                          },
                          {
                            "body": {
                              "nodeType": "YulBlock",
                              "src": "18083:28:128",
                              "statements": [
                                {
                                  "nodeType": "YulAssignment",
                                  "src": "18085:24:128",
                                  "value": {
                                    "arguments": [
                                      {
                                        "name": "SCALE",
                                        "nodeType": "YulIdentifier",
                                        "src": "18099:5:128"
                                      },
                                      {
                                        "kind": "number",
                                        "nodeType": "YulLiteral",
                                        "src": "18106:2:128",
                                        "type": "",
                                        "value": "57"
                                      }
                                    ],
                                    "functionName": {
                                      "name": "mul",
                                      "nodeType": "YulIdentifier",
                                      "src": "18095:3:128"
                                    },
                                    "nodeType": "YulFunctionCall",
                                    "src": "18095:14:128"
                                  },
                                  "variableNames": [
                                    {
                                      "name": "result",
                                      "nodeType": "YulIdentifier",
                                      "src": "18085:6:128"
                                    }
                                  ]
                                }
                              ]
                            },
                            "nodeType": "YulCase",
                            "src": "18001:110:128",
                            "value": {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "18006:76:128",
                              "type": "",
                              "value": "1000000000000000000000000000000000000000000000000000000000000000000000000000"
                            }
                          },
                          {
                            "body": {
                              "nodeType": "YulBlock",
                              "src": "18207:28:128",
                              "statements": [
                                {
                                  "nodeType": "YulAssignment",
                                  "src": "18209:24:128",
                                  "value": {
                                    "arguments": [
                                      {
                                        "name": "SCALE",
                                        "nodeType": "YulIdentifier",
                                        "src": "18223:5:128"
                                      },
                                      {
                                        "kind": "number",
                                        "nodeType": "YulLiteral",
                                        "src": "18230:2:128",
                                        "type": "",
                                        "value": "58"
                                      }
                                    ],
                                    "functionName": {
                                      "name": "mul",
                                      "nodeType": "YulIdentifier",
                                      "src": "18219:3:128"
                                    },
                                    "nodeType": "YulFunctionCall",
                                    "src": "18219:14:128"
                                  },
                                  "variableNames": [
                                    {
                                      "name": "result",
                                      "nodeType": "YulIdentifier",
                                      "src": "18209:6:128"
                                    }
                                  ]
                                }
                              ]
                            },
                            "nodeType": "YulCase",
                            "src": "18124:111:128",
                            "value": {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "18129:77:128",
                              "type": "",
                              "value": "10000000000000000000000000000000000000000000000000000000000000000000000000000"
                            }
                          },
                          {
                            "body": {
                              "nodeType": "YulBlock",
                              "src": "18332:28:128",
                              "statements": [
                                {
                                  "nodeType": "YulAssignment",
                                  "src": "18334:24:128",
                                  "value": {
                                    "arguments": [
                                      {
                                        "name": "SCALE",
                                        "nodeType": "YulIdentifier",
                                        "src": "18348:5:128"
                                      },
                                      {
                                        "kind": "number",
                                        "nodeType": "YulLiteral",
                                        "src": "18355:2:128",
                                        "type": "",
                                        "value": "59"
                                      }
                                    ],
                                    "functionName": {
                                      "name": "mul",
                                      "nodeType": "YulIdentifier",
                                      "src": "18344:3:128"
                                    },
                                    "nodeType": "YulFunctionCall",
                                    "src": "18344:14:128"
                                  },
                                  "variableNames": [
                                    {
                                      "name": "result",
                                      "nodeType": "YulIdentifier",
                                      "src": "18334:6:128"
                                    }
                                  ]
                                }
                              ]
                            },
                            "nodeType": "YulCase",
                            "src": "18248:112:128",
                            "value": {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "18253:78:128",
                              "type": "",
                              "value": "100000000000000000000000000000000000000000000000000000000000000000000000000000"
                            }
                          },
                          {
                            "body": {
                              "nodeType": "YulBlock",
                              "src": "18381:53:128",
                              "statements": [
                                {
                                  "nodeType": "YulAssignment",
                                  "src": "18399:21:128",
                                  "value": {
                                    "name": "MAX_UD60x18",
                                    "nodeType": "YulIdentifier",
                                    "src": "18409:11:128"
                                  },
                                  "variableNames": [
                                    {
                                      "name": "result",
                                      "nodeType": "YulIdentifier",
                                      "src": "18399:6:128"
                                    }
                                  ]
                                }
                              ]
                            },
                            "nodeType": "YulCase",
                            "src": "18373:61:128",
                            "value": "default"
                          }
                        ],
                        "expression": {
                          "name": "x",
                          "nodeType": "YulIdentifier",
                          "src": "11490:1:128"
                        },
                        "nodeType": "YulSwitch",
                        "src": "11483:6951:128"
                      }
                    ]
                  },
                  "evmVersion": "berlin",
                  "externalReferences": [
                    {
                      "declaration": 26123,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "18409:11:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26131,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "11527:5:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26131,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "11584:5:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26131,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "11642:5:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26131,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "11701:5:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26131,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "11761:5:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26131,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "11822:5:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26131,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "11884:5:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26131,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "11947:5:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26131,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "12011:5:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26131,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "12076:5:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26131,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "12142:5:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26131,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "12210:5:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26131,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "12279:5:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26131,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "12349:5:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26131,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "12420:5:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26131,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "12492:5:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26131,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "12565:5:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26131,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "12639:5:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26131,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "12764:5:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26131,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "12827:5:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26131,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "12895:5:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26131,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "12964:5:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26131,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "13034:5:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26131,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "13105:5:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26131,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "13177:5:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26131,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "13250:5:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26131,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "13324:5:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26131,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "13399:5:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26131,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "13476:5:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26131,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "13554:5:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26131,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "13633:5:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26131,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "13713:5:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26131,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "13794:5:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26131,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "13876:5:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26131,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "13959:5:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26131,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "14043:5:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26131,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "14128:5:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26131,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "14214:5:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26131,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "14301:5:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26131,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "14389:5:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26131,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "14478:5:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26131,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "14568:5:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26131,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "14659:5:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26131,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "14751:5:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26131,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "14844:5:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26131,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "14938:5:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26131,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "15033:5:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26131,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "15129:5:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26131,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "15226:5:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26131,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "15324:5:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26131,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "15423:5:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26131,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "15523:5:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26131,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "15624:5:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26131,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "15726:5:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26131,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "15829:5:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26131,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "15933:5:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26131,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "16038:5:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26131,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "16144:5:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26131,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "16251:5:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26131,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "16359:5:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26131,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "16468:5:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26131,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "16578:5:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26131,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "16689:5:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26131,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "16801:5:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26131,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "16914:5:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26131,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "17028:5:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26131,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "17143:5:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26131,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "17259:5:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26131,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "17376:5:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26131,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "17494:5:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26131,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "17613:5:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26131,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "17733:5:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26131,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "17854:5:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26131,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "17976:5:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26131,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "18099:5:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26131,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "18223:5:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26131,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "18348:5:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26417,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "11513:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26417,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "11570:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26417,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "11628:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26417,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "11687:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26417,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "11747:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26417,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "11808:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26417,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "11870:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26417,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "11933:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26417,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "11997:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26417,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "12062:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26417,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "12128:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26417,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "12196:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26417,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "12265:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26417,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "12335:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26417,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "12406:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26417,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "12478:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26417,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "12551:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26417,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "12625:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26417,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "12700:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26417,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "12754:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26417,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "12813:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26417,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "12881:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26417,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "12950:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26417,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "13020:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26417,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "13091:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26417,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "13163:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26417,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "13236:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26417,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "13310:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26417,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "13385:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26417,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "13462:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26417,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "13540:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26417,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "13619:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26417,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "13699:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26417,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "13780:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26417,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "13862:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26417,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "13945:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26417,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "14029:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26417,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "14114:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26417,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "14200:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26417,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "14287:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26417,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "14375:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26417,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "14464:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26417,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "14554:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26417,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "14645:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26417,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "14737:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26417,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "14830:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26417,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "14924:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26417,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "15019:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26417,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "15115:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26417,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "15212:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26417,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "15310:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26417,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "15409:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26417,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "15509:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26417,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "15610:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26417,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "15712:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26417,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "15815:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26417,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "15919:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26417,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "16024:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26417,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "16130:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26417,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "16237:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26417,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "16345:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26417,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "16454:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26417,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "16564:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26417,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "16675:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26417,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "16787:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26417,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "16900:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26417,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "17014:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26417,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "17129:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26417,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "17245:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26417,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "17362:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26417,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "17480:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26417,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "17599:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26417,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "17719:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26417,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "17840:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26417,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "17962:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26417,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "18085:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26417,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "18209:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26417,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "18334:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26417,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "18399:6:128",
                      "valueSize": 1
                    },
                    {
                      "declaration": 26414,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "11490:1:128",
                      "valueSize": 1
                    }
                  ],
                  "id": 26428,
                  "nodeType": "InlineAssembly",
                  "src": "11460:6984:128"
                },
                {
                  "condition": {
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 26431,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "id": 26429,
                      "name": "result",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 26417,
                      "src": "18458:6:128",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "==",
                    "rightExpression": {
                      "id": 26430,
                      "name": "MAX_UD60x18",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 26123,
                      "src": "18468:11:128",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "18458:21:128",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 26445,
                  "nodeType": "IfStatement",
                  "src": "18454:235:128",
                  "trueBody": {
                    "id": 26444,
                    "nodeType": "Block",
                    "src": "18481:208:128",
                    "statements": [
                      {
                        "id": 26443,
                        "nodeType": "UncheckedBlock",
                        "src": "18587:92:128",
                        "statements": [
                          {
                            "expression": {
                              "id": 26441,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "leftHandSide": {
                                "id": 26432,
                                "name": "result",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 26417,
                                "src": "18615:6:128",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "nodeType": "Assignment",
                              "operator": "=",
                              "rightHandSide": {
                                "commonType": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                },
                                "id": 26440,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "leftExpression": {
                                  "components": [
                                    {
                                      "commonType": {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      },
                                      "id": 26437,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": false,
                                      "lValueRequested": false,
                                      "leftExpression": {
                                        "arguments": [
                                          {
                                            "id": 26434,
                                            "name": "x",
                                            "nodeType": "Identifier",
                                            "overloadedDeclarations": [],
                                            "referencedDeclaration": 26414,
                                            "src": "18630:1:128",
                                            "typeDescriptions": {
                                              "typeIdentifier": "t_uint256",
                                              "typeString": "uint256"
                                            }
                                          }
                                        ],
                                        "expression": {
                                          "argumentTypes": [
                                            {
                                              "typeIdentifier": "t_uint256",
                                              "typeString": "uint256"
                                            }
                                          ],
                                          "id": 26433,
                                          "name": "log2",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 26531,
                                          "src": "18625:4:128",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_function_internal_pure$_t_uint256_$returns$_t_uint256_$",
                                            "typeString": "function (uint256) pure returns (uint256)"
                                          }
                                        },
                                        "id": 26435,
                                        "isConstant": false,
                                        "isLValue": false,
                                        "isPure": false,
                                        "kind": "functionCall",
                                        "lValueRequested": false,
                                        "names": [],
                                        "nodeType": "FunctionCall",
                                        "src": "18625:7:128",
                                        "tryCall": false,
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_uint256",
                                          "typeString": "uint256"
                                        }
                                      },
                                      "nodeType": "BinaryOperation",
                                      "operator": "*",
                                      "rightExpression": {
                                        "id": 26436,
                                        "name": "SCALE",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 26131,
                                        "src": "18635:5:128",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_uint256",
                                          "typeString": "uint256"
                                        }
                                      },
                                      "src": "18625:15:128",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      }
                                    }
                                  ],
                                  "id": 26438,
                                  "isConstant": false,
                                  "isInlineArray": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "nodeType": "TupleExpression",
                                  "src": "18624:17:128",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "nodeType": "BinaryOperation",
                                "operator": "/",
                                "rightExpression": {
                                  "hexValue": "335f333231393238303934383837333632333437",
                                  "id": 26439,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": true,
                                  "kind": "number",
                                  "lValueRequested": false,
                                  "nodeType": "Literal",
                                  "src": "18644:20:128",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_rational_3321928094887362347_by_1",
                                    "typeString": "int_const 3321928094887362347"
                                  },
                                  "value": "3_321928094887362347"
                                },
                                "src": "18624:40:128",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "src": "18615:49:128",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "id": 26442,
                            "nodeType": "ExpressionStatement",
                            "src": "18615:49:128"
                          }
                        ]
                      }
                    ]
                  }
                }
              ]
            },
            "documentation": {
              "id": 26412,
              "nodeType": "StructuredDocumentation",
              "src": "10552:562:128",
              "text": "@notice Calculates the common logarithm of x.\n @dev First checks if x is an exact power of ten and it stops if yes. If it's not, calculates the common\n logarithm based on the insight that log10(x) = log2(x) / log2(10).\n Requirements:\n - All from \"log2\".\n Caveats:\n - All from \"log2\".\n @param x The unsigned 60.18-decimal fixed-point number for which to calculate the common logarithm.\n @return result The common logarithm as an unsigned 60.18-decimal fixed-point number."
            },
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "log10",
            "nameLocation": "11128:5:128",
            "parameters": {
              "id": 26415,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 26414,
                  "mutability": "mutable",
                  "name": "x",
                  "nameLocation": "11142:1:128",
                  "nodeType": "VariableDeclaration",
                  "scope": 26447,
                  "src": "11134:9:128",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 26413,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "11134:7:128",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "11133:11:128"
            },
            "returnParameters": {
              "id": 26418,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 26417,
                  "mutability": "mutable",
                  "name": "result",
                  "nameLocation": "11176:6:128",
                  "nodeType": "VariableDeclaration",
                  "scope": 26447,
                  "src": "11168:14:128",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 26416,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "11168:7:128",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "11167:16:128"
            },
            "scope": 26717,
            "stateMutability": "pure",
            "virtual": false,
            "visibility": "internal"
          },
          {
            "id": 26531,
            "nodeType": "FunctionDefinition",
            "src": "19388:1397:128",
            "nodes": [],
            "body": {
              "id": 26530,
              "nodeType": "Block",
              "src": "19452:1333:128",
              "nodes": [],
              "statements": [
                {
                  "condition": {
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 26457,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "id": 26455,
                      "name": "x",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 26450,
                      "src": "19466:1:128",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "<",
                    "rightExpression": {
                      "id": 26456,
                      "name": "SCALE",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 26131,
                      "src": "19470:5:128",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "19466:9:128",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 26463,
                  "nodeType": "IfStatement",
                  "src": "19462:82:128",
                  "trueBody": {
                    "id": 26462,
                    "nodeType": "Block",
                    "src": "19477:67:128",
                    "statements": [
                      {
                        "errorCall": {
                          "arguments": [
                            {
                              "id": 26459,
                              "name": "x",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 26450,
                              "src": "19531:1:128",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            ],
                            "id": 26458,
                            "name": "PRBMathUD60x18__LogInputTooSmall",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 24357,
                            "src": "19498:32:128",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_error_pure$_t_uint256_$returns$__$",
                              "typeString": "function (uint256) pure"
                            }
                          },
                          "id": 26460,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "19498:35:128",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$__$",
                            "typeString": "tuple()"
                          }
                        },
                        "id": 26461,
                        "nodeType": "RevertStatement",
                        "src": "19491:42:128"
                      }
                    ]
                  }
                },
                {
                  "id": 26529,
                  "nodeType": "UncheckedBlock",
                  "src": "19553:1226:128",
                  "statements": [
                    {
                      "assignments": [
                        26465
                      ],
                      "declarations": [
                        {
                          "constant": false,
                          "id": 26465,
                          "mutability": "mutable",
                          "name": "n",
                          "nameLocation": "19707:1:128",
                          "nodeType": "VariableDeclaration",
                          "scope": 26529,
                          "src": "19699:9:128",
                          "stateVariable": false,
                          "storageLocation": "default",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          "typeName": {
                            "id": 26464,
                            "name": "uint256",
                            "nodeType": "ElementaryTypeName",
                            "src": "19699:7:128",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "visibility": "internal"
                        }
                      ],
                      "id": 26472,
                      "initialValue": {
                        "arguments": [
                          {
                            "commonType": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            },
                            "id": 26470,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "leftExpression": {
                              "id": 26468,
                              "name": "x",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 26450,
                              "src": "19738:1:128",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "nodeType": "BinaryOperation",
                            "operator": "/",
                            "rightExpression": {
                              "id": 26469,
                              "name": "SCALE",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 26131,
                              "src": "19742:5:128",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "src": "19738:9:128",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          ],
                          "expression": {
                            "id": 26466,
                            "name": "PRBMath",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 26107,
                            "src": "19711:7:128",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_contract$_PRBMath_$26107_$",
                              "typeString": "type(library PRBMath)"
                            }
                          },
                          "id": 26467,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "mostSignificantBit",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": 25565,
                          "src": "19711:26:128",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_internal_pure$_t_uint256_$returns$_t_uint256_$",
                            "typeString": "function (uint256) pure returns (uint256)"
                          }
                        },
                        "id": 26471,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "19711:37:128",
                        "tryCall": false,
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "nodeType": "VariableDeclarationStatement",
                      "src": "19699:49:128"
                    },
                    {
                      "expression": {
                        "id": 26477,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftHandSide": {
                          "id": 26473,
                          "name": "result",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 26453,
                          "src": "19949:6:128",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "Assignment",
                        "operator": "=",
                        "rightHandSide": {
                          "commonType": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          "id": 26476,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftExpression": {
                            "id": 26474,
                            "name": "n",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 26465,
                            "src": "19958:1:128",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "BinaryOperation",
                          "operator": "*",
                          "rightExpression": {
                            "id": 26475,
                            "name": "SCALE",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 26131,
                            "src": "19962:5:128",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "src": "19958:9:128",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "src": "19949:18:128",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "id": 26478,
                      "nodeType": "ExpressionStatement",
                      "src": "19949:18:128"
                    },
                    {
                      "assignments": [
                        26480
                      ],
                      "declarations": [
                        {
                          "constant": false,
                          "id": 26480,
                          "mutability": "mutable",
                          "name": "y",
                          "nameLocation": "20029:1:128",
                          "nodeType": "VariableDeclaration",
                          "scope": 26529,
                          "src": "20021:9:128",
                          "stateVariable": false,
                          "storageLocation": "default",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          "typeName": {
                            "id": 26479,
                            "name": "uint256",
                            "nodeType": "ElementaryTypeName",
                            "src": "20021:7:128",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "visibility": "internal"
                        }
                      ],
                      "id": 26484,
                      "initialValue": {
                        "commonType": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "id": 26483,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "id": 26481,
                          "name": "x",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 26450,
                          "src": "20033:1:128",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": ">>",
                        "rightExpression": {
                          "id": 26482,
                          "name": "n",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 26465,
                          "src": "20038:1:128",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "src": "20033:6:128",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "nodeType": "VariableDeclarationStatement",
                      "src": "20021:18:128"
                    },
                    {
                      "condition": {
                        "commonType": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "id": 26487,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "id": 26485,
                          "name": "y",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 26480,
                          "src": "20112:1:128",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "==",
                        "rightExpression": {
                          "id": 26486,
                          "name": "SCALE",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 26131,
                          "src": "20117:5:128",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "src": "20112:10:128",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      "id": 26491,
                      "nodeType": "IfStatement",
                      "src": "20108:62:128",
                      "trueBody": {
                        "id": 26490,
                        "nodeType": "Block",
                        "src": "20124:46:128",
                        "statements": [
                          {
                            "expression": {
                              "id": 26488,
                              "name": "result",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 26453,
                              "src": "20149:6:128",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "functionReturnParameters": 26454,
                            "id": 26489,
                            "nodeType": "Return",
                            "src": "20142:13:128"
                          }
                        ]
                      }
                    },
                    {
                      "body": {
                        "id": 26527,
                        "nodeType": "Block",
                        "src": "20417:352:128",
                        "statements": [
                          {
                            "expression": {
                              "id": 26510,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "leftHandSide": {
                                "id": 26503,
                                "name": "y",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 26480,
                                "src": "20435:1:128",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "nodeType": "Assignment",
                              "operator": "=",
                              "rightHandSide": {
                                "commonType": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                },
                                "id": 26509,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "leftExpression": {
                                  "components": [
                                    {
                                      "commonType": {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      },
                                      "id": 26506,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": false,
                                      "lValueRequested": false,
                                      "leftExpression": {
                                        "id": 26504,
                                        "name": "y",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 26480,
                                        "src": "20440:1:128",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_uint256",
                                          "typeString": "uint256"
                                        }
                                      },
                                      "nodeType": "BinaryOperation",
                                      "operator": "*",
                                      "rightExpression": {
                                        "id": 26505,
                                        "name": "y",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 26480,
                                        "src": "20444:1:128",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_uint256",
                                          "typeString": "uint256"
                                        }
                                      },
                                      "src": "20440:5:128",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      }
                                    }
                                  ],
                                  "id": 26507,
                                  "isConstant": false,
                                  "isInlineArray": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "nodeType": "TupleExpression",
                                  "src": "20439:7:128",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "nodeType": "BinaryOperation",
                                "operator": "/",
                                "rightExpression": {
                                  "id": 26508,
                                  "name": "SCALE",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 26131,
                                  "src": "20449:5:128",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "src": "20439:15:128",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "src": "20435:19:128",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "id": 26511,
                            "nodeType": "ExpressionStatement",
                            "src": "20435:19:128"
                          },
                          {
                            "condition": {
                              "commonType": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              "id": 26516,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "leftExpression": {
                                "id": 26512,
                                "name": "y",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 26480,
                                "src": "20534:1:128",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "nodeType": "BinaryOperation",
                              "operator": ">=",
                              "rightExpression": {
                                "commonType": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                },
                                "id": 26515,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": true,
                                "lValueRequested": false,
                                "leftExpression": {
                                  "hexValue": "32",
                                  "id": 26513,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": true,
                                  "kind": "number",
                                  "lValueRequested": false,
                                  "nodeType": "Literal",
                                  "src": "20539:1:128",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_rational_2_by_1",
                                    "typeString": "int_const 2"
                                  },
                                  "value": "2"
                                },
                                "nodeType": "BinaryOperation",
                                "operator": "*",
                                "rightExpression": {
                                  "id": 26514,
                                  "name": "SCALE",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 26131,
                                  "src": "20543:5:128",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "src": "20539:9:128",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "src": "20534:14:128",
                              "typeDescriptions": {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              }
                            },
                            "id": 26526,
                            "nodeType": "IfStatement",
                            "src": "20530:225:128",
                            "trueBody": {
                              "id": 26525,
                              "nodeType": "Block",
                              "src": "20550:205:128",
                              "statements": [
                                {
                                  "expression": {
                                    "id": 26519,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": false,
                                    "lValueRequested": false,
                                    "leftHandSide": {
                                      "id": 26517,
                                      "name": "result",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": 26453,
                                      "src": "20635:6:128",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      }
                                    },
                                    "nodeType": "Assignment",
                                    "operator": "+=",
                                    "rightHandSide": {
                                      "id": 26518,
                                      "name": "delta",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": 26493,
                                      "src": "20645:5:128",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      }
                                    },
                                    "src": "20635:15:128",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_uint256",
                                      "typeString": "uint256"
                                    }
                                  },
                                  "id": 26520,
                                  "nodeType": "ExpressionStatement",
                                  "src": "20635:15:128"
                                },
                                {
                                  "expression": {
                                    "id": 26523,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": false,
                                    "lValueRequested": false,
                                    "leftHandSide": {
                                      "id": 26521,
                                      "name": "y",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": 26480,
                                      "src": "20729:1:128",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      }
                                    },
                                    "nodeType": "Assignment",
                                    "operator": ">>=",
                                    "rightHandSide": {
                                      "hexValue": "31",
                                      "id": 26522,
                                      "isConstant": false,
                                      "isLValue": false,
                                      "isPure": true,
                                      "kind": "number",
                                      "lValueRequested": false,
                                      "nodeType": "Literal",
                                      "src": "20735:1:128",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_rational_1_by_1",
                                        "typeString": "int_const 1"
                                      },
                                      "value": "1"
                                    },
                                    "src": "20729:7:128",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_uint256",
                                      "typeString": "uint256"
                                    }
                                  },
                                  "id": 26524,
                                  "nodeType": "ExpressionStatement",
                                  "src": "20729:7:128"
                                }
                              ]
                            }
                          }
                        ]
                      },
                      "condition": {
                        "commonType": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "id": 26498,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "id": 26496,
                          "name": "delta",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 26493,
                          "src": "20393:5:128",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": ">",
                        "rightExpression": {
                          "hexValue": "30",
                          "id": 26497,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "20401:1:128",
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_0_by_1",
                            "typeString": "int_const 0"
                          },
                          "value": "0"
                        },
                        "src": "20393:9:128",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      "id": 26528,
                      "initializationExpression": {
                        "assignments": [
                          26493
                        ],
                        "declarations": [
                          {
                            "constant": false,
                            "id": 26493,
                            "mutability": "mutable",
                            "name": "delta",
                            "nameLocation": "20373:5:128",
                            "nodeType": "VariableDeclaration",
                            "scope": 26528,
                            "src": "20365:13:128",
                            "stateVariable": false,
                            "storageLocation": "default",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            },
                            "typeName": {
                              "id": 26492,
                              "name": "uint256",
                              "nodeType": "ElementaryTypeName",
                              "src": "20365:7:128",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "visibility": "internal"
                          }
                        ],
                        "id": 26495,
                        "initialValue": {
                          "id": 26494,
                          "name": "HALF_SCALE",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 26115,
                          "src": "20381:10:128",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "VariableDeclarationStatement",
                        "src": "20365:26:128"
                      },
                      "loopExpression": {
                        "expression": {
                          "id": 26501,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftHandSide": {
                            "id": 26499,
                            "name": "delta",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 26493,
                            "src": "20404:5:128",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "Assignment",
                          "operator": ">>=",
                          "rightHandSide": {
                            "hexValue": "31",
                            "id": 26500,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "kind": "number",
                            "lValueRequested": false,
                            "nodeType": "Literal",
                            "src": "20414:1:128",
                            "typeDescriptions": {
                              "typeIdentifier": "t_rational_1_by_1",
                              "typeString": "int_const 1"
                            },
                            "value": "1"
                          },
                          "src": "20404:11:128",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "id": 26502,
                        "nodeType": "ExpressionStatement",
                        "src": "20404:11:128"
                      },
                      "nodeType": "ForStatement",
                      "src": "20360:409:128"
                    }
                  ]
                }
              ]
            },
            "documentation": {
              "id": 26448,
              "nodeType": "StructuredDocumentation",
              "src": "18701:682:128",
              "text": "@notice Calculates the binary logarithm of x.\n @dev Based on the iterative approximation algorithm.\n https://en.wikipedia.org/wiki/Binary_logarithm#Iterative_approximation\n Requirements:\n - x must be greater than or equal to SCALE, otherwise the result would be negative.\n Caveats:\n - The results are nor perfectly accurate to the last decimal, due to the lossy precision of the iterative approximation.\n @param x The unsigned 60.18-decimal fixed-point number for which to calculate the binary logarithm.\n @return result The binary logarithm as an unsigned 60.18-decimal fixed-point number."
            },
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "log2",
            "nameLocation": "19397:4:128",
            "parameters": {
              "id": 26451,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 26450,
                  "mutability": "mutable",
                  "name": "x",
                  "nameLocation": "19410:1:128",
                  "nodeType": "VariableDeclaration",
                  "scope": 26531,
                  "src": "19402:9:128",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 26449,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "19402:7:128",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "19401:11:128"
            },
            "returnParameters": {
              "id": 26454,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 26453,
                  "mutability": "mutable",
                  "name": "result",
                  "nameLocation": "19444:6:128",
                  "nodeType": "VariableDeclaration",
                  "scope": 26531,
                  "src": "19436:14:128",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 26452,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "19436:7:128",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "19435:16:128"
            },
            "scope": 26717,
            "stateMutability": "pure",
            "virtual": false,
            "visibility": "internal"
          },
          {
            "id": 26550,
            "nodeType": "FunctionDefinition",
            "src": "21270:130:128",
            "nodes": [],
            "body": {
              "id": 26549,
              "nodeType": "Block",
              "src": "21344:56:128",
              "nodes": [],
              "statements": [
                {
                  "expression": {
                    "id": 26547,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "id": 26541,
                      "name": "result",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 26539,
                      "src": "21354:6:128",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "arguments": [
                        {
                          "id": 26544,
                          "name": "x",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 26534,
                          "src": "21388:1:128",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        {
                          "id": 26545,
                          "name": "y",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 26536,
                          "src": "21391:1:128",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        ],
                        "expression": {
                          "id": 26542,
                          "name": "PRBMath",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 26107,
                          "src": "21363:7:128",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_contract$_PRBMath_$26107_$",
                            "typeString": "type(library PRBMath)"
                          }
                        },
                        "id": 26543,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "mulDivFixedPoint",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 25748,
                        "src": "21363:24:128",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$",
                          "typeString": "function (uint256,uint256) pure returns (uint256)"
                        }
                      },
                      "id": 26546,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "21363:30:128",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "21354:39:128",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "id": 26548,
                  "nodeType": "ExpressionStatement",
                  "src": "21354:39:128"
                }
              ]
            },
            "documentation": {
              "id": 26532,
              "nodeType": "StructuredDocumentation",
              "src": "20791:474:128",
              "text": "@notice Multiplies two unsigned 60.18-decimal fixed-point numbers together, returning a new unsigned 60.18-decimal\n fixed-point number.\n @dev See the documentation for the \"PRBMath.mulDivFixedPoint\" function.\n @param x The multiplicand as an unsigned 60.18-decimal fixed-point number.\n @param y The multiplier as an unsigned 60.18-decimal fixed-point number.\n @return result The product as an unsigned 60.18-decimal fixed-point number."
            },
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "mul",
            "nameLocation": "21279:3:128",
            "parameters": {
              "id": 26537,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 26534,
                  "mutability": "mutable",
                  "name": "x",
                  "nameLocation": "21291:1:128",
                  "nodeType": "VariableDeclaration",
                  "scope": 26550,
                  "src": "21283:9:128",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 26533,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "21283:7:128",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 26536,
                  "mutability": "mutable",
                  "name": "y",
                  "nameLocation": "21302:1:128",
                  "nodeType": "VariableDeclaration",
                  "scope": 26550,
                  "src": "21294:9:128",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 26535,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "21294:7:128",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "21282:22:128"
            },
            "returnParameters": {
              "id": 26540,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 26539,
                  "mutability": "mutable",
                  "name": "result",
                  "nameLocation": "21336:6:128",
                  "nodeType": "VariableDeclaration",
                  "scope": 26550,
                  "src": "21328:14:128",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 26538,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "21328:7:128",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "21327:16:128"
            },
            "scope": 26717,
            "stateMutability": "pure",
            "virtual": false,
            "visibility": "internal"
          },
          {
            "id": 26561,
            "nodeType": "FunctionDefinition",
            "src": "21482:99:128",
            "nodes": [],
            "body": {
              "id": 26560,
              "nodeType": "Block",
              "src": "21535:46:128",
              "nodes": [],
              "statements": [
                {
                  "expression": {
                    "id": 26558,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "id": 26556,
                      "name": "result",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 26554,
                      "src": "21545:6:128",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "hexValue": "335f313431353932363533353839373933323338",
                      "id": 26557,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "21554:20:128",
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_3141592653589793238_by_1",
                        "typeString": "int_const 3141592653589793238"
                      },
                      "value": "3_141592653589793238"
                    },
                    "src": "21545:29:128",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "id": 26559,
                  "nodeType": "ExpressionStatement",
                  "src": "21545:29:128"
                }
              ]
            },
            "documentation": {
              "id": 26551,
              "nodeType": "StructuredDocumentation",
              "src": "21406:71:128",
              "text": "@notice Returns PI as an unsigned 60.18-decimal fixed-point number."
            },
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "pi",
            "nameLocation": "21491:2:128",
            "parameters": {
              "id": 26552,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "21493:2:128"
            },
            "returnParameters": {
              "id": 26555,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 26554,
                  "mutability": "mutable",
                  "name": "result",
                  "nameLocation": "21527:6:128",
                  "nodeType": "VariableDeclaration",
                  "scope": 26561,
                  "src": "21519:14:128",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 26553,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "21519:7:128",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "21518:16:128"
            },
            "scope": 26717,
            "stateMutability": "pure",
            "virtual": false,
            "visibility": "internal"
          },
          {
            "id": 26601,
            "nodeType": "FunctionDefinition",
            "src": "22165:224:128",
            "nodes": [],
            "body": {
              "id": 26600,
              "nodeType": "Block",
              "src": "22239:150:128",
              "nodes": [],
              "statements": [
                {
                  "condition": {
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 26573,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "id": 26571,
                      "name": "x",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 26564,
                      "src": "22253:1:128",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "==",
                    "rightExpression": {
                      "hexValue": "30",
                      "id": 26572,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "22258:1:128",
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "src": "22253:6:128",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": {
                    "id": 26598,
                    "nodeType": "Block",
                    "src": "22328:55:128",
                    "statements": [
                      {
                        "expression": {
                          "id": 26596,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftHandSide": {
                            "id": 26587,
                            "name": "result",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 26569,
                            "src": "22342:6:128",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "Assignment",
                          "operator": "=",
                          "rightHandSide": {
                            "arguments": [
                              {
                                "arguments": [
                                  {
                                    "arguments": [
                                      {
                                        "id": 26591,
                                        "name": "x",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 26564,
                                        "src": "22365:1:128",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_uint256",
                                          "typeString": "uint256"
                                        }
                                      }
                                    ],
                                    "expression": {
                                      "argumentTypes": [
                                        {
                                          "typeIdentifier": "t_uint256",
                                          "typeString": "uint256"
                                        }
                                      ],
                                      "id": 26590,
                                      "name": "log2",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": 26531,
                                      "src": "22360:4:128",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_function_internal_pure$_t_uint256_$returns$_t_uint256_$",
                                        "typeString": "function (uint256) pure returns (uint256)"
                                      }
                                    },
                                    "id": 26592,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": false,
                                    "kind": "functionCall",
                                    "lValueRequested": false,
                                    "names": [],
                                    "nodeType": "FunctionCall",
                                    "src": "22360:7:128",
                                    "tryCall": false,
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_uint256",
                                      "typeString": "uint256"
                                    }
                                  },
                                  {
                                    "id": 26593,
                                    "name": "y",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 26566,
                                    "src": "22369:1:128",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_uint256",
                                      "typeString": "uint256"
                                    }
                                  }
                                ],
                                "expression": {
                                  "argumentTypes": [
                                    {
                                      "typeIdentifier": "t_uint256",
                                      "typeString": "uint256"
                                    },
                                    {
                                      "typeIdentifier": "t_uint256",
                                      "typeString": "uint256"
                                    }
                                  ],
                                  "id": 26589,
                                  "name": "mul",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 26550,
                                  "src": "22356:3:128",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$",
                                    "typeString": "function (uint256,uint256) pure returns (uint256)"
                                  }
                                },
                                "id": 26594,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "kind": "functionCall",
                                "lValueRequested": false,
                                "names": [],
                                "nodeType": "FunctionCall",
                                "src": "22356:15:128",
                                "tryCall": false,
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              }
                            ],
                            "expression": {
                              "argumentTypes": [
                                {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              ],
                              "id": 26588,
                              "name": "exp2",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 26283,
                              "src": "22351:4:128",
                              "typeDescriptions": {
                                "typeIdentifier": "t_function_internal_pure$_t_uint256_$returns$_t_uint256_$",
                                "typeString": "function (uint256) pure returns (uint256)"
                              }
                            },
                            "id": 26595,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "functionCall",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "22351:21:128",
                            "tryCall": false,
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "src": "22342:30:128",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "id": 26597,
                        "nodeType": "ExpressionStatement",
                        "src": "22342:30:128"
                      }
                    ]
                  },
                  "id": 26599,
                  "nodeType": "IfStatement",
                  "src": "22249:134:128",
                  "trueBody": {
                    "id": 26586,
                    "nodeType": "Block",
                    "src": "22261:61:128",
                    "statements": [
                      {
                        "expression": {
                          "id": 26584,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftHandSide": {
                            "id": 26574,
                            "name": "result",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 26569,
                            "src": "22275:6:128",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "Assignment",
                          "operator": "=",
                          "rightHandSide": {
                            "condition": {
                              "commonType": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              "id": 26577,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "leftExpression": {
                                "id": 26575,
                                "name": "y",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 26566,
                                "src": "22284:1:128",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "nodeType": "BinaryOperation",
                              "operator": "==",
                              "rightExpression": {
                                "hexValue": "30",
                                "id": 26576,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": true,
                                "kind": "number",
                                "lValueRequested": false,
                                "nodeType": "Literal",
                                "src": "22289:1:128",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_rational_0_by_1",
                                  "typeString": "int_const 0"
                                },
                                "value": "0"
                              },
                              "src": "22284:6:128",
                              "typeDescriptions": {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              }
                            },
                            "falseExpression": {
                              "arguments": [
                                {
                                  "hexValue": "30",
                                  "id": 26581,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": true,
                                  "kind": "number",
                                  "lValueRequested": false,
                                  "nodeType": "Literal",
                                  "src": "22309:1:128",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_rational_0_by_1",
                                    "typeString": "int_const 0"
                                  },
                                  "value": "0"
                                }
                              ],
                              "expression": {
                                "argumentTypes": [
                                  {
                                    "typeIdentifier": "t_rational_0_by_1",
                                    "typeString": "int_const 0"
                                  }
                                ],
                                "id": 26580,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": true,
                                "lValueRequested": false,
                                "nodeType": "ElementaryTypeNameExpression",
                                "src": "22301:7:128",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_type$_t_uint256_$",
                                  "typeString": "type(uint256)"
                                },
                                "typeName": {
                                  "id": 26579,
                                  "name": "uint256",
                                  "nodeType": "ElementaryTypeName",
                                  "src": "22301:7:128",
                                  "typeDescriptions": {}
                                }
                              },
                              "id": 26582,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "typeConversion",
                              "lValueRequested": false,
                              "names": [],
                              "nodeType": "FunctionCall",
                              "src": "22301:10:128",
                              "tryCall": false,
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "id": 26583,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "nodeType": "Conditional",
                            "src": "22284:27:128",
                            "trueExpression": {
                              "id": 26578,
                              "name": "SCALE",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 26131,
                              "src": "22293:5:128",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "src": "22275:36:128",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "id": 26585,
                        "nodeType": "ExpressionStatement",
                        "src": "22275:36:128"
                      }
                    ]
                  }
                }
              ]
            },
            "documentation": {
              "id": 26562,
              "nodeType": "StructuredDocumentation",
              "src": "21587:573:128",
              "text": "@notice Raises x to the power of y.\n @dev Based on the insight that x^y = 2^(log2(x) * y).\n Requirements:\n - All from \"exp2\", \"log2\" and \"mul\".\n Caveats:\n - All from \"exp2\", \"log2\" and \"mul\".\n - Assumes 0^0 is 1.\n @param x Number to raise to given power y, as an unsigned 60.18-decimal fixed-point number.\n @param y Exponent to raise x to, as an unsigned 60.18-decimal fixed-point number.\n @return result x raised to power y, as an unsigned 60.18-decimal fixed-point number."
            },
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "pow",
            "nameLocation": "22174:3:128",
            "parameters": {
              "id": 26567,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 26564,
                  "mutability": "mutable",
                  "name": "x",
                  "nameLocation": "22186:1:128",
                  "nodeType": "VariableDeclaration",
                  "scope": 26601,
                  "src": "22178:9:128",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 26563,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "22178:7:128",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 26566,
                  "mutability": "mutable",
                  "name": "y",
                  "nameLocation": "22197:1:128",
                  "nodeType": "VariableDeclaration",
                  "scope": 26601,
                  "src": "22189:9:128",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 26565,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "22189:7:128",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "22177:22:128"
            },
            "returnParameters": {
              "id": 26570,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 26569,
                  "mutability": "mutable",
                  "name": "result",
                  "nameLocation": "22231:6:128",
                  "nodeType": "VariableDeclaration",
                  "scope": 26601,
                  "src": "22223:14:128",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 26568,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "22223:7:128",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "22222:16:128"
            },
            "scope": 26717,
            "stateMutability": "pure",
            "virtual": false,
            "visibility": "internal"
          },
          {
            "id": 26659,
            "nodeType": "FunctionDefinition",
            "src": "23024:512:128",
            "nodes": [],
            "body": {
              "id": 26658,
              "nodeType": "Block",
              "src": "23099:437:128",
              "nodes": [],
              "statements": [
                {
                  "expression": {
                    "id": 26620,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "id": 26611,
                      "name": "result",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 26609,
                      "src": "23174:6:128",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "condition": {
                        "commonType": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "id": 26616,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "commonType": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          "id": 26614,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftExpression": {
                            "id": 26612,
                            "name": "y",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 26606,
                            "src": "23183:1:128",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "BinaryOperation",
                          "operator": "&",
                          "rightExpression": {
                            "hexValue": "31",
                            "id": 26613,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "kind": "number",
                            "lValueRequested": false,
                            "nodeType": "Literal",
                            "src": "23187:1:128",
                            "typeDescriptions": {
                              "typeIdentifier": "t_rational_1_by_1",
                              "typeString": "int_const 1"
                            },
                            "value": "1"
                          },
                          "src": "23183:5:128",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": ">",
                        "rightExpression": {
                          "hexValue": "30",
                          "id": 26615,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "23191:1:128",
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_0_by_1",
                            "typeString": "int_const 0"
                          },
                          "value": "0"
                        },
                        "src": "23183:9:128",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      "falseExpression": {
                        "id": 26618,
                        "name": "SCALE",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 26131,
                        "src": "23199:5:128",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "id": 26619,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "Conditional",
                      "src": "23183:21:128",
                      "trueExpression": {
                        "id": 26617,
                        "name": "x",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 26604,
                        "src": "23195:1:128",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "23174:30:128",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "id": 26621,
                  "nodeType": "ExpressionStatement",
                  "src": "23174:30:128"
                },
                {
                  "body": {
                    "id": 26656,
                    "nodeType": "Block",
                    "src": "23311:219:128",
                    "statements": [
                      {
                        "expression": {
                          "id": 26639,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftHandSide": {
                            "id": 26633,
                            "name": "x",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 26604,
                            "src": "23325:1:128",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "Assignment",
                          "operator": "=",
                          "rightHandSide": {
                            "arguments": [
                              {
                                "id": 26636,
                                "name": "x",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 26604,
                                "src": "23354:1:128",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              {
                                "id": 26637,
                                "name": "x",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 26604,
                                "src": "23357:1:128",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              }
                            ],
                            "expression": {
                              "argumentTypes": [
                                {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                },
                                {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              ],
                              "expression": {
                                "id": 26634,
                                "name": "PRBMath",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 26107,
                                "src": "23329:7:128",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_type$_t_contract$_PRBMath_$26107_$",
                                  "typeString": "type(library PRBMath)"
                                }
                              },
                              "id": 26635,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "mulDivFixedPoint",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 25748,
                              "src": "23329:24:128",
                              "typeDescriptions": {
                                "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$",
                                "typeString": "function (uint256,uint256) pure returns (uint256)"
                              }
                            },
                            "id": 26638,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "functionCall",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "23329:30:128",
                            "tryCall": false,
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "src": "23325:34:128",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "id": 26640,
                        "nodeType": "ExpressionStatement",
                        "src": "23325:34:128"
                      },
                      {
                        "condition": {
                          "commonType": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          "id": 26645,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftExpression": {
                            "commonType": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            },
                            "id": 26643,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "leftExpression": {
                              "id": 26641,
                              "name": "y",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 26606,
                              "src": "23432:1:128",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "nodeType": "BinaryOperation",
                            "operator": "&",
                            "rightExpression": {
                              "hexValue": "31",
                              "id": 26642,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "number",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "23436:1:128",
                              "typeDescriptions": {
                                "typeIdentifier": "t_rational_1_by_1",
                                "typeString": "int_const 1"
                              },
                              "value": "1"
                            },
                            "src": "23432:5:128",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "BinaryOperation",
                          "operator": ">",
                          "rightExpression": {
                            "hexValue": "30",
                            "id": 26644,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "kind": "number",
                            "lValueRequested": false,
                            "nodeType": "Literal",
                            "src": "23440:1:128",
                            "typeDescriptions": {
                              "typeIdentifier": "t_rational_0_by_1",
                              "typeString": "int_const 0"
                            },
                            "value": "0"
                          },
                          "src": "23432:9:128",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          }
                        },
                        "id": 26655,
                        "nodeType": "IfStatement",
                        "src": "23428:92:128",
                        "trueBody": {
                          "id": 26654,
                          "nodeType": "Block",
                          "src": "23443:77:128",
                          "statements": [
                            {
                              "expression": {
                                "id": 26652,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "leftHandSide": {
                                  "id": 26646,
                                  "name": "result",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 26609,
                                  "src": "23461:6:128",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "nodeType": "Assignment",
                                "operator": "=",
                                "rightHandSide": {
                                  "arguments": [
                                    {
                                      "id": 26649,
                                      "name": "result",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": 26609,
                                      "src": "23495:6:128",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      }
                                    },
                                    {
                                      "id": 26650,
                                      "name": "x",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": 26604,
                                      "src": "23503:1:128",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      }
                                    }
                                  ],
                                  "expression": {
                                    "argumentTypes": [
                                      {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      },
                                      {
                                        "typeIdentifier": "t_uint256",
                                        "typeString": "uint256"
                                      }
                                    ],
                                    "expression": {
                                      "id": 26647,
                                      "name": "PRBMath",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": 26107,
                                      "src": "23470:7:128",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_type$_t_contract$_PRBMath_$26107_$",
                                        "typeString": "type(library PRBMath)"
                                      }
                                    },
                                    "id": 26648,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": false,
                                    "lValueRequested": false,
                                    "memberName": "mulDivFixedPoint",
                                    "nodeType": "MemberAccess",
                                    "referencedDeclaration": 25748,
                                    "src": "23470:24:128",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$",
                                      "typeString": "function (uint256,uint256) pure returns (uint256)"
                                    }
                                  },
                                  "id": 26651,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "kind": "functionCall",
                                  "lValueRequested": false,
                                  "names": [],
                                  "nodeType": "FunctionCall",
                                  "src": "23470:35:128",
                                  "tryCall": false,
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "src": "23461:44:128",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "id": 26653,
                              "nodeType": "ExpressionStatement",
                              "src": "23461:44:128"
                            }
                          ]
                        }
                      }
                    ]
                  },
                  "condition": {
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 26628,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "id": 26626,
                      "name": "y",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 26606,
                      "src": "23295:1:128",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": ">",
                    "rightExpression": {
                      "hexValue": "30",
                      "id": 26627,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "23299:1:128",
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "src": "23295:5:128",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 26657,
                  "initializationExpression": {
                    "expression": {
                      "id": 26624,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "leftHandSide": {
                        "id": 26622,
                        "name": "y",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 26606,
                        "src": "23286:1:128",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "nodeType": "Assignment",
                      "operator": ">>=",
                      "rightHandSide": {
                        "hexValue": "31",
                        "id": 26623,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "number",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "23292:1:128",
                        "typeDescriptions": {
                          "typeIdentifier": "t_rational_1_by_1",
                          "typeString": "int_const 1"
                        },
                        "value": "1"
                      },
                      "src": "23286:7:128",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "id": 26625,
                    "nodeType": "ExpressionStatement",
                    "src": "23286:7:128"
                  },
                  "loopExpression": {
                    "expression": {
                      "id": 26631,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "leftHandSide": {
                        "id": 26629,
                        "name": "y",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 26606,
                        "src": "23302:1:128",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "nodeType": "Assignment",
                      "operator": ">>=",
                      "rightHandSide": {
                        "hexValue": "31",
                        "id": 26630,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "number",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "23308:1:128",
                        "typeDescriptions": {
                          "typeIdentifier": "t_rational_1_by_1",
                          "typeString": "int_const 1"
                        },
                        "value": "1"
                      },
                      "src": "23302:7:128",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "id": 26632,
                    "nodeType": "ExpressionStatement",
                    "src": "23302:7:128"
                  },
                  "nodeType": "ForStatement",
                  "src": "23281:249:128"
                }
              ]
            },
            "documentation": {
              "id": 26602,
              "nodeType": "StructuredDocumentation",
              "src": "22395:624:128",
              "text": "@notice Raises x (unsigned 60.18-decimal fixed-point number) to the power of y (basic unsigned integer) using the\n famous algorithm \"exponentiation by squaring\".\n @dev See https://en.wikipedia.org/wiki/Exponentiation_by_squaring\n Requirements:\n - The result must fit within MAX_UD60x18.\n Caveats:\n - All from \"mul\".\n - Assumes 0^0 is 1.\n @param x The base as an unsigned 60.18-decimal fixed-point number.\n @param y The exponent as an uint256.\n @return result The result as an unsigned 60.18-decimal fixed-point number."
            },
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "powu",
            "nameLocation": "23033:4:128",
            "parameters": {
              "id": 26607,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 26604,
                  "mutability": "mutable",
                  "name": "x",
                  "nameLocation": "23046:1:128",
                  "nodeType": "VariableDeclaration",
                  "scope": 26659,
                  "src": "23038:9:128",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 26603,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "23038:7:128",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 26606,
                  "mutability": "mutable",
                  "name": "y",
                  "nameLocation": "23057:1:128",
                  "nodeType": "VariableDeclaration",
                  "scope": 26659,
                  "src": "23049:9:128",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 26605,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "23049:7:128",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "23037:22:128"
            },
            "returnParameters": {
              "id": 26610,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 26609,
                  "mutability": "mutable",
                  "name": "result",
                  "nameLocation": "23091:6:128",
                  "nodeType": "VariableDeclaration",
                  "scope": 26659,
                  "src": "23083:14:128",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 26608,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "23083:7:128",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "23082:16:128"
            },
            "scope": 26717,
            "stateMutability": "pure",
            "virtual": false,
            "visibility": "internal"
          },
          {
            "id": 26670,
            "nodeType": "FunctionDefinition",
            "src": "23617:87:128",
            "nodes": [],
            "body": {
              "id": 26669,
              "nodeType": "Block",
              "src": "23673:31:128",
              "nodes": [],
              "statements": [
                {
                  "expression": {
                    "id": 26667,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "id": 26665,
                      "name": "result",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 26663,
                      "src": "23683:6:128",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "id": 26666,
                      "name": "SCALE",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 26131,
                      "src": "23692:5:128",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "23683:14:128",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "id": 26668,
                  "nodeType": "ExpressionStatement",
                  "src": "23683:14:128"
                }
              ]
            },
            "documentation": {
              "id": 26660,
              "nodeType": "StructuredDocumentation",
              "src": "23542:70:128",
              "text": "@notice Returns 1 as an unsigned 60.18-decimal fixed-point number."
            },
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "scale",
            "nameLocation": "23626:5:128",
            "parameters": {
              "id": 26661,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "23631:2:128"
            },
            "returnParameters": {
              "id": 26664,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 26663,
                  "mutability": "mutable",
                  "name": "result",
                  "nameLocation": "23665:6:128",
                  "nodeType": "VariableDeclaration",
                  "scope": 26670,
                  "src": "23657:14:128",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 26662,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "23657:7:128",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "23656:16:128"
            },
            "scope": 26717,
            "stateMutability": "pure",
            "virtual": false,
            "visibility": "internal"
          },
          {
            "id": 26700,
            "nodeType": "FunctionDefinition",
            "src": "24166:500:128",
            "nodes": [],
            "body": {
              "id": 26699,
              "nodeType": "Block",
              "src": "24230:436:128",
              "nodes": [],
              "statements": [
                {
                  "id": 26698,
                  "nodeType": "UncheckedBlock",
                  "src": "24240:420:128",
                  "statements": [
                    {
                      "condition": {
                        "commonType": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "id": 26682,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "id": 26678,
                          "name": "x",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 26673,
                          "src": "24268:1:128",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": ">",
                        "rightExpression": {
                          "commonType": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          "id": 26681,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "leftExpression": {
                            "id": 26679,
                            "name": "MAX_UD60x18",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 26123,
                            "src": "24272:11:128",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "BinaryOperation",
                          "operator": "/",
                          "rightExpression": {
                            "id": 26680,
                            "name": "SCALE",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 26131,
                            "src": "24286:5:128",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "src": "24272:19:128",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "src": "24268:23:128",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      "id": 26688,
                      "nodeType": "IfStatement",
                      "src": "24264:100:128",
                      "trueBody": {
                        "id": 26687,
                        "nodeType": "Block",
                        "src": "24293:71:128",
                        "statements": [
                          {
                            "errorCall": {
                              "arguments": [
                                {
                                  "id": 26684,
                                  "name": "x",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 26673,
                                  "src": "24347:1:128",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                }
                              ],
                              "expression": {
                                "argumentTypes": [
                                  {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                ],
                                "id": 26683,
                                "name": "PRBMathUD60x18__SqrtOverflow",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 24362,
                                "src": "24318:28:128",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_function_error_pure$_t_uint256_$returns$__$",
                                  "typeString": "function (uint256) pure"
                                }
                              },
                              "id": 26685,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "kind": "functionCall",
                              "lValueRequested": false,
                              "names": [],
                              "nodeType": "FunctionCall",
                              "src": "24318:31:128",
                              "tryCall": false,
                              "typeDescriptions": {
                                "typeIdentifier": "t_tuple$__$",
                                "typeString": "tuple()"
                              }
                            },
                            "id": 26686,
                            "nodeType": "RevertStatement",
                            "src": "24311:38:128"
                          }
                        ]
                      }
                    },
                    {
                      "expression": {
                        "id": 26696,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftHandSide": {
                          "id": 26689,
                          "name": "result",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 26676,
                          "src": "24617:6:128",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "Assignment",
                        "operator": "=",
                        "rightHandSide": {
                          "arguments": [
                            {
                              "commonType": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              "id": 26694,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "leftExpression": {
                                "id": 26692,
                                "name": "x",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 26673,
                                "src": "24639:1:128",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "nodeType": "BinaryOperation",
                              "operator": "*",
                              "rightExpression": {
                                "id": 26693,
                                "name": "SCALE",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 26131,
                                "src": "24643:5:128",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "src": "24639:9:128",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            ],
                            "expression": {
                              "id": 26690,
                              "name": "PRBMath",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 26107,
                              "src": "24626:7:128",
                              "typeDescriptions": {
                                "typeIdentifier": "t_type$_t_contract$_PRBMath_$26107_$",
                                "typeString": "type(library PRBMath)"
                              }
                            },
                            "id": 26691,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "sqrt",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 26106,
                            "src": "24626:12:128",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_internal_pure$_t_uint256_$returns$_t_uint256_$",
                              "typeString": "function (uint256) pure returns (uint256)"
                            }
                          },
                          "id": 26695,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "24626:23:128",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "src": "24617:32:128",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "id": 26697,
                      "nodeType": "ExpressionStatement",
                      "src": "24617:32:128"
                    }
                  ]
                }
              ]
            },
            "documentation": {
              "id": 26671,
              "nodeType": "StructuredDocumentation",
              "src": "23710:451:128",
              "text": "@notice Calculates the square root of x, rounding down.\n @dev Uses the Babylonian method https://en.wikipedia.org/wiki/Methods_of_computing_square_roots#Babylonian_method.\n Requirements:\n - x must be less than MAX_UD60x18 / SCALE.\n @param x The unsigned 60.18-decimal fixed-point number for which to calculate the square root.\n @return result The result as an unsigned 60.18-decimal fixed-point ."
            },
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "sqrt",
            "nameLocation": "24175:4:128",
            "parameters": {
              "id": 26674,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 26673,
                  "mutability": "mutable",
                  "name": "x",
                  "nameLocation": "24188:1:128",
                  "nodeType": "VariableDeclaration",
                  "scope": 26700,
                  "src": "24180:9:128",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 26672,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "24180:7:128",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "24179:11:128"
            },
            "returnParameters": {
              "id": 26677,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 26676,
                  "mutability": "mutable",
                  "name": "result",
                  "nameLocation": "24222:6:128",
                  "nodeType": "VariableDeclaration",
                  "scope": 26700,
                  "src": "24214:14:128",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 26675,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "24214:7:128",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "24213:16:128"
            },
            "scope": 26717,
            "stateMutability": "pure",
            "virtual": false,
            "visibility": "internal"
          },
          {
            "id": 26716,
            "nodeType": "FunctionDefinition",
            "src": "24931:135:128",
            "nodes": [],
            "body": {
              "id": 26715,
              "nodeType": "Block",
              "src": "24997:69:128",
              "nodes": [],
              "statements": [
                {
                  "id": 26714,
                  "nodeType": "UncheckedBlock",
                  "src": "25007:53:128",
                  "statements": [
                    {
                      "expression": {
                        "id": 26712,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftHandSide": {
                          "id": 26708,
                          "name": "result",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 26706,
                          "src": "25031:6:128",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "Assignment",
                        "operator": "=",
                        "rightHandSide": {
                          "commonType": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          "id": 26711,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftExpression": {
                            "id": 26709,
                            "name": "x",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 26703,
                            "src": "25040:1:128",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "BinaryOperation",
                          "operator": "/",
                          "rightExpression": {
                            "id": 26710,
                            "name": "SCALE",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 26131,
                            "src": "25044:5:128",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "src": "25040:9:128",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "src": "25031:18:128",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "id": 26713,
                      "nodeType": "ExpressionStatement",
                      "src": "25031:18:128"
                    }
                  ]
                }
              ]
            },
            "documentation": {
              "id": 26701,
              "nodeType": "StructuredDocumentation",
              "src": "24672:254:128",
              "text": "@notice Converts a unsigned 60.18-decimal fixed-point number to basic integer form, rounding down in the process.\n @param x The unsigned 60.18-decimal fixed-point number to convert.\n @return result The same number in basic integer form."
            },
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "toUint",
            "nameLocation": "24940:6:128",
            "parameters": {
              "id": 26704,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 26703,
                  "mutability": "mutable",
                  "name": "x",
                  "nameLocation": "24955:1:128",
                  "nodeType": "VariableDeclaration",
                  "scope": 26716,
                  "src": "24947:9:128",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 26702,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "24947:7:128",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "24946:11:128"
            },
            "returnParameters": {
              "id": 26707,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 26706,
                  "mutability": "mutable",
                  "name": "result",
                  "nameLocation": "24989:6:128",
                  "nodeType": "VariableDeclaration",
                  "scope": 26716,
                  "src": "24981:14:128",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 26705,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "24981:7:128",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "24980:16:128"
            },
            "scope": 26717,
            "stateMutability": "pure",
            "virtual": false,
            "visibility": "internal"
          }
        ],
        "abstract": false,
        "baseContracts": [],
        "contractDependencies": [],
        "contractKind": "library",
        "documentation": {
          "id": 26111,
          "nodeType": "StructuredDocumentation",
          "src": "89:477:128",
          "text": "@title PRBMathUD60x18\n @author Paul Razvan Berg\n @notice Smart contract library for advanced fixed-point math that works with uint256 numbers considered to have 18\n trailing decimals. We call this number representation unsigned 60.18-decimal fixed-point, since there can be up to 60\n digits in the integer part and up to 18 decimals in the fractional part. The numbers are bound by the minimum and the\n maximum values permitted by the Solidity type uint256."
        },
        "fullyImplemented": true,
        "linearizedBaseContracts": [
          26717
        ],
        "name": "PRBMathUD60x18",
        "nameLocation": "574:14:128",
        "scope": 26718,
        "usedErrors": []
      }
    ],
    "license": "Unlicense"
  },
  "id": 128
}