{
  "abi": [],
  "bytecode": {
    "object": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220c18fe02cd037c96e35a13e6a1d7797323853de8090a9e6d9601b782c37397a1964736f6c63430008060033",
    "sourceMap": "708:18160:158:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;708:18160:158;;;;;;;;;;;;;;;;;",
    "linkReferences": {}
  },
  "deployedBytecode": {
    "object": "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220c18fe02cd037c96e35a13e6a1d7797323853de8090a9e6d9601b782c37397a1964736f6c63430008060033",
    "sourceMap": "708:18160:158:-:0;;;;;;;;",
    "linkReferences": {}
  },
  "methodIdentifiers": {},
  "rawMetadata": "{\"compiler\":{\"version\":\"0.8.6+commit.11564f7e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"This library defines the `History` struct, for checkpointing values as they change at different points in time, and later looking up past values by block number. See {Votes} as an example. To create a history of checkpoints define a variable type `Checkpoints.History` in your contract, and store a new checkpoint for the current transaction block using the {push} function. _Available since v4.5._\",\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"lib/openzeppelin-contracts/contracts/utils/Checkpoints.sol\":\"Checkpoints\"},\"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/openzeppelin-contracts/contracts/utils/Checkpoints.sol\":{\"keccak256\":\"0x0f6dc5219eba1c00a26b7bce0a9aa9617600bdde1cefcf3ba892c3ad9da0d3e3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://21d1c01fe3bd0848526f9caeb5e90f5d8cbc8830770f6d748f7dd03409de3804\",\"dweb:/ipfs/QmS5cF3G3eJsu1CHS7uosEADHvMUfQLeVLF64pRvYpJwJ6\"]},\"lib/openzeppelin-contracts/contracts/utils/math/Math.sol\":{\"keccak256\":\"0xba1ae0497d71bf30f3710c38aba13a5b68c31d81ff04dd73e5dd55a05a9c903d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d77f4aee3f6534fe2dbc6583385fc123340f8ccb9bf3c8c04555e538a3d9a4b5\",\"dweb:/ipfs/QmVtP4Fz9tB2DFvMHJaSFbLxnEHE1NKDA92fviV7jDkEnL\"]},\"lib/openzeppelin-contracts/contracts/utils/math/SafeCast.sol\":{\"keccak256\":\"0x52a8cfb0f5239d11b457dcdd1b326992ef672714ca8da71a157255bddd13f3ad\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://495145362c7ff1c9ca88c58bbbbcb412e3c2004406647412394486552ff6c278\",\"dweb:/ipfs/QmNNCeng6d5eRPDn6tkWSQhjE39XWfQEfjA63rRwHmr1iH\"]}},\"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/openzeppelin-contracts/contracts/utils/Checkpoints.sol": "Checkpoints"
      },
      "libraries": {}
    },
    "sources": {
      "lib/openzeppelin-contracts/contracts/utils/Checkpoints.sol": {
        "keccak256": "0x0f6dc5219eba1c00a26b7bce0a9aa9617600bdde1cefcf3ba892c3ad9da0d3e3",
        "urls": [
          "bzz-raw://21d1c01fe3bd0848526f9caeb5e90f5d8cbc8830770f6d748f7dd03409de3804",
          "dweb:/ipfs/QmS5cF3G3eJsu1CHS7uosEADHvMUfQLeVLF64pRvYpJwJ6"
        ],
        "license": "MIT"
      },
      "lib/openzeppelin-contracts/contracts/utils/math/Math.sol": {
        "keccak256": "0xba1ae0497d71bf30f3710c38aba13a5b68c31d81ff04dd73e5dd55a05a9c903d",
        "urls": [
          "bzz-raw://d77f4aee3f6534fe2dbc6583385fc123340f8ccb9bf3c8c04555e538a3d9a4b5",
          "dweb:/ipfs/QmVtP4Fz9tB2DFvMHJaSFbLxnEHE1NKDA92fviV7jDkEnL"
        ],
        "license": "MIT"
      },
      "lib/openzeppelin-contracts/contracts/utils/math/SafeCast.sol": {
        "keccak256": "0x52a8cfb0f5239d11b457dcdd1b326992ef672714ca8da71a157255bddd13f3ad",
        "urls": [
          "bzz-raw://495145362c7ff1c9ca88c58bbbbcb412e3c2004406647412394486552ff6c278",
          "dweb:/ipfs/QmNNCeng6d5eRPDn6tkWSQhjE39XWfQEfjA63rRwHmr1iH"
        ],
        "license": "MIT"
      }
    },
    "version": 1
  },
  "ast": {
    "absolutePath": "lib/openzeppelin-contracts/contracts/utils/Checkpoints.sol",
    "id": 30220,
    "exportedSymbols": {
      "Checkpoints": [
        30219
      ],
      "Math": [
        40331
      ],
      "SafeCast": [
        31784
      ]
    },
    "nodeType": "SourceUnit",
    "src": "193:18676:158",
    "nodes": [
      {
        "id": 28850,
        "nodeType": "PragmaDirective",
        "src": "193:23:158",
        "nodes": [],
        "literals": [
          "solidity",
          "^",
          "0.8",
          ".0"
        ]
      },
      {
        "id": 28851,
        "nodeType": "ImportDirective",
        "src": "218:25:158",
        "nodes": [],
        "absolutePath": "lib/openzeppelin-contracts/contracts/utils/math/Math.sol",
        "file": "./math/Math.sol",
        "nameLocation": "-1:-1:-1",
        "scope": 30220,
        "sourceUnit": 40332,
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "id": 28852,
        "nodeType": "ImportDirective",
        "src": "244:29:158",
        "nodes": [],
        "absolutePath": "lib/openzeppelin-contracts/contracts/utils/math/SafeCast.sol",
        "file": "./math/SafeCast.sol",
        "nameLocation": "-1:-1:-1",
        "scope": 30220,
        "sourceUnit": 31785,
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "id": 30219,
        "nodeType": "ContractDefinition",
        "src": "708:18160:158",
        "nodes": [
          {
            "id": 28858,
            "nodeType": "StructDefinition",
            "src": "734:57:158",
            "nodes": [],
            "canonicalName": "Checkpoints.History",
            "members": [
              {
                "constant": false,
                "id": 28857,
                "mutability": "mutable",
                "name": "_checkpoints",
                "nameLocation": "772:12:158",
                "nodeType": "VariableDeclaration",
                "scope": 28858,
                "src": "759:25:158",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_array$_t_struct$_Checkpoint_$28863_storage_$dyn_storage_ptr",
                  "typeString": "struct Checkpoints.Checkpoint[]"
                },
                "typeName": {
                  "baseType": {
                    "id": 28855,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 28854,
                      "name": "Checkpoint",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 28863,
                      "src": "759:10:158"
                    },
                    "referencedDeclaration": 28863,
                    "src": "759:10:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_Checkpoint_$28863_storage_ptr",
                      "typeString": "struct Checkpoints.Checkpoint"
                    }
                  },
                  "id": 28856,
                  "nodeType": "ArrayTypeName",
                  "src": "759:12:158",
                  "typeDescriptions": {
                    "typeIdentifier": "t_array$_t_struct$_Checkpoint_$28863_storage_$dyn_storage_ptr",
                    "typeString": "struct Checkpoints.Checkpoint[]"
                  }
                },
                "visibility": "internal"
              }
            ],
            "name": "History",
            "nameLocation": "741:7:158",
            "scope": 30219,
            "visibility": "public"
          },
          {
            "id": 28863,
            "nodeType": "StructDefinition",
            "src": "797:78:158",
            "nodes": [],
            "canonicalName": "Checkpoints.Checkpoint",
            "members": [
              {
                "constant": false,
                "id": 28860,
                "mutability": "mutable",
                "name": "_blockNumber",
                "nameLocation": "832:12:158",
                "nodeType": "VariableDeclaration",
                "scope": 28863,
                "src": "825:19:158",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_uint32",
                  "typeString": "uint32"
                },
                "typeName": {
                  "id": 28859,
                  "name": "uint32",
                  "nodeType": "ElementaryTypeName",
                  "src": "825:6:158",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint32",
                    "typeString": "uint32"
                  }
                },
                "visibility": "internal"
              },
              {
                "constant": false,
                "id": 28862,
                "mutability": "mutable",
                "name": "_value",
                "nameLocation": "862:6:158",
                "nodeType": "VariableDeclaration",
                "scope": 28863,
                "src": "854:14:158",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_uint224",
                  "typeString": "uint224"
                },
                "typeName": {
                  "id": 28861,
                  "name": "uint224",
                  "nodeType": "ElementaryTypeName",
                  "src": "854:7:158",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint224",
                    "typeString": "uint224"
                  }
                },
                "visibility": "internal"
              }
            ],
            "name": "Checkpoint",
            "nameLocation": "804:10:158",
            "scope": 30219,
            "visibility": "public"
          },
          {
            "id": 28920,
            "nodeType": "FunctionDefinition",
            "src": "1222:439:158",
            "nodes": [],
            "body": {
              "id": 28919,
              "nodeType": "Block",
              "src": "1317:344:158",
              "nodes": [],
              "statements": [
                {
                  "expression": {
                    "arguments": [
                      {
                        "commonType": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "id": 28878,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "id": 28875,
                          "name": "blockNumber",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 28869,
                          "src": "1335:11:158",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "<",
                        "rightExpression": {
                          "expression": {
                            "id": 28876,
                            "name": "block",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": -4,
                            "src": "1349:5:158",
                            "typeDescriptions": {
                              "typeIdentifier": "t_magic_block",
                              "typeString": "block"
                            }
                          },
                          "id": 28877,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "number",
                          "nodeType": "MemberAccess",
                          "src": "1349:12:158",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "src": "1335:26:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      {
                        "hexValue": "436865636b706f696e74733a20626c6f636b206e6f7420796574206d696e6564",
                        "id": 28879,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "string",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "1363:34:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_stringliteral_65bd29ebd873d82da6b3634513fc6582859c8e00f2a09cb4bdbeddf7d05eb5be",
                          "typeString": "literal_string \"Checkpoints: block not yet mined\""
                        },
                        "value": "Checkpoints: block not yet mined"
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        {
                          "typeIdentifier": "t_stringliteral_65bd29ebd873d82da6b3634513fc6582859c8e00f2a09cb4bdbeddf7d05eb5be",
                          "typeString": "literal_string \"Checkpoints: block not yet mined\""
                        }
                      ],
                      "id": 28874,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        -18,
                        -18
                      ],
                      "referencedDeclaration": -18,
                      "src": "1327:7:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (bool,string memory) pure"
                      }
                    },
                    "id": 28880,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "1327:71:158",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 28881,
                  "nodeType": "ExpressionStatement",
                  "src": "1327:71:158"
                },
                {
                  "assignments": [
                    28883
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 28883,
                      "mutability": "mutable",
                      "name": "key",
                      "nameLocation": "1415:3:158",
                      "nodeType": "VariableDeclaration",
                      "scope": 28919,
                      "src": "1408:10:158",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint32",
                        "typeString": "uint32"
                      },
                      "typeName": {
                        "id": 28882,
                        "name": "uint32",
                        "nodeType": "ElementaryTypeName",
                        "src": "1408:6:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint32",
                          "typeString": "uint32"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 28888,
                  "initialValue": {
                    "arguments": [
                      {
                        "id": 28886,
                        "name": "blockNumber",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 28869,
                        "src": "1439:11:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      ],
                      "expression": {
                        "id": 28884,
                        "name": "SafeCast",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 31784,
                        "src": "1421:8:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_contract$_SafeCast_$31784_$",
                          "typeString": "type(library SafeCast)"
                        }
                      },
                      "id": 28885,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "toUint32",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 30946,
                      "src": "1421:17:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_pure$_t_uint256_$returns$_t_uint32_$",
                        "typeString": "function (uint256) pure returns (uint32)"
                      }
                    },
                    "id": 28887,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "1421:30:158",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint32",
                      "typeString": "uint32"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "1408:43:158"
                },
                {
                  "assignments": [
                    28890
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 28890,
                      "mutability": "mutable",
                      "name": "len",
                      "nameLocation": "1470:3:158",
                      "nodeType": "VariableDeclaration",
                      "scope": 28919,
                      "src": "1462:11:158",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 28889,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "1462:7:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 28894,
                  "initialValue": {
                    "expression": {
                      "expression": {
                        "id": 28891,
                        "name": "self",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 28867,
                        "src": "1476:4:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_History_$28858_storage_ptr",
                          "typeString": "struct Checkpoints.History storage pointer"
                        }
                      },
                      "id": 28892,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "_checkpoints",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 28857,
                      "src": "1476:17:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_array$_t_struct$_Checkpoint_$28863_storage_$dyn_storage",
                        "typeString": "struct Checkpoints.Checkpoint storage ref[] storage ref"
                      }
                    },
                    "id": 28893,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "memberName": "length",
                    "nodeType": "MemberAccess",
                    "src": "1476:24:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "1462:38:158"
                },
                {
                  "assignments": [
                    28896
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 28896,
                      "mutability": "mutable",
                      "name": "pos",
                      "nameLocation": "1518:3:158",
                      "nodeType": "VariableDeclaration",
                      "scope": 28919,
                      "src": "1510:11:158",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 28895,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "1510:7:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 28904,
                  "initialValue": {
                    "arguments": [
                      {
                        "expression": {
                          "id": 28898,
                          "name": "self",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 28867,
                          "src": "1543:4:158",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_History_$28858_storage_ptr",
                            "typeString": "struct Checkpoints.History storage pointer"
                          }
                        },
                        "id": 28899,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "_checkpoints",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 28857,
                        "src": "1543:17:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_array$_t_struct$_Checkpoint_$28863_storage_$dyn_storage",
                          "typeString": "struct Checkpoints.Checkpoint storage ref[] storage ref"
                        }
                      },
                      {
                        "id": 28900,
                        "name": "key",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 28883,
                        "src": "1562:3:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint32",
                          "typeString": "uint32"
                        }
                      },
                      {
                        "hexValue": "30",
                        "id": 28901,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "number",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "1567:1:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_rational_0_by_1",
                          "typeString": "int_const 0"
                        },
                        "value": "0"
                      },
                      {
                        "id": 28902,
                        "name": "len",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 28890,
                        "src": "1570:3:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_array$_t_struct$_Checkpoint_$28863_storage_$dyn_storage",
                          "typeString": "struct Checkpoints.Checkpoint storage ref[] storage ref"
                        },
                        {
                          "typeIdentifier": "t_uint32",
                          "typeString": "uint32"
                        },
                        {
                          "typeIdentifier": "t_rational_0_by_1",
                          "typeString": "int_const 0"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      ],
                      "id": 28897,
                      "name": "_upperBinaryLookup",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        29317,
                        29734,
                        30151
                      ],
                      "referencedDeclaration": 29317,
                      "src": "1524:18:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_view$_t_array$_t_struct$_Checkpoint_$28863_storage_$dyn_storage_ptr_$_t_uint32_$_t_uint256_$_t_uint256_$returns$_t_uint256_$",
                        "typeString": "function (struct Checkpoints.Checkpoint storage ref[] storage pointer,uint32,uint256,uint256) view returns (uint256)"
                      }
                    },
                    "id": 28903,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "1524:50:158",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "1510:64:158"
                },
                {
                  "expression": {
                    "condition": {
                      "commonType": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "id": 28907,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "leftExpression": {
                        "id": 28905,
                        "name": "pos",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 28896,
                        "src": "1591:3:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "nodeType": "BinaryOperation",
                      "operator": "==",
                      "rightExpression": {
                        "hexValue": "30",
                        "id": 28906,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "number",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "1598:1:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_rational_0_by_1",
                          "typeString": "int_const 0"
                        },
                        "value": "0"
                      },
                      "src": "1591:8:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bool",
                        "typeString": "bool"
                      }
                    },
                    "falseExpression": {
                      "expression": {
                        "arguments": [
                          {
                            "expression": {
                              "id": 28910,
                              "name": "self",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 28867,
                              "src": "1620:4:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_History_$28858_storage_ptr",
                                "typeString": "struct Checkpoints.History storage pointer"
                              }
                            },
                            "id": 28911,
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "_checkpoints",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 28857,
                            "src": "1620:17:158",
                            "typeDescriptions": {
                              "typeIdentifier": "t_array$_t_struct$_Checkpoint_$28863_storage_$dyn_storage",
                              "typeString": "struct Checkpoints.Checkpoint storage ref[] storage ref"
                            }
                          },
                          {
                            "commonType": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            },
                            "id": 28914,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "leftExpression": {
                              "id": 28912,
                              "name": "pos",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 28896,
                              "src": "1639:3:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "nodeType": "BinaryOperation",
                            "operator": "-",
                            "rightExpression": {
                              "hexValue": "31",
                              "id": 28913,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "number",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "1645:1:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_rational_1_by_1",
                                "typeString": "int_const 1"
                              },
                              "value": "1"
                            },
                            "src": "1639:7:158",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_array$_t_struct$_Checkpoint_$28863_storage_$dyn_storage",
                              "typeString": "struct Checkpoints.Checkpoint storage ref[] storage ref"
                            },
                            {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          ],
                          "id": 28909,
                          "name": "_unsafeAccess",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [
                            29384,
                            29801,
                            30218
                          ],
                          "referencedDeclaration": 29384,
                          "src": "1606:13:158",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_internal_pure$_t_array$_t_struct$_Checkpoint_$28863_storage_$dyn_storage_ptr_$_t_uint256_$returns$_t_struct$_Checkpoint_$28863_storage_ptr_$",
                            "typeString": "function (struct Checkpoints.Checkpoint storage ref[] storage pointer,uint256) pure returns (struct Checkpoints.Checkpoint storage pointer)"
                          }
                        },
                        "id": 28915,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "1606:41:158",
                        "tryCall": false,
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_Checkpoint_$28863_storage_ptr",
                          "typeString": "struct Checkpoints.Checkpoint storage pointer"
                        }
                      },
                      "id": 28916,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "_value",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 28862,
                      "src": "1606:48:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint224",
                        "typeString": "uint224"
                      }
                    },
                    "id": 28917,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "Conditional",
                    "src": "1591:63:158",
                    "trueExpression": {
                      "hexValue": "30",
                      "id": 28908,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "1602:1:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint224",
                      "typeString": "uint224"
                    }
                  },
                  "functionReturnParameters": 28873,
                  "id": 28918,
                  "nodeType": "Return",
                  "src": "1584:70:158"
                }
              ]
            },
            "documentation": {
              "id": 28864,
              "nodeType": "StructuredDocumentation",
              "src": "881:336:158",
              "text": " @dev Returns the value at a given block number. If a checkpoint is not available at that block, the closest one\n before it is returned, or zero otherwise. Because the number returned corresponds to that at the end of the\n block, the requested block number must be in the past, excluding the current block."
            },
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "getAtBlock",
            "nameLocation": "1231:10:158",
            "parameters": {
              "id": 28870,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 28867,
                  "mutability": "mutable",
                  "name": "self",
                  "nameLocation": "1258:4:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 28920,
                  "src": "1242:20:158",
                  "stateVariable": false,
                  "storageLocation": "storage",
                  "typeDescriptions": {
                    "typeIdentifier": "t_struct$_History_$28858_storage_ptr",
                    "typeString": "struct Checkpoints.History"
                  },
                  "typeName": {
                    "id": 28866,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 28865,
                      "name": "History",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 28858,
                      "src": "1242:7:158"
                    },
                    "referencedDeclaration": 28858,
                    "src": "1242:7:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_History_$28858_storage_ptr",
                      "typeString": "struct Checkpoints.History"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 28869,
                  "mutability": "mutable",
                  "name": "blockNumber",
                  "nameLocation": "1272:11:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 28920,
                  "src": "1264:19:158",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 28868,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1264:7:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1241:43:158"
            },
            "returnParameters": {
              "id": 28873,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 28872,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 28920,
                  "src": "1308:7:158",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 28871,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1308:7:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1307:9:158"
            },
            "scope": 30219,
            "stateMutability": "view",
            "virtual": false,
            "visibility": "internal"
          },
          {
            "id": 29020,
            "nodeType": "FunctionDefinition",
            "src": "2058:764:158",
            "nodes": [],
            "body": {
              "id": 29019,
              "nodeType": "Block",
              "src": "2167:655:158",
              "nodes": [],
              "statements": [
                {
                  "expression": {
                    "arguments": [
                      {
                        "commonType": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "id": 28935,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "id": 28932,
                          "name": "blockNumber",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 28926,
                          "src": "2185:11:158",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "<",
                        "rightExpression": {
                          "expression": {
                            "id": 28933,
                            "name": "block",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": -4,
                            "src": "2199:5:158",
                            "typeDescriptions": {
                              "typeIdentifier": "t_magic_block",
                              "typeString": "block"
                            }
                          },
                          "id": 28934,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "number",
                          "nodeType": "MemberAccess",
                          "src": "2199:12:158",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "src": "2185:26:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      {
                        "hexValue": "436865636b706f696e74733a20626c6f636b206e6f7420796574206d696e6564",
                        "id": 28936,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "string",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "2213:34:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_stringliteral_65bd29ebd873d82da6b3634513fc6582859c8e00f2a09cb4bdbeddf7d05eb5be",
                          "typeString": "literal_string \"Checkpoints: block not yet mined\""
                        },
                        "value": "Checkpoints: block not yet mined"
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        {
                          "typeIdentifier": "t_stringliteral_65bd29ebd873d82da6b3634513fc6582859c8e00f2a09cb4bdbeddf7d05eb5be",
                          "typeString": "literal_string \"Checkpoints: block not yet mined\""
                        }
                      ],
                      "id": 28931,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        -18,
                        -18
                      ],
                      "referencedDeclaration": -18,
                      "src": "2177:7:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (bool,string memory) pure"
                      }
                    },
                    "id": 28937,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "2177:71:158",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 28938,
                  "nodeType": "ExpressionStatement",
                  "src": "2177:71:158"
                },
                {
                  "assignments": [
                    28940
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 28940,
                      "mutability": "mutable",
                      "name": "key",
                      "nameLocation": "2265:3:158",
                      "nodeType": "VariableDeclaration",
                      "scope": 29019,
                      "src": "2258:10:158",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint32",
                        "typeString": "uint32"
                      },
                      "typeName": {
                        "id": 28939,
                        "name": "uint32",
                        "nodeType": "ElementaryTypeName",
                        "src": "2258:6:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint32",
                          "typeString": "uint32"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 28945,
                  "initialValue": {
                    "arguments": [
                      {
                        "id": 28943,
                        "name": "blockNumber",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 28926,
                        "src": "2289:11:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      ],
                      "expression": {
                        "id": 28941,
                        "name": "SafeCast",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 31784,
                        "src": "2271:8:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_contract$_SafeCast_$31784_$",
                          "typeString": "type(library SafeCast)"
                        }
                      },
                      "id": 28942,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "toUint32",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 30946,
                      "src": "2271:17:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_pure$_t_uint256_$returns$_t_uint32_$",
                        "typeString": "function (uint256) pure returns (uint32)"
                      }
                    },
                    "id": 28944,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "2271:30:158",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint32",
                      "typeString": "uint32"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "2258:43:158"
                },
                {
                  "assignments": [
                    28947
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 28947,
                      "mutability": "mutable",
                      "name": "len",
                      "nameLocation": "2320:3:158",
                      "nodeType": "VariableDeclaration",
                      "scope": 29019,
                      "src": "2312:11:158",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 28946,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "2312:7:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 28951,
                  "initialValue": {
                    "expression": {
                      "expression": {
                        "id": 28948,
                        "name": "self",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 28924,
                        "src": "2326:4:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_History_$28858_storage_ptr",
                          "typeString": "struct Checkpoints.History storage pointer"
                        }
                      },
                      "id": 28949,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "_checkpoints",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 28857,
                      "src": "2326:17:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_array$_t_struct$_Checkpoint_$28863_storage_$dyn_storage",
                        "typeString": "struct Checkpoints.Checkpoint storage ref[] storage ref"
                      }
                    },
                    "id": 28950,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "memberName": "length",
                    "nodeType": "MemberAccess",
                    "src": "2326:24:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "2312:38:158"
                },
                {
                  "assignments": [
                    28953
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 28953,
                      "mutability": "mutable",
                      "name": "low",
                      "nameLocation": "2369:3:158",
                      "nodeType": "VariableDeclaration",
                      "scope": 29019,
                      "src": "2361:11:158",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 28952,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "2361:7:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 28955,
                  "initialValue": {
                    "hexValue": "30",
                    "id": 28954,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": true,
                    "kind": "number",
                    "lValueRequested": false,
                    "nodeType": "Literal",
                    "src": "2375:1:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_rational_0_by_1",
                      "typeString": "int_const 0"
                    },
                    "value": "0"
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "2361:15:158"
                },
                {
                  "assignments": [
                    28957
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 28957,
                      "mutability": "mutable",
                      "name": "high",
                      "nameLocation": "2394:4:158",
                      "nodeType": "VariableDeclaration",
                      "scope": 29019,
                      "src": "2386:12:158",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 28956,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "2386:7:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 28959,
                  "initialValue": {
                    "id": 28958,
                    "name": "len",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 28947,
                    "src": "2401:3:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "2386:18:158"
                },
                {
                  "condition": {
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 28962,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "id": 28960,
                      "name": "len",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 28947,
                      "src": "2419:3:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": ">",
                    "rightExpression": {
                      "hexValue": "35",
                      "id": 28961,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "2425:1:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_5_by_1",
                        "typeString": "int_const 5"
                      },
                      "value": "5"
                    },
                    "src": "2419:7:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 28994,
                  "nodeType": "IfStatement",
                  "src": "2415:242:158",
                  "trueBody": {
                    "id": 28993,
                    "nodeType": "Block",
                    "src": "2428:229:158",
                    "statements": [
                      {
                        "assignments": [
                          28964
                        ],
                        "declarations": [
                          {
                            "constant": false,
                            "id": 28964,
                            "mutability": "mutable",
                            "name": "mid",
                            "nameLocation": "2450:3:158",
                            "nodeType": "VariableDeclaration",
                            "scope": 28993,
                            "src": "2442:11:158",
                            "stateVariable": false,
                            "storageLocation": "default",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            },
                            "typeName": {
                              "id": 28963,
                              "name": "uint256",
                              "nodeType": "ElementaryTypeName",
                              "src": "2442:7:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "visibility": "internal"
                          }
                        ],
                        "id": 28971,
                        "initialValue": {
                          "commonType": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          "id": 28970,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftExpression": {
                            "id": 28965,
                            "name": "len",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 28947,
                            "src": "2456:3:158",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "nodeType": "BinaryOperation",
                          "operator": "-",
                          "rightExpression": {
                            "arguments": [
                              {
                                "id": 28968,
                                "name": "len",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 28947,
                                "src": "2472:3:158",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              }
                            ],
                            "expression": {
                              "argumentTypes": [
                                {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              ],
                              "expression": {
                                "id": 28966,
                                "name": "Math",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 40331,
                                "src": "2462:4:158",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_type$_t_contract$_Math_$40331_$",
                                  "typeString": "type(library Math)"
                                }
                              },
                              "id": 28967,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "sqrt",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 39835,
                              "src": "2462:9:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_function_internal_pure$_t_uint256_$returns$_t_uint256_$",
                                "typeString": "function (uint256) pure returns (uint256)"
                              }
                            },
                            "id": 28969,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "functionCall",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "2462:14:158",
                            "tryCall": false,
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "src": "2456:20:158",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "VariableDeclarationStatement",
                        "src": "2442:34:158"
                      },
                      {
                        "condition": {
                          "commonType": {
                            "typeIdentifier": "t_uint32",
                            "typeString": "uint32"
                          },
                          "id": 28979,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftExpression": {
                            "id": 28972,
                            "name": "key",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 28940,
                            "src": "2494:3:158",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint32",
                              "typeString": "uint32"
                            }
                          },
                          "nodeType": "BinaryOperation",
                          "operator": "<",
                          "rightExpression": {
                            "expression": {
                              "arguments": [
                                {
                                  "expression": {
                                    "id": 28974,
                                    "name": "self",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 28924,
                                    "src": "2514:4:158",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_struct$_History_$28858_storage_ptr",
                                      "typeString": "struct Checkpoints.History storage pointer"
                                    }
                                  },
                                  "id": 28975,
                                  "isConstant": false,
                                  "isLValue": true,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "memberName": "_checkpoints",
                                  "nodeType": "MemberAccess",
                                  "referencedDeclaration": 28857,
                                  "src": "2514:17:158",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_array$_t_struct$_Checkpoint_$28863_storage_$dyn_storage",
                                    "typeString": "struct Checkpoints.Checkpoint storage ref[] storage ref"
                                  }
                                },
                                {
                                  "id": 28976,
                                  "name": "mid",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 28964,
                                  "src": "2533:3:158",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                }
                              ],
                              "expression": {
                                "argumentTypes": [
                                  {
                                    "typeIdentifier": "t_array$_t_struct$_Checkpoint_$28863_storage_$dyn_storage",
                                    "typeString": "struct Checkpoints.Checkpoint storage ref[] storage ref"
                                  },
                                  {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                ],
                                "id": 28973,
                                "name": "_unsafeAccess",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [
                                  29384,
                                  29801,
                                  30218
                                ],
                                "referencedDeclaration": 29384,
                                "src": "2500:13:158",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_function_internal_pure$_t_array$_t_struct$_Checkpoint_$28863_storage_$dyn_storage_ptr_$_t_uint256_$returns$_t_struct$_Checkpoint_$28863_storage_ptr_$",
                                  "typeString": "function (struct Checkpoints.Checkpoint storage ref[] storage pointer,uint256) pure returns (struct Checkpoints.Checkpoint storage pointer)"
                                }
                              },
                              "id": 28977,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "kind": "functionCall",
                              "lValueRequested": false,
                              "names": [],
                              "nodeType": "FunctionCall",
                              "src": "2500:37:158",
                              "tryCall": false,
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_Checkpoint_$28863_storage_ptr",
                                "typeString": "struct Checkpoints.Checkpoint storage pointer"
                              }
                            },
                            "id": 28978,
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "_blockNumber",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 28860,
                            "src": "2500:50:158",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint32",
                              "typeString": "uint32"
                            }
                          },
                          "src": "2494:56:158",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          }
                        },
                        "falseBody": {
                          "id": 28991,
                          "nodeType": "Block",
                          "src": "2601:46:158",
                          "statements": [
                            {
                              "expression": {
                                "id": 28989,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "leftHandSide": {
                                  "id": 28985,
                                  "name": "low",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 28953,
                                  "src": "2619:3:158",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "nodeType": "Assignment",
                                "operator": "=",
                                "rightHandSide": {
                                  "commonType": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  },
                                  "id": 28988,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "leftExpression": {
                                    "id": 28986,
                                    "name": "mid",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 28964,
                                    "src": "2625:3:158",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_uint256",
                                      "typeString": "uint256"
                                    }
                                  },
                                  "nodeType": "BinaryOperation",
                                  "operator": "+",
                                  "rightExpression": {
                                    "hexValue": "31",
                                    "id": 28987,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": true,
                                    "kind": "number",
                                    "lValueRequested": false,
                                    "nodeType": "Literal",
                                    "src": "2631:1:158",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_rational_1_by_1",
                                      "typeString": "int_const 1"
                                    },
                                    "value": "1"
                                  },
                                  "src": "2625:7:158",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "src": "2619:13:158",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "id": 28990,
                              "nodeType": "ExpressionStatement",
                              "src": "2619:13:158"
                            }
                          ]
                        },
                        "id": 28992,
                        "nodeType": "IfStatement",
                        "src": "2490:157:158",
                        "trueBody": {
                          "id": 28984,
                          "nodeType": "Block",
                          "src": "2552:43:158",
                          "statements": [
                            {
                              "expression": {
                                "id": 28982,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "leftHandSide": {
                                  "id": 28980,
                                  "name": "high",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 28957,
                                  "src": "2570:4:158",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "nodeType": "Assignment",
                                "operator": "=",
                                "rightHandSide": {
                                  "id": 28981,
                                  "name": "mid",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 28964,
                                  "src": "2577:3:158",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "src": "2570:10:158",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "id": 28983,
                              "nodeType": "ExpressionStatement",
                              "src": "2570:10:158"
                            }
                          ]
                        }
                      }
                    ]
                  }
                },
                {
                  "assignments": [
                    28996
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 28996,
                      "mutability": "mutable",
                      "name": "pos",
                      "nameLocation": "2675:3:158",
                      "nodeType": "VariableDeclaration",
                      "scope": 29019,
                      "src": "2667:11:158",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 28995,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "2667:7:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 29004,
                  "initialValue": {
                    "arguments": [
                      {
                        "expression": {
                          "id": 28998,
                          "name": "self",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 28924,
                          "src": "2700:4:158",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_History_$28858_storage_ptr",
                            "typeString": "struct Checkpoints.History storage pointer"
                          }
                        },
                        "id": 28999,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "_checkpoints",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 28857,
                        "src": "2700:17:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_array$_t_struct$_Checkpoint_$28863_storage_$dyn_storage",
                          "typeString": "struct Checkpoints.Checkpoint storage ref[] storage ref"
                        }
                      },
                      {
                        "id": 29000,
                        "name": "key",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 28940,
                        "src": "2719:3:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint32",
                          "typeString": "uint32"
                        }
                      },
                      {
                        "id": 29001,
                        "name": "low",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 28953,
                        "src": "2724:3:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "id": 29002,
                        "name": "high",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 28957,
                        "src": "2729:4:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_array$_t_struct$_Checkpoint_$28863_storage_$dyn_storage",
                          "typeString": "struct Checkpoints.Checkpoint storage ref[] storage ref"
                        },
                        {
                          "typeIdentifier": "t_uint32",
                          "typeString": "uint32"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      ],
                      "id": 28997,
                      "name": "_upperBinaryLookup",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        29317,
                        29734,
                        30151
                      ],
                      "referencedDeclaration": 29317,
                      "src": "2681:18:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_view$_t_array$_t_struct$_Checkpoint_$28863_storage_$dyn_storage_ptr_$_t_uint32_$_t_uint256_$_t_uint256_$returns$_t_uint256_$",
                        "typeString": "function (struct Checkpoints.Checkpoint storage ref[] storage pointer,uint32,uint256,uint256) view returns (uint256)"
                      }
                    },
                    "id": 29003,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "2681:53:158",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "2667:67:158"
                },
                {
                  "expression": {
                    "condition": {
                      "commonType": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "id": 29007,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "leftExpression": {
                        "id": 29005,
                        "name": "pos",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 28996,
                        "src": "2752:3:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "nodeType": "BinaryOperation",
                      "operator": "==",
                      "rightExpression": {
                        "hexValue": "30",
                        "id": 29006,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "number",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "2759:1:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_rational_0_by_1",
                          "typeString": "int_const 0"
                        },
                        "value": "0"
                      },
                      "src": "2752:8:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bool",
                        "typeString": "bool"
                      }
                    },
                    "falseExpression": {
                      "expression": {
                        "arguments": [
                          {
                            "expression": {
                              "id": 29010,
                              "name": "self",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 28924,
                              "src": "2781:4:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_History_$28858_storage_ptr",
                                "typeString": "struct Checkpoints.History storage pointer"
                              }
                            },
                            "id": 29011,
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "_checkpoints",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 28857,
                            "src": "2781:17:158",
                            "typeDescriptions": {
                              "typeIdentifier": "t_array$_t_struct$_Checkpoint_$28863_storage_$dyn_storage",
                              "typeString": "struct Checkpoints.Checkpoint storage ref[] storage ref"
                            }
                          },
                          {
                            "commonType": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            },
                            "id": 29014,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "leftExpression": {
                              "id": 29012,
                              "name": "pos",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 28996,
                              "src": "2800:3:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "nodeType": "BinaryOperation",
                            "operator": "-",
                            "rightExpression": {
                              "hexValue": "31",
                              "id": 29013,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "number",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "2806:1:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_rational_1_by_1",
                                "typeString": "int_const 1"
                              },
                              "value": "1"
                            },
                            "src": "2800:7:158",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_array$_t_struct$_Checkpoint_$28863_storage_$dyn_storage",
                              "typeString": "struct Checkpoints.Checkpoint storage ref[] storage ref"
                            },
                            {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          ],
                          "id": 29009,
                          "name": "_unsafeAccess",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [
                            29384,
                            29801,
                            30218
                          ],
                          "referencedDeclaration": 29384,
                          "src": "2767:13:158",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_internal_pure$_t_array$_t_struct$_Checkpoint_$28863_storage_$dyn_storage_ptr_$_t_uint256_$returns$_t_struct$_Checkpoint_$28863_storage_ptr_$",
                            "typeString": "function (struct Checkpoints.Checkpoint storage ref[] storage pointer,uint256) pure returns (struct Checkpoints.Checkpoint storage pointer)"
                          }
                        },
                        "id": 29015,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "2767:41:158",
                        "tryCall": false,
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_Checkpoint_$28863_storage_ptr",
                          "typeString": "struct Checkpoints.Checkpoint storage pointer"
                        }
                      },
                      "id": 29016,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "_value",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 28862,
                      "src": "2767:48:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint224",
                        "typeString": "uint224"
                      }
                    },
                    "id": 29017,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "Conditional",
                    "src": "2752:63:158",
                    "trueExpression": {
                      "hexValue": "30",
                      "id": 29008,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "2763:1:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint224",
                      "typeString": "uint224"
                    }
                  },
                  "functionReturnParameters": 28930,
                  "id": 29018,
                  "nodeType": "Return",
                  "src": "2745:70:158"
                }
              ]
            },
            "documentation": {
              "id": 28921,
              "nodeType": "StructuredDocumentation",
              "src": "1667:386:158",
              "text": " @dev Returns the value at a given block number. If a checkpoint is not available at that block, the closest one\n before it is returned, or zero otherwise. Similar to {upperLookup} but optimized for the case when the searched\n checkpoint is probably \"recent\", defined as being among the last sqrt(N) checkpoints where N is the number of\n checkpoints."
            },
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "getAtProbablyRecentBlock",
            "nameLocation": "2067:24:158",
            "parameters": {
              "id": 28927,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 28924,
                  "mutability": "mutable",
                  "name": "self",
                  "nameLocation": "2108:4:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 29020,
                  "src": "2092:20:158",
                  "stateVariable": false,
                  "storageLocation": "storage",
                  "typeDescriptions": {
                    "typeIdentifier": "t_struct$_History_$28858_storage_ptr",
                    "typeString": "struct Checkpoints.History"
                  },
                  "typeName": {
                    "id": 28923,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 28922,
                      "name": "History",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 28858,
                      "src": "2092:7:158"
                    },
                    "referencedDeclaration": 28858,
                    "src": "2092:7:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_History_$28858_storage_ptr",
                      "typeString": "struct Checkpoints.History"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 28926,
                  "mutability": "mutable",
                  "name": "blockNumber",
                  "nameLocation": "2122:11:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 29020,
                  "src": "2114:19:158",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 28925,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "2114:7:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "2091:43:158"
            },
            "returnParameters": {
              "id": 28930,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 28929,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 29020,
                  "src": "2158:7:158",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 28928,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "2158:7:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "2157:9:158"
            },
            "scope": 30219,
            "stateMutability": "view",
            "virtual": false,
            "visibility": "internal"
          },
          {
            "id": 29048,
            "nodeType": "FunctionDefinition",
            "src": "3000:197:158",
            "nodes": [],
            "body": {
              "id": 29047,
              "nodeType": "Block",
              "src": "3087:110:158",
              "nodes": [],
              "statements": [
                {
                  "expression": {
                    "arguments": [
                      {
                        "expression": {
                          "id": 29034,
                          "name": "self",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 29024,
                          "src": "3112:4:158",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_History_$28858_storage_ptr",
                            "typeString": "struct Checkpoints.History storage pointer"
                          }
                        },
                        "id": 29035,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "_checkpoints",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 28857,
                        "src": "3112:17:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_array$_t_struct$_Checkpoint_$28863_storage_$dyn_storage",
                          "typeString": "struct Checkpoints.Checkpoint storage ref[] storage ref"
                        }
                      },
                      {
                        "arguments": [
                          {
                            "expression": {
                              "id": 29038,
                              "name": "block",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": -4,
                              "src": "3149:5:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_magic_block",
                                "typeString": "block"
                              }
                            },
                            "id": 29039,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "number",
                            "nodeType": "MemberAccess",
                            "src": "3149:12:158",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          ],
                          "expression": {
                            "id": 29036,
                            "name": "SafeCast",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 31784,
                            "src": "3131:8:158",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_contract$_SafeCast_$31784_$",
                              "typeString": "type(library SafeCast)"
                            }
                          },
                          "id": 29037,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "toUint32",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": 30946,
                          "src": "3131:17:158",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_internal_pure$_t_uint256_$returns$_t_uint32_$",
                            "typeString": "function (uint256) pure returns (uint32)"
                          }
                        },
                        "id": 29040,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "3131:31:158",
                        "tryCall": false,
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint32",
                          "typeString": "uint32"
                        }
                      },
                      {
                        "arguments": [
                          {
                            "id": 29043,
                            "name": "value",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 29026,
                            "src": "3183:5:158",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          ],
                          "expression": {
                            "id": 29041,
                            "name": "SafeCast",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 31784,
                            "src": "3164:8:158",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_contract$_SafeCast_$31784_$",
                              "typeString": "type(library SafeCast)"
                            }
                          },
                          "id": 29042,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "toUint224",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": 30346,
                          "src": "3164:18:158",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_internal_pure$_t_uint256_$returns$_t_uint224_$",
                            "typeString": "function (uint256) pure returns (uint224)"
                          }
                        },
                        "id": 29044,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "3164:25:158",
                        "tryCall": false,
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint224",
                          "typeString": "uint224"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_array$_t_struct$_Checkpoint_$28863_storage_$dyn_storage",
                          "typeString": "struct Checkpoints.Checkpoint storage ref[] storage ref"
                        },
                        {
                          "typeIdentifier": "t_uint32",
                          "typeString": "uint32"
                        },
                        {
                          "typeIdentifier": "t_uint224",
                          "typeString": "uint224"
                        }
                      ],
                      "id": 29033,
                      "name": "_insert",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        29265,
                        29682,
                        30099
                      ],
                      "referencedDeclaration": 29265,
                      "src": "3104:7:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_nonpayable$_t_array$_t_struct$_Checkpoint_$28863_storage_$dyn_storage_ptr_$_t_uint32_$_t_uint224_$returns$_t_uint224_$_t_uint224_$",
                        "typeString": "function (struct Checkpoints.Checkpoint storage ref[] storage pointer,uint32,uint224) returns (uint224,uint224)"
                      }
                    },
                    "id": 29045,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "3104:86:158",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$_t_uint224_$_t_uint224_$",
                      "typeString": "tuple(uint224,uint224)"
                    }
                  },
                  "functionReturnParameters": 29032,
                  "id": 29046,
                  "nodeType": "Return",
                  "src": "3097:93:158"
                }
              ]
            },
            "documentation": {
              "id": 29021,
              "nodeType": "StructuredDocumentation",
              "src": "2828:167:158",
              "text": " @dev Pushes a value onto a History so that it is stored as the checkpoint for the current block.\n Returns previous value and new value."
            },
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "push",
            "nameLocation": "3009:4:158",
            "parameters": {
              "id": 29027,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 29024,
                  "mutability": "mutable",
                  "name": "self",
                  "nameLocation": "3030:4:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 29048,
                  "src": "3014:20:158",
                  "stateVariable": false,
                  "storageLocation": "storage",
                  "typeDescriptions": {
                    "typeIdentifier": "t_struct$_History_$28858_storage_ptr",
                    "typeString": "struct Checkpoints.History"
                  },
                  "typeName": {
                    "id": 29023,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 29022,
                      "name": "History",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 28858,
                      "src": "3014:7:158"
                    },
                    "referencedDeclaration": 28858,
                    "src": "3014:7:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_History_$28858_storage_ptr",
                      "typeString": "struct Checkpoints.History"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 29026,
                  "mutability": "mutable",
                  "name": "value",
                  "nameLocation": "3044:5:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 29048,
                  "src": "3036:13:158",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 29025,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "3036:7:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "3013:37:158"
            },
            "returnParameters": {
              "id": 29032,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 29029,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 29048,
                  "src": "3069:7:158",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 29028,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "3069:7:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 29031,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 29048,
                  "src": "3078:7:158",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 29030,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "3078:7:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "3068:18:158"
            },
            "scope": 30219,
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "internal"
          },
          {
            "id": 29082,
            "nodeType": "FunctionDefinition",
            "src": "3429:230:158",
            "nodes": [],
            "body": {
              "id": 29081,
              "nodeType": "Block",
              "src": "3600:59:158",
              "nodes": [],
              "statements": [
                {
                  "expression": {
                    "arguments": [
                      {
                        "id": 29072,
                        "name": "self",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 29052,
                        "src": "3622:4:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_History_$28858_storage_ptr",
                          "typeString": "struct Checkpoints.History storage pointer"
                        }
                      },
                      {
                        "arguments": [
                          {
                            "arguments": [
                              {
                                "id": 29075,
                                "name": "self",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 29052,
                                "src": "3638:4:158",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_struct$_History_$28858_storage_ptr",
                                  "typeString": "struct Checkpoints.History storage pointer"
                                }
                              }
                            ],
                            "expression": {
                              "argumentTypes": [
                                {
                                  "typeIdentifier": "t_struct$_History_$28858_storage_ptr",
                                  "typeString": "struct Checkpoints.History storage pointer"
                                }
                              ],
                              "id": 29074,
                              "name": "latest",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [
                                29112,
                                29529,
                                29946
                              ],
                              "referencedDeclaration": 29112,
                              "src": "3631:6:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_function_internal_view$_t_struct$_History_$28858_storage_ptr_$returns$_t_uint224_$",
                                "typeString": "function (struct Checkpoints.History storage pointer) view returns (uint224)"
                              }
                            },
                            "id": 29076,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "functionCall",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "3631:12:158",
                            "tryCall": false,
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint224",
                              "typeString": "uint224"
                            }
                          },
                          {
                            "id": 29077,
                            "name": "delta",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 29064,
                            "src": "3645:5:158",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_uint224",
                              "typeString": "uint224"
                            },
                            {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          ],
                          "id": 29073,
                          "name": "op",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 29062,
                          "src": "3628:2:158",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_internal_view$_t_uint256_$_t_uint256_$returns$_t_uint256_$",
                            "typeString": "function (uint256,uint256) view returns (uint256)"
                          }
                        },
                        "id": 29078,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "3628:23:158",
                        "tryCall": false,
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_struct$_History_$28858_storage_ptr",
                          "typeString": "struct Checkpoints.History storage pointer"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      ],
                      "id": 29071,
                      "name": "push",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        29048,
                        29082,
                        29417,
                        29834
                      ],
                      "referencedDeclaration": 29048,
                      "src": "3617:4:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_History_$28858_storage_ptr_$_t_uint256_$returns$_t_uint256_$_t_uint256_$",
                        "typeString": "function (struct Checkpoints.History storage pointer,uint256) returns (uint256,uint256)"
                      }
                    },
                    "id": 29079,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "3617:35:158",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$_t_uint256_$_t_uint256_$",
                      "typeString": "tuple(uint256,uint256)"
                    }
                  },
                  "functionReturnParameters": 29070,
                  "id": 29080,
                  "nodeType": "Return",
                  "src": "3610:42:158"
                }
              ]
            },
            "documentation": {
              "id": 29049,
              "nodeType": "StructuredDocumentation",
              "src": "3203:221:158",
              "text": " @dev Pushes a value onto a History, by updating the latest value using binary operation `op`. The new value will\n be set to `op(latest, delta)`.\n Returns previous value and new value."
            },
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "push",
            "nameLocation": "3438:4:158",
            "parameters": {
              "id": 29065,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 29052,
                  "mutability": "mutable",
                  "name": "self",
                  "nameLocation": "3468:4:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 29082,
                  "src": "3452:20:158",
                  "stateVariable": false,
                  "storageLocation": "storage",
                  "typeDescriptions": {
                    "typeIdentifier": "t_struct$_History_$28858_storage_ptr",
                    "typeString": "struct Checkpoints.History"
                  },
                  "typeName": {
                    "id": 29051,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 29050,
                      "name": "History",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 28858,
                      "src": "3452:7:158"
                    },
                    "referencedDeclaration": 28858,
                    "src": "3452:7:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_History_$28858_storage_ptr",
                      "typeString": "struct Checkpoints.History"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 29062,
                  "mutability": "mutable",
                  "name": "op",
                  "nameLocation": "3532:2:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 29082,
                  "src": "3482:52:158",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_function_internal_view$_t_uint256_$_t_uint256_$returns$_t_uint256_$",
                    "typeString": "function (uint256,uint256) view returns (uint256)"
                  },
                  "typeName": {
                    "id": 29061,
                    "nodeType": "FunctionTypeName",
                    "parameterTypes": {
                      "id": 29057,
                      "nodeType": "ParameterList",
                      "parameters": [
                        {
                          "constant": false,
                          "id": 29054,
                          "mutability": "mutable",
                          "name": "",
                          "nameLocation": "-1:-1:-1",
                          "nodeType": "VariableDeclaration",
                          "scope": 29061,
                          "src": "3491:7:158",
                          "stateVariable": false,
                          "storageLocation": "default",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          "typeName": {
                            "id": 29053,
                            "name": "uint256",
                            "nodeType": "ElementaryTypeName",
                            "src": "3491:7:158",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "visibility": "internal"
                        },
                        {
                          "constant": false,
                          "id": 29056,
                          "mutability": "mutable",
                          "name": "",
                          "nameLocation": "-1:-1:-1",
                          "nodeType": "VariableDeclaration",
                          "scope": 29061,
                          "src": "3500:7:158",
                          "stateVariable": false,
                          "storageLocation": "default",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          "typeName": {
                            "id": 29055,
                            "name": "uint256",
                            "nodeType": "ElementaryTypeName",
                            "src": "3500:7:158",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "visibility": "internal"
                        }
                      ],
                      "src": "3490:18:158"
                    },
                    "returnParameterTypes": {
                      "id": 29060,
                      "nodeType": "ParameterList",
                      "parameters": [
                        {
                          "constant": false,
                          "id": 29059,
                          "mutability": "mutable",
                          "name": "",
                          "nameLocation": "-1:-1:-1",
                          "nodeType": "VariableDeclaration",
                          "scope": 29061,
                          "src": "3523:7:158",
                          "stateVariable": false,
                          "storageLocation": "default",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          "typeName": {
                            "id": 29058,
                            "name": "uint256",
                            "nodeType": "ElementaryTypeName",
                            "src": "3523:7:158",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "visibility": "internal"
                        }
                      ],
                      "src": "3522:9:158"
                    },
                    "src": "3482:52:158",
                    "stateMutability": "view",
                    "typeDescriptions": {
                      "typeIdentifier": "t_function_internal_view$_t_uint256_$_t_uint256_$returns$_t_uint256_$",
                      "typeString": "function (uint256,uint256) view returns (uint256)"
                    },
                    "visibility": "internal"
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 29064,
                  "mutability": "mutable",
                  "name": "delta",
                  "nameLocation": "3552:5:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 29082,
                  "src": "3544:13:158",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 29063,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "3544:7:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "3442:121:158"
            },
            "returnParameters": {
              "id": 29070,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 29067,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 29082,
                  "src": "3582:7:158",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 29066,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "3582:7:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 29069,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 29082,
                  "src": "3591:7:158",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 29068,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "3591:7:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "3581:18:158"
            },
            "scope": 30219,
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "internal"
          },
          {
            "id": 29112,
            "nodeType": "FunctionDefinition",
            "src": "3779:205:158",
            "nodes": [],
            "body": {
              "id": 29111,
              "nodeType": "Block",
              "src": "3849:135:158",
              "nodes": [],
              "statements": [
                {
                  "assignments": [
                    29092
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 29092,
                      "mutability": "mutable",
                      "name": "pos",
                      "nameLocation": "3867:3:158",
                      "nodeType": "VariableDeclaration",
                      "scope": 29111,
                      "src": "3859:11:158",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 29091,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "3859:7:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 29096,
                  "initialValue": {
                    "expression": {
                      "expression": {
                        "id": 29093,
                        "name": "self",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 29086,
                        "src": "3873:4:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_History_$28858_storage_ptr",
                          "typeString": "struct Checkpoints.History storage pointer"
                        }
                      },
                      "id": 29094,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "_checkpoints",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 28857,
                      "src": "3873:17:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_array$_t_struct$_Checkpoint_$28863_storage_$dyn_storage",
                        "typeString": "struct Checkpoints.Checkpoint storage ref[] storage ref"
                      }
                    },
                    "id": 29095,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "memberName": "length",
                    "nodeType": "MemberAccess",
                    "src": "3873:24:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "3859:38:158"
                },
                {
                  "expression": {
                    "condition": {
                      "commonType": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "id": 29099,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "leftExpression": {
                        "id": 29097,
                        "name": "pos",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 29092,
                        "src": "3914:3:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "nodeType": "BinaryOperation",
                      "operator": "==",
                      "rightExpression": {
                        "hexValue": "30",
                        "id": 29098,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "number",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "3921:1:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_rational_0_by_1",
                          "typeString": "int_const 0"
                        },
                        "value": "0"
                      },
                      "src": "3914:8:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bool",
                        "typeString": "bool"
                      }
                    },
                    "falseExpression": {
                      "expression": {
                        "arguments": [
                          {
                            "expression": {
                              "id": 29102,
                              "name": "self",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 29086,
                              "src": "3943:4:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_History_$28858_storage_ptr",
                                "typeString": "struct Checkpoints.History storage pointer"
                              }
                            },
                            "id": 29103,
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "_checkpoints",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 28857,
                            "src": "3943:17:158",
                            "typeDescriptions": {
                              "typeIdentifier": "t_array$_t_struct$_Checkpoint_$28863_storage_$dyn_storage",
                              "typeString": "struct Checkpoints.Checkpoint storage ref[] storage ref"
                            }
                          },
                          {
                            "commonType": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            },
                            "id": 29106,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "leftExpression": {
                              "id": 29104,
                              "name": "pos",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 29092,
                              "src": "3962:3:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "nodeType": "BinaryOperation",
                            "operator": "-",
                            "rightExpression": {
                              "hexValue": "31",
                              "id": 29105,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "number",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "3968:1:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_rational_1_by_1",
                                "typeString": "int_const 1"
                              },
                              "value": "1"
                            },
                            "src": "3962:7:158",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_array$_t_struct$_Checkpoint_$28863_storage_$dyn_storage",
                              "typeString": "struct Checkpoints.Checkpoint storage ref[] storage ref"
                            },
                            {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          ],
                          "id": 29101,
                          "name": "_unsafeAccess",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [
                            29384,
                            29801,
                            30218
                          ],
                          "referencedDeclaration": 29384,
                          "src": "3929:13:158",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_internal_pure$_t_array$_t_struct$_Checkpoint_$28863_storage_$dyn_storage_ptr_$_t_uint256_$returns$_t_struct$_Checkpoint_$28863_storage_ptr_$",
                            "typeString": "function (struct Checkpoints.Checkpoint storage ref[] storage pointer,uint256) pure returns (struct Checkpoints.Checkpoint storage pointer)"
                          }
                        },
                        "id": 29107,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "3929:41:158",
                        "tryCall": false,
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_Checkpoint_$28863_storage_ptr",
                          "typeString": "struct Checkpoints.Checkpoint storage pointer"
                        }
                      },
                      "id": 29108,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "_value",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 28862,
                      "src": "3929:48:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint224",
                        "typeString": "uint224"
                      }
                    },
                    "id": 29109,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "Conditional",
                    "src": "3914:63:158",
                    "trueExpression": {
                      "hexValue": "30",
                      "id": 29100,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "3925:1:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint224",
                      "typeString": "uint224"
                    }
                  },
                  "functionReturnParameters": 29090,
                  "id": 29110,
                  "nodeType": "Return",
                  "src": "3907:70:158"
                }
              ]
            },
            "documentation": {
              "id": 29083,
              "nodeType": "StructuredDocumentation",
              "src": "3665:109:158",
              "text": " @dev Returns the value in the most recent checkpoint, or zero if there are no checkpoints."
            },
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "latest",
            "nameLocation": "3788:6:158",
            "parameters": {
              "id": 29087,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 29086,
                  "mutability": "mutable",
                  "name": "self",
                  "nameLocation": "3811:4:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 29112,
                  "src": "3795:20:158",
                  "stateVariable": false,
                  "storageLocation": "storage",
                  "typeDescriptions": {
                    "typeIdentifier": "t_struct$_History_$28858_storage_ptr",
                    "typeString": "struct Checkpoints.History"
                  },
                  "typeName": {
                    "id": 29085,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 29084,
                      "name": "History",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 28858,
                      "src": "3795:7:158"
                    },
                    "referencedDeclaration": 28858,
                    "src": "3795:7:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_History_$28858_storage_ptr",
                      "typeString": "struct Checkpoints.History"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "3794:22:158"
            },
            "returnParameters": {
              "id": 29090,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 29089,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 29112,
                  "src": "3840:7:158",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint224",
                    "typeString": "uint224"
                  },
                  "typeName": {
                    "id": 29088,
                    "name": "uint224",
                    "nodeType": "ElementaryTypeName",
                    "src": "3840:7:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint224",
                      "typeString": "uint224"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "3839:9:158"
            },
            "scope": 30219,
            "stateMutability": "view",
            "virtual": false,
            "visibility": "internal"
          },
          {
            "id": 29161,
            "nodeType": "FunctionDefinition",
            "src": "4163:474:158",
            "nodes": [],
            "body": {
              "id": 29160,
              "nodeType": "Block",
              "src": "4358:279:158",
              "nodes": [],
              "statements": [
                {
                  "assignments": [
                    29126
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 29126,
                      "mutability": "mutable",
                      "name": "pos",
                      "nameLocation": "4376:3:158",
                      "nodeType": "VariableDeclaration",
                      "scope": 29160,
                      "src": "4368:11:158",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 29125,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "4368:7:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 29130,
                  "initialValue": {
                    "expression": {
                      "expression": {
                        "id": 29127,
                        "name": "self",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 29116,
                        "src": "4382:4:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_History_$28858_storage_ptr",
                          "typeString": "struct Checkpoints.History storage pointer"
                        }
                      },
                      "id": 29128,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "_checkpoints",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 28857,
                      "src": "4382:17:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_array$_t_struct$_Checkpoint_$28863_storage_$dyn_storage",
                        "typeString": "struct Checkpoints.Checkpoint storage ref[] storage ref"
                      }
                    },
                    "id": 29129,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "memberName": "length",
                    "nodeType": "MemberAccess",
                    "src": "4382:24:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "4368:38:158"
                },
                {
                  "condition": {
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 29133,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "id": 29131,
                      "name": "pos",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 29126,
                      "src": "4420:3:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "==",
                    "rightExpression": {
                      "hexValue": "30",
                      "id": 29132,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "4427:1:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "src": "4420:8:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": {
                    "id": 29158,
                    "nodeType": "Block",
                    "src": "4481:150:158",
                    "statements": [
                      {
                        "assignments": [
                          29142
                        ],
                        "declarations": [
                          {
                            "constant": false,
                            "id": 29142,
                            "mutability": "mutable",
                            "name": "ckpt",
                            "nameLocation": "4513:4:158",
                            "nodeType": "VariableDeclaration",
                            "scope": 29158,
                            "src": "4495:22:158",
                            "stateVariable": false,
                            "storageLocation": "memory",
                            "typeDescriptions": {
                              "typeIdentifier": "t_struct$_Checkpoint_$28863_memory_ptr",
                              "typeString": "struct Checkpoints.Checkpoint"
                            },
                            "typeName": {
                              "id": 29141,
                              "nodeType": "UserDefinedTypeName",
                              "pathNode": {
                                "id": 29140,
                                "name": "Checkpoint",
                                "nodeType": "IdentifierPath",
                                "referencedDeclaration": 28863,
                                "src": "4495:10:158"
                              },
                              "referencedDeclaration": 28863,
                              "src": "4495:10:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_Checkpoint_$28863_storage_ptr",
                                "typeString": "struct Checkpoints.Checkpoint"
                              }
                            },
                            "visibility": "internal"
                          }
                        ],
                        "id": 29150,
                        "initialValue": {
                          "arguments": [
                            {
                              "expression": {
                                "id": 29144,
                                "name": "self",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 29116,
                                "src": "4534:4:158",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_struct$_History_$28858_storage_ptr",
                                  "typeString": "struct Checkpoints.History storage pointer"
                                }
                              },
                              "id": 29145,
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "_checkpoints",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 28857,
                              "src": "4534:17:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_array$_t_struct$_Checkpoint_$28863_storage_$dyn_storage",
                                "typeString": "struct Checkpoints.Checkpoint storage ref[] storage ref"
                              }
                            },
                            {
                              "commonType": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              "id": 29148,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "leftExpression": {
                                "id": 29146,
                                "name": "pos",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 29126,
                                "src": "4553:3:158",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "nodeType": "BinaryOperation",
                              "operator": "-",
                              "rightExpression": {
                                "hexValue": "31",
                                "id": 29147,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": true,
                                "kind": "number",
                                "lValueRequested": false,
                                "nodeType": "Literal",
                                "src": "4559:1:158",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_rational_1_by_1",
                                  "typeString": "int_const 1"
                                },
                                "value": "1"
                              },
                              "src": "4553:7:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_array$_t_struct$_Checkpoint_$28863_storage_$dyn_storage",
                                "typeString": "struct Checkpoints.Checkpoint storage ref[] storage ref"
                              },
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            ],
                            "id": 29143,
                            "name": "_unsafeAccess",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [
                              29384,
                              29801,
                              30218
                            ],
                            "referencedDeclaration": 29384,
                            "src": "4520:13:158",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_internal_pure$_t_array$_t_struct$_Checkpoint_$28863_storage_$dyn_storage_ptr_$_t_uint256_$returns$_t_struct$_Checkpoint_$28863_storage_ptr_$",
                              "typeString": "function (struct Checkpoints.Checkpoint storage ref[] storage pointer,uint256) pure returns (struct Checkpoints.Checkpoint storage pointer)"
                            }
                          },
                          "id": 29149,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "4520:41:158",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_Checkpoint_$28863_storage_ptr",
                            "typeString": "struct Checkpoints.Checkpoint storage pointer"
                          }
                        },
                        "nodeType": "VariableDeclarationStatement",
                        "src": "4495:66:158"
                      },
                      {
                        "expression": {
                          "components": [
                            {
                              "hexValue": "74727565",
                              "id": 29151,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "bool",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "4583:4:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              },
                              "value": "true"
                            },
                            {
                              "expression": {
                                "id": 29152,
                                "name": "ckpt",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 29142,
                                "src": "4589:4:158",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_struct$_Checkpoint_$28863_memory_ptr",
                                  "typeString": "struct Checkpoints.Checkpoint memory"
                                }
                              },
                              "id": 29153,
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "_blockNumber",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 28860,
                              "src": "4589:17:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint32",
                                "typeString": "uint32"
                              }
                            },
                            {
                              "expression": {
                                "id": 29154,
                                "name": "ckpt",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 29142,
                                "src": "4608:4:158",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_struct$_Checkpoint_$28863_memory_ptr",
                                  "typeString": "struct Checkpoints.Checkpoint memory"
                                }
                              },
                              "id": 29155,
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "_value",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 28862,
                              "src": "4608:11:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint224",
                                "typeString": "uint224"
                              }
                            }
                          ],
                          "id": 29156,
                          "isConstant": false,
                          "isInlineArray": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "nodeType": "TupleExpression",
                          "src": "4582:38:158",
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$_t_bool_$_t_uint32_$_t_uint224_$",
                            "typeString": "tuple(bool,uint32,uint224)"
                          }
                        },
                        "functionReturnParameters": 29124,
                        "id": 29157,
                        "nodeType": "Return",
                        "src": "4575:45:158"
                      }
                    ]
                  },
                  "id": 29159,
                  "nodeType": "IfStatement",
                  "src": "4416:215:158",
                  "trueBody": {
                    "id": 29139,
                    "nodeType": "Block",
                    "src": "4430:45:158",
                    "statements": [
                      {
                        "expression": {
                          "components": [
                            {
                              "hexValue": "66616c7365",
                              "id": 29134,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "bool",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "4452:5:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              },
                              "value": "false"
                            },
                            {
                              "hexValue": "30",
                              "id": 29135,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "number",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "4459:1:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_rational_0_by_1",
                                "typeString": "int_const 0"
                              },
                              "value": "0"
                            },
                            {
                              "hexValue": "30",
                              "id": 29136,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "number",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "4462:1:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_rational_0_by_1",
                                "typeString": "int_const 0"
                              },
                              "value": "0"
                            }
                          ],
                          "id": 29137,
                          "isConstant": false,
                          "isInlineArray": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "TupleExpression",
                          "src": "4451:13:158",
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$_t_rational_0_by_1_$",
                            "typeString": "tuple(bool,int_const 0,int_const 0)"
                          }
                        },
                        "functionReturnParameters": 29124,
                        "id": 29138,
                        "nodeType": "Return",
                        "src": "4444:20:158"
                      }
                    ]
                  }
                }
              ]
            },
            "documentation": {
              "id": 29113,
              "nodeType": "StructuredDocumentation",
              "src": "3990:168:158",
              "text": " @dev Returns whether there is a checkpoint in the structure (i.e. it is not empty), and if so the key and value\n in the most recent checkpoint."
            },
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "latestCheckpoint",
            "nameLocation": "4172:16:158",
            "parameters": {
              "id": 29117,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 29116,
                  "mutability": "mutable",
                  "name": "self",
                  "nameLocation": "4205:4:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 29161,
                  "src": "4189:20:158",
                  "stateVariable": false,
                  "storageLocation": "storage",
                  "typeDescriptions": {
                    "typeIdentifier": "t_struct$_History_$28858_storage_ptr",
                    "typeString": "struct Checkpoints.History"
                  },
                  "typeName": {
                    "id": 29115,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 29114,
                      "name": "History",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 28858,
                      "src": "4189:7:158"
                    },
                    "referencedDeclaration": 28858,
                    "src": "4189:7:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_History_$28858_storage_ptr",
                      "typeString": "struct Checkpoints.History"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "4188:22:158"
            },
            "returnParameters": {
              "id": 29124,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 29119,
                  "mutability": "mutable",
                  "name": "exists",
                  "nameLocation": "4276:6:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 29161,
                  "src": "4271:11:158",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 29118,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "4271:4:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 29121,
                  "mutability": "mutable",
                  "name": "_blockNumber",
                  "nameLocation": "4303:12:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 29161,
                  "src": "4296:19:158",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint32",
                    "typeString": "uint32"
                  },
                  "typeName": {
                    "id": 29120,
                    "name": "uint32",
                    "nodeType": "ElementaryTypeName",
                    "src": "4296:6:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint32",
                      "typeString": "uint32"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 29123,
                  "mutability": "mutable",
                  "name": "_value",
                  "nameLocation": "4337:6:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 29161,
                  "src": "4329:14:158",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint224",
                    "typeString": "uint224"
                  },
                  "typeName": {
                    "id": 29122,
                    "name": "uint224",
                    "nodeType": "ElementaryTypeName",
                    "src": "4329:7:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint224",
                      "typeString": "uint224"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "4257:96:158"
            },
            "scope": 30219,
            "stateMutability": "view",
            "virtual": false,
            "visibility": "internal"
          },
          {
            "id": 29175,
            "nodeType": "FunctionDefinition",
            "src": "4705:118:158",
            "nodes": [],
            "body": {
              "id": 29174,
              "nodeType": "Block",
              "src": "4775:48:158",
              "nodes": [],
              "statements": [
                {
                  "expression": {
                    "expression": {
                      "expression": {
                        "id": 29170,
                        "name": "self",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 29165,
                        "src": "4792:4:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_History_$28858_storage_ptr",
                          "typeString": "struct Checkpoints.History storage pointer"
                        }
                      },
                      "id": 29171,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "_checkpoints",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 28857,
                      "src": "4792:17:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_array$_t_struct$_Checkpoint_$28863_storage_$dyn_storage",
                        "typeString": "struct Checkpoints.Checkpoint storage ref[] storage ref"
                      }
                    },
                    "id": 29172,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "memberName": "length",
                    "nodeType": "MemberAccess",
                    "src": "4792:24:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "functionReturnParameters": 29169,
                  "id": 29173,
                  "nodeType": "Return",
                  "src": "4785:31:158"
                }
              ]
            },
            "documentation": {
              "id": 29162,
              "nodeType": "StructuredDocumentation",
              "src": "4643:57:158",
              "text": " @dev Returns the number of checkpoint."
            },
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "length",
            "nameLocation": "4714:6:158",
            "parameters": {
              "id": 29166,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 29165,
                  "mutability": "mutable",
                  "name": "self",
                  "nameLocation": "4737:4:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 29175,
                  "src": "4721:20:158",
                  "stateVariable": false,
                  "storageLocation": "storage",
                  "typeDescriptions": {
                    "typeIdentifier": "t_struct$_History_$28858_storage_ptr",
                    "typeString": "struct Checkpoints.History"
                  },
                  "typeName": {
                    "id": 29164,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 29163,
                      "name": "History",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 28858,
                      "src": "4721:7:158"
                    },
                    "referencedDeclaration": 28858,
                    "src": "4721:7:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_History_$28858_storage_ptr",
                      "typeString": "struct Checkpoints.History"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "4720:22:158"
            },
            "returnParameters": {
              "id": 29169,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 29168,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 29175,
                  "src": "4766:7:158",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 29167,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "4766:7:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "4765:9:158"
            },
            "scope": 30219,
            "stateMutability": "view",
            "virtual": false,
            "visibility": "internal"
          },
          {
            "id": 29265,
            "nodeType": "FunctionDefinition",
            "src": "4999:886:158",
            "nodes": [],
            "body": {
              "id": 29264,
              "nodeType": "Block",
              "src": "5135:750:158",
              "nodes": [],
              "statements": [
                {
                  "assignments": [
                    29192
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 29192,
                      "mutability": "mutable",
                      "name": "pos",
                      "nameLocation": "5153:3:158",
                      "nodeType": "VariableDeclaration",
                      "scope": 29264,
                      "src": "5145:11:158",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 29191,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "5145:7:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 29195,
                  "initialValue": {
                    "expression": {
                      "id": 29193,
                      "name": "self",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 29180,
                      "src": "5159:4:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_array$_t_struct$_Checkpoint_$28863_storage_$dyn_storage_ptr",
                        "typeString": "struct Checkpoints.Checkpoint storage ref[] storage pointer"
                      }
                    },
                    "id": 29194,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "memberName": "length",
                    "nodeType": "MemberAccess",
                    "src": "5159:11:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "5145:25:158"
                },
                {
                  "condition": {
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 29198,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "id": 29196,
                      "name": "pos",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 29192,
                      "src": "5185:3:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": ">",
                    "rightExpression": {
                      "hexValue": "30",
                      "id": 29197,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "5191:1:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "src": "5185:7:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": {
                    "id": 29262,
                    "nodeType": "Block",
                    "src": "5766:113:158",
                    "statements": [
                      {
                        "expression": {
                          "arguments": [
                            {
                              "arguments": [
                                {
                                  "id": 29253,
                                  "name": "key",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 29182,
                                  "src": "5816:3:158",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint32",
                                    "typeString": "uint32"
                                  }
                                },
                                {
                                  "id": 29254,
                                  "name": "value",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 29184,
                                  "src": "5829:5:158",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint224",
                                    "typeString": "uint224"
                                  }
                                }
                              ],
                              "expression": {
                                "argumentTypes": [
                                  {
                                    "typeIdentifier": "t_uint32",
                                    "typeString": "uint32"
                                  },
                                  {
                                    "typeIdentifier": "t_uint224",
                                    "typeString": "uint224"
                                  }
                                ],
                                "id": 29252,
                                "name": "Checkpoint",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 28863,
                                "src": "5790:10:158",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_type$_t_struct$_Checkpoint_$28863_storage_ptr_$",
                                  "typeString": "type(struct Checkpoints.Checkpoint storage pointer)"
                                }
                              },
                              "id": 29255,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "kind": "structConstructorCall",
                              "lValueRequested": false,
                              "names": [
                                "_blockNumber",
                                "_value"
                              ],
                              "nodeType": "FunctionCall",
                              "src": "5790:46:158",
                              "tryCall": false,
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_Checkpoint_$28863_memory_ptr",
                                "typeString": "struct Checkpoints.Checkpoint memory"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_struct$_Checkpoint_$28863_memory_ptr",
                                "typeString": "struct Checkpoints.Checkpoint memory"
                              }
                            ],
                            "expression": {
                              "id": 29249,
                              "name": "self",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 29180,
                              "src": "5780:4:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_array$_t_struct$_Checkpoint_$28863_storage_$dyn_storage_ptr",
                                "typeString": "struct Checkpoints.Checkpoint storage ref[] storage pointer"
                              }
                            },
                            "id": 29251,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "push",
                            "nodeType": "MemberAccess",
                            "src": "5780:9:158",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_arraypush_nonpayable$_t_array$_t_struct$_Checkpoint_$28863_storage_$dyn_storage_ptr_$_t_struct$_Checkpoint_$28863_storage_$returns$__$bound_to$_t_array$_t_struct$_Checkpoint_$28863_storage_$dyn_storage_ptr_$",
                              "typeString": "function (struct Checkpoints.Checkpoint storage ref[] storage pointer,struct Checkpoints.Checkpoint storage ref)"
                            }
                          },
                          "id": 29256,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "5780:57:158",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$__$",
                            "typeString": "tuple()"
                          }
                        },
                        "id": 29257,
                        "nodeType": "ExpressionStatement",
                        "src": "5780:57:158"
                      },
                      {
                        "expression": {
                          "components": [
                            {
                              "hexValue": "30",
                              "id": 29258,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "number",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "5859:1:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_rational_0_by_1",
                                "typeString": "int_const 0"
                              },
                              "value": "0"
                            },
                            {
                              "id": 29259,
                              "name": "value",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 29184,
                              "src": "5862:5:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint224",
                                "typeString": "uint224"
                              }
                            }
                          ],
                          "id": 29260,
                          "isConstant": false,
                          "isInlineArray": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "nodeType": "TupleExpression",
                          "src": "5858:10:158",
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$_t_rational_0_by_1_$_t_uint224_$",
                            "typeString": "tuple(int_const 0,uint224)"
                          }
                        },
                        "functionReturnParameters": 29190,
                        "id": 29261,
                        "nodeType": "Return",
                        "src": "5851:17:158"
                      }
                    ]
                  },
                  "id": 29263,
                  "nodeType": "IfStatement",
                  "src": "5181:698:158",
                  "trueBody": {
                    "id": 29248,
                    "nodeType": "Block",
                    "src": "5194:566:158",
                    "statements": [
                      {
                        "assignments": [
                          29201
                        ],
                        "declarations": [
                          {
                            "constant": false,
                            "id": 29201,
                            "mutability": "mutable",
                            "name": "last",
                            "nameLocation": "5278:4:158",
                            "nodeType": "VariableDeclaration",
                            "scope": 29248,
                            "src": "5260:22:158",
                            "stateVariable": false,
                            "storageLocation": "memory",
                            "typeDescriptions": {
                              "typeIdentifier": "t_struct$_Checkpoint_$28863_memory_ptr",
                              "typeString": "struct Checkpoints.Checkpoint"
                            },
                            "typeName": {
                              "id": 29200,
                              "nodeType": "UserDefinedTypeName",
                              "pathNode": {
                                "id": 29199,
                                "name": "Checkpoint",
                                "nodeType": "IdentifierPath",
                                "referencedDeclaration": 28863,
                                "src": "5260:10:158"
                              },
                              "referencedDeclaration": 28863,
                              "src": "5260:10:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_Checkpoint_$28863_storage_ptr",
                                "typeString": "struct Checkpoints.Checkpoint"
                              }
                            },
                            "visibility": "internal"
                          }
                        ],
                        "id": 29208,
                        "initialValue": {
                          "arguments": [
                            {
                              "id": 29203,
                              "name": "self",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 29180,
                              "src": "5299:4:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_array$_t_struct$_Checkpoint_$28863_storage_$dyn_storage_ptr",
                                "typeString": "struct Checkpoints.Checkpoint storage ref[] storage pointer"
                              }
                            },
                            {
                              "commonType": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              "id": 29206,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "leftExpression": {
                                "id": 29204,
                                "name": "pos",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 29192,
                                "src": "5305:3:158",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "nodeType": "BinaryOperation",
                              "operator": "-",
                              "rightExpression": {
                                "hexValue": "31",
                                "id": 29205,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": true,
                                "kind": "number",
                                "lValueRequested": false,
                                "nodeType": "Literal",
                                "src": "5311:1:158",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_rational_1_by_1",
                                  "typeString": "int_const 1"
                                },
                                "value": "1"
                              },
                              "src": "5305:7:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_array$_t_struct$_Checkpoint_$28863_storage_$dyn_storage_ptr",
                                "typeString": "struct Checkpoints.Checkpoint storage ref[] storage pointer"
                              },
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            ],
                            "id": 29202,
                            "name": "_unsafeAccess",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [
                              29384,
                              29801,
                              30218
                            ],
                            "referencedDeclaration": 29384,
                            "src": "5285:13:158",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_internal_pure$_t_array$_t_struct$_Checkpoint_$28863_storage_$dyn_storage_ptr_$_t_uint256_$returns$_t_struct$_Checkpoint_$28863_storage_ptr_$",
                              "typeString": "function (struct Checkpoints.Checkpoint storage ref[] storage pointer,uint256) pure returns (struct Checkpoints.Checkpoint storage pointer)"
                            }
                          },
                          "id": 29207,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "5285:28:158",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_Checkpoint_$28863_storage_ptr",
                            "typeString": "struct Checkpoints.Checkpoint storage pointer"
                          }
                        },
                        "nodeType": "VariableDeclarationStatement",
                        "src": "5260:53:158"
                      },
                      {
                        "expression": {
                          "arguments": [
                            {
                              "commonType": {
                                "typeIdentifier": "t_uint32",
                                "typeString": "uint32"
                              },
                              "id": 29213,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "leftExpression": {
                                "expression": {
                                  "id": 29210,
                                  "name": "last",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 29201,
                                  "src": "5391:4:158",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_struct$_Checkpoint_$28863_memory_ptr",
                                    "typeString": "struct Checkpoints.Checkpoint memory"
                                  }
                                },
                                "id": 29211,
                                "isConstant": false,
                                "isLValue": true,
                                "isPure": false,
                                "lValueRequested": false,
                                "memberName": "_blockNumber",
                                "nodeType": "MemberAccess",
                                "referencedDeclaration": 28860,
                                "src": "5391:17:158",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint32",
                                  "typeString": "uint32"
                                }
                              },
                              "nodeType": "BinaryOperation",
                              "operator": "<=",
                              "rightExpression": {
                                "id": 29212,
                                "name": "key",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 29182,
                                "src": "5412:3:158",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint32",
                                  "typeString": "uint32"
                                }
                              },
                              "src": "5391:24:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              }
                            },
                            {
                              "hexValue": "436865636b706f696e743a2064656372656173696e67206b657973",
                              "id": 29214,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "string",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "5417:29:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_stringliteral_4f6b1769383e9e01fad001f10d4f9180a25f63424c2597419936b157d29f34ec",
                                "typeString": "literal_string \"Checkpoint: decreasing keys\""
                              },
                              "value": "Checkpoint: decreasing keys"
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              },
                              {
                                "typeIdentifier": "t_stringliteral_4f6b1769383e9e01fad001f10d4f9180a25f63424c2597419936b157d29f34ec",
                                "typeString": "literal_string \"Checkpoint: decreasing keys\""
                              }
                            ],
                            "id": 29209,
                            "name": "require",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [
                              -18,
                              -18
                            ],
                            "referencedDeclaration": -18,
                            "src": "5383:7:158",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                              "typeString": "function (bool,string memory) pure"
                            }
                          },
                          "id": 29215,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "5383:64:158",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$__$",
                            "typeString": "tuple()"
                          }
                        },
                        "id": 29216,
                        "nodeType": "ExpressionStatement",
                        "src": "5383:64:158"
                      },
                      {
                        "condition": {
                          "commonType": {
                            "typeIdentifier": "t_uint32",
                            "typeString": "uint32"
                          },
                          "id": 29220,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftExpression": {
                            "expression": {
                              "id": 29217,
                              "name": "last",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 29201,
                              "src": "5511:4:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_Checkpoint_$28863_memory_ptr",
                                "typeString": "struct Checkpoints.Checkpoint memory"
                              }
                            },
                            "id": 29218,
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "_blockNumber",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 28860,
                            "src": "5511:17:158",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint32",
                              "typeString": "uint32"
                            }
                          },
                          "nodeType": "BinaryOperation",
                          "operator": "==",
                          "rightExpression": {
                            "id": 29219,
                            "name": "key",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 29182,
                            "src": "5532:3:158",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint32",
                              "typeString": "uint32"
                            }
                          },
                          "src": "5511:24:158",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          }
                        },
                        "falseBody": {
                          "id": 29241,
                          "nodeType": "Block",
                          "src": "5619:90:158",
                          "statements": [
                            {
                              "expression": {
                                "arguments": [
                                  {
                                    "arguments": [
                                      {
                                        "id": 29236,
                                        "name": "key",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 29182,
                                        "src": "5673:3:158",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_uint32",
                                          "typeString": "uint32"
                                        }
                                      },
                                      {
                                        "id": 29237,
                                        "name": "value",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 29184,
                                        "src": "5686:5:158",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_uint224",
                                          "typeString": "uint224"
                                        }
                                      }
                                    ],
                                    "expression": {
                                      "argumentTypes": [
                                        {
                                          "typeIdentifier": "t_uint32",
                                          "typeString": "uint32"
                                        },
                                        {
                                          "typeIdentifier": "t_uint224",
                                          "typeString": "uint224"
                                        }
                                      ],
                                      "id": 29235,
                                      "name": "Checkpoint",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": 28863,
                                      "src": "5647:10:158",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_type$_t_struct$_Checkpoint_$28863_storage_ptr_$",
                                        "typeString": "type(struct Checkpoints.Checkpoint storage pointer)"
                                      }
                                    },
                                    "id": 29238,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": false,
                                    "kind": "structConstructorCall",
                                    "lValueRequested": false,
                                    "names": [
                                      "_blockNumber",
                                      "_value"
                                    ],
                                    "nodeType": "FunctionCall",
                                    "src": "5647:46:158",
                                    "tryCall": false,
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_struct$_Checkpoint_$28863_memory_ptr",
                                      "typeString": "struct Checkpoints.Checkpoint memory"
                                    }
                                  }
                                ],
                                "expression": {
                                  "argumentTypes": [
                                    {
                                      "typeIdentifier": "t_struct$_Checkpoint_$28863_memory_ptr",
                                      "typeString": "struct Checkpoints.Checkpoint memory"
                                    }
                                  ],
                                  "expression": {
                                    "id": 29232,
                                    "name": "self",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 29180,
                                    "src": "5637:4:158",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_array$_t_struct$_Checkpoint_$28863_storage_$dyn_storage_ptr",
                                      "typeString": "struct Checkpoints.Checkpoint storage ref[] storage pointer"
                                    }
                                  },
                                  "id": 29234,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "memberName": "push",
                                  "nodeType": "MemberAccess",
                                  "src": "5637:9:158",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_function_arraypush_nonpayable$_t_array$_t_struct$_Checkpoint_$28863_storage_$dyn_storage_ptr_$_t_struct$_Checkpoint_$28863_storage_$returns$__$bound_to$_t_array$_t_struct$_Checkpoint_$28863_storage_$dyn_storage_ptr_$",
                                    "typeString": "function (struct Checkpoints.Checkpoint storage ref[] storage pointer,struct Checkpoints.Checkpoint storage ref)"
                                  }
                                },
                                "id": 29239,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "kind": "functionCall",
                                "lValueRequested": false,
                                "names": [],
                                "nodeType": "FunctionCall",
                                "src": "5637:57:158",
                                "tryCall": false,
                                "typeDescriptions": {
                                  "typeIdentifier": "t_tuple$__$",
                                  "typeString": "tuple()"
                                }
                              },
                              "id": 29240,
                              "nodeType": "ExpressionStatement",
                              "src": "5637:57:158"
                            }
                          ]
                        },
                        "id": 29242,
                        "nodeType": "IfStatement",
                        "src": "5507:202:158",
                        "trueBody": {
                          "id": 29231,
                          "nodeType": "Block",
                          "src": "5537:76:158",
                          "statements": [
                            {
                              "expression": {
                                "id": 29229,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "leftHandSide": {
                                  "expression": {
                                    "arguments": [
                                      {
                                        "id": 29222,
                                        "name": "self",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 29180,
                                        "src": "5569:4:158",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_array$_t_struct$_Checkpoint_$28863_storage_$dyn_storage_ptr",
                                          "typeString": "struct Checkpoints.Checkpoint storage ref[] storage pointer"
                                        }
                                      },
                                      {
                                        "commonType": {
                                          "typeIdentifier": "t_uint256",
                                          "typeString": "uint256"
                                        },
                                        "id": 29225,
                                        "isConstant": false,
                                        "isLValue": false,
                                        "isPure": false,
                                        "lValueRequested": false,
                                        "leftExpression": {
                                          "id": 29223,
                                          "name": "pos",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 29192,
                                          "src": "5575:3:158",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_uint256",
                                            "typeString": "uint256"
                                          }
                                        },
                                        "nodeType": "BinaryOperation",
                                        "operator": "-",
                                        "rightExpression": {
                                          "hexValue": "31",
                                          "id": 29224,
                                          "isConstant": false,
                                          "isLValue": false,
                                          "isPure": true,
                                          "kind": "number",
                                          "lValueRequested": false,
                                          "nodeType": "Literal",
                                          "src": "5581:1:158",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_rational_1_by_1",
                                            "typeString": "int_const 1"
                                          },
                                          "value": "1"
                                        },
                                        "src": "5575:7:158",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_uint256",
                                          "typeString": "uint256"
                                        }
                                      }
                                    ],
                                    "expression": {
                                      "argumentTypes": [
                                        {
                                          "typeIdentifier": "t_array$_t_struct$_Checkpoint_$28863_storage_$dyn_storage_ptr",
                                          "typeString": "struct Checkpoints.Checkpoint storage ref[] storage pointer"
                                        },
                                        {
                                          "typeIdentifier": "t_uint256",
                                          "typeString": "uint256"
                                        }
                                      ],
                                      "id": 29221,
                                      "name": "_unsafeAccess",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [
                                        29384,
                                        29801,
                                        30218
                                      ],
                                      "referencedDeclaration": 29384,
                                      "src": "5555:13:158",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_function_internal_pure$_t_array$_t_struct$_Checkpoint_$28863_storage_$dyn_storage_ptr_$_t_uint256_$returns$_t_struct$_Checkpoint_$28863_storage_ptr_$",
                                        "typeString": "function (struct Checkpoints.Checkpoint storage ref[] storage pointer,uint256) pure returns (struct Checkpoints.Checkpoint storage pointer)"
                                      }
                                    },
                                    "id": 29226,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": false,
                                    "kind": "functionCall",
                                    "lValueRequested": false,
                                    "names": [],
                                    "nodeType": "FunctionCall",
                                    "src": "5555:28:158",
                                    "tryCall": false,
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_struct$_Checkpoint_$28863_storage_ptr",
                                      "typeString": "struct Checkpoints.Checkpoint storage pointer"
                                    }
                                  },
                                  "id": 29227,
                                  "isConstant": false,
                                  "isLValue": true,
                                  "isPure": false,
                                  "lValueRequested": true,
                                  "memberName": "_value",
                                  "nodeType": "MemberAccess",
                                  "referencedDeclaration": 28862,
                                  "src": "5555:35:158",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint224",
                                    "typeString": "uint224"
                                  }
                                },
                                "nodeType": "Assignment",
                                "operator": "=",
                                "rightHandSide": {
                                  "id": 29228,
                                  "name": "value",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 29184,
                                  "src": "5593:5:158",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint224",
                                    "typeString": "uint224"
                                  }
                                },
                                "src": "5555:43:158",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint224",
                                  "typeString": "uint224"
                                }
                              },
                              "id": 29230,
                              "nodeType": "ExpressionStatement",
                              "src": "5555:43:158"
                            }
                          ]
                        }
                      },
                      {
                        "expression": {
                          "components": [
                            {
                              "expression": {
                                "id": 29243,
                                "name": "last",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 29201,
                                "src": "5730:4:158",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_struct$_Checkpoint_$28863_memory_ptr",
                                  "typeString": "struct Checkpoints.Checkpoint memory"
                                }
                              },
                              "id": 29244,
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "_value",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 28862,
                              "src": "5730:11:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint224",
                                "typeString": "uint224"
                              }
                            },
                            {
                              "id": 29245,
                              "name": "value",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 29184,
                              "src": "5743:5:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint224",
                                "typeString": "uint224"
                              }
                            }
                          ],
                          "id": 29246,
                          "isConstant": false,
                          "isInlineArray": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "nodeType": "TupleExpression",
                          "src": "5729:20:158",
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$_t_uint224_$_t_uint224_$",
                            "typeString": "tuple(uint224,uint224)"
                          }
                        },
                        "functionReturnParameters": 29190,
                        "id": 29247,
                        "nodeType": "Return",
                        "src": "5722:27:158"
                      }
                    ]
                  }
                }
              ]
            },
            "documentation": {
              "id": 29176,
              "nodeType": "StructuredDocumentation",
              "src": "4829:165:158",
              "text": " @dev Pushes a (`key`, `value`) pair into an ordered list of checkpoints, either by inserting a new checkpoint,\n or by updating the last one."
            },
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "_insert",
            "nameLocation": "5008:7:158",
            "parameters": {
              "id": 29185,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 29180,
                  "mutability": "mutable",
                  "name": "self",
                  "nameLocation": "5046:4:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 29265,
                  "src": "5025:25:158",
                  "stateVariable": false,
                  "storageLocation": "storage",
                  "typeDescriptions": {
                    "typeIdentifier": "t_array$_t_struct$_Checkpoint_$28863_storage_$dyn_storage_ptr",
                    "typeString": "struct Checkpoints.Checkpoint[]"
                  },
                  "typeName": {
                    "baseType": {
                      "id": 29178,
                      "nodeType": "UserDefinedTypeName",
                      "pathNode": {
                        "id": 29177,
                        "name": "Checkpoint",
                        "nodeType": "IdentifierPath",
                        "referencedDeclaration": 28863,
                        "src": "5025:10:158"
                      },
                      "referencedDeclaration": 28863,
                      "src": "5025:10:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_Checkpoint_$28863_storage_ptr",
                        "typeString": "struct Checkpoints.Checkpoint"
                      }
                    },
                    "id": 29179,
                    "nodeType": "ArrayTypeName",
                    "src": "5025:12:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_array$_t_struct$_Checkpoint_$28863_storage_$dyn_storage_ptr",
                      "typeString": "struct Checkpoints.Checkpoint[]"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 29182,
                  "mutability": "mutable",
                  "name": "key",
                  "nameLocation": "5067:3:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 29265,
                  "src": "5060:10:158",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint32",
                    "typeString": "uint32"
                  },
                  "typeName": {
                    "id": 29181,
                    "name": "uint32",
                    "nodeType": "ElementaryTypeName",
                    "src": "5060:6:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint32",
                      "typeString": "uint32"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 29184,
                  "mutability": "mutable",
                  "name": "value",
                  "nameLocation": "5088:5:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 29265,
                  "src": "5080:13:158",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint224",
                    "typeString": "uint224"
                  },
                  "typeName": {
                    "id": 29183,
                    "name": "uint224",
                    "nodeType": "ElementaryTypeName",
                    "src": "5080:7:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint224",
                      "typeString": "uint224"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "5015:84:158"
            },
            "returnParameters": {
              "id": 29190,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 29187,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 29265,
                  "src": "5117:7:158",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint224",
                    "typeString": "uint224"
                  },
                  "typeName": {
                    "id": 29186,
                    "name": "uint224",
                    "nodeType": "ElementaryTypeName",
                    "src": "5117:7:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint224",
                      "typeString": "uint224"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 29189,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 29265,
                  "src": "5126:7:158",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint224",
                    "typeString": "uint224"
                  },
                  "typeName": {
                    "id": 29188,
                    "name": "uint224",
                    "nodeType": "ElementaryTypeName",
                    "src": "5126:7:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint224",
                      "typeString": "uint224"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "5116:18:158"
            },
            "scope": 30219,
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "private"
          },
          {
            "id": 29317,
            "nodeType": "FunctionDefinition",
            "src": "6216:438:158",
            "nodes": [],
            "body": {
              "id": 29316,
              "nodeType": "Block",
              "src": "6379:275:158",
              "nodes": [],
              "statements": [
                {
                  "body": {
                    "id": 29312,
                    "nodeType": "Block",
                    "src": "6408:219:158",
                    "statements": [
                      {
                        "assignments": [
                          29285
                        ],
                        "declarations": [
                          {
                            "constant": false,
                            "id": 29285,
                            "mutability": "mutable",
                            "name": "mid",
                            "nameLocation": "6430:3:158",
                            "nodeType": "VariableDeclaration",
                            "scope": 29312,
                            "src": "6422:11:158",
                            "stateVariable": false,
                            "storageLocation": "default",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            },
                            "typeName": {
                              "id": 29284,
                              "name": "uint256",
                              "nodeType": "ElementaryTypeName",
                              "src": "6422:7:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "visibility": "internal"
                          }
                        ],
                        "id": 29291,
                        "initialValue": {
                          "arguments": [
                            {
                              "id": 29288,
                              "name": "low",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 29274,
                              "src": "6449:3:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            {
                              "id": 29289,
                              "name": "high",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 29276,
                              "src": "6454:4:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            ],
                            "expression": {
                              "id": 29286,
                              "name": "Math",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 40331,
                              "src": "6436:4:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_type$_t_contract$_Math_$40331_$",
                                "typeString": "type(library Math)"
                              }
                            },
                            "id": 29287,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "average",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 39531,
                            "src": "6436:12:158",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$",
                              "typeString": "function (uint256,uint256) pure returns (uint256)"
                            }
                          },
                          "id": 29290,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "6436:23:158",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "VariableDeclarationStatement",
                        "src": "6422:37:158"
                      },
                      {
                        "condition": {
                          "commonType": {
                            "typeIdentifier": "t_uint32",
                            "typeString": "uint32"
                          },
                          "id": 29298,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftExpression": {
                            "expression": {
                              "arguments": [
                                {
                                  "id": 29293,
                                  "name": "self",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 29270,
                                  "src": "6491:4:158",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_array$_t_struct$_Checkpoint_$28863_storage_$dyn_storage_ptr",
                                    "typeString": "struct Checkpoints.Checkpoint storage ref[] storage pointer"
                                  }
                                },
                                {
                                  "id": 29294,
                                  "name": "mid",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 29285,
                                  "src": "6497:3:158",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                }
                              ],
                              "expression": {
                                "argumentTypes": [
                                  {
                                    "typeIdentifier": "t_array$_t_struct$_Checkpoint_$28863_storage_$dyn_storage_ptr",
                                    "typeString": "struct Checkpoints.Checkpoint storage ref[] storage pointer"
                                  },
                                  {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                ],
                                "id": 29292,
                                "name": "_unsafeAccess",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [
                                  29384,
                                  29801,
                                  30218
                                ],
                                "referencedDeclaration": 29384,
                                "src": "6477:13:158",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_function_internal_pure$_t_array$_t_struct$_Checkpoint_$28863_storage_$dyn_storage_ptr_$_t_uint256_$returns$_t_struct$_Checkpoint_$28863_storage_ptr_$",
                                  "typeString": "function (struct Checkpoints.Checkpoint storage ref[] storage pointer,uint256) pure returns (struct Checkpoints.Checkpoint storage pointer)"
                                }
                              },
                              "id": 29295,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "kind": "functionCall",
                              "lValueRequested": false,
                              "names": [],
                              "nodeType": "FunctionCall",
                              "src": "6477:24:158",
                              "tryCall": false,
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_Checkpoint_$28863_storage_ptr",
                                "typeString": "struct Checkpoints.Checkpoint storage pointer"
                              }
                            },
                            "id": 29296,
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "_blockNumber",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 28860,
                            "src": "6477:37:158",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint32",
                              "typeString": "uint32"
                            }
                          },
                          "nodeType": "BinaryOperation",
                          "operator": ">",
                          "rightExpression": {
                            "id": 29297,
                            "name": "key",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 29272,
                            "src": "6517:3:158",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint32",
                              "typeString": "uint32"
                            }
                          },
                          "src": "6477:43:158",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          }
                        },
                        "falseBody": {
                          "id": 29310,
                          "nodeType": "Block",
                          "src": "6571:46:158",
                          "statements": [
                            {
                              "expression": {
                                "id": 29308,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "leftHandSide": {
                                  "id": 29304,
                                  "name": "low",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 29274,
                                  "src": "6589:3:158",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "nodeType": "Assignment",
                                "operator": "=",
                                "rightHandSide": {
                                  "commonType": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  },
                                  "id": 29307,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "leftExpression": {
                                    "id": 29305,
                                    "name": "mid",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 29285,
                                    "src": "6595:3:158",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_uint256",
                                      "typeString": "uint256"
                                    }
                                  },
                                  "nodeType": "BinaryOperation",
                                  "operator": "+",
                                  "rightExpression": {
                                    "hexValue": "31",
                                    "id": 29306,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": true,
                                    "kind": "number",
                                    "lValueRequested": false,
                                    "nodeType": "Literal",
                                    "src": "6601:1:158",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_rational_1_by_1",
                                      "typeString": "int_const 1"
                                    },
                                    "value": "1"
                                  },
                                  "src": "6595:7:158",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "src": "6589:13:158",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "id": 29309,
                              "nodeType": "ExpressionStatement",
                              "src": "6589:13:158"
                            }
                          ]
                        },
                        "id": 29311,
                        "nodeType": "IfStatement",
                        "src": "6473:144:158",
                        "trueBody": {
                          "id": 29303,
                          "nodeType": "Block",
                          "src": "6522:43:158",
                          "statements": [
                            {
                              "expression": {
                                "id": 29301,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "leftHandSide": {
                                  "id": 29299,
                                  "name": "high",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 29276,
                                  "src": "6540:4:158",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "nodeType": "Assignment",
                                "operator": "=",
                                "rightHandSide": {
                                  "id": 29300,
                                  "name": "mid",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 29285,
                                  "src": "6547:3:158",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "src": "6540:10:158",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "id": 29302,
                              "nodeType": "ExpressionStatement",
                              "src": "6540:10:158"
                            }
                          ]
                        }
                      }
                    ]
                  },
                  "condition": {
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 29283,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "id": 29281,
                      "name": "low",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 29274,
                      "src": "6396:3:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "<",
                    "rightExpression": {
                      "id": 29282,
                      "name": "high",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 29276,
                      "src": "6402:4:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "6396:10:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 29313,
                  "nodeType": "WhileStatement",
                  "src": "6389:238:158"
                },
                {
                  "expression": {
                    "id": 29314,
                    "name": "high",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 29276,
                    "src": "6643:4:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "functionReturnParameters": 29280,
                  "id": 29315,
                  "nodeType": "Return",
                  "src": "6636:11:158"
                }
              ]
            },
            "documentation": {
              "id": 29266,
              "nodeType": "StructuredDocumentation",
              "src": "5891:320:158",
              "text": " @dev Return the index of the oldest checkpoint whose key is greater than the search key, or `high` if there is none.\n `low` and `high` define a section where to do the search, with inclusive `low` and exclusive `high`.\n WARNING: `high` should not be greater than the array's length."
            },
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "_upperBinaryLookup",
            "nameLocation": "6225:18:158",
            "parameters": {
              "id": 29277,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 29270,
                  "mutability": "mutable",
                  "name": "self",
                  "nameLocation": "6274:4:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 29317,
                  "src": "6253:25:158",
                  "stateVariable": false,
                  "storageLocation": "storage",
                  "typeDescriptions": {
                    "typeIdentifier": "t_array$_t_struct$_Checkpoint_$28863_storage_$dyn_storage_ptr",
                    "typeString": "struct Checkpoints.Checkpoint[]"
                  },
                  "typeName": {
                    "baseType": {
                      "id": 29268,
                      "nodeType": "UserDefinedTypeName",
                      "pathNode": {
                        "id": 29267,
                        "name": "Checkpoint",
                        "nodeType": "IdentifierPath",
                        "referencedDeclaration": 28863,
                        "src": "6253:10:158"
                      },
                      "referencedDeclaration": 28863,
                      "src": "6253:10:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_Checkpoint_$28863_storage_ptr",
                        "typeString": "struct Checkpoints.Checkpoint"
                      }
                    },
                    "id": 29269,
                    "nodeType": "ArrayTypeName",
                    "src": "6253:12:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_array$_t_struct$_Checkpoint_$28863_storage_$dyn_storage_ptr",
                      "typeString": "struct Checkpoints.Checkpoint[]"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 29272,
                  "mutability": "mutable",
                  "name": "key",
                  "nameLocation": "6295:3:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 29317,
                  "src": "6288:10:158",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint32",
                    "typeString": "uint32"
                  },
                  "typeName": {
                    "id": 29271,
                    "name": "uint32",
                    "nodeType": "ElementaryTypeName",
                    "src": "6288:6:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint32",
                      "typeString": "uint32"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 29274,
                  "mutability": "mutable",
                  "name": "low",
                  "nameLocation": "6316:3:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 29317,
                  "src": "6308:11:158",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 29273,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "6308:7:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 29276,
                  "mutability": "mutable",
                  "name": "high",
                  "nameLocation": "6337:4:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 29317,
                  "src": "6329:12:158",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 29275,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "6329:7:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "6243:104:158"
            },
            "returnParameters": {
              "id": 29280,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 29279,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 29317,
                  "src": "6370:7:158",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 29278,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "6370:7:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "6369:9:158"
            },
            "scope": 30219,
            "stateMutability": "view",
            "virtual": false,
            "visibility": "private"
          },
          {
            "id": 29369,
            "nodeType": "FunctionDefinition",
            "src": "6994:438:158",
            "nodes": [],
            "body": {
              "id": 29368,
              "nodeType": "Block",
              "src": "7157:275:158",
              "nodes": [],
              "statements": [
                {
                  "body": {
                    "id": 29364,
                    "nodeType": "Block",
                    "src": "7186:219:158",
                    "statements": [
                      {
                        "assignments": [
                          29337
                        ],
                        "declarations": [
                          {
                            "constant": false,
                            "id": 29337,
                            "mutability": "mutable",
                            "name": "mid",
                            "nameLocation": "7208:3:158",
                            "nodeType": "VariableDeclaration",
                            "scope": 29364,
                            "src": "7200:11:158",
                            "stateVariable": false,
                            "storageLocation": "default",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            },
                            "typeName": {
                              "id": 29336,
                              "name": "uint256",
                              "nodeType": "ElementaryTypeName",
                              "src": "7200:7:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "visibility": "internal"
                          }
                        ],
                        "id": 29343,
                        "initialValue": {
                          "arguments": [
                            {
                              "id": 29340,
                              "name": "low",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 29326,
                              "src": "7227:3:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            {
                              "id": 29341,
                              "name": "high",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 29328,
                              "src": "7232:4:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            ],
                            "expression": {
                              "id": 29338,
                              "name": "Math",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 40331,
                              "src": "7214:4:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_type$_t_contract$_Math_$40331_$",
                                "typeString": "type(library Math)"
                              }
                            },
                            "id": 29339,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "average",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 39531,
                            "src": "7214:12:158",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$",
                              "typeString": "function (uint256,uint256) pure returns (uint256)"
                            }
                          },
                          "id": 29342,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "7214:23:158",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "VariableDeclarationStatement",
                        "src": "7200:37:158"
                      },
                      {
                        "condition": {
                          "commonType": {
                            "typeIdentifier": "t_uint32",
                            "typeString": "uint32"
                          },
                          "id": 29350,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftExpression": {
                            "expression": {
                              "arguments": [
                                {
                                  "id": 29345,
                                  "name": "self",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 29322,
                                  "src": "7269:4:158",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_array$_t_struct$_Checkpoint_$28863_storage_$dyn_storage_ptr",
                                    "typeString": "struct Checkpoints.Checkpoint storage ref[] storage pointer"
                                  }
                                },
                                {
                                  "id": 29346,
                                  "name": "mid",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 29337,
                                  "src": "7275:3:158",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                }
                              ],
                              "expression": {
                                "argumentTypes": [
                                  {
                                    "typeIdentifier": "t_array$_t_struct$_Checkpoint_$28863_storage_$dyn_storage_ptr",
                                    "typeString": "struct Checkpoints.Checkpoint storage ref[] storage pointer"
                                  },
                                  {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                ],
                                "id": 29344,
                                "name": "_unsafeAccess",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [
                                  29384,
                                  29801,
                                  30218
                                ],
                                "referencedDeclaration": 29384,
                                "src": "7255:13:158",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_function_internal_pure$_t_array$_t_struct$_Checkpoint_$28863_storage_$dyn_storage_ptr_$_t_uint256_$returns$_t_struct$_Checkpoint_$28863_storage_ptr_$",
                                  "typeString": "function (struct Checkpoints.Checkpoint storage ref[] storage pointer,uint256) pure returns (struct Checkpoints.Checkpoint storage pointer)"
                                }
                              },
                              "id": 29347,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "kind": "functionCall",
                              "lValueRequested": false,
                              "names": [],
                              "nodeType": "FunctionCall",
                              "src": "7255:24:158",
                              "tryCall": false,
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_Checkpoint_$28863_storage_ptr",
                                "typeString": "struct Checkpoints.Checkpoint storage pointer"
                              }
                            },
                            "id": 29348,
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "_blockNumber",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 28860,
                            "src": "7255:37:158",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint32",
                              "typeString": "uint32"
                            }
                          },
                          "nodeType": "BinaryOperation",
                          "operator": "<",
                          "rightExpression": {
                            "id": 29349,
                            "name": "key",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 29324,
                            "src": "7295:3:158",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint32",
                              "typeString": "uint32"
                            }
                          },
                          "src": "7255:43:158",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          }
                        },
                        "falseBody": {
                          "id": 29362,
                          "nodeType": "Block",
                          "src": "7352:43:158",
                          "statements": [
                            {
                              "expression": {
                                "id": 29360,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "leftHandSide": {
                                  "id": 29358,
                                  "name": "high",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 29328,
                                  "src": "7370:4:158",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "nodeType": "Assignment",
                                "operator": "=",
                                "rightHandSide": {
                                  "id": 29359,
                                  "name": "mid",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 29337,
                                  "src": "7377:3:158",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "src": "7370:10:158",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "id": 29361,
                              "nodeType": "ExpressionStatement",
                              "src": "7370:10:158"
                            }
                          ]
                        },
                        "id": 29363,
                        "nodeType": "IfStatement",
                        "src": "7251:144:158",
                        "trueBody": {
                          "id": 29357,
                          "nodeType": "Block",
                          "src": "7300:46:158",
                          "statements": [
                            {
                              "expression": {
                                "id": 29355,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "leftHandSide": {
                                  "id": 29351,
                                  "name": "low",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 29326,
                                  "src": "7318:3:158",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "nodeType": "Assignment",
                                "operator": "=",
                                "rightHandSide": {
                                  "commonType": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  },
                                  "id": 29354,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "leftExpression": {
                                    "id": 29352,
                                    "name": "mid",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 29337,
                                    "src": "7324:3:158",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_uint256",
                                      "typeString": "uint256"
                                    }
                                  },
                                  "nodeType": "BinaryOperation",
                                  "operator": "+",
                                  "rightExpression": {
                                    "hexValue": "31",
                                    "id": 29353,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": true,
                                    "kind": "number",
                                    "lValueRequested": false,
                                    "nodeType": "Literal",
                                    "src": "7330:1:158",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_rational_1_by_1",
                                      "typeString": "int_const 1"
                                    },
                                    "value": "1"
                                  },
                                  "src": "7324:7:158",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "src": "7318:13:158",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "id": 29356,
                              "nodeType": "ExpressionStatement",
                              "src": "7318:13:158"
                            }
                          ]
                        }
                      }
                    ]
                  },
                  "condition": {
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 29335,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "id": 29333,
                      "name": "low",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 29326,
                      "src": "7174:3:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "<",
                    "rightExpression": {
                      "id": 29334,
                      "name": "high",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 29328,
                      "src": "7180:4:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "7174:10:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 29365,
                  "nodeType": "WhileStatement",
                  "src": "7167:238:158"
                },
                {
                  "expression": {
                    "id": 29366,
                    "name": "high",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 29328,
                    "src": "7421:4:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "functionReturnParameters": 29332,
                  "id": 29367,
                  "nodeType": "Return",
                  "src": "7414:11:158"
                }
              ]
            },
            "documentation": {
              "id": 29318,
              "nodeType": "StructuredDocumentation",
              "src": "6660:329:158",
              "text": " @dev Return the index of the oldest checkpoint whose key is greater or equal than the search key, or `high` if there is none.\n `low` and `high` define a section where to do the search, with inclusive `low` and exclusive `high`.\n WARNING: `high` should not be greater than the array's length."
            },
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "_lowerBinaryLookup",
            "nameLocation": "7003:18:158",
            "parameters": {
              "id": 29329,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 29322,
                  "mutability": "mutable",
                  "name": "self",
                  "nameLocation": "7052:4:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 29369,
                  "src": "7031:25:158",
                  "stateVariable": false,
                  "storageLocation": "storage",
                  "typeDescriptions": {
                    "typeIdentifier": "t_array$_t_struct$_Checkpoint_$28863_storage_$dyn_storage_ptr",
                    "typeString": "struct Checkpoints.Checkpoint[]"
                  },
                  "typeName": {
                    "baseType": {
                      "id": 29320,
                      "nodeType": "UserDefinedTypeName",
                      "pathNode": {
                        "id": 29319,
                        "name": "Checkpoint",
                        "nodeType": "IdentifierPath",
                        "referencedDeclaration": 28863,
                        "src": "7031:10:158"
                      },
                      "referencedDeclaration": 28863,
                      "src": "7031:10:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_Checkpoint_$28863_storage_ptr",
                        "typeString": "struct Checkpoints.Checkpoint"
                      }
                    },
                    "id": 29321,
                    "nodeType": "ArrayTypeName",
                    "src": "7031:12:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_array$_t_struct$_Checkpoint_$28863_storage_$dyn_storage_ptr",
                      "typeString": "struct Checkpoints.Checkpoint[]"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 29324,
                  "mutability": "mutable",
                  "name": "key",
                  "nameLocation": "7073:3:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 29369,
                  "src": "7066:10:158",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint32",
                    "typeString": "uint32"
                  },
                  "typeName": {
                    "id": 29323,
                    "name": "uint32",
                    "nodeType": "ElementaryTypeName",
                    "src": "7066:6:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint32",
                      "typeString": "uint32"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 29326,
                  "mutability": "mutable",
                  "name": "low",
                  "nameLocation": "7094:3:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 29369,
                  "src": "7086:11:158",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 29325,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "7086:7:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 29328,
                  "mutability": "mutable",
                  "name": "high",
                  "nameLocation": "7115:4:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 29369,
                  "src": "7107:12:158",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 29327,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "7107:7:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "7021:104:158"
            },
            "returnParameters": {
              "id": 29332,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 29331,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 29369,
                  "src": "7148:7:158",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 29330,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "7148:7:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "7147:9:158"
            },
            "scope": 30219,
            "stateMutability": "view",
            "virtual": false,
            "visibility": "private"
          },
          {
            "id": 29384,
            "nodeType": "FunctionDefinition",
            "src": "7575:237:158",
            "nodes": [],
            "body": {
              "id": 29383,
              "nodeType": "Block",
              "src": "7687:125:158",
              "nodes": [],
              "statements": [
                {
                  "AST": {
                    "nodeType": "YulBlock",
                    "src": "7706:100:158",
                    "statements": [
                      {
                        "expression": {
                          "arguments": [
                            {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "7727:1:158",
                              "type": "",
                              "value": "0"
                            },
                            {
                              "name": "self.slot",
                              "nodeType": "YulIdentifier",
                              "src": "7730:9:158"
                            }
                          ],
                          "functionName": {
                            "name": "mstore",
                            "nodeType": "YulIdentifier",
                            "src": "7720:6:158"
                          },
                          "nodeType": "YulFunctionCall",
                          "src": "7720:20:158"
                        },
                        "nodeType": "YulExpressionStatement",
                        "src": "7720:20:158"
                      },
                      {
                        "nodeType": "YulAssignment",
                        "src": "7753:43:158",
                        "value": {
                          "arguments": [
                            {
                              "arguments": [
                                {
                                  "kind": "number",
                                  "nodeType": "YulLiteral",
                                  "src": "7782:1:158",
                                  "type": "",
                                  "value": "0"
                                },
                                {
                                  "kind": "number",
                                  "nodeType": "YulLiteral",
                                  "src": "7785:4:158",
                                  "type": "",
                                  "value": "0x20"
                                }
                              ],
                              "functionName": {
                                "name": "keccak256",
                                "nodeType": "YulIdentifier",
                                "src": "7772:9:158"
                              },
                              "nodeType": "YulFunctionCall",
                              "src": "7772:18:158"
                            },
                            {
                              "name": "pos",
                              "nodeType": "YulIdentifier",
                              "src": "7792:3:158"
                            }
                          ],
                          "functionName": {
                            "name": "add",
                            "nodeType": "YulIdentifier",
                            "src": "7768:3:158"
                          },
                          "nodeType": "YulFunctionCall",
                          "src": "7768:28:158"
                        },
                        "variableNames": [
                          {
                            "name": "result.slot",
                            "nodeType": "YulIdentifier",
                            "src": "7753:11:158"
                          }
                        ]
                      }
                    ]
                  },
                  "evmVersion": "berlin",
                  "externalReferences": [
                    {
                      "declaration": 29376,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "7792:3:158",
                      "valueSize": 1
                    },
                    {
                      "declaration": 29380,
                      "isOffset": false,
                      "isSlot": true,
                      "src": "7753:11:158",
                      "suffix": "slot",
                      "valueSize": 1
                    },
                    {
                      "declaration": 29374,
                      "isOffset": false,
                      "isSlot": true,
                      "src": "7730:9:158",
                      "suffix": "slot",
                      "valueSize": 1
                    }
                  ],
                  "id": 29382,
                  "nodeType": "InlineAssembly",
                  "src": "7697:109:158"
                }
              ]
            },
            "documentation": {
              "id": 29370,
              "nodeType": "StructuredDocumentation",
              "src": "7438:132:158",
              "text": " @dev Access an element of the array without performing bounds check. The position is assumed to be within bounds."
            },
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "_unsafeAccess",
            "nameLocation": "7584:13:158",
            "parameters": {
              "id": 29377,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 29374,
                  "mutability": "mutable",
                  "name": "self",
                  "nameLocation": "7619:4:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 29384,
                  "src": "7598:25:158",
                  "stateVariable": false,
                  "storageLocation": "storage",
                  "typeDescriptions": {
                    "typeIdentifier": "t_array$_t_struct$_Checkpoint_$28863_storage_$dyn_storage_ptr",
                    "typeString": "struct Checkpoints.Checkpoint[]"
                  },
                  "typeName": {
                    "baseType": {
                      "id": 29372,
                      "nodeType": "UserDefinedTypeName",
                      "pathNode": {
                        "id": 29371,
                        "name": "Checkpoint",
                        "nodeType": "IdentifierPath",
                        "referencedDeclaration": 28863,
                        "src": "7598:10:158"
                      },
                      "referencedDeclaration": 28863,
                      "src": "7598:10:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_Checkpoint_$28863_storage_ptr",
                        "typeString": "struct Checkpoints.Checkpoint"
                      }
                    },
                    "id": 29373,
                    "nodeType": "ArrayTypeName",
                    "src": "7598:12:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_array$_t_struct$_Checkpoint_$28863_storage_$dyn_storage_ptr",
                      "typeString": "struct Checkpoints.Checkpoint[]"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 29376,
                  "mutability": "mutable",
                  "name": "pos",
                  "nameLocation": "7633:3:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 29384,
                  "src": "7625:11:158",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 29375,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "7625:7:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "7597:40:158"
            },
            "returnParameters": {
              "id": 29381,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 29380,
                  "mutability": "mutable",
                  "name": "result",
                  "nameLocation": "7679:6:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 29384,
                  "src": "7660:25:158",
                  "stateVariable": false,
                  "storageLocation": "storage",
                  "typeDescriptions": {
                    "typeIdentifier": "t_struct$_Checkpoint_$28863_storage_ptr",
                    "typeString": "struct Checkpoints.Checkpoint"
                  },
                  "typeName": {
                    "id": 29379,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 29378,
                      "name": "Checkpoint",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 28863,
                      "src": "7660:10:158"
                    },
                    "referencedDeclaration": 28863,
                    "src": "7660:10:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_Checkpoint_$28863_storage_ptr",
                      "typeString": "struct Checkpoints.Checkpoint"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "7659:27:158"
            },
            "scope": 30219,
            "stateMutability": "pure",
            "virtual": false,
            "visibility": "private"
          },
          {
            "id": 29389,
            "nodeType": "StructDefinition",
            "src": "7818:61:158",
            "nodes": [],
            "canonicalName": "Checkpoints.Trace224",
            "members": [
              {
                "constant": false,
                "id": 29388,
                "mutability": "mutable",
                "name": "_checkpoints",
                "nameLocation": "7860:12:158",
                "nodeType": "VariableDeclaration",
                "scope": 29389,
                "src": "7844:28:158",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_array$_t_struct$_Checkpoint224_$29394_storage_$dyn_storage_ptr",
                  "typeString": "struct Checkpoints.Checkpoint224[]"
                },
                "typeName": {
                  "baseType": {
                    "id": 29386,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 29385,
                      "name": "Checkpoint224",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 29394,
                      "src": "7844:13:158"
                    },
                    "referencedDeclaration": 29394,
                    "src": "7844:13:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_Checkpoint224_$29394_storage_ptr",
                      "typeString": "struct Checkpoints.Checkpoint224"
                    }
                  },
                  "id": 29387,
                  "nodeType": "ArrayTypeName",
                  "src": "7844:15:158",
                  "typeDescriptions": {
                    "typeIdentifier": "t_array$_t_struct$_Checkpoint224_$29394_storage_$dyn_storage_ptr",
                    "typeString": "struct Checkpoints.Checkpoint224[]"
                  }
                },
                "visibility": "internal"
              }
            ],
            "name": "Trace224",
            "nameLocation": "7825:8:158",
            "scope": 30219,
            "visibility": "public"
          },
          {
            "id": 29394,
            "nodeType": "StructDefinition",
            "src": "7885:73:158",
            "nodes": [],
            "canonicalName": "Checkpoints.Checkpoint224",
            "members": [
              {
                "constant": false,
                "id": 29391,
                "mutability": "mutable",
                "name": "_key",
                "nameLocation": "7923:4:158",
                "nodeType": "VariableDeclaration",
                "scope": 29394,
                "src": "7916:11:158",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_uint32",
                  "typeString": "uint32"
                },
                "typeName": {
                  "id": 29390,
                  "name": "uint32",
                  "nodeType": "ElementaryTypeName",
                  "src": "7916:6:158",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint32",
                    "typeString": "uint32"
                  }
                },
                "visibility": "internal"
              },
              {
                "constant": false,
                "id": 29393,
                "mutability": "mutable",
                "name": "_value",
                "nameLocation": "7945:6:158",
                "nodeType": "VariableDeclaration",
                "scope": 29394,
                "src": "7937:14:158",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_uint224",
                  "typeString": "uint224"
                },
                "typeName": {
                  "id": 29392,
                  "name": "uint224",
                  "nodeType": "ElementaryTypeName",
                  "src": "7937:7:158",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint224",
                    "typeString": "uint224"
                  }
                },
                "visibility": "internal"
              }
            ],
            "name": "Checkpoint224",
            "nameLocation": "7892:13:158",
            "scope": 30219,
            "visibility": "public"
          },
          {
            "id": 29417,
            "nodeType": "FunctionDefinition",
            "src": "8131:192:158",
            "nodes": [],
            "body": {
              "id": 29416,
              "nodeType": "Block",
              "src": "8261:62:158",
              "nodes": [],
              "statements": [
                {
                  "expression": {
                    "arguments": [
                      {
                        "expression": {
                          "id": 29410,
                          "name": "self",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 29398,
                          "src": "8286:4:158",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_Trace224_$29389_storage_ptr",
                            "typeString": "struct Checkpoints.Trace224 storage pointer"
                          }
                        },
                        "id": 29411,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "_checkpoints",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 29388,
                        "src": "8286:17:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_array$_t_struct$_Checkpoint224_$29394_storage_$dyn_storage",
                          "typeString": "struct Checkpoints.Checkpoint224 storage ref[] storage ref"
                        }
                      },
                      {
                        "id": 29412,
                        "name": "key",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 29400,
                        "src": "8305:3:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint32",
                          "typeString": "uint32"
                        }
                      },
                      {
                        "id": 29413,
                        "name": "value",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 29402,
                        "src": "8310:5:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint224",
                          "typeString": "uint224"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_array$_t_struct$_Checkpoint224_$29394_storage_$dyn_storage",
                          "typeString": "struct Checkpoints.Checkpoint224 storage ref[] storage ref"
                        },
                        {
                          "typeIdentifier": "t_uint32",
                          "typeString": "uint32"
                        },
                        {
                          "typeIdentifier": "t_uint224",
                          "typeString": "uint224"
                        }
                      ],
                      "id": 29409,
                      "name": "_insert",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        29265,
                        29682,
                        30099
                      ],
                      "referencedDeclaration": 29682,
                      "src": "8278:7:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_nonpayable$_t_array$_t_struct$_Checkpoint224_$29394_storage_$dyn_storage_ptr_$_t_uint32_$_t_uint224_$returns$_t_uint224_$_t_uint224_$",
                        "typeString": "function (struct Checkpoints.Checkpoint224 storage ref[] storage pointer,uint32,uint224) returns (uint224,uint224)"
                      }
                    },
                    "id": 29414,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "8278:38:158",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$_t_uint224_$_t_uint224_$",
                      "typeString": "tuple(uint224,uint224)"
                    }
                  },
                  "functionReturnParameters": 29408,
                  "id": 29415,
                  "nodeType": "Return",
                  "src": "8271:45:158"
                }
              ]
            },
            "documentation": {
              "id": 29395,
              "nodeType": "StructuredDocumentation",
              "src": "7964:162:158",
              "text": " @dev Pushes a (`key`, `value`) pair into a Trace224 so that it is stored as the checkpoint.\n Returns previous value and new value."
            },
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "push",
            "nameLocation": "8140:4:158",
            "parameters": {
              "id": 29403,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 29398,
                  "mutability": "mutable",
                  "name": "self",
                  "nameLocation": "8171:4:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 29417,
                  "src": "8154:21:158",
                  "stateVariable": false,
                  "storageLocation": "storage",
                  "typeDescriptions": {
                    "typeIdentifier": "t_struct$_Trace224_$29389_storage_ptr",
                    "typeString": "struct Checkpoints.Trace224"
                  },
                  "typeName": {
                    "id": 29397,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 29396,
                      "name": "Trace224",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 29389,
                      "src": "8154:8:158"
                    },
                    "referencedDeclaration": 29389,
                    "src": "8154:8:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_Trace224_$29389_storage_ptr",
                      "typeString": "struct Checkpoints.Trace224"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 29400,
                  "mutability": "mutable",
                  "name": "key",
                  "nameLocation": "8192:3:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 29417,
                  "src": "8185:10:158",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint32",
                    "typeString": "uint32"
                  },
                  "typeName": {
                    "id": 29399,
                    "name": "uint32",
                    "nodeType": "ElementaryTypeName",
                    "src": "8185:6:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint32",
                      "typeString": "uint32"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 29402,
                  "mutability": "mutable",
                  "name": "value",
                  "nameLocation": "8213:5:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 29417,
                  "src": "8205:13:158",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint224",
                    "typeString": "uint224"
                  },
                  "typeName": {
                    "id": 29401,
                    "name": "uint224",
                    "nodeType": "ElementaryTypeName",
                    "src": "8205:7:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint224",
                      "typeString": "uint224"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "8144:80:158"
            },
            "returnParameters": {
              "id": 29408,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 29405,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 29417,
                  "src": "8243:7:158",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint224",
                    "typeString": "uint224"
                  },
                  "typeName": {
                    "id": 29404,
                    "name": "uint224",
                    "nodeType": "ElementaryTypeName",
                    "src": "8243:7:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint224",
                      "typeString": "uint224"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 29407,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 29417,
                  "src": "8252:7:158",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint224",
                    "typeString": "uint224"
                  },
                  "typeName": {
                    "id": 29406,
                    "name": "uint224",
                    "nodeType": "ElementaryTypeName",
                    "src": "8252:7:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint224",
                      "typeString": "uint224"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "8242:18:158"
            },
            "scope": 30219,
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "internal"
          },
          {
            "id": 29457,
            "nodeType": "FunctionDefinition",
            "src": "8473:295:158",
            "nodes": [],
            "body": {
              "id": 29456,
              "nodeType": "Block",
              "src": "8561:207:158",
              "nodes": [],
              "statements": [
                {
                  "assignments": [
                    29429
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 29429,
                      "mutability": "mutable",
                      "name": "len",
                      "nameLocation": "8579:3:158",
                      "nodeType": "VariableDeclaration",
                      "scope": 29456,
                      "src": "8571:11:158",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 29428,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "8571:7:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 29433,
                  "initialValue": {
                    "expression": {
                      "expression": {
                        "id": 29430,
                        "name": "self",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 29421,
                        "src": "8585:4:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_Trace224_$29389_storage_ptr",
                          "typeString": "struct Checkpoints.Trace224 storage pointer"
                        }
                      },
                      "id": 29431,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "_checkpoints",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 29388,
                      "src": "8585:17:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_array$_t_struct$_Checkpoint224_$29394_storage_$dyn_storage",
                        "typeString": "struct Checkpoints.Checkpoint224 storage ref[] storage ref"
                      }
                    },
                    "id": 29432,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "memberName": "length",
                    "nodeType": "MemberAccess",
                    "src": "8585:24:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "8571:38:158"
                },
                {
                  "assignments": [
                    29435
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 29435,
                      "mutability": "mutable",
                      "name": "pos",
                      "nameLocation": "8627:3:158",
                      "nodeType": "VariableDeclaration",
                      "scope": 29456,
                      "src": "8619:11:158",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 29434,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "8619:7:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 29443,
                  "initialValue": {
                    "arguments": [
                      {
                        "expression": {
                          "id": 29437,
                          "name": "self",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 29421,
                          "src": "8652:4:158",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_Trace224_$29389_storage_ptr",
                            "typeString": "struct Checkpoints.Trace224 storage pointer"
                          }
                        },
                        "id": 29438,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "_checkpoints",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 29388,
                        "src": "8652:17:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_array$_t_struct$_Checkpoint224_$29394_storage_$dyn_storage",
                          "typeString": "struct Checkpoints.Checkpoint224 storage ref[] storage ref"
                        }
                      },
                      {
                        "id": 29439,
                        "name": "key",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 29423,
                        "src": "8671:3:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint32",
                          "typeString": "uint32"
                        }
                      },
                      {
                        "hexValue": "30",
                        "id": 29440,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "number",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "8676:1:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_rational_0_by_1",
                          "typeString": "int_const 0"
                        },
                        "value": "0"
                      },
                      {
                        "id": 29441,
                        "name": "len",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 29429,
                        "src": "8679:3:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_array$_t_struct$_Checkpoint224_$29394_storage_$dyn_storage",
                          "typeString": "struct Checkpoints.Checkpoint224 storage ref[] storage ref"
                        },
                        {
                          "typeIdentifier": "t_uint32",
                          "typeString": "uint32"
                        },
                        {
                          "typeIdentifier": "t_rational_0_by_1",
                          "typeString": "int_const 0"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      ],
                      "id": 29436,
                      "name": "_lowerBinaryLookup",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        29369,
                        29786,
                        30203
                      ],
                      "referencedDeclaration": 29786,
                      "src": "8633:18:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_view$_t_array$_t_struct$_Checkpoint224_$29394_storage_$dyn_storage_ptr_$_t_uint32_$_t_uint256_$_t_uint256_$returns$_t_uint256_$",
                        "typeString": "function (struct Checkpoints.Checkpoint224 storage ref[] storage pointer,uint32,uint256,uint256) view returns (uint256)"
                      }
                    },
                    "id": 29442,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "8633:50:158",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "8619:64:158"
                },
                {
                  "expression": {
                    "condition": {
                      "commonType": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "id": 29446,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "leftExpression": {
                        "id": 29444,
                        "name": "pos",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 29435,
                        "src": "8700:3:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "nodeType": "BinaryOperation",
                      "operator": "==",
                      "rightExpression": {
                        "id": 29445,
                        "name": "len",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 29429,
                        "src": "8707:3:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "src": "8700:10:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bool",
                        "typeString": "bool"
                      }
                    },
                    "falseExpression": {
                      "expression": {
                        "arguments": [
                          {
                            "expression": {
                              "id": 29449,
                              "name": "self",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 29421,
                              "src": "8731:4:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_Trace224_$29389_storage_ptr",
                                "typeString": "struct Checkpoints.Trace224 storage pointer"
                              }
                            },
                            "id": 29450,
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "_checkpoints",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 29388,
                            "src": "8731:17:158",
                            "typeDescriptions": {
                              "typeIdentifier": "t_array$_t_struct$_Checkpoint224_$29394_storage_$dyn_storage",
                              "typeString": "struct Checkpoints.Checkpoint224 storage ref[] storage ref"
                            }
                          },
                          {
                            "id": 29451,
                            "name": "pos",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 29435,
                            "src": "8750:3:158",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_array$_t_struct$_Checkpoint224_$29394_storage_$dyn_storage",
                              "typeString": "struct Checkpoints.Checkpoint224 storage ref[] storage ref"
                            },
                            {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          ],
                          "id": 29448,
                          "name": "_unsafeAccess",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [
                            29384,
                            29801,
                            30218
                          ],
                          "referencedDeclaration": 29801,
                          "src": "8717:13:158",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_internal_pure$_t_array$_t_struct$_Checkpoint224_$29394_storage_$dyn_storage_ptr_$_t_uint256_$returns$_t_struct$_Checkpoint224_$29394_storage_ptr_$",
                            "typeString": "function (struct Checkpoints.Checkpoint224 storage ref[] storage pointer,uint256) pure returns (struct Checkpoints.Checkpoint224 storage pointer)"
                          }
                        },
                        "id": 29452,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "8717:37:158",
                        "tryCall": false,
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_Checkpoint224_$29394_storage_ptr",
                          "typeString": "struct Checkpoints.Checkpoint224 storage pointer"
                        }
                      },
                      "id": 29453,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "_value",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 29393,
                      "src": "8717:44:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint224",
                        "typeString": "uint224"
                      }
                    },
                    "id": 29454,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "Conditional",
                    "src": "8700:61:158",
                    "trueExpression": {
                      "hexValue": "30",
                      "id": 29447,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "8713:1:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint224",
                      "typeString": "uint224"
                    }
                  },
                  "functionReturnParameters": 29427,
                  "id": 29455,
                  "nodeType": "Return",
                  "src": "8693:68:158"
                }
              ]
            },
            "documentation": {
              "id": 29418,
              "nodeType": "StructuredDocumentation",
              "src": "8329:139:158",
              "text": " @dev Returns the value in the oldest checkpoint with key greater or equal than the search key, or zero if there is none."
            },
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "lowerLookup",
            "nameLocation": "8482:11:158",
            "parameters": {
              "id": 29424,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 29421,
                  "mutability": "mutable",
                  "name": "self",
                  "nameLocation": "8511:4:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 29457,
                  "src": "8494:21:158",
                  "stateVariable": false,
                  "storageLocation": "storage",
                  "typeDescriptions": {
                    "typeIdentifier": "t_struct$_Trace224_$29389_storage_ptr",
                    "typeString": "struct Checkpoints.Trace224"
                  },
                  "typeName": {
                    "id": 29420,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 29419,
                      "name": "Trace224",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 29389,
                      "src": "8494:8:158"
                    },
                    "referencedDeclaration": 29389,
                    "src": "8494:8:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_Trace224_$29389_storage_ptr",
                      "typeString": "struct Checkpoints.Trace224"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 29423,
                  "mutability": "mutable",
                  "name": "key",
                  "nameLocation": "8524:3:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 29457,
                  "src": "8517:10:158",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint32",
                    "typeString": "uint32"
                  },
                  "typeName": {
                    "id": 29422,
                    "name": "uint32",
                    "nodeType": "ElementaryTypeName",
                    "src": "8517:6:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint32",
                      "typeString": "uint32"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "8493:35:158"
            },
            "returnParameters": {
              "id": 29427,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 29426,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 29457,
                  "src": "8552:7:158",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint224",
                    "typeString": "uint224"
                  },
                  "typeName": {
                    "id": 29425,
                    "name": "uint224",
                    "nodeType": "ElementaryTypeName",
                    "src": "8552:7:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint224",
                      "typeString": "uint224"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "8551:9:158"
            },
            "scope": 30219,
            "stateMutability": "view",
            "virtual": false,
            "visibility": "internal"
          },
          {
            "id": 29499,
            "nodeType": "FunctionDefinition",
            "src": "8895:297:158",
            "nodes": [],
            "body": {
              "id": 29498,
              "nodeType": "Block",
              "src": "8983:209:158",
              "nodes": [],
              "statements": [
                {
                  "assignments": [
                    29469
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 29469,
                      "mutability": "mutable",
                      "name": "len",
                      "nameLocation": "9001:3:158",
                      "nodeType": "VariableDeclaration",
                      "scope": 29498,
                      "src": "8993:11:158",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 29468,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "8993:7:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 29473,
                  "initialValue": {
                    "expression": {
                      "expression": {
                        "id": 29470,
                        "name": "self",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 29461,
                        "src": "9007:4:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_Trace224_$29389_storage_ptr",
                          "typeString": "struct Checkpoints.Trace224 storage pointer"
                        }
                      },
                      "id": 29471,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "_checkpoints",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 29388,
                      "src": "9007:17:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_array$_t_struct$_Checkpoint224_$29394_storage_$dyn_storage",
                        "typeString": "struct Checkpoints.Checkpoint224 storage ref[] storage ref"
                      }
                    },
                    "id": 29472,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "memberName": "length",
                    "nodeType": "MemberAccess",
                    "src": "9007:24:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "8993:38:158"
                },
                {
                  "assignments": [
                    29475
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 29475,
                      "mutability": "mutable",
                      "name": "pos",
                      "nameLocation": "9049:3:158",
                      "nodeType": "VariableDeclaration",
                      "scope": 29498,
                      "src": "9041:11:158",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 29474,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "9041:7:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 29483,
                  "initialValue": {
                    "arguments": [
                      {
                        "expression": {
                          "id": 29477,
                          "name": "self",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 29461,
                          "src": "9074:4:158",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_Trace224_$29389_storage_ptr",
                            "typeString": "struct Checkpoints.Trace224 storage pointer"
                          }
                        },
                        "id": 29478,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "_checkpoints",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 29388,
                        "src": "9074:17:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_array$_t_struct$_Checkpoint224_$29394_storage_$dyn_storage",
                          "typeString": "struct Checkpoints.Checkpoint224 storage ref[] storage ref"
                        }
                      },
                      {
                        "id": 29479,
                        "name": "key",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 29463,
                        "src": "9093:3:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint32",
                          "typeString": "uint32"
                        }
                      },
                      {
                        "hexValue": "30",
                        "id": 29480,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "number",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "9098:1:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_rational_0_by_1",
                          "typeString": "int_const 0"
                        },
                        "value": "0"
                      },
                      {
                        "id": 29481,
                        "name": "len",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 29469,
                        "src": "9101:3:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_array$_t_struct$_Checkpoint224_$29394_storage_$dyn_storage",
                          "typeString": "struct Checkpoints.Checkpoint224 storage ref[] storage ref"
                        },
                        {
                          "typeIdentifier": "t_uint32",
                          "typeString": "uint32"
                        },
                        {
                          "typeIdentifier": "t_rational_0_by_1",
                          "typeString": "int_const 0"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      ],
                      "id": 29476,
                      "name": "_upperBinaryLookup",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        29317,
                        29734,
                        30151
                      ],
                      "referencedDeclaration": 29734,
                      "src": "9055:18:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_view$_t_array$_t_struct$_Checkpoint224_$29394_storage_$dyn_storage_ptr_$_t_uint32_$_t_uint256_$_t_uint256_$returns$_t_uint256_$",
                        "typeString": "function (struct Checkpoints.Checkpoint224 storage ref[] storage pointer,uint32,uint256,uint256) view returns (uint256)"
                      }
                    },
                    "id": 29482,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "9055:50:158",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "9041:64:158"
                },
                {
                  "expression": {
                    "condition": {
                      "commonType": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "id": 29486,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "leftExpression": {
                        "id": 29484,
                        "name": "pos",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 29475,
                        "src": "9122:3:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "nodeType": "BinaryOperation",
                      "operator": "==",
                      "rightExpression": {
                        "hexValue": "30",
                        "id": 29485,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "number",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "9129:1:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_rational_0_by_1",
                          "typeString": "int_const 0"
                        },
                        "value": "0"
                      },
                      "src": "9122:8:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bool",
                        "typeString": "bool"
                      }
                    },
                    "falseExpression": {
                      "expression": {
                        "arguments": [
                          {
                            "expression": {
                              "id": 29489,
                              "name": "self",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 29461,
                              "src": "9151:4:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_Trace224_$29389_storage_ptr",
                                "typeString": "struct Checkpoints.Trace224 storage pointer"
                              }
                            },
                            "id": 29490,
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "_checkpoints",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 29388,
                            "src": "9151:17:158",
                            "typeDescriptions": {
                              "typeIdentifier": "t_array$_t_struct$_Checkpoint224_$29394_storage_$dyn_storage",
                              "typeString": "struct Checkpoints.Checkpoint224 storage ref[] storage ref"
                            }
                          },
                          {
                            "commonType": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            },
                            "id": 29493,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "leftExpression": {
                              "id": 29491,
                              "name": "pos",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 29475,
                              "src": "9170:3:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "nodeType": "BinaryOperation",
                            "operator": "-",
                            "rightExpression": {
                              "hexValue": "31",
                              "id": 29492,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "number",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "9176:1:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_rational_1_by_1",
                                "typeString": "int_const 1"
                              },
                              "value": "1"
                            },
                            "src": "9170:7:158",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_array$_t_struct$_Checkpoint224_$29394_storage_$dyn_storage",
                              "typeString": "struct Checkpoints.Checkpoint224 storage ref[] storage ref"
                            },
                            {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          ],
                          "id": 29488,
                          "name": "_unsafeAccess",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [
                            29384,
                            29801,
                            30218
                          ],
                          "referencedDeclaration": 29801,
                          "src": "9137:13:158",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_internal_pure$_t_array$_t_struct$_Checkpoint224_$29394_storage_$dyn_storage_ptr_$_t_uint256_$returns$_t_struct$_Checkpoint224_$29394_storage_ptr_$",
                            "typeString": "function (struct Checkpoints.Checkpoint224 storage ref[] storage pointer,uint256) pure returns (struct Checkpoints.Checkpoint224 storage pointer)"
                          }
                        },
                        "id": 29494,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "9137:41:158",
                        "tryCall": false,
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_Checkpoint224_$29394_storage_ptr",
                          "typeString": "struct Checkpoints.Checkpoint224 storage pointer"
                        }
                      },
                      "id": 29495,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "_value",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 29393,
                      "src": "9137:48:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint224",
                        "typeString": "uint224"
                      }
                    },
                    "id": 29496,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "Conditional",
                    "src": "9122:63:158",
                    "trueExpression": {
                      "hexValue": "30",
                      "id": 29487,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "9133:1:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint224",
                      "typeString": "uint224"
                    }
                  },
                  "functionReturnParameters": 29467,
                  "id": 29497,
                  "nodeType": "Return",
                  "src": "9115:70:158"
                }
              ]
            },
            "documentation": {
              "id": 29458,
              "nodeType": "StructuredDocumentation",
              "src": "8774:116:158",
              "text": " @dev Returns the value in the most recent checkpoint with key lower or equal than the search key."
            },
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "upperLookup",
            "nameLocation": "8904:11:158",
            "parameters": {
              "id": 29464,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 29461,
                  "mutability": "mutable",
                  "name": "self",
                  "nameLocation": "8933:4:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 29499,
                  "src": "8916:21:158",
                  "stateVariable": false,
                  "storageLocation": "storage",
                  "typeDescriptions": {
                    "typeIdentifier": "t_struct$_Trace224_$29389_storage_ptr",
                    "typeString": "struct Checkpoints.Trace224"
                  },
                  "typeName": {
                    "id": 29460,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 29459,
                      "name": "Trace224",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 29389,
                      "src": "8916:8:158"
                    },
                    "referencedDeclaration": 29389,
                    "src": "8916:8:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_Trace224_$29389_storage_ptr",
                      "typeString": "struct Checkpoints.Trace224"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 29463,
                  "mutability": "mutable",
                  "name": "key",
                  "nameLocation": "8946:3:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 29499,
                  "src": "8939:10:158",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint32",
                    "typeString": "uint32"
                  },
                  "typeName": {
                    "id": 29462,
                    "name": "uint32",
                    "nodeType": "ElementaryTypeName",
                    "src": "8939:6:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint32",
                      "typeString": "uint32"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "8915:35:158"
            },
            "returnParameters": {
              "id": 29467,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 29466,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 29499,
                  "src": "8974:7:158",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint224",
                    "typeString": "uint224"
                  },
                  "typeName": {
                    "id": 29465,
                    "name": "uint224",
                    "nodeType": "ElementaryTypeName",
                    "src": "8974:7:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint224",
                      "typeString": "uint224"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "8973:9:158"
            },
            "scope": 30219,
            "stateMutability": "view",
            "virtual": false,
            "visibility": "internal"
          },
          {
            "id": 29529,
            "nodeType": "FunctionDefinition",
            "src": "9312:206:158",
            "nodes": [],
            "body": {
              "id": 29528,
              "nodeType": "Block",
              "src": "9383:135:158",
              "nodes": [],
              "statements": [
                {
                  "assignments": [
                    29509
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 29509,
                      "mutability": "mutable",
                      "name": "pos",
                      "nameLocation": "9401:3:158",
                      "nodeType": "VariableDeclaration",
                      "scope": 29528,
                      "src": "9393:11:158",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 29508,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "9393:7:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 29513,
                  "initialValue": {
                    "expression": {
                      "expression": {
                        "id": 29510,
                        "name": "self",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 29503,
                        "src": "9407:4:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_Trace224_$29389_storage_ptr",
                          "typeString": "struct Checkpoints.Trace224 storage pointer"
                        }
                      },
                      "id": 29511,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "_checkpoints",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 29388,
                      "src": "9407:17:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_array$_t_struct$_Checkpoint224_$29394_storage_$dyn_storage",
                        "typeString": "struct Checkpoints.Checkpoint224 storage ref[] storage ref"
                      }
                    },
                    "id": 29512,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "memberName": "length",
                    "nodeType": "MemberAccess",
                    "src": "9407:24:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "9393:38:158"
                },
                {
                  "expression": {
                    "condition": {
                      "commonType": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "id": 29516,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "leftExpression": {
                        "id": 29514,
                        "name": "pos",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 29509,
                        "src": "9448:3:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "nodeType": "BinaryOperation",
                      "operator": "==",
                      "rightExpression": {
                        "hexValue": "30",
                        "id": 29515,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "number",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "9455:1:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_rational_0_by_1",
                          "typeString": "int_const 0"
                        },
                        "value": "0"
                      },
                      "src": "9448:8:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bool",
                        "typeString": "bool"
                      }
                    },
                    "falseExpression": {
                      "expression": {
                        "arguments": [
                          {
                            "expression": {
                              "id": 29519,
                              "name": "self",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 29503,
                              "src": "9477:4:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_Trace224_$29389_storage_ptr",
                                "typeString": "struct Checkpoints.Trace224 storage pointer"
                              }
                            },
                            "id": 29520,
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "_checkpoints",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 29388,
                            "src": "9477:17:158",
                            "typeDescriptions": {
                              "typeIdentifier": "t_array$_t_struct$_Checkpoint224_$29394_storage_$dyn_storage",
                              "typeString": "struct Checkpoints.Checkpoint224 storage ref[] storage ref"
                            }
                          },
                          {
                            "commonType": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            },
                            "id": 29523,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "leftExpression": {
                              "id": 29521,
                              "name": "pos",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 29509,
                              "src": "9496:3:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "nodeType": "BinaryOperation",
                            "operator": "-",
                            "rightExpression": {
                              "hexValue": "31",
                              "id": 29522,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "number",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "9502:1:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_rational_1_by_1",
                                "typeString": "int_const 1"
                              },
                              "value": "1"
                            },
                            "src": "9496:7:158",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_array$_t_struct$_Checkpoint224_$29394_storage_$dyn_storage",
                              "typeString": "struct Checkpoints.Checkpoint224 storage ref[] storage ref"
                            },
                            {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          ],
                          "id": 29518,
                          "name": "_unsafeAccess",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [
                            29384,
                            29801,
                            30218
                          ],
                          "referencedDeclaration": 29801,
                          "src": "9463:13:158",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_internal_pure$_t_array$_t_struct$_Checkpoint224_$29394_storage_$dyn_storage_ptr_$_t_uint256_$returns$_t_struct$_Checkpoint224_$29394_storage_ptr_$",
                            "typeString": "function (struct Checkpoints.Checkpoint224 storage ref[] storage pointer,uint256) pure returns (struct Checkpoints.Checkpoint224 storage pointer)"
                          }
                        },
                        "id": 29524,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "9463:41:158",
                        "tryCall": false,
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_Checkpoint224_$29394_storage_ptr",
                          "typeString": "struct Checkpoints.Checkpoint224 storage pointer"
                        }
                      },
                      "id": 29525,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "_value",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 29393,
                      "src": "9463:48:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint224",
                        "typeString": "uint224"
                      }
                    },
                    "id": 29526,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "Conditional",
                    "src": "9448:63:158",
                    "trueExpression": {
                      "hexValue": "30",
                      "id": 29517,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "9459:1:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint224",
                      "typeString": "uint224"
                    }
                  },
                  "functionReturnParameters": 29507,
                  "id": 29527,
                  "nodeType": "Return",
                  "src": "9441:70:158"
                }
              ]
            },
            "documentation": {
              "id": 29500,
              "nodeType": "StructuredDocumentation",
              "src": "9198:109:158",
              "text": " @dev Returns the value in the most recent checkpoint, or zero if there are no checkpoints."
            },
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "latest",
            "nameLocation": "9321:6:158",
            "parameters": {
              "id": 29504,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 29503,
                  "mutability": "mutable",
                  "name": "self",
                  "nameLocation": "9345:4:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 29529,
                  "src": "9328:21:158",
                  "stateVariable": false,
                  "storageLocation": "storage",
                  "typeDescriptions": {
                    "typeIdentifier": "t_struct$_Trace224_$29389_storage_ptr",
                    "typeString": "struct Checkpoints.Trace224"
                  },
                  "typeName": {
                    "id": 29502,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 29501,
                      "name": "Trace224",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 29389,
                      "src": "9328:8:158"
                    },
                    "referencedDeclaration": 29389,
                    "src": "9328:8:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_Trace224_$29389_storage_ptr",
                      "typeString": "struct Checkpoints.Trace224"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "9327:23:158"
            },
            "returnParameters": {
              "id": 29507,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 29506,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 29529,
                  "src": "9374:7:158",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint224",
                    "typeString": "uint224"
                  },
                  "typeName": {
                    "id": 29505,
                    "name": "uint224",
                    "nodeType": "ElementaryTypeName",
                    "src": "9374:7:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint224",
                      "typeString": "uint224"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "9373:9:158"
            },
            "scope": 30219,
            "stateMutability": "view",
            "virtual": false,
            "visibility": "internal"
          },
          {
            "id": 29578,
            "nodeType": "FunctionDefinition",
            "src": "9697:462:158",
            "nodes": [],
            "body": {
              "id": 29577,
              "nodeType": "Block",
              "src": "9885:274:158",
              "nodes": [],
              "statements": [
                {
                  "assignments": [
                    29543
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 29543,
                      "mutability": "mutable",
                      "name": "pos",
                      "nameLocation": "9903:3:158",
                      "nodeType": "VariableDeclaration",
                      "scope": 29577,
                      "src": "9895:11:158",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 29542,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "9895:7:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 29547,
                  "initialValue": {
                    "expression": {
                      "expression": {
                        "id": 29544,
                        "name": "self",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 29533,
                        "src": "9909:4:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_Trace224_$29389_storage_ptr",
                          "typeString": "struct Checkpoints.Trace224 storage pointer"
                        }
                      },
                      "id": 29545,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "_checkpoints",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 29388,
                      "src": "9909:17:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_array$_t_struct$_Checkpoint224_$29394_storage_$dyn_storage",
                        "typeString": "struct Checkpoints.Checkpoint224 storage ref[] storage ref"
                      }
                    },
                    "id": 29546,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "memberName": "length",
                    "nodeType": "MemberAccess",
                    "src": "9909:24:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "9895:38:158"
                },
                {
                  "condition": {
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 29550,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "id": 29548,
                      "name": "pos",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 29543,
                      "src": "9947:3:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "==",
                    "rightExpression": {
                      "hexValue": "30",
                      "id": 29549,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "9954:1:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "src": "9947:8:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": {
                    "id": 29575,
                    "nodeType": "Block",
                    "src": "10008:145:158",
                    "statements": [
                      {
                        "assignments": [
                          29559
                        ],
                        "declarations": [
                          {
                            "constant": false,
                            "id": 29559,
                            "mutability": "mutable",
                            "name": "ckpt",
                            "nameLocation": "10043:4:158",
                            "nodeType": "VariableDeclaration",
                            "scope": 29575,
                            "src": "10022:25:158",
                            "stateVariable": false,
                            "storageLocation": "memory",
                            "typeDescriptions": {
                              "typeIdentifier": "t_struct$_Checkpoint224_$29394_memory_ptr",
                              "typeString": "struct Checkpoints.Checkpoint224"
                            },
                            "typeName": {
                              "id": 29558,
                              "nodeType": "UserDefinedTypeName",
                              "pathNode": {
                                "id": 29557,
                                "name": "Checkpoint224",
                                "nodeType": "IdentifierPath",
                                "referencedDeclaration": 29394,
                                "src": "10022:13:158"
                              },
                              "referencedDeclaration": 29394,
                              "src": "10022:13:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_Checkpoint224_$29394_storage_ptr",
                                "typeString": "struct Checkpoints.Checkpoint224"
                              }
                            },
                            "visibility": "internal"
                          }
                        ],
                        "id": 29567,
                        "initialValue": {
                          "arguments": [
                            {
                              "expression": {
                                "id": 29561,
                                "name": "self",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 29533,
                                "src": "10064:4:158",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_struct$_Trace224_$29389_storage_ptr",
                                  "typeString": "struct Checkpoints.Trace224 storage pointer"
                                }
                              },
                              "id": 29562,
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "_checkpoints",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 29388,
                              "src": "10064:17:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_array$_t_struct$_Checkpoint224_$29394_storage_$dyn_storage",
                                "typeString": "struct Checkpoints.Checkpoint224 storage ref[] storage ref"
                              }
                            },
                            {
                              "commonType": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              "id": 29565,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "leftExpression": {
                                "id": 29563,
                                "name": "pos",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 29543,
                                "src": "10083:3:158",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "nodeType": "BinaryOperation",
                              "operator": "-",
                              "rightExpression": {
                                "hexValue": "31",
                                "id": 29564,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": true,
                                "kind": "number",
                                "lValueRequested": false,
                                "nodeType": "Literal",
                                "src": "10089:1:158",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_rational_1_by_1",
                                  "typeString": "int_const 1"
                                },
                                "value": "1"
                              },
                              "src": "10083:7:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_array$_t_struct$_Checkpoint224_$29394_storage_$dyn_storage",
                                "typeString": "struct Checkpoints.Checkpoint224 storage ref[] storage ref"
                              },
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            ],
                            "id": 29560,
                            "name": "_unsafeAccess",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [
                              29384,
                              29801,
                              30218
                            ],
                            "referencedDeclaration": 29801,
                            "src": "10050:13:158",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_internal_pure$_t_array$_t_struct$_Checkpoint224_$29394_storage_$dyn_storage_ptr_$_t_uint256_$returns$_t_struct$_Checkpoint224_$29394_storage_ptr_$",
                              "typeString": "function (struct Checkpoints.Checkpoint224 storage ref[] storage pointer,uint256) pure returns (struct Checkpoints.Checkpoint224 storage pointer)"
                            }
                          },
                          "id": 29566,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "10050:41:158",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_Checkpoint224_$29394_storage_ptr",
                            "typeString": "struct Checkpoints.Checkpoint224 storage pointer"
                          }
                        },
                        "nodeType": "VariableDeclarationStatement",
                        "src": "10022:69:158"
                      },
                      {
                        "expression": {
                          "components": [
                            {
                              "hexValue": "74727565",
                              "id": 29568,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "bool",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "10113:4:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              },
                              "value": "true"
                            },
                            {
                              "expression": {
                                "id": 29569,
                                "name": "ckpt",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 29559,
                                "src": "10119:4:158",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_struct$_Checkpoint224_$29394_memory_ptr",
                                  "typeString": "struct Checkpoints.Checkpoint224 memory"
                                }
                              },
                              "id": 29570,
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "_key",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 29391,
                              "src": "10119:9:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint32",
                                "typeString": "uint32"
                              }
                            },
                            {
                              "expression": {
                                "id": 29571,
                                "name": "ckpt",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 29559,
                                "src": "10130:4:158",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_struct$_Checkpoint224_$29394_memory_ptr",
                                  "typeString": "struct Checkpoints.Checkpoint224 memory"
                                }
                              },
                              "id": 29572,
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "_value",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 29393,
                              "src": "10130:11:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint224",
                                "typeString": "uint224"
                              }
                            }
                          ],
                          "id": 29573,
                          "isConstant": false,
                          "isInlineArray": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "nodeType": "TupleExpression",
                          "src": "10112:30:158",
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$_t_bool_$_t_uint32_$_t_uint224_$",
                            "typeString": "tuple(bool,uint32,uint224)"
                          }
                        },
                        "functionReturnParameters": 29541,
                        "id": 29574,
                        "nodeType": "Return",
                        "src": "10105:37:158"
                      }
                    ]
                  },
                  "id": 29576,
                  "nodeType": "IfStatement",
                  "src": "9943:210:158",
                  "trueBody": {
                    "id": 29556,
                    "nodeType": "Block",
                    "src": "9957:45:158",
                    "statements": [
                      {
                        "expression": {
                          "components": [
                            {
                              "hexValue": "66616c7365",
                              "id": 29551,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "bool",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "9979:5:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              },
                              "value": "false"
                            },
                            {
                              "hexValue": "30",
                              "id": 29552,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "number",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "9986:1:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_rational_0_by_1",
                                "typeString": "int_const 0"
                              },
                              "value": "0"
                            },
                            {
                              "hexValue": "30",
                              "id": 29553,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "number",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "9989:1:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_rational_0_by_1",
                                "typeString": "int_const 0"
                              },
                              "value": "0"
                            }
                          ],
                          "id": 29554,
                          "isConstant": false,
                          "isInlineArray": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "TupleExpression",
                          "src": "9978:13:158",
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$_t_rational_0_by_1_$",
                            "typeString": "tuple(bool,int_const 0,int_const 0)"
                          }
                        },
                        "functionReturnParameters": 29541,
                        "id": 29555,
                        "nodeType": "Return",
                        "src": "9971:20:158"
                      }
                    ]
                  }
                }
              ]
            },
            "documentation": {
              "id": 29530,
              "nodeType": "StructuredDocumentation",
              "src": "9524:168:158",
              "text": " @dev Returns whether there is a checkpoint in the structure (i.e. it is not empty), and if so the key and value\n in the most recent checkpoint."
            },
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "latestCheckpoint",
            "nameLocation": "9706:16:158",
            "parameters": {
              "id": 29534,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 29533,
                  "mutability": "mutable",
                  "name": "self",
                  "nameLocation": "9740:4:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 29578,
                  "src": "9723:21:158",
                  "stateVariable": false,
                  "storageLocation": "storage",
                  "typeDescriptions": {
                    "typeIdentifier": "t_struct$_Trace224_$29389_storage_ptr",
                    "typeString": "struct Checkpoints.Trace224"
                  },
                  "typeName": {
                    "id": 29532,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 29531,
                      "name": "Trace224",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 29389,
                      "src": "9723:8:158"
                    },
                    "referencedDeclaration": 29389,
                    "src": "9723:8:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_Trace224_$29389_storage_ptr",
                      "typeString": "struct Checkpoints.Trace224"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "9722:23:158"
            },
            "returnParameters": {
              "id": 29541,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 29536,
                  "mutability": "mutable",
                  "name": "exists",
                  "nameLocation": "9811:6:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 29578,
                  "src": "9806:11:158",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 29535,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "9806:4:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 29538,
                  "mutability": "mutable",
                  "name": "_key",
                  "nameLocation": "9838:4:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 29578,
                  "src": "9831:11:158",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint32",
                    "typeString": "uint32"
                  },
                  "typeName": {
                    "id": 29537,
                    "name": "uint32",
                    "nodeType": "ElementaryTypeName",
                    "src": "9831:6:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint32",
                      "typeString": "uint32"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 29540,
                  "mutability": "mutable",
                  "name": "_value",
                  "nameLocation": "9864:6:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 29578,
                  "src": "9856:14:158",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint224",
                    "typeString": "uint224"
                  },
                  "typeName": {
                    "id": 29539,
                    "name": "uint224",
                    "nodeType": "ElementaryTypeName",
                    "src": "9856:7:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint224",
                      "typeString": "uint224"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "9792:88:158"
            },
            "scope": 30219,
            "stateMutability": "view",
            "virtual": false,
            "visibility": "internal"
          },
          {
            "id": 29592,
            "nodeType": "FunctionDefinition",
            "src": "10227:119:158",
            "nodes": [],
            "body": {
              "id": 29591,
              "nodeType": "Block",
              "src": "10298:48:158",
              "nodes": [],
              "statements": [
                {
                  "expression": {
                    "expression": {
                      "expression": {
                        "id": 29587,
                        "name": "self",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 29582,
                        "src": "10315:4:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_Trace224_$29389_storage_ptr",
                          "typeString": "struct Checkpoints.Trace224 storage pointer"
                        }
                      },
                      "id": 29588,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "_checkpoints",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 29388,
                      "src": "10315:17:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_array$_t_struct$_Checkpoint224_$29394_storage_$dyn_storage",
                        "typeString": "struct Checkpoints.Checkpoint224 storage ref[] storage ref"
                      }
                    },
                    "id": 29589,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "memberName": "length",
                    "nodeType": "MemberAccess",
                    "src": "10315:24:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "functionReturnParameters": 29586,
                  "id": 29590,
                  "nodeType": "Return",
                  "src": "10308:31:158"
                }
              ]
            },
            "documentation": {
              "id": 29579,
              "nodeType": "StructuredDocumentation",
              "src": "10165:57:158",
              "text": " @dev Returns the number of checkpoint."
            },
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "length",
            "nameLocation": "10236:6:158",
            "parameters": {
              "id": 29583,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 29582,
                  "mutability": "mutable",
                  "name": "self",
                  "nameLocation": "10260:4:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 29592,
                  "src": "10243:21:158",
                  "stateVariable": false,
                  "storageLocation": "storage",
                  "typeDescriptions": {
                    "typeIdentifier": "t_struct$_Trace224_$29389_storage_ptr",
                    "typeString": "struct Checkpoints.Trace224"
                  },
                  "typeName": {
                    "id": 29581,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 29580,
                      "name": "Trace224",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 29389,
                      "src": "10243:8:158"
                    },
                    "referencedDeclaration": 29389,
                    "src": "10243:8:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_Trace224_$29389_storage_ptr",
                      "typeString": "struct Checkpoints.Trace224"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "10242:23:158"
            },
            "returnParameters": {
              "id": 29586,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 29585,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 29592,
                  "src": "10289:7:158",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 29584,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "10289:7:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "10288:9:158"
            },
            "scope": 30219,
            "stateMutability": "view",
            "virtual": false,
            "visibility": "internal"
          },
          {
            "id": 29682,
            "nodeType": "FunctionDefinition",
            "src": "10522:866:158",
            "nodes": [],
            "body": {
              "id": 29681,
              "nodeType": "Block",
              "src": "10661:727:158",
              "nodes": [],
              "statements": [
                {
                  "assignments": [
                    29609
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 29609,
                      "mutability": "mutable",
                      "name": "pos",
                      "nameLocation": "10679:3:158",
                      "nodeType": "VariableDeclaration",
                      "scope": 29681,
                      "src": "10671:11:158",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 29608,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "10671:7:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 29612,
                  "initialValue": {
                    "expression": {
                      "id": 29610,
                      "name": "self",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 29597,
                      "src": "10685:4:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_array$_t_struct$_Checkpoint224_$29394_storage_$dyn_storage_ptr",
                        "typeString": "struct Checkpoints.Checkpoint224 storage ref[] storage pointer"
                      }
                    },
                    "id": 29611,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "memberName": "length",
                    "nodeType": "MemberAccess",
                    "src": "10685:11:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "10671:25:158"
                },
                {
                  "condition": {
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 29615,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "id": 29613,
                      "name": "pos",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 29609,
                      "src": "10711:3:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": ">",
                    "rightExpression": {
                      "hexValue": "30",
                      "id": 29614,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "10717:1:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "src": "10711:7:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": {
                    "id": 29679,
                    "nodeType": "Block",
                    "src": "11274:108:158",
                    "statements": [
                      {
                        "expression": {
                          "arguments": [
                            {
                              "arguments": [
                                {
                                  "id": 29670,
                                  "name": "key",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 29599,
                                  "src": "11319:3:158",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint32",
                                    "typeString": "uint32"
                                  }
                                },
                                {
                                  "id": 29671,
                                  "name": "value",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 29601,
                                  "src": "11332:5:158",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint224",
                                    "typeString": "uint224"
                                  }
                                }
                              ],
                              "expression": {
                                "argumentTypes": [
                                  {
                                    "typeIdentifier": "t_uint32",
                                    "typeString": "uint32"
                                  },
                                  {
                                    "typeIdentifier": "t_uint224",
                                    "typeString": "uint224"
                                  }
                                ],
                                "id": 29669,
                                "name": "Checkpoint224",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 29394,
                                "src": "11298:13:158",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_type$_t_struct$_Checkpoint224_$29394_storage_ptr_$",
                                  "typeString": "type(struct Checkpoints.Checkpoint224 storage pointer)"
                                }
                              },
                              "id": 29672,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "kind": "structConstructorCall",
                              "lValueRequested": false,
                              "names": [
                                "_key",
                                "_value"
                              ],
                              "nodeType": "FunctionCall",
                              "src": "11298:41:158",
                              "tryCall": false,
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_Checkpoint224_$29394_memory_ptr",
                                "typeString": "struct Checkpoints.Checkpoint224 memory"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_struct$_Checkpoint224_$29394_memory_ptr",
                                "typeString": "struct Checkpoints.Checkpoint224 memory"
                              }
                            ],
                            "expression": {
                              "id": 29666,
                              "name": "self",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 29597,
                              "src": "11288:4:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_array$_t_struct$_Checkpoint224_$29394_storage_$dyn_storage_ptr",
                                "typeString": "struct Checkpoints.Checkpoint224 storage ref[] storage pointer"
                              }
                            },
                            "id": 29668,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "push",
                            "nodeType": "MemberAccess",
                            "src": "11288:9:158",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_arraypush_nonpayable$_t_array$_t_struct$_Checkpoint224_$29394_storage_$dyn_storage_ptr_$_t_struct$_Checkpoint224_$29394_storage_$returns$__$bound_to$_t_array$_t_struct$_Checkpoint224_$29394_storage_$dyn_storage_ptr_$",
                              "typeString": "function (struct Checkpoints.Checkpoint224 storage ref[] storage pointer,struct Checkpoints.Checkpoint224 storage ref)"
                            }
                          },
                          "id": 29673,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "11288:52:158",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$__$",
                            "typeString": "tuple()"
                          }
                        },
                        "id": 29674,
                        "nodeType": "ExpressionStatement",
                        "src": "11288:52:158"
                      },
                      {
                        "expression": {
                          "components": [
                            {
                              "hexValue": "30",
                              "id": 29675,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "number",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "11362:1:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_rational_0_by_1",
                                "typeString": "int_const 0"
                              },
                              "value": "0"
                            },
                            {
                              "id": 29676,
                              "name": "value",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 29601,
                              "src": "11365:5:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint224",
                                "typeString": "uint224"
                              }
                            }
                          ],
                          "id": 29677,
                          "isConstant": false,
                          "isInlineArray": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "nodeType": "TupleExpression",
                          "src": "11361:10:158",
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$_t_rational_0_by_1_$_t_uint224_$",
                            "typeString": "tuple(int_const 0,uint224)"
                          }
                        },
                        "functionReturnParameters": 29607,
                        "id": 29678,
                        "nodeType": "Return",
                        "src": "11354:17:158"
                      }
                    ]
                  },
                  "id": 29680,
                  "nodeType": "IfStatement",
                  "src": "10707:675:158",
                  "trueBody": {
                    "id": 29665,
                    "nodeType": "Block",
                    "src": "10720:548:158",
                    "statements": [
                      {
                        "assignments": [
                          29618
                        ],
                        "declarations": [
                          {
                            "constant": false,
                            "id": 29618,
                            "mutability": "mutable",
                            "name": "last",
                            "nameLocation": "10807:4:158",
                            "nodeType": "VariableDeclaration",
                            "scope": 29665,
                            "src": "10786:25:158",
                            "stateVariable": false,
                            "storageLocation": "memory",
                            "typeDescriptions": {
                              "typeIdentifier": "t_struct$_Checkpoint224_$29394_memory_ptr",
                              "typeString": "struct Checkpoints.Checkpoint224"
                            },
                            "typeName": {
                              "id": 29617,
                              "nodeType": "UserDefinedTypeName",
                              "pathNode": {
                                "id": 29616,
                                "name": "Checkpoint224",
                                "nodeType": "IdentifierPath",
                                "referencedDeclaration": 29394,
                                "src": "10786:13:158"
                              },
                              "referencedDeclaration": 29394,
                              "src": "10786:13:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_Checkpoint224_$29394_storage_ptr",
                                "typeString": "struct Checkpoints.Checkpoint224"
                              }
                            },
                            "visibility": "internal"
                          }
                        ],
                        "id": 29625,
                        "initialValue": {
                          "arguments": [
                            {
                              "id": 29620,
                              "name": "self",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 29597,
                              "src": "10828:4:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_array$_t_struct$_Checkpoint224_$29394_storage_$dyn_storage_ptr",
                                "typeString": "struct Checkpoints.Checkpoint224 storage ref[] storage pointer"
                              }
                            },
                            {
                              "commonType": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              "id": 29623,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "leftExpression": {
                                "id": 29621,
                                "name": "pos",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 29609,
                                "src": "10834:3:158",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "nodeType": "BinaryOperation",
                              "operator": "-",
                              "rightExpression": {
                                "hexValue": "31",
                                "id": 29622,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": true,
                                "kind": "number",
                                "lValueRequested": false,
                                "nodeType": "Literal",
                                "src": "10840:1:158",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_rational_1_by_1",
                                  "typeString": "int_const 1"
                                },
                                "value": "1"
                              },
                              "src": "10834:7:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_array$_t_struct$_Checkpoint224_$29394_storage_$dyn_storage_ptr",
                                "typeString": "struct Checkpoints.Checkpoint224 storage ref[] storage pointer"
                              },
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            ],
                            "id": 29619,
                            "name": "_unsafeAccess",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [
                              29384,
                              29801,
                              30218
                            ],
                            "referencedDeclaration": 29801,
                            "src": "10814:13:158",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_internal_pure$_t_array$_t_struct$_Checkpoint224_$29394_storage_$dyn_storage_ptr_$_t_uint256_$returns$_t_struct$_Checkpoint224_$29394_storage_ptr_$",
                              "typeString": "function (struct Checkpoints.Checkpoint224 storage ref[] storage pointer,uint256) pure returns (struct Checkpoints.Checkpoint224 storage pointer)"
                            }
                          },
                          "id": 29624,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "10814:28:158",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_Checkpoint224_$29394_storage_ptr",
                            "typeString": "struct Checkpoints.Checkpoint224 storage pointer"
                          }
                        },
                        "nodeType": "VariableDeclarationStatement",
                        "src": "10786:56:158"
                      },
                      {
                        "expression": {
                          "arguments": [
                            {
                              "commonType": {
                                "typeIdentifier": "t_uint32",
                                "typeString": "uint32"
                              },
                              "id": 29630,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "leftExpression": {
                                "expression": {
                                  "id": 29627,
                                  "name": "last",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 29618,
                                  "src": "10920:4:158",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_struct$_Checkpoint224_$29394_memory_ptr",
                                    "typeString": "struct Checkpoints.Checkpoint224 memory"
                                  }
                                },
                                "id": 29628,
                                "isConstant": false,
                                "isLValue": true,
                                "isPure": false,
                                "lValueRequested": false,
                                "memberName": "_key",
                                "nodeType": "MemberAccess",
                                "referencedDeclaration": 29391,
                                "src": "10920:9:158",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint32",
                                  "typeString": "uint32"
                                }
                              },
                              "nodeType": "BinaryOperation",
                              "operator": "<=",
                              "rightExpression": {
                                "id": 29629,
                                "name": "key",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 29599,
                                "src": "10933:3:158",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint32",
                                  "typeString": "uint32"
                                }
                              },
                              "src": "10920:16:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              }
                            },
                            {
                              "hexValue": "436865636b706f696e743a2064656372656173696e67206b657973",
                              "id": 29631,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "string",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "10938:29:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_stringliteral_4f6b1769383e9e01fad001f10d4f9180a25f63424c2597419936b157d29f34ec",
                                "typeString": "literal_string \"Checkpoint: decreasing keys\""
                              },
                              "value": "Checkpoint: decreasing keys"
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              },
                              {
                                "typeIdentifier": "t_stringliteral_4f6b1769383e9e01fad001f10d4f9180a25f63424c2597419936b157d29f34ec",
                                "typeString": "literal_string \"Checkpoint: decreasing keys\""
                              }
                            ],
                            "id": 29626,
                            "name": "require",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [
                              -18,
                              -18
                            ],
                            "referencedDeclaration": -18,
                            "src": "10912:7:158",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                              "typeString": "function (bool,string memory) pure"
                            }
                          },
                          "id": 29632,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "10912:56:158",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$__$",
                            "typeString": "tuple()"
                          }
                        },
                        "id": 29633,
                        "nodeType": "ExpressionStatement",
                        "src": "10912:56:158"
                      },
                      {
                        "condition": {
                          "commonType": {
                            "typeIdentifier": "t_uint32",
                            "typeString": "uint32"
                          },
                          "id": 29637,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftExpression": {
                            "expression": {
                              "id": 29634,
                              "name": "last",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 29618,
                              "src": "11032:4:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_Checkpoint224_$29394_memory_ptr",
                                "typeString": "struct Checkpoints.Checkpoint224 memory"
                              }
                            },
                            "id": 29635,
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "_key",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 29391,
                            "src": "11032:9:158",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint32",
                              "typeString": "uint32"
                            }
                          },
                          "nodeType": "BinaryOperation",
                          "operator": "==",
                          "rightExpression": {
                            "id": 29636,
                            "name": "key",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 29599,
                            "src": "11045:3:158",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint32",
                              "typeString": "uint32"
                            }
                          },
                          "src": "11032:16:158",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          }
                        },
                        "falseBody": {
                          "id": 29658,
                          "nodeType": "Block",
                          "src": "11132:85:158",
                          "statements": [
                            {
                              "expression": {
                                "arguments": [
                                  {
                                    "arguments": [
                                      {
                                        "id": 29653,
                                        "name": "key",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 29599,
                                        "src": "11181:3:158",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_uint32",
                                          "typeString": "uint32"
                                        }
                                      },
                                      {
                                        "id": 29654,
                                        "name": "value",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 29601,
                                        "src": "11194:5:158",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_uint224",
                                          "typeString": "uint224"
                                        }
                                      }
                                    ],
                                    "expression": {
                                      "argumentTypes": [
                                        {
                                          "typeIdentifier": "t_uint32",
                                          "typeString": "uint32"
                                        },
                                        {
                                          "typeIdentifier": "t_uint224",
                                          "typeString": "uint224"
                                        }
                                      ],
                                      "id": 29652,
                                      "name": "Checkpoint224",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": 29394,
                                      "src": "11160:13:158",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_type$_t_struct$_Checkpoint224_$29394_storage_ptr_$",
                                        "typeString": "type(struct Checkpoints.Checkpoint224 storage pointer)"
                                      }
                                    },
                                    "id": 29655,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": false,
                                    "kind": "structConstructorCall",
                                    "lValueRequested": false,
                                    "names": [
                                      "_key",
                                      "_value"
                                    ],
                                    "nodeType": "FunctionCall",
                                    "src": "11160:41:158",
                                    "tryCall": false,
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_struct$_Checkpoint224_$29394_memory_ptr",
                                      "typeString": "struct Checkpoints.Checkpoint224 memory"
                                    }
                                  }
                                ],
                                "expression": {
                                  "argumentTypes": [
                                    {
                                      "typeIdentifier": "t_struct$_Checkpoint224_$29394_memory_ptr",
                                      "typeString": "struct Checkpoints.Checkpoint224 memory"
                                    }
                                  ],
                                  "expression": {
                                    "id": 29649,
                                    "name": "self",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 29597,
                                    "src": "11150:4:158",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_array$_t_struct$_Checkpoint224_$29394_storage_$dyn_storage_ptr",
                                      "typeString": "struct Checkpoints.Checkpoint224 storage ref[] storage pointer"
                                    }
                                  },
                                  "id": 29651,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "memberName": "push",
                                  "nodeType": "MemberAccess",
                                  "src": "11150:9:158",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_function_arraypush_nonpayable$_t_array$_t_struct$_Checkpoint224_$29394_storage_$dyn_storage_ptr_$_t_struct$_Checkpoint224_$29394_storage_$returns$__$bound_to$_t_array$_t_struct$_Checkpoint224_$29394_storage_$dyn_storage_ptr_$",
                                    "typeString": "function (struct Checkpoints.Checkpoint224 storage ref[] storage pointer,struct Checkpoints.Checkpoint224 storage ref)"
                                  }
                                },
                                "id": 29656,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "kind": "functionCall",
                                "lValueRequested": false,
                                "names": [],
                                "nodeType": "FunctionCall",
                                "src": "11150:52:158",
                                "tryCall": false,
                                "typeDescriptions": {
                                  "typeIdentifier": "t_tuple$__$",
                                  "typeString": "tuple()"
                                }
                              },
                              "id": 29657,
                              "nodeType": "ExpressionStatement",
                              "src": "11150:52:158"
                            }
                          ]
                        },
                        "id": 29659,
                        "nodeType": "IfStatement",
                        "src": "11028:189:158",
                        "trueBody": {
                          "id": 29648,
                          "nodeType": "Block",
                          "src": "11050:76:158",
                          "statements": [
                            {
                              "expression": {
                                "id": 29646,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "leftHandSide": {
                                  "expression": {
                                    "arguments": [
                                      {
                                        "id": 29639,
                                        "name": "self",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 29597,
                                        "src": "11082:4:158",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_array$_t_struct$_Checkpoint224_$29394_storage_$dyn_storage_ptr",
                                          "typeString": "struct Checkpoints.Checkpoint224 storage ref[] storage pointer"
                                        }
                                      },
                                      {
                                        "commonType": {
                                          "typeIdentifier": "t_uint256",
                                          "typeString": "uint256"
                                        },
                                        "id": 29642,
                                        "isConstant": false,
                                        "isLValue": false,
                                        "isPure": false,
                                        "lValueRequested": false,
                                        "leftExpression": {
                                          "id": 29640,
                                          "name": "pos",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 29609,
                                          "src": "11088:3:158",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_uint256",
                                            "typeString": "uint256"
                                          }
                                        },
                                        "nodeType": "BinaryOperation",
                                        "operator": "-",
                                        "rightExpression": {
                                          "hexValue": "31",
                                          "id": 29641,
                                          "isConstant": false,
                                          "isLValue": false,
                                          "isPure": true,
                                          "kind": "number",
                                          "lValueRequested": false,
                                          "nodeType": "Literal",
                                          "src": "11094:1:158",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_rational_1_by_1",
                                            "typeString": "int_const 1"
                                          },
                                          "value": "1"
                                        },
                                        "src": "11088:7:158",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_uint256",
                                          "typeString": "uint256"
                                        }
                                      }
                                    ],
                                    "expression": {
                                      "argumentTypes": [
                                        {
                                          "typeIdentifier": "t_array$_t_struct$_Checkpoint224_$29394_storage_$dyn_storage_ptr",
                                          "typeString": "struct Checkpoints.Checkpoint224 storage ref[] storage pointer"
                                        },
                                        {
                                          "typeIdentifier": "t_uint256",
                                          "typeString": "uint256"
                                        }
                                      ],
                                      "id": 29638,
                                      "name": "_unsafeAccess",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [
                                        29384,
                                        29801,
                                        30218
                                      ],
                                      "referencedDeclaration": 29801,
                                      "src": "11068:13:158",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_function_internal_pure$_t_array$_t_struct$_Checkpoint224_$29394_storage_$dyn_storage_ptr_$_t_uint256_$returns$_t_struct$_Checkpoint224_$29394_storage_ptr_$",
                                        "typeString": "function (struct Checkpoints.Checkpoint224 storage ref[] storage pointer,uint256) pure returns (struct Checkpoints.Checkpoint224 storage pointer)"
                                      }
                                    },
                                    "id": 29643,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": false,
                                    "kind": "functionCall",
                                    "lValueRequested": false,
                                    "names": [],
                                    "nodeType": "FunctionCall",
                                    "src": "11068:28:158",
                                    "tryCall": false,
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_struct$_Checkpoint224_$29394_storage_ptr",
                                      "typeString": "struct Checkpoints.Checkpoint224 storage pointer"
                                    }
                                  },
                                  "id": 29644,
                                  "isConstant": false,
                                  "isLValue": true,
                                  "isPure": false,
                                  "lValueRequested": true,
                                  "memberName": "_value",
                                  "nodeType": "MemberAccess",
                                  "referencedDeclaration": 29393,
                                  "src": "11068:35:158",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint224",
                                    "typeString": "uint224"
                                  }
                                },
                                "nodeType": "Assignment",
                                "operator": "=",
                                "rightHandSide": {
                                  "id": 29645,
                                  "name": "value",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 29601,
                                  "src": "11106:5:158",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint224",
                                    "typeString": "uint224"
                                  }
                                },
                                "src": "11068:43:158",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint224",
                                  "typeString": "uint224"
                                }
                              },
                              "id": 29647,
                              "nodeType": "ExpressionStatement",
                              "src": "11068:43:158"
                            }
                          ]
                        }
                      },
                      {
                        "expression": {
                          "components": [
                            {
                              "expression": {
                                "id": 29660,
                                "name": "last",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 29618,
                                "src": "11238:4:158",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_struct$_Checkpoint224_$29394_memory_ptr",
                                  "typeString": "struct Checkpoints.Checkpoint224 memory"
                                }
                              },
                              "id": 29661,
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "_value",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 29393,
                              "src": "11238:11:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint224",
                                "typeString": "uint224"
                              }
                            },
                            {
                              "id": 29662,
                              "name": "value",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 29601,
                              "src": "11251:5:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint224",
                                "typeString": "uint224"
                              }
                            }
                          ],
                          "id": 29663,
                          "isConstant": false,
                          "isInlineArray": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "nodeType": "TupleExpression",
                          "src": "11237:20:158",
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$_t_uint224_$_t_uint224_$",
                            "typeString": "tuple(uint224,uint224)"
                          }
                        },
                        "functionReturnParameters": 29607,
                        "id": 29664,
                        "nodeType": "Return",
                        "src": "11230:27:158"
                      }
                    ]
                  }
                }
              ]
            },
            "documentation": {
              "id": 29593,
              "nodeType": "StructuredDocumentation",
              "src": "10352:165:158",
              "text": " @dev Pushes a (`key`, `value`) pair into an ordered list of checkpoints, either by inserting a new checkpoint,\n or by updating the last one."
            },
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "_insert",
            "nameLocation": "10531:7:158",
            "parameters": {
              "id": 29602,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 29597,
                  "mutability": "mutable",
                  "name": "self",
                  "nameLocation": "10572:4:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 29682,
                  "src": "10548:28:158",
                  "stateVariable": false,
                  "storageLocation": "storage",
                  "typeDescriptions": {
                    "typeIdentifier": "t_array$_t_struct$_Checkpoint224_$29394_storage_$dyn_storage_ptr",
                    "typeString": "struct Checkpoints.Checkpoint224[]"
                  },
                  "typeName": {
                    "baseType": {
                      "id": 29595,
                      "nodeType": "UserDefinedTypeName",
                      "pathNode": {
                        "id": 29594,
                        "name": "Checkpoint224",
                        "nodeType": "IdentifierPath",
                        "referencedDeclaration": 29394,
                        "src": "10548:13:158"
                      },
                      "referencedDeclaration": 29394,
                      "src": "10548:13:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_Checkpoint224_$29394_storage_ptr",
                        "typeString": "struct Checkpoints.Checkpoint224"
                      }
                    },
                    "id": 29596,
                    "nodeType": "ArrayTypeName",
                    "src": "10548:15:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_array$_t_struct$_Checkpoint224_$29394_storage_$dyn_storage_ptr",
                      "typeString": "struct Checkpoints.Checkpoint224[]"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 29599,
                  "mutability": "mutable",
                  "name": "key",
                  "nameLocation": "10593:3:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 29682,
                  "src": "10586:10:158",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint32",
                    "typeString": "uint32"
                  },
                  "typeName": {
                    "id": 29598,
                    "name": "uint32",
                    "nodeType": "ElementaryTypeName",
                    "src": "10586:6:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint32",
                      "typeString": "uint32"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 29601,
                  "mutability": "mutable",
                  "name": "value",
                  "nameLocation": "10614:5:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 29682,
                  "src": "10606:13:158",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint224",
                    "typeString": "uint224"
                  },
                  "typeName": {
                    "id": 29600,
                    "name": "uint224",
                    "nodeType": "ElementaryTypeName",
                    "src": "10606:7:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint224",
                      "typeString": "uint224"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "10538:87:158"
            },
            "returnParameters": {
              "id": 29607,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 29604,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 29682,
                  "src": "10643:7:158",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint224",
                    "typeString": "uint224"
                  },
                  "typeName": {
                    "id": 29603,
                    "name": "uint224",
                    "nodeType": "ElementaryTypeName",
                    "src": "10643:7:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint224",
                      "typeString": "uint224"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 29606,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 29682,
                  "src": "10652:7:158",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint224",
                    "typeString": "uint224"
                  },
                  "typeName": {
                    "id": 29605,
                    "name": "uint224",
                    "nodeType": "ElementaryTypeName",
                    "src": "10652:7:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint224",
                      "typeString": "uint224"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "10642:18:158"
            },
            "scope": 30219,
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "private"
          },
          {
            "id": 29734,
            "nodeType": "FunctionDefinition",
            "src": "11719:433:158",
            "nodes": [],
            "body": {
              "id": 29733,
              "nodeType": "Block",
              "src": "11885:267:158",
              "nodes": [],
              "statements": [
                {
                  "body": {
                    "id": 29729,
                    "nodeType": "Block",
                    "src": "11914:211:158",
                    "statements": [
                      {
                        "assignments": [
                          29702
                        ],
                        "declarations": [
                          {
                            "constant": false,
                            "id": 29702,
                            "mutability": "mutable",
                            "name": "mid",
                            "nameLocation": "11936:3:158",
                            "nodeType": "VariableDeclaration",
                            "scope": 29729,
                            "src": "11928:11:158",
                            "stateVariable": false,
                            "storageLocation": "default",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            },
                            "typeName": {
                              "id": 29701,
                              "name": "uint256",
                              "nodeType": "ElementaryTypeName",
                              "src": "11928:7:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "visibility": "internal"
                          }
                        ],
                        "id": 29708,
                        "initialValue": {
                          "arguments": [
                            {
                              "id": 29705,
                              "name": "low",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 29691,
                              "src": "11955:3:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            {
                              "id": 29706,
                              "name": "high",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 29693,
                              "src": "11960:4:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            ],
                            "expression": {
                              "id": 29703,
                              "name": "Math",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 40331,
                              "src": "11942:4:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_type$_t_contract$_Math_$40331_$",
                                "typeString": "type(library Math)"
                              }
                            },
                            "id": 29704,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "average",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 39531,
                            "src": "11942:12:158",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$",
                              "typeString": "function (uint256,uint256) pure returns (uint256)"
                            }
                          },
                          "id": 29707,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "11942:23:158",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "VariableDeclarationStatement",
                        "src": "11928:37:158"
                      },
                      {
                        "condition": {
                          "commonType": {
                            "typeIdentifier": "t_uint32",
                            "typeString": "uint32"
                          },
                          "id": 29715,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftExpression": {
                            "expression": {
                              "arguments": [
                                {
                                  "id": 29710,
                                  "name": "self",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 29687,
                                  "src": "11997:4:158",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_array$_t_struct$_Checkpoint224_$29394_storage_$dyn_storage_ptr",
                                    "typeString": "struct Checkpoints.Checkpoint224 storage ref[] storage pointer"
                                  }
                                },
                                {
                                  "id": 29711,
                                  "name": "mid",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 29702,
                                  "src": "12003:3:158",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                }
                              ],
                              "expression": {
                                "argumentTypes": [
                                  {
                                    "typeIdentifier": "t_array$_t_struct$_Checkpoint224_$29394_storage_$dyn_storage_ptr",
                                    "typeString": "struct Checkpoints.Checkpoint224 storage ref[] storage pointer"
                                  },
                                  {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                ],
                                "id": 29709,
                                "name": "_unsafeAccess",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [
                                  29384,
                                  29801,
                                  30218
                                ],
                                "referencedDeclaration": 29801,
                                "src": "11983:13:158",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_function_internal_pure$_t_array$_t_struct$_Checkpoint224_$29394_storage_$dyn_storage_ptr_$_t_uint256_$returns$_t_struct$_Checkpoint224_$29394_storage_ptr_$",
                                  "typeString": "function (struct Checkpoints.Checkpoint224 storage ref[] storage pointer,uint256) pure returns (struct Checkpoints.Checkpoint224 storage pointer)"
                                }
                              },
                              "id": 29712,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "kind": "functionCall",
                              "lValueRequested": false,
                              "names": [],
                              "nodeType": "FunctionCall",
                              "src": "11983:24:158",
                              "tryCall": false,
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_Checkpoint224_$29394_storage_ptr",
                                "typeString": "struct Checkpoints.Checkpoint224 storage pointer"
                              }
                            },
                            "id": 29713,
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "_key",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 29391,
                            "src": "11983:29:158",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint32",
                              "typeString": "uint32"
                            }
                          },
                          "nodeType": "BinaryOperation",
                          "operator": ">",
                          "rightExpression": {
                            "id": 29714,
                            "name": "key",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 29689,
                            "src": "12015:3:158",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint32",
                              "typeString": "uint32"
                            }
                          },
                          "src": "11983:35:158",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          }
                        },
                        "falseBody": {
                          "id": 29727,
                          "nodeType": "Block",
                          "src": "12069:46:158",
                          "statements": [
                            {
                              "expression": {
                                "id": 29725,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "leftHandSide": {
                                  "id": 29721,
                                  "name": "low",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 29691,
                                  "src": "12087:3:158",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "nodeType": "Assignment",
                                "operator": "=",
                                "rightHandSide": {
                                  "commonType": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  },
                                  "id": 29724,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "leftExpression": {
                                    "id": 29722,
                                    "name": "mid",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 29702,
                                    "src": "12093:3:158",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_uint256",
                                      "typeString": "uint256"
                                    }
                                  },
                                  "nodeType": "BinaryOperation",
                                  "operator": "+",
                                  "rightExpression": {
                                    "hexValue": "31",
                                    "id": 29723,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": true,
                                    "kind": "number",
                                    "lValueRequested": false,
                                    "nodeType": "Literal",
                                    "src": "12099:1:158",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_rational_1_by_1",
                                      "typeString": "int_const 1"
                                    },
                                    "value": "1"
                                  },
                                  "src": "12093:7:158",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "src": "12087:13:158",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "id": 29726,
                              "nodeType": "ExpressionStatement",
                              "src": "12087:13:158"
                            }
                          ]
                        },
                        "id": 29728,
                        "nodeType": "IfStatement",
                        "src": "11979:136:158",
                        "trueBody": {
                          "id": 29720,
                          "nodeType": "Block",
                          "src": "12020:43:158",
                          "statements": [
                            {
                              "expression": {
                                "id": 29718,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "leftHandSide": {
                                  "id": 29716,
                                  "name": "high",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 29693,
                                  "src": "12038:4:158",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "nodeType": "Assignment",
                                "operator": "=",
                                "rightHandSide": {
                                  "id": 29717,
                                  "name": "mid",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 29702,
                                  "src": "12045:3:158",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "src": "12038:10:158",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "id": 29719,
                              "nodeType": "ExpressionStatement",
                              "src": "12038:10:158"
                            }
                          ]
                        }
                      }
                    ]
                  },
                  "condition": {
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 29700,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "id": 29698,
                      "name": "low",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 29691,
                      "src": "11902:3:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "<",
                    "rightExpression": {
                      "id": 29699,
                      "name": "high",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 29693,
                      "src": "11908:4:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "11902:10:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 29730,
                  "nodeType": "WhileStatement",
                  "src": "11895:230:158"
                },
                {
                  "expression": {
                    "id": 29731,
                    "name": "high",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 29693,
                    "src": "12141:4:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "functionReturnParameters": 29697,
                  "id": 29732,
                  "nodeType": "Return",
                  "src": "12134:11:158"
                }
              ]
            },
            "documentation": {
              "id": 29683,
              "nodeType": "StructuredDocumentation",
              "src": "11394:320:158",
              "text": " @dev Return the index of the oldest checkpoint whose key is greater than the search key, or `high` if there is none.\n `low` and `high` define a section where to do the search, with inclusive `low` and exclusive `high`.\n WARNING: `high` should not be greater than the array's length."
            },
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "_upperBinaryLookup",
            "nameLocation": "11728:18:158",
            "parameters": {
              "id": 29694,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 29687,
                  "mutability": "mutable",
                  "name": "self",
                  "nameLocation": "11780:4:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 29734,
                  "src": "11756:28:158",
                  "stateVariable": false,
                  "storageLocation": "storage",
                  "typeDescriptions": {
                    "typeIdentifier": "t_array$_t_struct$_Checkpoint224_$29394_storage_$dyn_storage_ptr",
                    "typeString": "struct Checkpoints.Checkpoint224[]"
                  },
                  "typeName": {
                    "baseType": {
                      "id": 29685,
                      "nodeType": "UserDefinedTypeName",
                      "pathNode": {
                        "id": 29684,
                        "name": "Checkpoint224",
                        "nodeType": "IdentifierPath",
                        "referencedDeclaration": 29394,
                        "src": "11756:13:158"
                      },
                      "referencedDeclaration": 29394,
                      "src": "11756:13:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_Checkpoint224_$29394_storage_ptr",
                        "typeString": "struct Checkpoints.Checkpoint224"
                      }
                    },
                    "id": 29686,
                    "nodeType": "ArrayTypeName",
                    "src": "11756:15:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_array$_t_struct$_Checkpoint224_$29394_storage_$dyn_storage_ptr",
                      "typeString": "struct Checkpoints.Checkpoint224[]"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 29689,
                  "mutability": "mutable",
                  "name": "key",
                  "nameLocation": "11801:3:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 29734,
                  "src": "11794:10:158",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint32",
                    "typeString": "uint32"
                  },
                  "typeName": {
                    "id": 29688,
                    "name": "uint32",
                    "nodeType": "ElementaryTypeName",
                    "src": "11794:6:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint32",
                      "typeString": "uint32"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 29691,
                  "mutability": "mutable",
                  "name": "low",
                  "nameLocation": "11822:3:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 29734,
                  "src": "11814:11:158",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 29690,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "11814:7:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 29693,
                  "mutability": "mutable",
                  "name": "high",
                  "nameLocation": "11843:4:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 29734,
                  "src": "11835:12:158",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 29692,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "11835:7:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "11746:107:158"
            },
            "returnParameters": {
              "id": 29697,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 29696,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 29734,
                  "src": "11876:7:158",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 29695,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "11876:7:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "11875:9:158"
            },
            "scope": 30219,
            "stateMutability": "view",
            "virtual": false,
            "visibility": "private"
          },
          {
            "id": 29786,
            "nodeType": "FunctionDefinition",
            "src": "12492:433:158",
            "nodes": [],
            "body": {
              "id": 29785,
              "nodeType": "Block",
              "src": "12658:267:158",
              "nodes": [],
              "statements": [
                {
                  "body": {
                    "id": 29781,
                    "nodeType": "Block",
                    "src": "12687:211:158",
                    "statements": [
                      {
                        "assignments": [
                          29754
                        ],
                        "declarations": [
                          {
                            "constant": false,
                            "id": 29754,
                            "mutability": "mutable",
                            "name": "mid",
                            "nameLocation": "12709:3:158",
                            "nodeType": "VariableDeclaration",
                            "scope": 29781,
                            "src": "12701:11:158",
                            "stateVariable": false,
                            "storageLocation": "default",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            },
                            "typeName": {
                              "id": 29753,
                              "name": "uint256",
                              "nodeType": "ElementaryTypeName",
                              "src": "12701:7:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "visibility": "internal"
                          }
                        ],
                        "id": 29760,
                        "initialValue": {
                          "arguments": [
                            {
                              "id": 29757,
                              "name": "low",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 29743,
                              "src": "12728:3:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            {
                              "id": 29758,
                              "name": "high",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 29745,
                              "src": "12733:4:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            ],
                            "expression": {
                              "id": 29755,
                              "name": "Math",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 40331,
                              "src": "12715:4:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_type$_t_contract$_Math_$40331_$",
                                "typeString": "type(library Math)"
                              }
                            },
                            "id": 29756,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "average",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 39531,
                            "src": "12715:12:158",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$",
                              "typeString": "function (uint256,uint256) pure returns (uint256)"
                            }
                          },
                          "id": 29759,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "12715:23:158",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "VariableDeclarationStatement",
                        "src": "12701:37:158"
                      },
                      {
                        "condition": {
                          "commonType": {
                            "typeIdentifier": "t_uint32",
                            "typeString": "uint32"
                          },
                          "id": 29767,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftExpression": {
                            "expression": {
                              "arguments": [
                                {
                                  "id": 29762,
                                  "name": "self",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 29739,
                                  "src": "12770:4:158",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_array$_t_struct$_Checkpoint224_$29394_storage_$dyn_storage_ptr",
                                    "typeString": "struct Checkpoints.Checkpoint224 storage ref[] storage pointer"
                                  }
                                },
                                {
                                  "id": 29763,
                                  "name": "mid",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 29754,
                                  "src": "12776:3:158",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                }
                              ],
                              "expression": {
                                "argumentTypes": [
                                  {
                                    "typeIdentifier": "t_array$_t_struct$_Checkpoint224_$29394_storage_$dyn_storage_ptr",
                                    "typeString": "struct Checkpoints.Checkpoint224 storage ref[] storage pointer"
                                  },
                                  {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                ],
                                "id": 29761,
                                "name": "_unsafeAccess",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [
                                  29384,
                                  29801,
                                  30218
                                ],
                                "referencedDeclaration": 29801,
                                "src": "12756:13:158",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_function_internal_pure$_t_array$_t_struct$_Checkpoint224_$29394_storage_$dyn_storage_ptr_$_t_uint256_$returns$_t_struct$_Checkpoint224_$29394_storage_ptr_$",
                                  "typeString": "function (struct Checkpoints.Checkpoint224 storage ref[] storage pointer,uint256) pure returns (struct Checkpoints.Checkpoint224 storage pointer)"
                                }
                              },
                              "id": 29764,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "kind": "functionCall",
                              "lValueRequested": false,
                              "names": [],
                              "nodeType": "FunctionCall",
                              "src": "12756:24:158",
                              "tryCall": false,
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_Checkpoint224_$29394_storage_ptr",
                                "typeString": "struct Checkpoints.Checkpoint224 storage pointer"
                              }
                            },
                            "id": 29765,
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "_key",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 29391,
                            "src": "12756:29:158",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint32",
                              "typeString": "uint32"
                            }
                          },
                          "nodeType": "BinaryOperation",
                          "operator": "<",
                          "rightExpression": {
                            "id": 29766,
                            "name": "key",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 29741,
                            "src": "12788:3:158",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint32",
                              "typeString": "uint32"
                            }
                          },
                          "src": "12756:35:158",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          }
                        },
                        "falseBody": {
                          "id": 29779,
                          "nodeType": "Block",
                          "src": "12845:43:158",
                          "statements": [
                            {
                              "expression": {
                                "id": 29777,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "leftHandSide": {
                                  "id": 29775,
                                  "name": "high",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 29745,
                                  "src": "12863:4:158",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "nodeType": "Assignment",
                                "operator": "=",
                                "rightHandSide": {
                                  "id": 29776,
                                  "name": "mid",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 29754,
                                  "src": "12870:3:158",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "src": "12863:10:158",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "id": 29778,
                              "nodeType": "ExpressionStatement",
                              "src": "12863:10:158"
                            }
                          ]
                        },
                        "id": 29780,
                        "nodeType": "IfStatement",
                        "src": "12752:136:158",
                        "trueBody": {
                          "id": 29774,
                          "nodeType": "Block",
                          "src": "12793:46:158",
                          "statements": [
                            {
                              "expression": {
                                "id": 29772,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "leftHandSide": {
                                  "id": 29768,
                                  "name": "low",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 29743,
                                  "src": "12811:3:158",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "nodeType": "Assignment",
                                "operator": "=",
                                "rightHandSide": {
                                  "commonType": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  },
                                  "id": 29771,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "leftExpression": {
                                    "id": 29769,
                                    "name": "mid",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 29754,
                                    "src": "12817:3:158",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_uint256",
                                      "typeString": "uint256"
                                    }
                                  },
                                  "nodeType": "BinaryOperation",
                                  "operator": "+",
                                  "rightExpression": {
                                    "hexValue": "31",
                                    "id": 29770,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": true,
                                    "kind": "number",
                                    "lValueRequested": false,
                                    "nodeType": "Literal",
                                    "src": "12823:1:158",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_rational_1_by_1",
                                      "typeString": "int_const 1"
                                    },
                                    "value": "1"
                                  },
                                  "src": "12817:7:158",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "src": "12811:13:158",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "id": 29773,
                              "nodeType": "ExpressionStatement",
                              "src": "12811:13:158"
                            }
                          ]
                        }
                      }
                    ]
                  },
                  "condition": {
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 29752,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "id": 29750,
                      "name": "low",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 29743,
                      "src": "12675:3:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "<",
                    "rightExpression": {
                      "id": 29751,
                      "name": "high",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 29745,
                      "src": "12681:4:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "12675:10:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 29782,
                  "nodeType": "WhileStatement",
                  "src": "12668:230:158"
                },
                {
                  "expression": {
                    "id": 29783,
                    "name": "high",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 29745,
                    "src": "12914:4:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "functionReturnParameters": 29749,
                  "id": 29784,
                  "nodeType": "Return",
                  "src": "12907:11:158"
                }
              ]
            },
            "documentation": {
              "id": 29735,
              "nodeType": "StructuredDocumentation",
              "src": "12158:329:158",
              "text": " @dev Return the index of the oldest checkpoint whose key is greater or equal than the search key, or `high` if there is none.\n `low` and `high` define a section where to do the search, with inclusive `low` and exclusive `high`.\n WARNING: `high` should not be greater than the array's length."
            },
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "_lowerBinaryLookup",
            "nameLocation": "12501:18:158",
            "parameters": {
              "id": 29746,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 29739,
                  "mutability": "mutable",
                  "name": "self",
                  "nameLocation": "12553:4:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 29786,
                  "src": "12529:28:158",
                  "stateVariable": false,
                  "storageLocation": "storage",
                  "typeDescriptions": {
                    "typeIdentifier": "t_array$_t_struct$_Checkpoint224_$29394_storage_$dyn_storage_ptr",
                    "typeString": "struct Checkpoints.Checkpoint224[]"
                  },
                  "typeName": {
                    "baseType": {
                      "id": 29737,
                      "nodeType": "UserDefinedTypeName",
                      "pathNode": {
                        "id": 29736,
                        "name": "Checkpoint224",
                        "nodeType": "IdentifierPath",
                        "referencedDeclaration": 29394,
                        "src": "12529:13:158"
                      },
                      "referencedDeclaration": 29394,
                      "src": "12529:13:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_Checkpoint224_$29394_storage_ptr",
                        "typeString": "struct Checkpoints.Checkpoint224"
                      }
                    },
                    "id": 29738,
                    "nodeType": "ArrayTypeName",
                    "src": "12529:15:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_array$_t_struct$_Checkpoint224_$29394_storage_$dyn_storage_ptr",
                      "typeString": "struct Checkpoints.Checkpoint224[]"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 29741,
                  "mutability": "mutable",
                  "name": "key",
                  "nameLocation": "12574:3:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 29786,
                  "src": "12567:10:158",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint32",
                    "typeString": "uint32"
                  },
                  "typeName": {
                    "id": 29740,
                    "name": "uint32",
                    "nodeType": "ElementaryTypeName",
                    "src": "12567:6:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint32",
                      "typeString": "uint32"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 29743,
                  "mutability": "mutable",
                  "name": "low",
                  "nameLocation": "12595:3:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 29786,
                  "src": "12587:11:158",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 29742,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "12587:7:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 29745,
                  "mutability": "mutable",
                  "name": "high",
                  "nameLocation": "12616:4:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 29786,
                  "src": "12608:12:158",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 29744,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "12608:7:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "12519:107:158"
            },
            "returnParameters": {
              "id": 29749,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 29748,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 29786,
                  "src": "12649:7:158",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 29747,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "12649:7:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "12648:9:158"
            },
            "scope": 30219,
            "stateMutability": "view",
            "virtual": false,
            "visibility": "private"
          },
          {
            "id": 29801,
            "nodeType": "FunctionDefinition",
            "src": "13068:271:158",
            "nodes": [],
            "body": {
              "id": 29800,
              "nodeType": "Block",
              "src": "13214:125:158",
              "nodes": [],
              "statements": [
                {
                  "AST": {
                    "nodeType": "YulBlock",
                    "src": "13233:100:158",
                    "statements": [
                      {
                        "expression": {
                          "arguments": [
                            {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "13254:1:158",
                              "type": "",
                              "value": "0"
                            },
                            {
                              "name": "self.slot",
                              "nodeType": "YulIdentifier",
                              "src": "13257:9:158"
                            }
                          ],
                          "functionName": {
                            "name": "mstore",
                            "nodeType": "YulIdentifier",
                            "src": "13247:6:158"
                          },
                          "nodeType": "YulFunctionCall",
                          "src": "13247:20:158"
                        },
                        "nodeType": "YulExpressionStatement",
                        "src": "13247:20:158"
                      },
                      {
                        "nodeType": "YulAssignment",
                        "src": "13280:43:158",
                        "value": {
                          "arguments": [
                            {
                              "arguments": [
                                {
                                  "kind": "number",
                                  "nodeType": "YulLiteral",
                                  "src": "13309:1:158",
                                  "type": "",
                                  "value": "0"
                                },
                                {
                                  "kind": "number",
                                  "nodeType": "YulLiteral",
                                  "src": "13312:4:158",
                                  "type": "",
                                  "value": "0x20"
                                }
                              ],
                              "functionName": {
                                "name": "keccak256",
                                "nodeType": "YulIdentifier",
                                "src": "13299:9:158"
                              },
                              "nodeType": "YulFunctionCall",
                              "src": "13299:18:158"
                            },
                            {
                              "name": "pos",
                              "nodeType": "YulIdentifier",
                              "src": "13319:3:158"
                            }
                          ],
                          "functionName": {
                            "name": "add",
                            "nodeType": "YulIdentifier",
                            "src": "13295:3:158"
                          },
                          "nodeType": "YulFunctionCall",
                          "src": "13295:28:158"
                        },
                        "variableNames": [
                          {
                            "name": "result.slot",
                            "nodeType": "YulIdentifier",
                            "src": "13280:11:158"
                          }
                        ]
                      }
                    ]
                  },
                  "evmVersion": "berlin",
                  "externalReferences": [
                    {
                      "declaration": 29793,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "13319:3:158",
                      "valueSize": 1
                    },
                    {
                      "declaration": 29797,
                      "isOffset": false,
                      "isSlot": true,
                      "src": "13280:11:158",
                      "suffix": "slot",
                      "valueSize": 1
                    },
                    {
                      "declaration": 29791,
                      "isOffset": false,
                      "isSlot": true,
                      "src": "13257:9:158",
                      "suffix": "slot",
                      "valueSize": 1
                    }
                  ],
                  "id": 29799,
                  "nodeType": "InlineAssembly",
                  "src": "13224:109:158"
                }
              ]
            },
            "documentation": {
              "id": 29787,
              "nodeType": "StructuredDocumentation",
              "src": "12931:132:158",
              "text": " @dev Access an element of the array without performing bounds check. The position is assumed to be within bounds."
            },
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "_unsafeAccess",
            "nameLocation": "13077:13:158",
            "parameters": {
              "id": 29794,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 29791,
                  "mutability": "mutable",
                  "name": "self",
                  "nameLocation": "13115:4:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 29801,
                  "src": "13091:28:158",
                  "stateVariable": false,
                  "storageLocation": "storage",
                  "typeDescriptions": {
                    "typeIdentifier": "t_array$_t_struct$_Checkpoint224_$29394_storage_$dyn_storage_ptr",
                    "typeString": "struct Checkpoints.Checkpoint224[]"
                  },
                  "typeName": {
                    "baseType": {
                      "id": 29789,
                      "nodeType": "UserDefinedTypeName",
                      "pathNode": {
                        "id": 29788,
                        "name": "Checkpoint224",
                        "nodeType": "IdentifierPath",
                        "referencedDeclaration": 29394,
                        "src": "13091:13:158"
                      },
                      "referencedDeclaration": 29394,
                      "src": "13091:13:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_Checkpoint224_$29394_storage_ptr",
                        "typeString": "struct Checkpoints.Checkpoint224"
                      }
                    },
                    "id": 29790,
                    "nodeType": "ArrayTypeName",
                    "src": "13091:15:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_array$_t_struct$_Checkpoint224_$29394_storage_$dyn_storage_ptr",
                      "typeString": "struct Checkpoints.Checkpoint224[]"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 29793,
                  "mutability": "mutable",
                  "name": "pos",
                  "nameLocation": "13129:3:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 29801,
                  "src": "13121:11:158",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 29792,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "13121:7:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "13090:43:158"
            },
            "returnParameters": {
              "id": 29798,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 29797,
                  "mutability": "mutable",
                  "name": "result",
                  "nameLocation": "13202:6:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 29801,
                  "src": "13180:28:158",
                  "stateVariable": false,
                  "storageLocation": "storage",
                  "typeDescriptions": {
                    "typeIdentifier": "t_struct$_Checkpoint224_$29394_storage_ptr",
                    "typeString": "struct Checkpoints.Checkpoint224"
                  },
                  "typeName": {
                    "id": 29796,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 29795,
                      "name": "Checkpoint224",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 29394,
                      "src": "13180:13:158"
                    },
                    "referencedDeclaration": 29394,
                    "src": "13180:13:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_Checkpoint224_$29394_storage_ptr",
                      "typeString": "struct Checkpoints.Checkpoint224"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "13179:30:158"
            },
            "scope": 30219,
            "stateMutability": "pure",
            "virtual": false,
            "visibility": "private"
          },
          {
            "id": 29806,
            "nodeType": "StructDefinition",
            "src": "13345:61:158",
            "nodes": [],
            "canonicalName": "Checkpoints.Trace160",
            "members": [
              {
                "constant": false,
                "id": 29805,
                "mutability": "mutable",
                "name": "_checkpoints",
                "nameLocation": "13387:12:158",
                "nodeType": "VariableDeclaration",
                "scope": 29806,
                "src": "13371:28:158",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_array$_t_struct$_Checkpoint160_$29811_storage_$dyn_storage_ptr",
                  "typeString": "struct Checkpoints.Checkpoint160[]"
                },
                "typeName": {
                  "baseType": {
                    "id": 29803,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 29802,
                      "name": "Checkpoint160",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 29811,
                      "src": "13371:13:158"
                    },
                    "referencedDeclaration": 29811,
                    "src": "13371:13:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_Checkpoint160_$29811_storage_ptr",
                      "typeString": "struct Checkpoints.Checkpoint160"
                    }
                  },
                  "id": 29804,
                  "nodeType": "ArrayTypeName",
                  "src": "13371:15:158",
                  "typeDescriptions": {
                    "typeIdentifier": "t_array$_t_struct$_Checkpoint160_$29811_storage_$dyn_storage_ptr",
                    "typeString": "struct Checkpoints.Checkpoint160[]"
                  }
                },
                "visibility": "internal"
              }
            ],
            "name": "Trace160",
            "nameLocation": "13352:8:158",
            "scope": 30219,
            "visibility": "public"
          },
          {
            "id": 29811,
            "nodeType": "StructDefinition",
            "src": "13412:73:158",
            "nodes": [],
            "canonicalName": "Checkpoints.Checkpoint160",
            "members": [
              {
                "constant": false,
                "id": 29808,
                "mutability": "mutable",
                "name": "_key",
                "nameLocation": "13450:4:158",
                "nodeType": "VariableDeclaration",
                "scope": 29811,
                "src": "13443:11:158",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_uint96",
                  "typeString": "uint96"
                },
                "typeName": {
                  "id": 29807,
                  "name": "uint96",
                  "nodeType": "ElementaryTypeName",
                  "src": "13443:6:158",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint96",
                    "typeString": "uint96"
                  }
                },
                "visibility": "internal"
              },
              {
                "constant": false,
                "id": 29810,
                "mutability": "mutable",
                "name": "_value",
                "nameLocation": "13472:6:158",
                "nodeType": "VariableDeclaration",
                "scope": 29811,
                "src": "13464:14:158",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_uint160",
                  "typeString": "uint160"
                },
                "typeName": {
                  "id": 29809,
                  "name": "uint160",
                  "nodeType": "ElementaryTypeName",
                  "src": "13464:7:158",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint160",
                    "typeString": "uint160"
                  }
                },
                "visibility": "internal"
              }
            ],
            "name": "Checkpoint160",
            "nameLocation": "13419:13:158",
            "scope": 30219,
            "visibility": "public"
          },
          {
            "id": 29834,
            "nodeType": "FunctionDefinition",
            "src": "13658:192:158",
            "nodes": [],
            "body": {
              "id": 29833,
              "nodeType": "Block",
              "src": "13788:62:158",
              "nodes": [],
              "statements": [
                {
                  "expression": {
                    "arguments": [
                      {
                        "expression": {
                          "id": 29827,
                          "name": "self",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 29815,
                          "src": "13813:4:158",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_Trace160_$29806_storage_ptr",
                            "typeString": "struct Checkpoints.Trace160 storage pointer"
                          }
                        },
                        "id": 29828,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "_checkpoints",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 29805,
                        "src": "13813:17:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_array$_t_struct$_Checkpoint160_$29811_storage_$dyn_storage",
                          "typeString": "struct Checkpoints.Checkpoint160 storage ref[] storage ref"
                        }
                      },
                      {
                        "id": 29829,
                        "name": "key",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 29817,
                        "src": "13832:3:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint96",
                          "typeString": "uint96"
                        }
                      },
                      {
                        "id": 29830,
                        "name": "value",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 29819,
                        "src": "13837:5:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint160",
                          "typeString": "uint160"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_array$_t_struct$_Checkpoint160_$29811_storage_$dyn_storage",
                          "typeString": "struct Checkpoints.Checkpoint160 storage ref[] storage ref"
                        },
                        {
                          "typeIdentifier": "t_uint96",
                          "typeString": "uint96"
                        },
                        {
                          "typeIdentifier": "t_uint160",
                          "typeString": "uint160"
                        }
                      ],
                      "id": 29826,
                      "name": "_insert",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        29265,
                        29682,
                        30099
                      ],
                      "referencedDeclaration": 30099,
                      "src": "13805:7:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_nonpayable$_t_array$_t_struct$_Checkpoint160_$29811_storage_$dyn_storage_ptr_$_t_uint96_$_t_uint160_$returns$_t_uint160_$_t_uint160_$",
                        "typeString": "function (struct Checkpoints.Checkpoint160 storage ref[] storage pointer,uint96,uint160) returns (uint160,uint160)"
                      }
                    },
                    "id": 29831,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "13805:38:158",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$_t_uint160_$_t_uint160_$",
                      "typeString": "tuple(uint160,uint160)"
                    }
                  },
                  "functionReturnParameters": 29825,
                  "id": 29832,
                  "nodeType": "Return",
                  "src": "13798:45:158"
                }
              ]
            },
            "documentation": {
              "id": 29812,
              "nodeType": "StructuredDocumentation",
              "src": "13491:162:158",
              "text": " @dev Pushes a (`key`, `value`) pair into a Trace160 so that it is stored as the checkpoint.\n Returns previous value and new value."
            },
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "push",
            "nameLocation": "13667:4:158",
            "parameters": {
              "id": 29820,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 29815,
                  "mutability": "mutable",
                  "name": "self",
                  "nameLocation": "13698:4:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 29834,
                  "src": "13681:21:158",
                  "stateVariable": false,
                  "storageLocation": "storage",
                  "typeDescriptions": {
                    "typeIdentifier": "t_struct$_Trace160_$29806_storage_ptr",
                    "typeString": "struct Checkpoints.Trace160"
                  },
                  "typeName": {
                    "id": 29814,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 29813,
                      "name": "Trace160",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 29806,
                      "src": "13681:8:158"
                    },
                    "referencedDeclaration": 29806,
                    "src": "13681:8:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_Trace160_$29806_storage_ptr",
                      "typeString": "struct Checkpoints.Trace160"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 29817,
                  "mutability": "mutable",
                  "name": "key",
                  "nameLocation": "13719:3:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 29834,
                  "src": "13712:10:158",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint96",
                    "typeString": "uint96"
                  },
                  "typeName": {
                    "id": 29816,
                    "name": "uint96",
                    "nodeType": "ElementaryTypeName",
                    "src": "13712:6:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint96",
                      "typeString": "uint96"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 29819,
                  "mutability": "mutable",
                  "name": "value",
                  "nameLocation": "13740:5:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 29834,
                  "src": "13732:13:158",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint160",
                    "typeString": "uint160"
                  },
                  "typeName": {
                    "id": 29818,
                    "name": "uint160",
                    "nodeType": "ElementaryTypeName",
                    "src": "13732:7:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint160",
                      "typeString": "uint160"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "13671:80:158"
            },
            "returnParameters": {
              "id": 29825,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 29822,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 29834,
                  "src": "13770:7:158",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint160",
                    "typeString": "uint160"
                  },
                  "typeName": {
                    "id": 29821,
                    "name": "uint160",
                    "nodeType": "ElementaryTypeName",
                    "src": "13770:7:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint160",
                      "typeString": "uint160"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 29824,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 29834,
                  "src": "13779:7:158",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint160",
                    "typeString": "uint160"
                  },
                  "typeName": {
                    "id": 29823,
                    "name": "uint160",
                    "nodeType": "ElementaryTypeName",
                    "src": "13779:7:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint160",
                      "typeString": "uint160"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "13769:18:158"
            },
            "scope": 30219,
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "internal"
          },
          {
            "id": 29874,
            "nodeType": "FunctionDefinition",
            "src": "14000:295:158",
            "nodes": [],
            "body": {
              "id": 29873,
              "nodeType": "Block",
              "src": "14088:207:158",
              "nodes": [],
              "statements": [
                {
                  "assignments": [
                    29846
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 29846,
                      "mutability": "mutable",
                      "name": "len",
                      "nameLocation": "14106:3:158",
                      "nodeType": "VariableDeclaration",
                      "scope": 29873,
                      "src": "14098:11:158",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 29845,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "14098:7:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 29850,
                  "initialValue": {
                    "expression": {
                      "expression": {
                        "id": 29847,
                        "name": "self",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 29838,
                        "src": "14112:4:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_Trace160_$29806_storage_ptr",
                          "typeString": "struct Checkpoints.Trace160 storage pointer"
                        }
                      },
                      "id": 29848,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "_checkpoints",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 29805,
                      "src": "14112:17:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_array$_t_struct$_Checkpoint160_$29811_storage_$dyn_storage",
                        "typeString": "struct Checkpoints.Checkpoint160 storage ref[] storage ref"
                      }
                    },
                    "id": 29849,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "memberName": "length",
                    "nodeType": "MemberAccess",
                    "src": "14112:24:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "14098:38:158"
                },
                {
                  "assignments": [
                    29852
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 29852,
                      "mutability": "mutable",
                      "name": "pos",
                      "nameLocation": "14154:3:158",
                      "nodeType": "VariableDeclaration",
                      "scope": 29873,
                      "src": "14146:11:158",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 29851,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "14146:7:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 29860,
                  "initialValue": {
                    "arguments": [
                      {
                        "expression": {
                          "id": 29854,
                          "name": "self",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 29838,
                          "src": "14179:4:158",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_Trace160_$29806_storage_ptr",
                            "typeString": "struct Checkpoints.Trace160 storage pointer"
                          }
                        },
                        "id": 29855,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "_checkpoints",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 29805,
                        "src": "14179:17:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_array$_t_struct$_Checkpoint160_$29811_storage_$dyn_storage",
                          "typeString": "struct Checkpoints.Checkpoint160 storage ref[] storage ref"
                        }
                      },
                      {
                        "id": 29856,
                        "name": "key",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 29840,
                        "src": "14198:3:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint96",
                          "typeString": "uint96"
                        }
                      },
                      {
                        "hexValue": "30",
                        "id": 29857,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "number",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "14203:1:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_rational_0_by_1",
                          "typeString": "int_const 0"
                        },
                        "value": "0"
                      },
                      {
                        "id": 29858,
                        "name": "len",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 29846,
                        "src": "14206:3:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_array$_t_struct$_Checkpoint160_$29811_storage_$dyn_storage",
                          "typeString": "struct Checkpoints.Checkpoint160 storage ref[] storage ref"
                        },
                        {
                          "typeIdentifier": "t_uint96",
                          "typeString": "uint96"
                        },
                        {
                          "typeIdentifier": "t_rational_0_by_1",
                          "typeString": "int_const 0"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      ],
                      "id": 29853,
                      "name": "_lowerBinaryLookup",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        29369,
                        29786,
                        30203
                      ],
                      "referencedDeclaration": 30203,
                      "src": "14160:18:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_view$_t_array$_t_struct$_Checkpoint160_$29811_storage_$dyn_storage_ptr_$_t_uint96_$_t_uint256_$_t_uint256_$returns$_t_uint256_$",
                        "typeString": "function (struct Checkpoints.Checkpoint160 storage ref[] storage pointer,uint96,uint256,uint256) view returns (uint256)"
                      }
                    },
                    "id": 29859,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "14160:50:158",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "14146:64:158"
                },
                {
                  "expression": {
                    "condition": {
                      "commonType": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "id": 29863,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "leftExpression": {
                        "id": 29861,
                        "name": "pos",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 29852,
                        "src": "14227:3:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "nodeType": "BinaryOperation",
                      "operator": "==",
                      "rightExpression": {
                        "id": 29862,
                        "name": "len",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 29846,
                        "src": "14234:3:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "src": "14227:10:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bool",
                        "typeString": "bool"
                      }
                    },
                    "falseExpression": {
                      "expression": {
                        "arguments": [
                          {
                            "expression": {
                              "id": 29866,
                              "name": "self",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 29838,
                              "src": "14258:4:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_Trace160_$29806_storage_ptr",
                                "typeString": "struct Checkpoints.Trace160 storage pointer"
                              }
                            },
                            "id": 29867,
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "_checkpoints",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 29805,
                            "src": "14258:17:158",
                            "typeDescriptions": {
                              "typeIdentifier": "t_array$_t_struct$_Checkpoint160_$29811_storage_$dyn_storage",
                              "typeString": "struct Checkpoints.Checkpoint160 storage ref[] storage ref"
                            }
                          },
                          {
                            "id": 29868,
                            "name": "pos",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 29852,
                            "src": "14277:3:158",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_array$_t_struct$_Checkpoint160_$29811_storage_$dyn_storage",
                              "typeString": "struct Checkpoints.Checkpoint160 storage ref[] storage ref"
                            },
                            {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          ],
                          "id": 29865,
                          "name": "_unsafeAccess",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [
                            29384,
                            29801,
                            30218
                          ],
                          "referencedDeclaration": 30218,
                          "src": "14244:13:158",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_internal_pure$_t_array$_t_struct$_Checkpoint160_$29811_storage_$dyn_storage_ptr_$_t_uint256_$returns$_t_struct$_Checkpoint160_$29811_storage_ptr_$",
                            "typeString": "function (struct Checkpoints.Checkpoint160 storage ref[] storage pointer,uint256) pure returns (struct Checkpoints.Checkpoint160 storage pointer)"
                          }
                        },
                        "id": 29869,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "14244:37:158",
                        "tryCall": false,
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_Checkpoint160_$29811_storage_ptr",
                          "typeString": "struct Checkpoints.Checkpoint160 storage pointer"
                        }
                      },
                      "id": 29870,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "_value",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 29810,
                      "src": "14244:44:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint160",
                        "typeString": "uint160"
                      }
                    },
                    "id": 29871,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "Conditional",
                    "src": "14227:61:158",
                    "trueExpression": {
                      "hexValue": "30",
                      "id": 29864,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "14240:1:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint160",
                      "typeString": "uint160"
                    }
                  },
                  "functionReturnParameters": 29844,
                  "id": 29872,
                  "nodeType": "Return",
                  "src": "14220:68:158"
                }
              ]
            },
            "documentation": {
              "id": 29835,
              "nodeType": "StructuredDocumentation",
              "src": "13856:139:158",
              "text": " @dev Returns the value in the oldest checkpoint with key greater or equal than the search key, or zero if there is none."
            },
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "lowerLookup",
            "nameLocation": "14009:11:158",
            "parameters": {
              "id": 29841,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 29838,
                  "mutability": "mutable",
                  "name": "self",
                  "nameLocation": "14038:4:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 29874,
                  "src": "14021:21:158",
                  "stateVariable": false,
                  "storageLocation": "storage",
                  "typeDescriptions": {
                    "typeIdentifier": "t_struct$_Trace160_$29806_storage_ptr",
                    "typeString": "struct Checkpoints.Trace160"
                  },
                  "typeName": {
                    "id": 29837,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 29836,
                      "name": "Trace160",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 29806,
                      "src": "14021:8:158"
                    },
                    "referencedDeclaration": 29806,
                    "src": "14021:8:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_Trace160_$29806_storage_ptr",
                      "typeString": "struct Checkpoints.Trace160"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 29840,
                  "mutability": "mutable",
                  "name": "key",
                  "nameLocation": "14051:3:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 29874,
                  "src": "14044:10:158",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint96",
                    "typeString": "uint96"
                  },
                  "typeName": {
                    "id": 29839,
                    "name": "uint96",
                    "nodeType": "ElementaryTypeName",
                    "src": "14044:6:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint96",
                      "typeString": "uint96"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "14020:35:158"
            },
            "returnParameters": {
              "id": 29844,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 29843,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 29874,
                  "src": "14079:7:158",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint160",
                    "typeString": "uint160"
                  },
                  "typeName": {
                    "id": 29842,
                    "name": "uint160",
                    "nodeType": "ElementaryTypeName",
                    "src": "14079:7:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint160",
                      "typeString": "uint160"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "14078:9:158"
            },
            "scope": 30219,
            "stateMutability": "view",
            "virtual": false,
            "visibility": "internal"
          },
          {
            "id": 29916,
            "nodeType": "FunctionDefinition",
            "src": "14422:297:158",
            "nodes": [],
            "body": {
              "id": 29915,
              "nodeType": "Block",
              "src": "14510:209:158",
              "nodes": [],
              "statements": [
                {
                  "assignments": [
                    29886
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 29886,
                      "mutability": "mutable",
                      "name": "len",
                      "nameLocation": "14528:3:158",
                      "nodeType": "VariableDeclaration",
                      "scope": 29915,
                      "src": "14520:11:158",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 29885,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "14520:7:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 29890,
                  "initialValue": {
                    "expression": {
                      "expression": {
                        "id": 29887,
                        "name": "self",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 29878,
                        "src": "14534:4:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_Trace160_$29806_storage_ptr",
                          "typeString": "struct Checkpoints.Trace160 storage pointer"
                        }
                      },
                      "id": 29888,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "_checkpoints",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 29805,
                      "src": "14534:17:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_array$_t_struct$_Checkpoint160_$29811_storage_$dyn_storage",
                        "typeString": "struct Checkpoints.Checkpoint160 storage ref[] storage ref"
                      }
                    },
                    "id": 29889,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "memberName": "length",
                    "nodeType": "MemberAccess",
                    "src": "14534:24:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "14520:38:158"
                },
                {
                  "assignments": [
                    29892
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 29892,
                      "mutability": "mutable",
                      "name": "pos",
                      "nameLocation": "14576:3:158",
                      "nodeType": "VariableDeclaration",
                      "scope": 29915,
                      "src": "14568:11:158",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 29891,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "14568:7:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 29900,
                  "initialValue": {
                    "arguments": [
                      {
                        "expression": {
                          "id": 29894,
                          "name": "self",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 29878,
                          "src": "14601:4:158",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_Trace160_$29806_storage_ptr",
                            "typeString": "struct Checkpoints.Trace160 storage pointer"
                          }
                        },
                        "id": 29895,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "_checkpoints",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 29805,
                        "src": "14601:17:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_array$_t_struct$_Checkpoint160_$29811_storage_$dyn_storage",
                          "typeString": "struct Checkpoints.Checkpoint160 storage ref[] storage ref"
                        }
                      },
                      {
                        "id": 29896,
                        "name": "key",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 29880,
                        "src": "14620:3:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint96",
                          "typeString": "uint96"
                        }
                      },
                      {
                        "hexValue": "30",
                        "id": 29897,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "number",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "14625:1:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_rational_0_by_1",
                          "typeString": "int_const 0"
                        },
                        "value": "0"
                      },
                      {
                        "id": 29898,
                        "name": "len",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 29886,
                        "src": "14628:3:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_array$_t_struct$_Checkpoint160_$29811_storage_$dyn_storage",
                          "typeString": "struct Checkpoints.Checkpoint160 storage ref[] storage ref"
                        },
                        {
                          "typeIdentifier": "t_uint96",
                          "typeString": "uint96"
                        },
                        {
                          "typeIdentifier": "t_rational_0_by_1",
                          "typeString": "int_const 0"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      ],
                      "id": 29893,
                      "name": "_upperBinaryLookup",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        29317,
                        29734,
                        30151
                      ],
                      "referencedDeclaration": 30151,
                      "src": "14582:18:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_view$_t_array$_t_struct$_Checkpoint160_$29811_storage_$dyn_storage_ptr_$_t_uint96_$_t_uint256_$_t_uint256_$returns$_t_uint256_$",
                        "typeString": "function (struct Checkpoints.Checkpoint160 storage ref[] storage pointer,uint96,uint256,uint256) view returns (uint256)"
                      }
                    },
                    "id": 29899,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "14582:50:158",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "14568:64:158"
                },
                {
                  "expression": {
                    "condition": {
                      "commonType": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "id": 29903,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "leftExpression": {
                        "id": 29901,
                        "name": "pos",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 29892,
                        "src": "14649:3:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "nodeType": "BinaryOperation",
                      "operator": "==",
                      "rightExpression": {
                        "hexValue": "30",
                        "id": 29902,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "number",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "14656:1:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_rational_0_by_1",
                          "typeString": "int_const 0"
                        },
                        "value": "0"
                      },
                      "src": "14649:8:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bool",
                        "typeString": "bool"
                      }
                    },
                    "falseExpression": {
                      "expression": {
                        "arguments": [
                          {
                            "expression": {
                              "id": 29906,
                              "name": "self",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 29878,
                              "src": "14678:4:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_Trace160_$29806_storage_ptr",
                                "typeString": "struct Checkpoints.Trace160 storage pointer"
                              }
                            },
                            "id": 29907,
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "_checkpoints",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 29805,
                            "src": "14678:17:158",
                            "typeDescriptions": {
                              "typeIdentifier": "t_array$_t_struct$_Checkpoint160_$29811_storage_$dyn_storage",
                              "typeString": "struct Checkpoints.Checkpoint160 storage ref[] storage ref"
                            }
                          },
                          {
                            "commonType": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            },
                            "id": 29910,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "leftExpression": {
                              "id": 29908,
                              "name": "pos",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 29892,
                              "src": "14697:3:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "nodeType": "BinaryOperation",
                            "operator": "-",
                            "rightExpression": {
                              "hexValue": "31",
                              "id": 29909,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "number",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "14703:1:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_rational_1_by_1",
                                "typeString": "int_const 1"
                              },
                              "value": "1"
                            },
                            "src": "14697:7:158",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_array$_t_struct$_Checkpoint160_$29811_storage_$dyn_storage",
                              "typeString": "struct Checkpoints.Checkpoint160 storage ref[] storage ref"
                            },
                            {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          ],
                          "id": 29905,
                          "name": "_unsafeAccess",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [
                            29384,
                            29801,
                            30218
                          ],
                          "referencedDeclaration": 30218,
                          "src": "14664:13:158",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_internal_pure$_t_array$_t_struct$_Checkpoint160_$29811_storage_$dyn_storage_ptr_$_t_uint256_$returns$_t_struct$_Checkpoint160_$29811_storage_ptr_$",
                            "typeString": "function (struct Checkpoints.Checkpoint160 storage ref[] storage pointer,uint256) pure returns (struct Checkpoints.Checkpoint160 storage pointer)"
                          }
                        },
                        "id": 29911,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "14664:41:158",
                        "tryCall": false,
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_Checkpoint160_$29811_storage_ptr",
                          "typeString": "struct Checkpoints.Checkpoint160 storage pointer"
                        }
                      },
                      "id": 29912,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "_value",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 29810,
                      "src": "14664:48:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint160",
                        "typeString": "uint160"
                      }
                    },
                    "id": 29913,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "Conditional",
                    "src": "14649:63:158",
                    "trueExpression": {
                      "hexValue": "30",
                      "id": 29904,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "14660:1:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint160",
                      "typeString": "uint160"
                    }
                  },
                  "functionReturnParameters": 29884,
                  "id": 29914,
                  "nodeType": "Return",
                  "src": "14642:70:158"
                }
              ]
            },
            "documentation": {
              "id": 29875,
              "nodeType": "StructuredDocumentation",
              "src": "14301:116:158",
              "text": " @dev Returns the value in the most recent checkpoint with key lower or equal than the search key."
            },
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "upperLookup",
            "nameLocation": "14431:11:158",
            "parameters": {
              "id": 29881,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 29878,
                  "mutability": "mutable",
                  "name": "self",
                  "nameLocation": "14460:4:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 29916,
                  "src": "14443:21:158",
                  "stateVariable": false,
                  "storageLocation": "storage",
                  "typeDescriptions": {
                    "typeIdentifier": "t_struct$_Trace160_$29806_storage_ptr",
                    "typeString": "struct Checkpoints.Trace160"
                  },
                  "typeName": {
                    "id": 29877,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 29876,
                      "name": "Trace160",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 29806,
                      "src": "14443:8:158"
                    },
                    "referencedDeclaration": 29806,
                    "src": "14443:8:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_Trace160_$29806_storage_ptr",
                      "typeString": "struct Checkpoints.Trace160"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 29880,
                  "mutability": "mutable",
                  "name": "key",
                  "nameLocation": "14473:3:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 29916,
                  "src": "14466:10:158",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint96",
                    "typeString": "uint96"
                  },
                  "typeName": {
                    "id": 29879,
                    "name": "uint96",
                    "nodeType": "ElementaryTypeName",
                    "src": "14466:6:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint96",
                      "typeString": "uint96"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "14442:35:158"
            },
            "returnParameters": {
              "id": 29884,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 29883,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 29916,
                  "src": "14501:7:158",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint160",
                    "typeString": "uint160"
                  },
                  "typeName": {
                    "id": 29882,
                    "name": "uint160",
                    "nodeType": "ElementaryTypeName",
                    "src": "14501:7:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint160",
                      "typeString": "uint160"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "14500:9:158"
            },
            "scope": 30219,
            "stateMutability": "view",
            "virtual": false,
            "visibility": "internal"
          },
          {
            "id": 29946,
            "nodeType": "FunctionDefinition",
            "src": "14839:206:158",
            "nodes": [],
            "body": {
              "id": 29945,
              "nodeType": "Block",
              "src": "14910:135:158",
              "nodes": [],
              "statements": [
                {
                  "assignments": [
                    29926
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 29926,
                      "mutability": "mutable",
                      "name": "pos",
                      "nameLocation": "14928:3:158",
                      "nodeType": "VariableDeclaration",
                      "scope": 29945,
                      "src": "14920:11:158",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 29925,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "14920:7:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 29930,
                  "initialValue": {
                    "expression": {
                      "expression": {
                        "id": 29927,
                        "name": "self",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 29920,
                        "src": "14934:4:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_Trace160_$29806_storage_ptr",
                          "typeString": "struct Checkpoints.Trace160 storage pointer"
                        }
                      },
                      "id": 29928,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "_checkpoints",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 29805,
                      "src": "14934:17:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_array$_t_struct$_Checkpoint160_$29811_storage_$dyn_storage",
                        "typeString": "struct Checkpoints.Checkpoint160 storage ref[] storage ref"
                      }
                    },
                    "id": 29929,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "memberName": "length",
                    "nodeType": "MemberAccess",
                    "src": "14934:24:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "14920:38:158"
                },
                {
                  "expression": {
                    "condition": {
                      "commonType": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "id": 29933,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "leftExpression": {
                        "id": 29931,
                        "name": "pos",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 29926,
                        "src": "14975:3:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "nodeType": "BinaryOperation",
                      "operator": "==",
                      "rightExpression": {
                        "hexValue": "30",
                        "id": 29932,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "number",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "14982:1:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_rational_0_by_1",
                          "typeString": "int_const 0"
                        },
                        "value": "0"
                      },
                      "src": "14975:8:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bool",
                        "typeString": "bool"
                      }
                    },
                    "falseExpression": {
                      "expression": {
                        "arguments": [
                          {
                            "expression": {
                              "id": 29936,
                              "name": "self",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 29920,
                              "src": "15004:4:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_Trace160_$29806_storage_ptr",
                                "typeString": "struct Checkpoints.Trace160 storage pointer"
                              }
                            },
                            "id": 29937,
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "_checkpoints",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 29805,
                            "src": "15004:17:158",
                            "typeDescriptions": {
                              "typeIdentifier": "t_array$_t_struct$_Checkpoint160_$29811_storage_$dyn_storage",
                              "typeString": "struct Checkpoints.Checkpoint160 storage ref[] storage ref"
                            }
                          },
                          {
                            "commonType": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            },
                            "id": 29940,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "leftExpression": {
                              "id": 29938,
                              "name": "pos",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 29926,
                              "src": "15023:3:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "nodeType": "BinaryOperation",
                            "operator": "-",
                            "rightExpression": {
                              "hexValue": "31",
                              "id": 29939,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "number",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "15029:1:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_rational_1_by_1",
                                "typeString": "int_const 1"
                              },
                              "value": "1"
                            },
                            "src": "15023:7:158",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_array$_t_struct$_Checkpoint160_$29811_storage_$dyn_storage",
                              "typeString": "struct Checkpoints.Checkpoint160 storage ref[] storage ref"
                            },
                            {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          ],
                          "id": 29935,
                          "name": "_unsafeAccess",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [
                            29384,
                            29801,
                            30218
                          ],
                          "referencedDeclaration": 30218,
                          "src": "14990:13:158",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_internal_pure$_t_array$_t_struct$_Checkpoint160_$29811_storage_$dyn_storage_ptr_$_t_uint256_$returns$_t_struct$_Checkpoint160_$29811_storage_ptr_$",
                            "typeString": "function (struct Checkpoints.Checkpoint160 storage ref[] storage pointer,uint256) pure returns (struct Checkpoints.Checkpoint160 storage pointer)"
                          }
                        },
                        "id": 29941,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "14990:41:158",
                        "tryCall": false,
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_Checkpoint160_$29811_storage_ptr",
                          "typeString": "struct Checkpoints.Checkpoint160 storage pointer"
                        }
                      },
                      "id": 29942,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "_value",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 29810,
                      "src": "14990:48:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint160",
                        "typeString": "uint160"
                      }
                    },
                    "id": 29943,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "Conditional",
                    "src": "14975:63:158",
                    "trueExpression": {
                      "hexValue": "30",
                      "id": 29934,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "14986:1:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint160",
                      "typeString": "uint160"
                    }
                  },
                  "functionReturnParameters": 29924,
                  "id": 29944,
                  "nodeType": "Return",
                  "src": "14968:70:158"
                }
              ]
            },
            "documentation": {
              "id": 29917,
              "nodeType": "StructuredDocumentation",
              "src": "14725:109:158",
              "text": " @dev Returns the value in the most recent checkpoint, or zero if there are no checkpoints."
            },
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "latest",
            "nameLocation": "14848:6:158",
            "parameters": {
              "id": 29921,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 29920,
                  "mutability": "mutable",
                  "name": "self",
                  "nameLocation": "14872:4:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 29946,
                  "src": "14855:21:158",
                  "stateVariable": false,
                  "storageLocation": "storage",
                  "typeDescriptions": {
                    "typeIdentifier": "t_struct$_Trace160_$29806_storage_ptr",
                    "typeString": "struct Checkpoints.Trace160"
                  },
                  "typeName": {
                    "id": 29919,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 29918,
                      "name": "Trace160",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 29806,
                      "src": "14855:8:158"
                    },
                    "referencedDeclaration": 29806,
                    "src": "14855:8:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_Trace160_$29806_storage_ptr",
                      "typeString": "struct Checkpoints.Trace160"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "14854:23:158"
            },
            "returnParameters": {
              "id": 29924,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 29923,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 29946,
                  "src": "14901:7:158",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint160",
                    "typeString": "uint160"
                  },
                  "typeName": {
                    "id": 29922,
                    "name": "uint160",
                    "nodeType": "ElementaryTypeName",
                    "src": "14901:7:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint160",
                      "typeString": "uint160"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "14900:9:158"
            },
            "scope": 30219,
            "stateMutability": "view",
            "virtual": false,
            "visibility": "internal"
          },
          {
            "id": 29995,
            "nodeType": "FunctionDefinition",
            "src": "15224:462:158",
            "nodes": [],
            "body": {
              "id": 29994,
              "nodeType": "Block",
              "src": "15412:274:158",
              "nodes": [],
              "statements": [
                {
                  "assignments": [
                    29960
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 29960,
                      "mutability": "mutable",
                      "name": "pos",
                      "nameLocation": "15430:3:158",
                      "nodeType": "VariableDeclaration",
                      "scope": 29994,
                      "src": "15422:11:158",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 29959,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "15422:7:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 29964,
                  "initialValue": {
                    "expression": {
                      "expression": {
                        "id": 29961,
                        "name": "self",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 29950,
                        "src": "15436:4:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_Trace160_$29806_storage_ptr",
                          "typeString": "struct Checkpoints.Trace160 storage pointer"
                        }
                      },
                      "id": 29962,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "_checkpoints",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 29805,
                      "src": "15436:17:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_array$_t_struct$_Checkpoint160_$29811_storage_$dyn_storage",
                        "typeString": "struct Checkpoints.Checkpoint160 storage ref[] storage ref"
                      }
                    },
                    "id": 29963,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "memberName": "length",
                    "nodeType": "MemberAccess",
                    "src": "15436:24:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "15422:38:158"
                },
                {
                  "condition": {
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 29967,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "id": 29965,
                      "name": "pos",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 29960,
                      "src": "15474:3:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "==",
                    "rightExpression": {
                      "hexValue": "30",
                      "id": 29966,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "15481:1:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "src": "15474:8:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": {
                    "id": 29992,
                    "nodeType": "Block",
                    "src": "15535:145:158",
                    "statements": [
                      {
                        "assignments": [
                          29976
                        ],
                        "declarations": [
                          {
                            "constant": false,
                            "id": 29976,
                            "mutability": "mutable",
                            "name": "ckpt",
                            "nameLocation": "15570:4:158",
                            "nodeType": "VariableDeclaration",
                            "scope": 29992,
                            "src": "15549:25:158",
                            "stateVariable": false,
                            "storageLocation": "memory",
                            "typeDescriptions": {
                              "typeIdentifier": "t_struct$_Checkpoint160_$29811_memory_ptr",
                              "typeString": "struct Checkpoints.Checkpoint160"
                            },
                            "typeName": {
                              "id": 29975,
                              "nodeType": "UserDefinedTypeName",
                              "pathNode": {
                                "id": 29974,
                                "name": "Checkpoint160",
                                "nodeType": "IdentifierPath",
                                "referencedDeclaration": 29811,
                                "src": "15549:13:158"
                              },
                              "referencedDeclaration": 29811,
                              "src": "15549:13:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_Checkpoint160_$29811_storage_ptr",
                                "typeString": "struct Checkpoints.Checkpoint160"
                              }
                            },
                            "visibility": "internal"
                          }
                        ],
                        "id": 29984,
                        "initialValue": {
                          "arguments": [
                            {
                              "expression": {
                                "id": 29978,
                                "name": "self",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 29950,
                                "src": "15591:4:158",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_struct$_Trace160_$29806_storage_ptr",
                                  "typeString": "struct Checkpoints.Trace160 storage pointer"
                                }
                              },
                              "id": 29979,
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "_checkpoints",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 29805,
                              "src": "15591:17:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_array$_t_struct$_Checkpoint160_$29811_storage_$dyn_storage",
                                "typeString": "struct Checkpoints.Checkpoint160 storage ref[] storage ref"
                              }
                            },
                            {
                              "commonType": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              "id": 29982,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "leftExpression": {
                                "id": 29980,
                                "name": "pos",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 29960,
                                "src": "15610:3:158",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "nodeType": "BinaryOperation",
                              "operator": "-",
                              "rightExpression": {
                                "hexValue": "31",
                                "id": 29981,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": true,
                                "kind": "number",
                                "lValueRequested": false,
                                "nodeType": "Literal",
                                "src": "15616:1:158",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_rational_1_by_1",
                                  "typeString": "int_const 1"
                                },
                                "value": "1"
                              },
                              "src": "15610:7:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_array$_t_struct$_Checkpoint160_$29811_storage_$dyn_storage",
                                "typeString": "struct Checkpoints.Checkpoint160 storage ref[] storage ref"
                              },
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            ],
                            "id": 29977,
                            "name": "_unsafeAccess",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [
                              29384,
                              29801,
                              30218
                            ],
                            "referencedDeclaration": 30218,
                            "src": "15577:13:158",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_internal_pure$_t_array$_t_struct$_Checkpoint160_$29811_storage_$dyn_storage_ptr_$_t_uint256_$returns$_t_struct$_Checkpoint160_$29811_storage_ptr_$",
                              "typeString": "function (struct Checkpoints.Checkpoint160 storage ref[] storage pointer,uint256) pure returns (struct Checkpoints.Checkpoint160 storage pointer)"
                            }
                          },
                          "id": 29983,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "15577:41:158",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_Checkpoint160_$29811_storage_ptr",
                            "typeString": "struct Checkpoints.Checkpoint160 storage pointer"
                          }
                        },
                        "nodeType": "VariableDeclarationStatement",
                        "src": "15549:69:158"
                      },
                      {
                        "expression": {
                          "components": [
                            {
                              "hexValue": "74727565",
                              "id": 29985,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "bool",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "15640:4:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              },
                              "value": "true"
                            },
                            {
                              "expression": {
                                "id": 29986,
                                "name": "ckpt",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 29976,
                                "src": "15646:4:158",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_struct$_Checkpoint160_$29811_memory_ptr",
                                  "typeString": "struct Checkpoints.Checkpoint160 memory"
                                }
                              },
                              "id": 29987,
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "_key",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 29808,
                              "src": "15646:9:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint96",
                                "typeString": "uint96"
                              }
                            },
                            {
                              "expression": {
                                "id": 29988,
                                "name": "ckpt",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 29976,
                                "src": "15657:4:158",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_struct$_Checkpoint160_$29811_memory_ptr",
                                  "typeString": "struct Checkpoints.Checkpoint160 memory"
                                }
                              },
                              "id": 29989,
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "_value",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 29810,
                              "src": "15657:11:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint160",
                                "typeString": "uint160"
                              }
                            }
                          ],
                          "id": 29990,
                          "isConstant": false,
                          "isInlineArray": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "nodeType": "TupleExpression",
                          "src": "15639:30:158",
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$_t_bool_$_t_uint96_$_t_uint160_$",
                            "typeString": "tuple(bool,uint96,uint160)"
                          }
                        },
                        "functionReturnParameters": 29958,
                        "id": 29991,
                        "nodeType": "Return",
                        "src": "15632:37:158"
                      }
                    ]
                  },
                  "id": 29993,
                  "nodeType": "IfStatement",
                  "src": "15470:210:158",
                  "trueBody": {
                    "id": 29973,
                    "nodeType": "Block",
                    "src": "15484:45:158",
                    "statements": [
                      {
                        "expression": {
                          "components": [
                            {
                              "hexValue": "66616c7365",
                              "id": 29968,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "bool",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "15506:5:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              },
                              "value": "false"
                            },
                            {
                              "hexValue": "30",
                              "id": 29969,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "number",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "15513:1:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_rational_0_by_1",
                                "typeString": "int_const 0"
                              },
                              "value": "0"
                            },
                            {
                              "hexValue": "30",
                              "id": 29970,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "number",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "15516:1:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_rational_0_by_1",
                                "typeString": "int_const 0"
                              },
                              "value": "0"
                            }
                          ],
                          "id": 29971,
                          "isConstant": false,
                          "isInlineArray": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "TupleExpression",
                          "src": "15505:13:158",
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$_t_rational_0_by_1_$",
                            "typeString": "tuple(bool,int_const 0,int_const 0)"
                          }
                        },
                        "functionReturnParameters": 29958,
                        "id": 29972,
                        "nodeType": "Return",
                        "src": "15498:20:158"
                      }
                    ]
                  }
                }
              ]
            },
            "documentation": {
              "id": 29947,
              "nodeType": "StructuredDocumentation",
              "src": "15051:168:158",
              "text": " @dev Returns whether there is a checkpoint in the structure (i.e. it is not empty), and if so the key and value\n in the most recent checkpoint."
            },
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "latestCheckpoint",
            "nameLocation": "15233:16:158",
            "parameters": {
              "id": 29951,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 29950,
                  "mutability": "mutable",
                  "name": "self",
                  "nameLocation": "15267:4:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 29995,
                  "src": "15250:21:158",
                  "stateVariable": false,
                  "storageLocation": "storage",
                  "typeDescriptions": {
                    "typeIdentifier": "t_struct$_Trace160_$29806_storage_ptr",
                    "typeString": "struct Checkpoints.Trace160"
                  },
                  "typeName": {
                    "id": 29949,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 29948,
                      "name": "Trace160",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 29806,
                      "src": "15250:8:158"
                    },
                    "referencedDeclaration": 29806,
                    "src": "15250:8:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_Trace160_$29806_storage_ptr",
                      "typeString": "struct Checkpoints.Trace160"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "15249:23:158"
            },
            "returnParameters": {
              "id": 29958,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 29953,
                  "mutability": "mutable",
                  "name": "exists",
                  "nameLocation": "15338:6:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 29995,
                  "src": "15333:11:158",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 29952,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "15333:4:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 29955,
                  "mutability": "mutable",
                  "name": "_key",
                  "nameLocation": "15365:4:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 29995,
                  "src": "15358:11:158",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint96",
                    "typeString": "uint96"
                  },
                  "typeName": {
                    "id": 29954,
                    "name": "uint96",
                    "nodeType": "ElementaryTypeName",
                    "src": "15358:6:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint96",
                      "typeString": "uint96"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 29957,
                  "mutability": "mutable",
                  "name": "_value",
                  "nameLocation": "15391:6:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 29995,
                  "src": "15383:14:158",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint160",
                    "typeString": "uint160"
                  },
                  "typeName": {
                    "id": 29956,
                    "name": "uint160",
                    "nodeType": "ElementaryTypeName",
                    "src": "15383:7:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint160",
                      "typeString": "uint160"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "15319:88:158"
            },
            "scope": 30219,
            "stateMutability": "view",
            "virtual": false,
            "visibility": "internal"
          },
          {
            "id": 30009,
            "nodeType": "FunctionDefinition",
            "src": "15754:119:158",
            "nodes": [],
            "body": {
              "id": 30008,
              "nodeType": "Block",
              "src": "15825:48:158",
              "nodes": [],
              "statements": [
                {
                  "expression": {
                    "expression": {
                      "expression": {
                        "id": 30004,
                        "name": "self",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 29999,
                        "src": "15842:4:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_Trace160_$29806_storage_ptr",
                          "typeString": "struct Checkpoints.Trace160 storage pointer"
                        }
                      },
                      "id": 30005,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "_checkpoints",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 29805,
                      "src": "15842:17:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_array$_t_struct$_Checkpoint160_$29811_storage_$dyn_storage",
                        "typeString": "struct Checkpoints.Checkpoint160 storage ref[] storage ref"
                      }
                    },
                    "id": 30006,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "memberName": "length",
                    "nodeType": "MemberAccess",
                    "src": "15842:24:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "functionReturnParameters": 30003,
                  "id": 30007,
                  "nodeType": "Return",
                  "src": "15835:31:158"
                }
              ]
            },
            "documentation": {
              "id": 29996,
              "nodeType": "StructuredDocumentation",
              "src": "15692:57:158",
              "text": " @dev Returns the number of checkpoint."
            },
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "length",
            "nameLocation": "15763:6:158",
            "parameters": {
              "id": 30000,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 29999,
                  "mutability": "mutable",
                  "name": "self",
                  "nameLocation": "15787:4:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 30009,
                  "src": "15770:21:158",
                  "stateVariable": false,
                  "storageLocation": "storage",
                  "typeDescriptions": {
                    "typeIdentifier": "t_struct$_Trace160_$29806_storage_ptr",
                    "typeString": "struct Checkpoints.Trace160"
                  },
                  "typeName": {
                    "id": 29998,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 29997,
                      "name": "Trace160",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 29806,
                      "src": "15770:8:158"
                    },
                    "referencedDeclaration": 29806,
                    "src": "15770:8:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_Trace160_$29806_storage_ptr",
                      "typeString": "struct Checkpoints.Trace160"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "15769:23:158"
            },
            "returnParameters": {
              "id": 30003,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 30002,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 30009,
                  "src": "15816:7:158",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 30001,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "15816:7:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "15815:9:158"
            },
            "scope": 30219,
            "stateMutability": "view",
            "virtual": false,
            "visibility": "internal"
          },
          {
            "id": 30099,
            "nodeType": "FunctionDefinition",
            "src": "16049:866:158",
            "nodes": [],
            "body": {
              "id": 30098,
              "nodeType": "Block",
              "src": "16188:727:158",
              "nodes": [],
              "statements": [
                {
                  "assignments": [
                    30026
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 30026,
                      "mutability": "mutable",
                      "name": "pos",
                      "nameLocation": "16206:3:158",
                      "nodeType": "VariableDeclaration",
                      "scope": 30098,
                      "src": "16198:11:158",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 30025,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "16198:7:158",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "visibility": "internal"
                    }
                  ],
                  "id": 30029,
                  "initialValue": {
                    "expression": {
                      "id": 30027,
                      "name": "self",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 30014,
                      "src": "16212:4:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_array$_t_struct$_Checkpoint160_$29811_storage_$dyn_storage_ptr",
                        "typeString": "struct Checkpoints.Checkpoint160 storage ref[] storage pointer"
                      }
                    },
                    "id": 30028,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "memberName": "length",
                    "nodeType": "MemberAccess",
                    "src": "16212:11:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "16198:25:158"
                },
                {
                  "condition": {
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 30032,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "id": 30030,
                      "name": "pos",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 30026,
                      "src": "16238:3:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": ">",
                    "rightExpression": {
                      "hexValue": "30",
                      "id": 30031,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "16244:1:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "src": "16238:7:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": {
                    "id": 30096,
                    "nodeType": "Block",
                    "src": "16801:108:158",
                    "statements": [
                      {
                        "expression": {
                          "arguments": [
                            {
                              "arguments": [
                                {
                                  "id": 30087,
                                  "name": "key",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 30016,
                                  "src": "16846:3:158",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint96",
                                    "typeString": "uint96"
                                  }
                                },
                                {
                                  "id": 30088,
                                  "name": "value",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 30018,
                                  "src": "16859:5:158",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint160",
                                    "typeString": "uint160"
                                  }
                                }
                              ],
                              "expression": {
                                "argumentTypes": [
                                  {
                                    "typeIdentifier": "t_uint96",
                                    "typeString": "uint96"
                                  },
                                  {
                                    "typeIdentifier": "t_uint160",
                                    "typeString": "uint160"
                                  }
                                ],
                                "id": 30086,
                                "name": "Checkpoint160",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 29811,
                                "src": "16825:13:158",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_type$_t_struct$_Checkpoint160_$29811_storage_ptr_$",
                                  "typeString": "type(struct Checkpoints.Checkpoint160 storage pointer)"
                                }
                              },
                              "id": 30089,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "kind": "structConstructorCall",
                              "lValueRequested": false,
                              "names": [
                                "_key",
                                "_value"
                              ],
                              "nodeType": "FunctionCall",
                              "src": "16825:41:158",
                              "tryCall": false,
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_Checkpoint160_$29811_memory_ptr",
                                "typeString": "struct Checkpoints.Checkpoint160 memory"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_struct$_Checkpoint160_$29811_memory_ptr",
                                "typeString": "struct Checkpoints.Checkpoint160 memory"
                              }
                            ],
                            "expression": {
                              "id": 30083,
                              "name": "self",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 30014,
                              "src": "16815:4:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_array$_t_struct$_Checkpoint160_$29811_storage_$dyn_storage_ptr",
                                "typeString": "struct Checkpoints.Checkpoint160 storage ref[] storage pointer"
                              }
                            },
                            "id": 30085,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "push",
                            "nodeType": "MemberAccess",
                            "src": "16815:9:158",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_arraypush_nonpayable$_t_array$_t_struct$_Checkpoint160_$29811_storage_$dyn_storage_ptr_$_t_struct$_Checkpoint160_$29811_storage_$returns$__$bound_to$_t_array$_t_struct$_Checkpoint160_$29811_storage_$dyn_storage_ptr_$",
                              "typeString": "function (struct Checkpoints.Checkpoint160 storage ref[] storage pointer,struct Checkpoints.Checkpoint160 storage ref)"
                            }
                          },
                          "id": 30090,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "16815:52:158",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$__$",
                            "typeString": "tuple()"
                          }
                        },
                        "id": 30091,
                        "nodeType": "ExpressionStatement",
                        "src": "16815:52:158"
                      },
                      {
                        "expression": {
                          "components": [
                            {
                              "hexValue": "30",
                              "id": 30092,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "number",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "16889:1:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_rational_0_by_1",
                                "typeString": "int_const 0"
                              },
                              "value": "0"
                            },
                            {
                              "id": 30093,
                              "name": "value",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 30018,
                              "src": "16892:5:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint160",
                                "typeString": "uint160"
                              }
                            }
                          ],
                          "id": 30094,
                          "isConstant": false,
                          "isInlineArray": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "nodeType": "TupleExpression",
                          "src": "16888:10:158",
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$_t_rational_0_by_1_$_t_uint160_$",
                            "typeString": "tuple(int_const 0,uint160)"
                          }
                        },
                        "functionReturnParameters": 30024,
                        "id": 30095,
                        "nodeType": "Return",
                        "src": "16881:17:158"
                      }
                    ]
                  },
                  "id": 30097,
                  "nodeType": "IfStatement",
                  "src": "16234:675:158",
                  "trueBody": {
                    "id": 30082,
                    "nodeType": "Block",
                    "src": "16247:548:158",
                    "statements": [
                      {
                        "assignments": [
                          30035
                        ],
                        "declarations": [
                          {
                            "constant": false,
                            "id": 30035,
                            "mutability": "mutable",
                            "name": "last",
                            "nameLocation": "16334:4:158",
                            "nodeType": "VariableDeclaration",
                            "scope": 30082,
                            "src": "16313:25:158",
                            "stateVariable": false,
                            "storageLocation": "memory",
                            "typeDescriptions": {
                              "typeIdentifier": "t_struct$_Checkpoint160_$29811_memory_ptr",
                              "typeString": "struct Checkpoints.Checkpoint160"
                            },
                            "typeName": {
                              "id": 30034,
                              "nodeType": "UserDefinedTypeName",
                              "pathNode": {
                                "id": 30033,
                                "name": "Checkpoint160",
                                "nodeType": "IdentifierPath",
                                "referencedDeclaration": 29811,
                                "src": "16313:13:158"
                              },
                              "referencedDeclaration": 29811,
                              "src": "16313:13:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_Checkpoint160_$29811_storage_ptr",
                                "typeString": "struct Checkpoints.Checkpoint160"
                              }
                            },
                            "visibility": "internal"
                          }
                        ],
                        "id": 30042,
                        "initialValue": {
                          "arguments": [
                            {
                              "id": 30037,
                              "name": "self",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 30014,
                              "src": "16355:4:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_array$_t_struct$_Checkpoint160_$29811_storage_$dyn_storage_ptr",
                                "typeString": "struct Checkpoints.Checkpoint160 storage ref[] storage pointer"
                              }
                            },
                            {
                              "commonType": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              "id": 30040,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "leftExpression": {
                                "id": 30038,
                                "name": "pos",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 30026,
                                "src": "16361:3:158",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "nodeType": "BinaryOperation",
                              "operator": "-",
                              "rightExpression": {
                                "hexValue": "31",
                                "id": 30039,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": true,
                                "kind": "number",
                                "lValueRequested": false,
                                "nodeType": "Literal",
                                "src": "16367:1:158",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_rational_1_by_1",
                                  "typeString": "int_const 1"
                                },
                                "value": "1"
                              },
                              "src": "16361:7:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_array$_t_struct$_Checkpoint160_$29811_storage_$dyn_storage_ptr",
                                "typeString": "struct Checkpoints.Checkpoint160 storage ref[] storage pointer"
                              },
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            ],
                            "id": 30036,
                            "name": "_unsafeAccess",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [
                              29384,
                              29801,
                              30218
                            ],
                            "referencedDeclaration": 30218,
                            "src": "16341:13:158",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_internal_pure$_t_array$_t_struct$_Checkpoint160_$29811_storage_$dyn_storage_ptr_$_t_uint256_$returns$_t_struct$_Checkpoint160_$29811_storage_ptr_$",
                              "typeString": "function (struct Checkpoints.Checkpoint160 storage ref[] storage pointer,uint256) pure returns (struct Checkpoints.Checkpoint160 storage pointer)"
                            }
                          },
                          "id": 30041,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "16341:28:158",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_Checkpoint160_$29811_storage_ptr",
                            "typeString": "struct Checkpoints.Checkpoint160 storage pointer"
                          }
                        },
                        "nodeType": "VariableDeclarationStatement",
                        "src": "16313:56:158"
                      },
                      {
                        "expression": {
                          "arguments": [
                            {
                              "commonType": {
                                "typeIdentifier": "t_uint96",
                                "typeString": "uint96"
                              },
                              "id": 30047,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "leftExpression": {
                                "expression": {
                                  "id": 30044,
                                  "name": "last",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 30035,
                                  "src": "16447:4:158",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_struct$_Checkpoint160_$29811_memory_ptr",
                                    "typeString": "struct Checkpoints.Checkpoint160 memory"
                                  }
                                },
                                "id": 30045,
                                "isConstant": false,
                                "isLValue": true,
                                "isPure": false,
                                "lValueRequested": false,
                                "memberName": "_key",
                                "nodeType": "MemberAccess",
                                "referencedDeclaration": 29808,
                                "src": "16447:9:158",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint96",
                                  "typeString": "uint96"
                                }
                              },
                              "nodeType": "BinaryOperation",
                              "operator": "<=",
                              "rightExpression": {
                                "id": 30046,
                                "name": "key",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 30016,
                                "src": "16460:3:158",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint96",
                                  "typeString": "uint96"
                                }
                              },
                              "src": "16447:16:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              }
                            },
                            {
                              "hexValue": "436865636b706f696e743a2064656372656173696e67206b657973",
                              "id": 30048,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "string",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "16465:29:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_stringliteral_4f6b1769383e9e01fad001f10d4f9180a25f63424c2597419936b157d29f34ec",
                                "typeString": "literal_string \"Checkpoint: decreasing keys\""
                              },
                              "value": "Checkpoint: decreasing keys"
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              },
                              {
                                "typeIdentifier": "t_stringliteral_4f6b1769383e9e01fad001f10d4f9180a25f63424c2597419936b157d29f34ec",
                                "typeString": "literal_string \"Checkpoint: decreasing keys\""
                              }
                            ],
                            "id": 30043,
                            "name": "require",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [
                              -18,
                              -18
                            ],
                            "referencedDeclaration": -18,
                            "src": "16439:7:158",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                              "typeString": "function (bool,string memory) pure"
                            }
                          },
                          "id": 30049,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "16439:56:158",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$__$",
                            "typeString": "tuple()"
                          }
                        },
                        "id": 30050,
                        "nodeType": "ExpressionStatement",
                        "src": "16439:56:158"
                      },
                      {
                        "condition": {
                          "commonType": {
                            "typeIdentifier": "t_uint96",
                            "typeString": "uint96"
                          },
                          "id": 30054,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftExpression": {
                            "expression": {
                              "id": 30051,
                              "name": "last",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 30035,
                              "src": "16559:4:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_Checkpoint160_$29811_memory_ptr",
                                "typeString": "struct Checkpoints.Checkpoint160 memory"
                              }
                            },
                            "id": 30052,
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "_key",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 29808,
                            "src": "16559:9:158",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint96",
                              "typeString": "uint96"
                            }
                          },
                          "nodeType": "BinaryOperation",
                          "operator": "==",
                          "rightExpression": {
                            "id": 30053,
                            "name": "key",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 30016,
                            "src": "16572:3:158",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint96",
                              "typeString": "uint96"
                            }
                          },
                          "src": "16559:16:158",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          }
                        },
                        "falseBody": {
                          "id": 30075,
                          "nodeType": "Block",
                          "src": "16659:85:158",
                          "statements": [
                            {
                              "expression": {
                                "arguments": [
                                  {
                                    "arguments": [
                                      {
                                        "id": 30070,
                                        "name": "key",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 30016,
                                        "src": "16708:3:158",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_uint96",
                                          "typeString": "uint96"
                                        }
                                      },
                                      {
                                        "id": 30071,
                                        "name": "value",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 30018,
                                        "src": "16721:5:158",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_uint160",
                                          "typeString": "uint160"
                                        }
                                      }
                                    ],
                                    "expression": {
                                      "argumentTypes": [
                                        {
                                          "typeIdentifier": "t_uint96",
                                          "typeString": "uint96"
                                        },
                                        {
                                          "typeIdentifier": "t_uint160",
                                          "typeString": "uint160"
                                        }
                                      ],
                                      "id": 30069,
                                      "name": "Checkpoint160",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": 29811,
                                      "src": "16687:13:158",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_type$_t_struct$_Checkpoint160_$29811_storage_ptr_$",
                                        "typeString": "type(struct Checkpoints.Checkpoint160 storage pointer)"
                                      }
                                    },
                                    "id": 30072,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": false,
                                    "kind": "structConstructorCall",
                                    "lValueRequested": false,
                                    "names": [
                                      "_key",
                                      "_value"
                                    ],
                                    "nodeType": "FunctionCall",
                                    "src": "16687:41:158",
                                    "tryCall": false,
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_struct$_Checkpoint160_$29811_memory_ptr",
                                      "typeString": "struct Checkpoints.Checkpoint160 memory"
                                    }
                                  }
                                ],
                                "expression": {
                                  "argumentTypes": [
                                    {
                                      "typeIdentifier": "t_struct$_Checkpoint160_$29811_memory_ptr",
                                      "typeString": "struct Checkpoints.Checkpoint160 memory"
                                    }
                                  ],
                                  "expression": {
                                    "id": 30066,
                                    "name": "self",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 30014,
                                    "src": "16677:4:158",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_array$_t_struct$_Checkpoint160_$29811_storage_$dyn_storage_ptr",
                                      "typeString": "struct Checkpoints.Checkpoint160 storage ref[] storage pointer"
                                    }
                                  },
                                  "id": 30068,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "memberName": "push",
                                  "nodeType": "MemberAccess",
                                  "src": "16677:9:158",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_function_arraypush_nonpayable$_t_array$_t_struct$_Checkpoint160_$29811_storage_$dyn_storage_ptr_$_t_struct$_Checkpoint160_$29811_storage_$returns$__$bound_to$_t_array$_t_struct$_Checkpoint160_$29811_storage_$dyn_storage_ptr_$",
                                    "typeString": "function (struct Checkpoints.Checkpoint160 storage ref[] storage pointer,struct Checkpoints.Checkpoint160 storage ref)"
                                  }
                                },
                                "id": 30073,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "kind": "functionCall",
                                "lValueRequested": false,
                                "names": [],
                                "nodeType": "FunctionCall",
                                "src": "16677:52:158",
                                "tryCall": false,
                                "typeDescriptions": {
                                  "typeIdentifier": "t_tuple$__$",
                                  "typeString": "tuple()"
                                }
                              },
                              "id": 30074,
                              "nodeType": "ExpressionStatement",
                              "src": "16677:52:158"
                            }
                          ]
                        },
                        "id": 30076,
                        "nodeType": "IfStatement",
                        "src": "16555:189:158",
                        "trueBody": {
                          "id": 30065,
                          "nodeType": "Block",
                          "src": "16577:76:158",
                          "statements": [
                            {
                              "expression": {
                                "id": 30063,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "leftHandSide": {
                                  "expression": {
                                    "arguments": [
                                      {
                                        "id": 30056,
                                        "name": "self",
                                        "nodeType": "Identifier",
                                        "overloadedDeclarations": [],
                                        "referencedDeclaration": 30014,
                                        "src": "16609:4:158",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_array$_t_struct$_Checkpoint160_$29811_storage_$dyn_storage_ptr",
                                          "typeString": "struct Checkpoints.Checkpoint160 storage ref[] storage pointer"
                                        }
                                      },
                                      {
                                        "commonType": {
                                          "typeIdentifier": "t_uint256",
                                          "typeString": "uint256"
                                        },
                                        "id": 30059,
                                        "isConstant": false,
                                        "isLValue": false,
                                        "isPure": false,
                                        "lValueRequested": false,
                                        "leftExpression": {
                                          "id": 30057,
                                          "name": "pos",
                                          "nodeType": "Identifier",
                                          "overloadedDeclarations": [],
                                          "referencedDeclaration": 30026,
                                          "src": "16615:3:158",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_uint256",
                                            "typeString": "uint256"
                                          }
                                        },
                                        "nodeType": "BinaryOperation",
                                        "operator": "-",
                                        "rightExpression": {
                                          "hexValue": "31",
                                          "id": 30058,
                                          "isConstant": false,
                                          "isLValue": false,
                                          "isPure": true,
                                          "kind": "number",
                                          "lValueRequested": false,
                                          "nodeType": "Literal",
                                          "src": "16621:1:158",
                                          "typeDescriptions": {
                                            "typeIdentifier": "t_rational_1_by_1",
                                            "typeString": "int_const 1"
                                          },
                                          "value": "1"
                                        },
                                        "src": "16615:7:158",
                                        "typeDescriptions": {
                                          "typeIdentifier": "t_uint256",
                                          "typeString": "uint256"
                                        }
                                      }
                                    ],
                                    "expression": {
                                      "argumentTypes": [
                                        {
                                          "typeIdentifier": "t_array$_t_struct$_Checkpoint160_$29811_storage_$dyn_storage_ptr",
                                          "typeString": "struct Checkpoints.Checkpoint160 storage ref[] storage pointer"
                                        },
                                        {
                                          "typeIdentifier": "t_uint256",
                                          "typeString": "uint256"
                                        }
                                      ],
                                      "id": 30055,
                                      "name": "_unsafeAccess",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [
                                        29384,
                                        29801,
                                        30218
                                      ],
                                      "referencedDeclaration": 30218,
                                      "src": "16595:13:158",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_function_internal_pure$_t_array$_t_struct$_Checkpoint160_$29811_storage_$dyn_storage_ptr_$_t_uint256_$returns$_t_struct$_Checkpoint160_$29811_storage_ptr_$",
                                        "typeString": "function (struct Checkpoints.Checkpoint160 storage ref[] storage pointer,uint256) pure returns (struct Checkpoints.Checkpoint160 storage pointer)"
                                      }
                                    },
                                    "id": 30060,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": false,
                                    "kind": "functionCall",
                                    "lValueRequested": false,
                                    "names": [],
                                    "nodeType": "FunctionCall",
                                    "src": "16595:28:158",
                                    "tryCall": false,
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_struct$_Checkpoint160_$29811_storage_ptr",
                                      "typeString": "struct Checkpoints.Checkpoint160 storage pointer"
                                    }
                                  },
                                  "id": 30061,
                                  "isConstant": false,
                                  "isLValue": true,
                                  "isPure": false,
                                  "lValueRequested": true,
                                  "memberName": "_value",
                                  "nodeType": "MemberAccess",
                                  "referencedDeclaration": 29810,
                                  "src": "16595:35:158",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint160",
                                    "typeString": "uint160"
                                  }
                                },
                                "nodeType": "Assignment",
                                "operator": "=",
                                "rightHandSide": {
                                  "id": 30062,
                                  "name": "value",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 30018,
                                  "src": "16633:5:158",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint160",
                                    "typeString": "uint160"
                                  }
                                },
                                "src": "16595:43:158",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint160",
                                  "typeString": "uint160"
                                }
                              },
                              "id": 30064,
                              "nodeType": "ExpressionStatement",
                              "src": "16595:43:158"
                            }
                          ]
                        }
                      },
                      {
                        "expression": {
                          "components": [
                            {
                              "expression": {
                                "id": 30077,
                                "name": "last",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 30035,
                                "src": "16765:4:158",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_struct$_Checkpoint160_$29811_memory_ptr",
                                  "typeString": "struct Checkpoints.Checkpoint160 memory"
                                }
                              },
                              "id": 30078,
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "memberName": "_value",
                              "nodeType": "MemberAccess",
                              "referencedDeclaration": 29810,
                              "src": "16765:11:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint160",
                                "typeString": "uint160"
                              }
                            },
                            {
                              "id": 30079,
                              "name": "value",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 30018,
                              "src": "16778:5:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint160",
                                "typeString": "uint160"
                              }
                            }
                          ],
                          "id": 30080,
                          "isConstant": false,
                          "isInlineArray": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "nodeType": "TupleExpression",
                          "src": "16764:20:158",
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$_t_uint160_$_t_uint160_$",
                            "typeString": "tuple(uint160,uint160)"
                          }
                        },
                        "functionReturnParameters": 30024,
                        "id": 30081,
                        "nodeType": "Return",
                        "src": "16757:27:158"
                      }
                    ]
                  }
                }
              ]
            },
            "documentation": {
              "id": 30010,
              "nodeType": "StructuredDocumentation",
              "src": "15879:165:158",
              "text": " @dev Pushes a (`key`, `value`) pair into an ordered list of checkpoints, either by inserting a new checkpoint,\n or by updating the last one."
            },
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "_insert",
            "nameLocation": "16058:7:158",
            "parameters": {
              "id": 30019,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 30014,
                  "mutability": "mutable",
                  "name": "self",
                  "nameLocation": "16099:4:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 30099,
                  "src": "16075:28:158",
                  "stateVariable": false,
                  "storageLocation": "storage",
                  "typeDescriptions": {
                    "typeIdentifier": "t_array$_t_struct$_Checkpoint160_$29811_storage_$dyn_storage_ptr",
                    "typeString": "struct Checkpoints.Checkpoint160[]"
                  },
                  "typeName": {
                    "baseType": {
                      "id": 30012,
                      "nodeType": "UserDefinedTypeName",
                      "pathNode": {
                        "id": 30011,
                        "name": "Checkpoint160",
                        "nodeType": "IdentifierPath",
                        "referencedDeclaration": 29811,
                        "src": "16075:13:158"
                      },
                      "referencedDeclaration": 29811,
                      "src": "16075:13:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_Checkpoint160_$29811_storage_ptr",
                        "typeString": "struct Checkpoints.Checkpoint160"
                      }
                    },
                    "id": 30013,
                    "nodeType": "ArrayTypeName",
                    "src": "16075:15:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_array$_t_struct$_Checkpoint160_$29811_storage_$dyn_storage_ptr",
                      "typeString": "struct Checkpoints.Checkpoint160[]"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 30016,
                  "mutability": "mutable",
                  "name": "key",
                  "nameLocation": "16120:3:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 30099,
                  "src": "16113:10:158",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint96",
                    "typeString": "uint96"
                  },
                  "typeName": {
                    "id": 30015,
                    "name": "uint96",
                    "nodeType": "ElementaryTypeName",
                    "src": "16113:6:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint96",
                      "typeString": "uint96"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 30018,
                  "mutability": "mutable",
                  "name": "value",
                  "nameLocation": "16141:5:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 30099,
                  "src": "16133:13:158",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint160",
                    "typeString": "uint160"
                  },
                  "typeName": {
                    "id": 30017,
                    "name": "uint160",
                    "nodeType": "ElementaryTypeName",
                    "src": "16133:7:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint160",
                      "typeString": "uint160"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "16065:87:158"
            },
            "returnParameters": {
              "id": 30024,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 30021,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 30099,
                  "src": "16170:7:158",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint160",
                    "typeString": "uint160"
                  },
                  "typeName": {
                    "id": 30020,
                    "name": "uint160",
                    "nodeType": "ElementaryTypeName",
                    "src": "16170:7:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint160",
                      "typeString": "uint160"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 30023,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 30099,
                  "src": "16179:7:158",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint160",
                    "typeString": "uint160"
                  },
                  "typeName": {
                    "id": 30022,
                    "name": "uint160",
                    "nodeType": "ElementaryTypeName",
                    "src": "16179:7:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint160",
                      "typeString": "uint160"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "16169:18:158"
            },
            "scope": 30219,
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "private"
          },
          {
            "id": 30151,
            "nodeType": "FunctionDefinition",
            "src": "17246:433:158",
            "nodes": [],
            "body": {
              "id": 30150,
              "nodeType": "Block",
              "src": "17412:267:158",
              "nodes": [],
              "statements": [
                {
                  "body": {
                    "id": 30146,
                    "nodeType": "Block",
                    "src": "17441:211:158",
                    "statements": [
                      {
                        "assignments": [
                          30119
                        ],
                        "declarations": [
                          {
                            "constant": false,
                            "id": 30119,
                            "mutability": "mutable",
                            "name": "mid",
                            "nameLocation": "17463:3:158",
                            "nodeType": "VariableDeclaration",
                            "scope": 30146,
                            "src": "17455:11:158",
                            "stateVariable": false,
                            "storageLocation": "default",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            },
                            "typeName": {
                              "id": 30118,
                              "name": "uint256",
                              "nodeType": "ElementaryTypeName",
                              "src": "17455:7:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "visibility": "internal"
                          }
                        ],
                        "id": 30125,
                        "initialValue": {
                          "arguments": [
                            {
                              "id": 30122,
                              "name": "low",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 30108,
                              "src": "17482:3:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            {
                              "id": 30123,
                              "name": "high",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 30110,
                              "src": "17487:4:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            ],
                            "expression": {
                              "id": 30120,
                              "name": "Math",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 40331,
                              "src": "17469:4:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_type$_t_contract$_Math_$40331_$",
                                "typeString": "type(library Math)"
                              }
                            },
                            "id": 30121,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "average",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 39531,
                            "src": "17469:12:158",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$",
                              "typeString": "function (uint256,uint256) pure returns (uint256)"
                            }
                          },
                          "id": 30124,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "17469:23:158",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "VariableDeclarationStatement",
                        "src": "17455:37:158"
                      },
                      {
                        "condition": {
                          "commonType": {
                            "typeIdentifier": "t_uint96",
                            "typeString": "uint96"
                          },
                          "id": 30132,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftExpression": {
                            "expression": {
                              "arguments": [
                                {
                                  "id": 30127,
                                  "name": "self",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 30104,
                                  "src": "17524:4:158",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_array$_t_struct$_Checkpoint160_$29811_storage_$dyn_storage_ptr",
                                    "typeString": "struct Checkpoints.Checkpoint160 storage ref[] storage pointer"
                                  }
                                },
                                {
                                  "id": 30128,
                                  "name": "mid",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 30119,
                                  "src": "17530:3:158",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                }
                              ],
                              "expression": {
                                "argumentTypes": [
                                  {
                                    "typeIdentifier": "t_array$_t_struct$_Checkpoint160_$29811_storage_$dyn_storage_ptr",
                                    "typeString": "struct Checkpoints.Checkpoint160 storage ref[] storage pointer"
                                  },
                                  {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                ],
                                "id": 30126,
                                "name": "_unsafeAccess",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [
                                  29384,
                                  29801,
                                  30218
                                ],
                                "referencedDeclaration": 30218,
                                "src": "17510:13:158",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_function_internal_pure$_t_array$_t_struct$_Checkpoint160_$29811_storage_$dyn_storage_ptr_$_t_uint256_$returns$_t_struct$_Checkpoint160_$29811_storage_ptr_$",
                                  "typeString": "function (struct Checkpoints.Checkpoint160 storage ref[] storage pointer,uint256) pure returns (struct Checkpoints.Checkpoint160 storage pointer)"
                                }
                              },
                              "id": 30129,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "kind": "functionCall",
                              "lValueRequested": false,
                              "names": [],
                              "nodeType": "FunctionCall",
                              "src": "17510:24:158",
                              "tryCall": false,
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_Checkpoint160_$29811_storage_ptr",
                                "typeString": "struct Checkpoints.Checkpoint160 storage pointer"
                              }
                            },
                            "id": 30130,
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "_key",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 29808,
                            "src": "17510:29:158",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint96",
                              "typeString": "uint96"
                            }
                          },
                          "nodeType": "BinaryOperation",
                          "operator": ">",
                          "rightExpression": {
                            "id": 30131,
                            "name": "key",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 30106,
                            "src": "17542:3:158",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint96",
                              "typeString": "uint96"
                            }
                          },
                          "src": "17510:35:158",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          }
                        },
                        "falseBody": {
                          "id": 30144,
                          "nodeType": "Block",
                          "src": "17596:46:158",
                          "statements": [
                            {
                              "expression": {
                                "id": 30142,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "leftHandSide": {
                                  "id": 30138,
                                  "name": "low",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 30108,
                                  "src": "17614:3:158",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "nodeType": "Assignment",
                                "operator": "=",
                                "rightHandSide": {
                                  "commonType": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  },
                                  "id": 30141,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "leftExpression": {
                                    "id": 30139,
                                    "name": "mid",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 30119,
                                    "src": "17620:3:158",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_uint256",
                                      "typeString": "uint256"
                                    }
                                  },
                                  "nodeType": "BinaryOperation",
                                  "operator": "+",
                                  "rightExpression": {
                                    "hexValue": "31",
                                    "id": 30140,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": true,
                                    "kind": "number",
                                    "lValueRequested": false,
                                    "nodeType": "Literal",
                                    "src": "17626:1:158",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_rational_1_by_1",
                                      "typeString": "int_const 1"
                                    },
                                    "value": "1"
                                  },
                                  "src": "17620:7:158",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "src": "17614:13:158",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "id": 30143,
                              "nodeType": "ExpressionStatement",
                              "src": "17614:13:158"
                            }
                          ]
                        },
                        "id": 30145,
                        "nodeType": "IfStatement",
                        "src": "17506:136:158",
                        "trueBody": {
                          "id": 30137,
                          "nodeType": "Block",
                          "src": "17547:43:158",
                          "statements": [
                            {
                              "expression": {
                                "id": 30135,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "leftHandSide": {
                                  "id": 30133,
                                  "name": "high",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 30110,
                                  "src": "17565:4:158",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "nodeType": "Assignment",
                                "operator": "=",
                                "rightHandSide": {
                                  "id": 30134,
                                  "name": "mid",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 30119,
                                  "src": "17572:3:158",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "src": "17565:10:158",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "id": 30136,
                              "nodeType": "ExpressionStatement",
                              "src": "17565:10:158"
                            }
                          ]
                        }
                      }
                    ]
                  },
                  "condition": {
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 30117,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "id": 30115,
                      "name": "low",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 30108,
                      "src": "17429:3:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "<",
                    "rightExpression": {
                      "id": 30116,
                      "name": "high",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 30110,
                      "src": "17435:4:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "17429:10:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 30147,
                  "nodeType": "WhileStatement",
                  "src": "17422:230:158"
                },
                {
                  "expression": {
                    "id": 30148,
                    "name": "high",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 30110,
                    "src": "17668:4:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "functionReturnParameters": 30114,
                  "id": 30149,
                  "nodeType": "Return",
                  "src": "17661:11:158"
                }
              ]
            },
            "documentation": {
              "id": 30100,
              "nodeType": "StructuredDocumentation",
              "src": "16921:320:158",
              "text": " @dev Return the index of the oldest checkpoint whose key is greater than the search key, or `high` if there is none.\n `low` and `high` define a section where to do the search, with inclusive `low` and exclusive `high`.\n WARNING: `high` should not be greater than the array's length."
            },
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "_upperBinaryLookup",
            "nameLocation": "17255:18:158",
            "parameters": {
              "id": 30111,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 30104,
                  "mutability": "mutable",
                  "name": "self",
                  "nameLocation": "17307:4:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 30151,
                  "src": "17283:28:158",
                  "stateVariable": false,
                  "storageLocation": "storage",
                  "typeDescriptions": {
                    "typeIdentifier": "t_array$_t_struct$_Checkpoint160_$29811_storage_$dyn_storage_ptr",
                    "typeString": "struct Checkpoints.Checkpoint160[]"
                  },
                  "typeName": {
                    "baseType": {
                      "id": 30102,
                      "nodeType": "UserDefinedTypeName",
                      "pathNode": {
                        "id": 30101,
                        "name": "Checkpoint160",
                        "nodeType": "IdentifierPath",
                        "referencedDeclaration": 29811,
                        "src": "17283:13:158"
                      },
                      "referencedDeclaration": 29811,
                      "src": "17283:13:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_Checkpoint160_$29811_storage_ptr",
                        "typeString": "struct Checkpoints.Checkpoint160"
                      }
                    },
                    "id": 30103,
                    "nodeType": "ArrayTypeName",
                    "src": "17283:15:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_array$_t_struct$_Checkpoint160_$29811_storage_$dyn_storage_ptr",
                      "typeString": "struct Checkpoints.Checkpoint160[]"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 30106,
                  "mutability": "mutable",
                  "name": "key",
                  "nameLocation": "17328:3:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 30151,
                  "src": "17321:10:158",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint96",
                    "typeString": "uint96"
                  },
                  "typeName": {
                    "id": 30105,
                    "name": "uint96",
                    "nodeType": "ElementaryTypeName",
                    "src": "17321:6:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint96",
                      "typeString": "uint96"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 30108,
                  "mutability": "mutable",
                  "name": "low",
                  "nameLocation": "17349:3:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 30151,
                  "src": "17341:11:158",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 30107,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "17341:7:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 30110,
                  "mutability": "mutable",
                  "name": "high",
                  "nameLocation": "17370:4:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 30151,
                  "src": "17362:12:158",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 30109,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "17362:7:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "17273:107:158"
            },
            "returnParameters": {
              "id": 30114,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 30113,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 30151,
                  "src": "17403:7:158",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 30112,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "17403:7:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "17402:9:158"
            },
            "scope": 30219,
            "stateMutability": "view",
            "virtual": false,
            "visibility": "private"
          },
          {
            "id": 30203,
            "nodeType": "FunctionDefinition",
            "src": "18019:433:158",
            "nodes": [],
            "body": {
              "id": 30202,
              "nodeType": "Block",
              "src": "18185:267:158",
              "nodes": [],
              "statements": [
                {
                  "body": {
                    "id": 30198,
                    "nodeType": "Block",
                    "src": "18214:211:158",
                    "statements": [
                      {
                        "assignments": [
                          30171
                        ],
                        "declarations": [
                          {
                            "constant": false,
                            "id": 30171,
                            "mutability": "mutable",
                            "name": "mid",
                            "nameLocation": "18236:3:158",
                            "nodeType": "VariableDeclaration",
                            "scope": 30198,
                            "src": "18228:11:158",
                            "stateVariable": false,
                            "storageLocation": "default",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            },
                            "typeName": {
                              "id": 30170,
                              "name": "uint256",
                              "nodeType": "ElementaryTypeName",
                              "src": "18228:7:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "visibility": "internal"
                          }
                        ],
                        "id": 30177,
                        "initialValue": {
                          "arguments": [
                            {
                              "id": 30174,
                              "name": "low",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 30160,
                              "src": "18255:3:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            {
                              "id": 30175,
                              "name": "high",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 30162,
                              "src": "18260:4:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            ],
                            "expression": {
                              "id": 30172,
                              "name": "Math",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 40331,
                              "src": "18242:4:158",
                              "typeDescriptions": {
                                "typeIdentifier": "t_type$_t_contract$_Math_$40331_$",
                                "typeString": "type(library Math)"
                              }
                            },
                            "id": 30173,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "average",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 39531,
                            "src": "18242:12:158",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$",
                              "typeString": "function (uint256,uint256) pure returns (uint256)"
                            }
                          },
                          "id": 30176,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "18242:23:158",
                          "tryCall": false,
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "VariableDeclarationStatement",
                        "src": "18228:37:158"
                      },
                      {
                        "condition": {
                          "commonType": {
                            "typeIdentifier": "t_uint96",
                            "typeString": "uint96"
                          },
                          "id": 30184,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftExpression": {
                            "expression": {
                              "arguments": [
                                {
                                  "id": 30179,
                                  "name": "self",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 30156,
                                  "src": "18297:4:158",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_array$_t_struct$_Checkpoint160_$29811_storage_$dyn_storage_ptr",
                                    "typeString": "struct Checkpoints.Checkpoint160 storage ref[] storage pointer"
                                  }
                                },
                                {
                                  "id": 30180,
                                  "name": "mid",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 30171,
                                  "src": "18303:3:158",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                }
                              ],
                              "expression": {
                                "argumentTypes": [
                                  {
                                    "typeIdentifier": "t_array$_t_struct$_Checkpoint160_$29811_storage_$dyn_storage_ptr",
                                    "typeString": "struct Checkpoints.Checkpoint160 storage ref[] storage pointer"
                                  },
                                  {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                ],
                                "id": 30178,
                                "name": "_unsafeAccess",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [
                                  29384,
                                  29801,
                                  30218
                                ],
                                "referencedDeclaration": 30218,
                                "src": "18283:13:158",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_function_internal_pure$_t_array$_t_struct$_Checkpoint160_$29811_storage_$dyn_storage_ptr_$_t_uint256_$returns$_t_struct$_Checkpoint160_$29811_storage_ptr_$",
                                  "typeString": "function (struct Checkpoints.Checkpoint160 storage ref[] storage pointer,uint256) pure returns (struct Checkpoints.Checkpoint160 storage pointer)"
                                }
                              },
                              "id": 30181,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "kind": "functionCall",
                              "lValueRequested": false,
                              "names": [],
                              "nodeType": "FunctionCall",
                              "src": "18283:24:158",
                              "tryCall": false,
                              "typeDescriptions": {
                                "typeIdentifier": "t_struct$_Checkpoint160_$29811_storage_ptr",
                                "typeString": "struct Checkpoints.Checkpoint160 storage pointer"
                              }
                            },
                            "id": 30182,
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "_key",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": 29808,
                            "src": "18283:29:158",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint96",
                              "typeString": "uint96"
                            }
                          },
                          "nodeType": "BinaryOperation",
                          "operator": "<",
                          "rightExpression": {
                            "id": 30183,
                            "name": "key",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 30158,
                            "src": "18315:3:158",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint96",
                              "typeString": "uint96"
                            }
                          },
                          "src": "18283:35:158",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          }
                        },
                        "falseBody": {
                          "id": 30196,
                          "nodeType": "Block",
                          "src": "18372:43:158",
                          "statements": [
                            {
                              "expression": {
                                "id": 30194,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "leftHandSide": {
                                  "id": 30192,
                                  "name": "high",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 30162,
                                  "src": "18390:4:158",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "nodeType": "Assignment",
                                "operator": "=",
                                "rightHandSide": {
                                  "id": 30193,
                                  "name": "mid",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 30171,
                                  "src": "18397:3:158",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "src": "18390:10:158",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "id": 30195,
                              "nodeType": "ExpressionStatement",
                              "src": "18390:10:158"
                            }
                          ]
                        },
                        "id": 30197,
                        "nodeType": "IfStatement",
                        "src": "18279:136:158",
                        "trueBody": {
                          "id": 30191,
                          "nodeType": "Block",
                          "src": "18320:46:158",
                          "statements": [
                            {
                              "expression": {
                                "id": 30189,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "leftHandSide": {
                                  "id": 30185,
                                  "name": "low",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 30160,
                                  "src": "18338:3:158",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "nodeType": "Assignment",
                                "operator": "=",
                                "rightHandSide": {
                                  "commonType": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  },
                                  "id": 30188,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "leftExpression": {
                                    "id": 30186,
                                    "name": "mid",
                                    "nodeType": "Identifier",
                                    "overloadedDeclarations": [],
                                    "referencedDeclaration": 30171,
                                    "src": "18344:3:158",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_uint256",
                                      "typeString": "uint256"
                                    }
                                  },
                                  "nodeType": "BinaryOperation",
                                  "operator": "+",
                                  "rightExpression": {
                                    "hexValue": "31",
                                    "id": 30187,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": true,
                                    "kind": "number",
                                    "lValueRequested": false,
                                    "nodeType": "Literal",
                                    "src": "18350:1:158",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_rational_1_by_1",
                                      "typeString": "int_const 1"
                                    },
                                    "value": "1"
                                  },
                                  "src": "18344:7:158",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_uint256",
                                    "typeString": "uint256"
                                  }
                                },
                                "src": "18338:13:158",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              "id": 30190,
                              "nodeType": "ExpressionStatement",
                              "src": "18338:13:158"
                            }
                          ]
                        }
                      }
                    ]
                  },
                  "condition": {
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 30169,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "id": 30167,
                      "name": "low",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 30160,
                      "src": "18202:3:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "<",
                    "rightExpression": {
                      "id": 30168,
                      "name": "high",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 30162,
                      "src": "18208:4:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "18202:10:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 30199,
                  "nodeType": "WhileStatement",
                  "src": "18195:230:158"
                },
                {
                  "expression": {
                    "id": 30200,
                    "name": "high",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 30162,
                    "src": "18441:4:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "functionReturnParameters": 30166,
                  "id": 30201,
                  "nodeType": "Return",
                  "src": "18434:11:158"
                }
              ]
            },
            "documentation": {
              "id": 30152,
              "nodeType": "StructuredDocumentation",
              "src": "17685:329:158",
              "text": " @dev Return the index of the oldest checkpoint whose key is greater or equal than the search key, or `high` if there is none.\n `low` and `high` define a section where to do the search, with inclusive `low` and exclusive `high`.\n WARNING: `high` should not be greater than the array's length."
            },
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "_lowerBinaryLookup",
            "nameLocation": "18028:18:158",
            "parameters": {
              "id": 30163,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 30156,
                  "mutability": "mutable",
                  "name": "self",
                  "nameLocation": "18080:4:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 30203,
                  "src": "18056:28:158",
                  "stateVariable": false,
                  "storageLocation": "storage",
                  "typeDescriptions": {
                    "typeIdentifier": "t_array$_t_struct$_Checkpoint160_$29811_storage_$dyn_storage_ptr",
                    "typeString": "struct Checkpoints.Checkpoint160[]"
                  },
                  "typeName": {
                    "baseType": {
                      "id": 30154,
                      "nodeType": "UserDefinedTypeName",
                      "pathNode": {
                        "id": 30153,
                        "name": "Checkpoint160",
                        "nodeType": "IdentifierPath",
                        "referencedDeclaration": 29811,
                        "src": "18056:13:158"
                      },
                      "referencedDeclaration": 29811,
                      "src": "18056:13:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_Checkpoint160_$29811_storage_ptr",
                        "typeString": "struct Checkpoints.Checkpoint160"
                      }
                    },
                    "id": 30155,
                    "nodeType": "ArrayTypeName",
                    "src": "18056:15:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_array$_t_struct$_Checkpoint160_$29811_storage_$dyn_storage_ptr",
                      "typeString": "struct Checkpoints.Checkpoint160[]"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 30158,
                  "mutability": "mutable",
                  "name": "key",
                  "nameLocation": "18101:3:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 30203,
                  "src": "18094:10:158",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint96",
                    "typeString": "uint96"
                  },
                  "typeName": {
                    "id": 30157,
                    "name": "uint96",
                    "nodeType": "ElementaryTypeName",
                    "src": "18094:6:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint96",
                      "typeString": "uint96"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 30160,
                  "mutability": "mutable",
                  "name": "low",
                  "nameLocation": "18122:3:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 30203,
                  "src": "18114:11:158",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 30159,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "18114:7:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 30162,
                  "mutability": "mutable",
                  "name": "high",
                  "nameLocation": "18143:4:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 30203,
                  "src": "18135:12:158",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 30161,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "18135:7:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "18046:107:158"
            },
            "returnParameters": {
              "id": 30166,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 30165,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 30203,
                  "src": "18176:7:158",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 30164,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "18176:7:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "18175:9:158"
            },
            "scope": 30219,
            "stateMutability": "view",
            "virtual": false,
            "visibility": "private"
          },
          {
            "id": 30218,
            "nodeType": "FunctionDefinition",
            "src": "18595:271:158",
            "nodes": [],
            "body": {
              "id": 30217,
              "nodeType": "Block",
              "src": "18741:125:158",
              "nodes": [],
              "statements": [
                {
                  "AST": {
                    "nodeType": "YulBlock",
                    "src": "18760:100:158",
                    "statements": [
                      {
                        "expression": {
                          "arguments": [
                            {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "18781:1:158",
                              "type": "",
                              "value": "0"
                            },
                            {
                              "name": "self.slot",
                              "nodeType": "YulIdentifier",
                              "src": "18784:9:158"
                            }
                          ],
                          "functionName": {
                            "name": "mstore",
                            "nodeType": "YulIdentifier",
                            "src": "18774:6:158"
                          },
                          "nodeType": "YulFunctionCall",
                          "src": "18774:20:158"
                        },
                        "nodeType": "YulExpressionStatement",
                        "src": "18774:20:158"
                      },
                      {
                        "nodeType": "YulAssignment",
                        "src": "18807:43:158",
                        "value": {
                          "arguments": [
                            {
                              "arguments": [
                                {
                                  "kind": "number",
                                  "nodeType": "YulLiteral",
                                  "src": "18836:1:158",
                                  "type": "",
                                  "value": "0"
                                },
                                {
                                  "kind": "number",
                                  "nodeType": "YulLiteral",
                                  "src": "18839:4:158",
                                  "type": "",
                                  "value": "0x20"
                                }
                              ],
                              "functionName": {
                                "name": "keccak256",
                                "nodeType": "YulIdentifier",
                                "src": "18826:9:158"
                              },
                              "nodeType": "YulFunctionCall",
                              "src": "18826:18:158"
                            },
                            {
                              "name": "pos",
                              "nodeType": "YulIdentifier",
                              "src": "18846:3:158"
                            }
                          ],
                          "functionName": {
                            "name": "add",
                            "nodeType": "YulIdentifier",
                            "src": "18822:3:158"
                          },
                          "nodeType": "YulFunctionCall",
                          "src": "18822:28:158"
                        },
                        "variableNames": [
                          {
                            "name": "result.slot",
                            "nodeType": "YulIdentifier",
                            "src": "18807:11:158"
                          }
                        ]
                      }
                    ]
                  },
                  "evmVersion": "berlin",
                  "externalReferences": [
                    {
                      "declaration": 30210,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "18846:3:158",
                      "valueSize": 1
                    },
                    {
                      "declaration": 30214,
                      "isOffset": false,
                      "isSlot": true,
                      "src": "18807:11:158",
                      "suffix": "slot",
                      "valueSize": 1
                    },
                    {
                      "declaration": 30208,
                      "isOffset": false,
                      "isSlot": true,
                      "src": "18784:9:158",
                      "suffix": "slot",
                      "valueSize": 1
                    }
                  ],
                  "id": 30216,
                  "nodeType": "InlineAssembly",
                  "src": "18751:109:158"
                }
              ]
            },
            "documentation": {
              "id": 30204,
              "nodeType": "StructuredDocumentation",
              "src": "18458:132:158",
              "text": " @dev Access an element of the array without performing bounds check. The position is assumed to be within bounds."
            },
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "_unsafeAccess",
            "nameLocation": "18604:13:158",
            "parameters": {
              "id": 30211,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 30208,
                  "mutability": "mutable",
                  "name": "self",
                  "nameLocation": "18642:4:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 30218,
                  "src": "18618:28:158",
                  "stateVariable": false,
                  "storageLocation": "storage",
                  "typeDescriptions": {
                    "typeIdentifier": "t_array$_t_struct$_Checkpoint160_$29811_storage_$dyn_storage_ptr",
                    "typeString": "struct Checkpoints.Checkpoint160[]"
                  },
                  "typeName": {
                    "baseType": {
                      "id": 30206,
                      "nodeType": "UserDefinedTypeName",
                      "pathNode": {
                        "id": 30205,
                        "name": "Checkpoint160",
                        "nodeType": "IdentifierPath",
                        "referencedDeclaration": 29811,
                        "src": "18618:13:158"
                      },
                      "referencedDeclaration": 29811,
                      "src": "18618:13:158",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_Checkpoint160_$29811_storage_ptr",
                        "typeString": "struct Checkpoints.Checkpoint160"
                      }
                    },
                    "id": 30207,
                    "nodeType": "ArrayTypeName",
                    "src": "18618:15:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_array$_t_struct$_Checkpoint160_$29811_storage_$dyn_storage_ptr",
                      "typeString": "struct Checkpoints.Checkpoint160[]"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 30210,
                  "mutability": "mutable",
                  "name": "pos",
                  "nameLocation": "18656:3:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 30218,
                  "src": "18648:11:158",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 30209,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "18648:7:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "18617:43:158"
            },
            "returnParameters": {
              "id": 30215,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 30214,
                  "mutability": "mutable",
                  "name": "result",
                  "nameLocation": "18729:6:158",
                  "nodeType": "VariableDeclaration",
                  "scope": 30218,
                  "src": "18707:28:158",
                  "stateVariable": false,
                  "storageLocation": "storage",
                  "typeDescriptions": {
                    "typeIdentifier": "t_struct$_Checkpoint160_$29811_storage_ptr",
                    "typeString": "struct Checkpoints.Checkpoint160"
                  },
                  "typeName": {
                    "id": 30213,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 30212,
                      "name": "Checkpoint160",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 29811,
                      "src": "18707:13:158"
                    },
                    "referencedDeclaration": 29811,
                    "src": "18707:13:158",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_Checkpoint160_$29811_storage_ptr",
                      "typeString": "struct Checkpoints.Checkpoint160"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "18706:30:158"
            },
            "scope": 30219,
            "stateMutability": "pure",
            "virtual": false,
            "visibility": "private"
          }
        ],
        "abstract": false,
        "baseContracts": [],
        "contractDependencies": [],
        "contractKind": "library",
        "documentation": {
          "id": 28853,
          "nodeType": "StructuredDocumentation",
          "src": "275:432:158",
          "text": " @dev This library defines the `History` struct, for checkpointing values as they change at different points in\n time, and later looking up past values by block number. See {Votes} as an example.\n To create a history of checkpoints define a variable type `Checkpoints.History` in your contract, and store a new\n checkpoint for the current transaction block using the {push} function.\n _Available since v4.5._"
        },
        "fullyImplemented": true,
        "linearizedBaseContracts": [
          30219
        ],
        "name": "Checkpoints",
        "nameLocation": "716:11:158",
        "scope": 30220,
        "usedErrors": []
      }
    ],
    "license": "MIT"
  },
  "id": 158
}