{
  "contractName": "MockRelay",
  "abi": [
    {
      "constant": true,
      "inputs": [],
      "name": "getCurrentEpochDifficulty",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "getPrevEpochDifficulty",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "internalType": "uint256",
          "name": "_current",
          "type": "uint256"
        }
      ],
      "name": "setCurrentEpochDifficulty",
      "outputs": [],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "internalType": "uint256",
          "name": "_previous",
          "type": "uint256"
        }
      ],
      "name": "setPrevEpochDifficulty",
      "outputs": [],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    }
  ],
  "metadata": "{\"compiler\":{\"version\":\"0.5.17+commit.d19bba13\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"constant\":true,\"inputs\":[],\"name\":\"getCurrentEpochDifficulty\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getPrevEpochDifficulty\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_current\",\"type\":\"uint256\"}],\"name\":\"setCurrentEpochDifficulty\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_previous\",\"type\":\"uint256\"}],\"name\":\"setPrevEpochDifficulty\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"methods\":{}},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"/home/runner/work/tbtc/tbtc/solidity/contracts/test/relay/MockRelay.sol\":\"MockRelay\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/runner/work/tbtc/tbtc/solidity/contracts/test/relay/MockRelay.sol\":{\"keccak256\":\"0xd9ba8c6f535a294b9d46c0c710e6538366135e139c9111f534a8072c4daf6304\",\"urls\":[\"bzz-raw://26384c778de51fb730fe1936979437426f5d37a6ebd1d53b42c3c6a92a468fa2\",\"dweb:/ipfs/QmUaFXKXwTKBKuwajKKoYHJG4rpABT1R65Mhf5t392YcAG\"]},\"@summa-tx/bitcoin-spv-sol/contracts/BTCUtils.sol\":{\"keccak256\":\"0x461cc52e40ba53e646f5c9505b992baa3d5b3c98ae5718561e61b3bc6c726d52\",\"urls\":[\"bzz-raw://90cf2e608b660671642a616ec044e2a39e8ceb7079315b6133ec978c47af9f98\",\"dweb:/ipfs/QmX4hyYS99RYWiQ7BwLXuvQpU5x62YbjJWLgYFwrPkYbzT\"]},\"@summa-tx/bitcoin-spv-sol/contracts/BytesLib.sol\":{\"keccak256\":\"0x43451fdb4c4d55c01122411a4cf89a5c544c2bd4b646ee1d1f306626275324bf\",\"urls\":[\"bzz-raw://db93f07c32fa294d416aaab1b19a205772f2a3fa573fd380e5641e7770193ccf\",\"dweb:/ipfs/QmVE4y8cFKWZGKEfTM9Q3YreAArpMTTALHNr2tcvcNDnbi\"]},\"@summa-tx/bitcoin-spv-sol/contracts/SafeMath.sol\":{\"keccak256\":\"0x22d34c04c68c2a77ee83e2ef3756f6e6bad6ad675560d777e612315d7eb83935\",\"urls\":[\"bzz-raw://b642c61be1d34e153e4f9cc139291fa26f4ecf31a3acc5b960aad20f4f689eeb\",\"dweb:/ipfs/QmWADdVTCSyvtgb76AxFFkAr9h9jbY57Mj5X6xiEqCqmMu\"]},\"@summa-tx/bitcoin-spv-sol/contracts/ValidateSPV.sol\":{\"keccak256\":\"0x9af3b3f36de63e95977f09548617989e391b3c511cf0383ee35cefd5da7d3bfd\",\"urls\":[\"bzz-raw://97ce025c7d18540e4c24578db61cc5e33828be8e9a82b5cb5f46c99212f75ed1\",\"dweb:/ipfs/QmRrdWnd95rgCZzeaNiU4KUcGe1j7oDBj7LatpXhUmjbEE\"]},\"@summa-tx/relay-sol/contracts/Interfaces.sol\":{\"keccak256\":\"0x6f2698f8aab5cee319f36d69438b6870496a5523e7ccac4b465cdb38661242fa\",\"urls\":[\"bzz-raw://7f854c72db81631d1df800ae0c5fb0a50dc9efd97b0e6593b063c9fb1c61ef9e\",\"dweb:/ipfs/QmUMSQhzYKRSkLTGcHekjqvw1mLpeUULZkfffRdN521NBg\"]},\"@summa-tx/relay-sol/contracts/OnDemandSPV.sol\":{\"keccak256\":\"0x56757b0c8220558cd8c34a8c2679d74b7fe4769c087d6539068608a1ccc1bce2\",\"urls\":[\"bzz-raw://625fee9260c177bcf13bcca7001cec542edb91e9f0150fc5f2943df5a9961877\",\"dweb:/ipfs/QmfJWuP4snnVYnpjHypJgZLxzBW17ZhnfPnzpBtt2yLAUG\"]},\"@summa-tx/relay-sol/contracts/Relay.sol\":{\"keccak256\":\"0x4a6d12fa6570e2c787f9dc234edae9c1eb326e78eb2c6384c84d2b6ba0a0ad7e\",\"urls\":[\"bzz-raw://fa5365dc5a8312d0305568dbf297964be13567a7879395bfc3e99be2510e4e10\",\"dweb:/ipfs/QmfGZz6iL45xPcwQTT3XFAqb7McuY89niBEvfbhy513moF\"]},\"@summa-tx/relay-sol/contracts/TestnetRelay.sol\":{\"keccak256\":\"0x04883856ccd9e6688d757af666ab04f0ab5e56bbb2f500966da3b27f3031366b\",\"urls\":[\"bzz-raw://204a0a0683bc53608086ed3ed0ef41b36bc96b5df5862fd0c2b72dfad0bf8541\",\"dweb:/ipfs/QmdVUw96EjBBks1cRnX6uCwXtsjJVR7P5zHhwaedjEfpFE\"]}},\"version\":1}",
  "bytecode": "0x608060405260016000556001805534801561001957600080fd5b5060ea806100286000396000f3fe6080604052348015600f57600080fd5b506004361060465760003560e01c8063113764be14604b5780632b97be241460635780633c5e87521460695780637d4046fb146085575b600080fd5b6051609f565b60408051918252519081900360200190f35b605160a5565b608360048036036020811015607d57600080fd5b503560ab565b005b608360048036036020811015609957600080fd5b503560b0565b60005490565b60015490565b600155565b60005556fea265627a7a7231582034b2905f2fe02aac47cdeb9b542b2f1018736d10e249893bb8b944481df7851d64736f6c63430005110032",
  "deployedBytecode": "0x6080604052348015600f57600080fd5b506004361060465760003560e01c8063113764be14604b5780632b97be241460635780633c5e87521460695780637d4046fb146085575b600080fd5b6051609f565b60408051918252519081900360200190f35b605160a5565b608360048036036020811015607d57600080fd5b503560ab565b005b608360048036036020811015609957600080fd5b503560b0565b60005490565b60015490565b600155565b60005556fea265627a7a7231582034b2905f2fe02aac47cdeb9b542b2f1018736d10e249893bb8b944481df7851d64736f6c63430005110032",
  "sourceMap": "271:485:39:-;;;314:1;296:19;;340:1;321:20;;271:485;8:9:-1;5:2;;;30:1;27;20:12;5:2;271:485:39;;;;;;;",
  "deployedSourceMap": "271:485:39:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;271:485:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;348:100;;;:::i;:::-;;;;;;;;;;;;;;;;454:98;;;:::i;659:95::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;659:95:39;;:::i;:::-;;558;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;558:95:39;;:::i;348:100::-;408:7;434;348:100;:::o;454:98::-;537:8;;454:98;:::o;659:95::-;727:8;:20;659:95::o;558:::-;628:7;:18;558:95::o",
  "source": "pragma solidity 0.5.17;\n\n// Import of `TestnetRelay` will build artifacts for `TestnetRelay` and `OnDemandSPVProof`\n// that are required by the migration script but are not used for local contracts\n// deployment.\nimport \"@summa-tx/relay-sol/contracts/TestnetRelay.sol\";\n\ncontract MockRelay {\n    uint256 current = 1;\n    uint256 previous = 1;\n\n    function getCurrentEpochDifficulty() external view returns (uint256) {\n        return current;\n    }\n\n    function getPrevEpochDifficulty() external view returns (uint256) {\n        return previous;\n    }\n\n    function setCurrentEpochDifficulty(uint256 _current) public {\n        current = _current;\n    }\n\n    function setPrevEpochDifficulty(uint256 _previous) public {\n        previous = _previous;\n    }\n}\n",
  "sourcePath": "/home/runner/work/tbtc/tbtc/solidity/contracts/test/relay/MockRelay.sol",
  "ast": {
    "absolutePath": "/home/runner/work/tbtc/tbtc/solidity/contracts/test/relay/MockRelay.sol",
    "exportedSymbols": {
      "MockRelay": [
        10706
      ]
    },
    "id": 10707,
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 10662,
        "literals": [
          "solidity",
          "0.5",
          ".17"
        ],
        "nodeType": "PragmaDirective",
        "src": "0:23:39"
      },
      {
        "absolutePath": "@summa-tx/relay-sol/contracts/TestnetRelay.sol",
        "file": "@summa-tx/relay-sol/contracts/TestnetRelay.sol",
        "id": 10663,
        "nodeType": "ImportDirective",
        "scope": 10707,
        "sourceUnit": 16612,
        "src": "213:56:39",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "baseContracts": [],
        "contractDependencies": [],
        "contractKind": "contract",
        "documentation": null,
        "fullyImplemented": true,
        "id": 10706,
        "linearizedBaseContracts": [
          10706
        ],
        "name": "MockRelay",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "constant": false,
            "id": 10666,
            "name": "current",
            "nodeType": "VariableDeclaration",
            "scope": 10706,
            "src": "296:19:39",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_uint256",
              "typeString": "uint256"
            },
            "typeName": {
              "id": 10664,
              "name": "uint256",
              "nodeType": "ElementaryTypeName",
              "src": "296:7:39",
              "typeDescriptions": {
                "typeIdentifier": "t_uint256",
                "typeString": "uint256"
              }
            },
            "value": {
              "argumentTypes": null,
              "hexValue": "31",
              "id": 10665,
              "isConstant": false,
              "isLValue": false,
              "isPure": true,
              "kind": "number",
              "lValueRequested": false,
              "nodeType": "Literal",
              "src": "314:1:39",
              "subdenomination": null,
              "typeDescriptions": {
                "typeIdentifier": "t_rational_1_by_1",
                "typeString": "int_const 1"
              },
              "value": "1"
            },
            "visibility": "internal"
          },
          {
            "constant": false,
            "id": 10669,
            "name": "previous",
            "nodeType": "VariableDeclaration",
            "scope": 10706,
            "src": "321:20:39",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_uint256",
              "typeString": "uint256"
            },
            "typeName": {
              "id": 10667,
              "name": "uint256",
              "nodeType": "ElementaryTypeName",
              "src": "321:7:39",
              "typeDescriptions": {
                "typeIdentifier": "t_uint256",
                "typeString": "uint256"
              }
            },
            "value": {
              "argumentTypes": null,
              "hexValue": "31",
              "id": 10668,
              "isConstant": false,
              "isLValue": false,
              "isPure": true,
              "kind": "number",
              "lValueRequested": false,
              "nodeType": "Literal",
              "src": "340:1:39",
              "subdenomination": null,
              "typeDescriptions": {
                "typeIdentifier": "t_rational_1_by_1",
                "typeString": "int_const 1"
              },
              "value": "1"
            },
            "visibility": "internal"
          },
          {
            "body": {
              "id": 10676,
              "nodeType": "Block",
              "src": "417:31:39",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 10674,
                    "name": "current",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 10666,
                    "src": "434:7:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "functionReturnParameters": 10673,
                  "id": 10675,
                  "nodeType": "Return",
                  "src": "427:14:39"
                }
              ]
            },
            "documentation": null,
            "id": 10677,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "getCurrentEpochDifficulty",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 10670,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "382:2:39"
            },
            "returnParameters": {
              "id": 10673,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10672,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 10677,
                  "src": "408:7:39",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 10671,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "408:7:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "407:9:39"
            },
            "scope": 10706,
            "src": "348:100:39",
            "stateMutability": "view",
            "superFunction": null,
            "visibility": "external"
          },
          {
            "body": {
              "id": 10684,
              "nodeType": "Block",
              "src": "520:32:39",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 10682,
                    "name": "previous",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 10669,
                    "src": "537:8:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "functionReturnParameters": 10681,
                  "id": 10683,
                  "nodeType": "Return",
                  "src": "530:15:39"
                }
              ]
            },
            "documentation": null,
            "id": 10685,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "getPrevEpochDifficulty",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 10678,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "485:2:39"
            },
            "returnParameters": {
              "id": 10681,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10680,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 10685,
                  "src": "511:7:39",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 10679,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "511:7:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "510:9:39"
            },
            "scope": 10706,
            "src": "454:98:39",
            "stateMutability": "view",
            "superFunction": null,
            "visibility": "external"
          },
          {
            "body": {
              "id": 10694,
              "nodeType": "Block",
              "src": "618:35:39",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 10692,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "id": 10690,
                      "name": "current",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 10666,
                      "src": "628:7:39",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "id": 10691,
                      "name": "_current",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 10687,
                      "src": "638:8:39",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "628:18:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "id": 10693,
                  "nodeType": "ExpressionStatement",
                  "src": "628:18:39"
                }
              ]
            },
            "documentation": null,
            "id": 10695,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "setCurrentEpochDifficulty",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 10688,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10687,
                  "name": "_current",
                  "nodeType": "VariableDeclaration",
                  "scope": 10695,
                  "src": "593:16:39",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 10686,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "593:7:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "592:18:39"
            },
            "returnParameters": {
              "id": 10689,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "618:0:39"
            },
            "scope": 10706,
            "src": "558:95:39",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 10704,
              "nodeType": "Block",
              "src": "717:37:39",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 10702,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "id": 10700,
                      "name": "previous",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 10669,
                      "src": "727:8:39",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "id": 10701,
                      "name": "_previous",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 10697,
                      "src": "738:9:39",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "727:20:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "id": 10703,
                  "nodeType": "ExpressionStatement",
                  "src": "727:20:39"
                }
              ]
            },
            "documentation": null,
            "id": 10705,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "setPrevEpochDifficulty",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 10698,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10697,
                  "name": "_previous",
                  "nodeType": "VariableDeclaration",
                  "scope": 10705,
                  "src": "691:17:39",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 10696,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "691:7:39",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "690:19:39"
            },
            "returnParameters": {
              "id": 10699,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "717:0:39"
            },
            "scope": 10706,
            "src": "659:95:39",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          }
        ],
        "scope": 10707,
        "src": "271:485:39"
      }
    ],
    "src": "0:757:39"
  },
  "legacyAST": {
    "attributes": {
      "absolutePath": "/home/runner/work/tbtc/tbtc/solidity/contracts/test/relay/MockRelay.sol",
      "exportedSymbols": {
        "MockRelay": [
          10706
        ]
      }
    },
    "children": [
      {
        "attributes": {
          "literals": [
            "solidity",
            "0.5",
            ".17"
          ]
        },
        "id": 10662,
        "name": "PragmaDirective",
        "src": "0:23:39"
      },
      {
        "attributes": {
          "SourceUnit": 16612,
          "absolutePath": "@summa-tx/relay-sol/contracts/TestnetRelay.sol",
          "file": "@summa-tx/relay-sol/contracts/TestnetRelay.sol",
          "scope": 10707,
          "symbolAliases": [
            null
          ],
          "unitAlias": ""
        },
        "id": 10663,
        "name": "ImportDirective",
        "src": "213:56:39"
      },
      {
        "attributes": {
          "baseContracts": [
            null
          ],
          "contractDependencies": [
            null
          ],
          "contractKind": "contract",
          "documentation": null,
          "fullyImplemented": true,
          "linearizedBaseContracts": [
            10706
          ],
          "name": "MockRelay",
          "scope": 10707
        },
        "children": [
          {
            "attributes": {
              "constant": false,
              "name": "current",
              "scope": 10706,
              "stateVariable": true,
              "storageLocation": "default",
              "type": "uint256",
              "visibility": "internal"
            },
            "children": [
              {
                "attributes": {
                  "name": "uint256",
                  "type": "uint256"
                },
                "id": 10664,
                "name": "ElementaryTypeName",
                "src": "296:7:39"
              },
              {
                "attributes": {
                  "argumentTypes": null,
                  "hexvalue": "31",
                  "isConstant": false,
                  "isLValue": false,
                  "isPure": true,
                  "lValueRequested": false,
                  "subdenomination": null,
                  "token": "number",
                  "type": "int_const 1",
                  "value": "1"
                },
                "id": 10665,
                "name": "Literal",
                "src": "314:1:39"
              }
            ],
            "id": 10666,
            "name": "VariableDeclaration",
            "src": "296:19:39"
          },
          {
            "attributes": {
              "constant": false,
              "name": "previous",
              "scope": 10706,
              "stateVariable": true,
              "storageLocation": "default",
              "type": "uint256",
              "visibility": "internal"
            },
            "children": [
              {
                "attributes": {
                  "name": "uint256",
                  "type": "uint256"
                },
                "id": 10667,
                "name": "ElementaryTypeName",
                "src": "321:7:39"
              },
              {
                "attributes": {
                  "argumentTypes": null,
                  "hexvalue": "31",
                  "isConstant": false,
                  "isLValue": false,
                  "isPure": true,
                  "lValueRequested": false,
                  "subdenomination": null,
                  "token": "number",
                  "type": "int_const 1",
                  "value": "1"
                },
                "id": 10668,
                "name": "Literal",
                "src": "340:1:39"
              }
            ],
            "id": 10669,
            "name": "VariableDeclaration",
            "src": "321:20:39"
          },
          {
            "attributes": {
              "documentation": null,
              "implemented": true,
              "isConstructor": false,
              "kind": "function",
              "modifiers": [
                null
              ],
              "name": "getCurrentEpochDifficulty",
              "scope": 10706,
              "stateMutability": "view",
              "superFunction": null,
              "visibility": "external"
            },
            "children": [
              {
                "attributes": {
                  "parameters": [
                    null
                  ]
                },
                "children": [],
                "id": 10670,
                "name": "ParameterList",
                "src": "382:2:39"
              },
              {
                "children": [
                  {
                    "attributes": {
                      "constant": false,
                      "name": "",
                      "scope": 10677,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "uint256",
                      "value": null,
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "name": "uint256",
                          "type": "uint256"
                        },
                        "id": 10671,
                        "name": "ElementaryTypeName",
                        "src": "408:7:39"
                      }
                    ],
                    "id": 10672,
                    "name": "VariableDeclaration",
                    "src": "408:7:39"
                  }
                ],
                "id": 10673,
                "name": "ParameterList",
                "src": "407:9:39"
              },
              {
                "children": [
                  {
                    "attributes": {
                      "functionReturnParameters": 10673
                    },
                    "children": [
                      {
                        "attributes": {
                          "argumentTypes": null,
                          "overloadedDeclarations": [
                            null
                          ],
                          "referencedDeclaration": 10666,
                          "type": "uint256",
                          "value": "current"
                        },
                        "id": 10674,
                        "name": "Identifier",
                        "src": "434:7:39"
                      }
                    ],
                    "id": 10675,
                    "name": "Return",
                    "src": "427:14:39"
                  }
                ],
                "id": 10676,
                "name": "Block",
                "src": "417:31:39"
              }
            ],
            "id": 10677,
            "name": "FunctionDefinition",
            "src": "348:100:39"
          },
          {
            "attributes": {
              "documentation": null,
              "implemented": true,
              "isConstructor": false,
              "kind": "function",
              "modifiers": [
                null
              ],
              "name": "getPrevEpochDifficulty",
              "scope": 10706,
              "stateMutability": "view",
              "superFunction": null,
              "visibility": "external"
            },
            "children": [
              {
                "attributes": {
                  "parameters": [
                    null
                  ]
                },
                "children": [],
                "id": 10678,
                "name": "ParameterList",
                "src": "485:2:39"
              },
              {
                "children": [
                  {
                    "attributes": {
                      "constant": false,
                      "name": "",
                      "scope": 10685,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "uint256",
                      "value": null,
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "name": "uint256",
                          "type": "uint256"
                        },
                        "id": 10679,
                        "name": "ElementaryTypeName",
                        "src": "511:7:39"
                      }
                    ],
                    "id": 10680,
                    "name": "VariableDeclaration",
                    "src": "511:7:39"
                  }
                ],
                "id": 10681,
                "name": "ParameterList",
                "src": "510:9:39"
              },
              {
                "children": [
                  {
                    "attributes": {
                      "functionReturnParameters": 10681
                    },
                    "children": [
                      {
                        "attributes": {
                          "argumentTypes": null,
                          "overloadedDeclarations": [
                            null
                          ],
                          "referencedDeclaration": 10669,
                          "type": "uint256",
                          "value": "previous"
                        },
                        "id": 10682,
                        "name": "Identifier",
                        "src": "537:8:39"
                      }
                    ],
                    "id": 10683,
                    "name": "Return",
                    "src": "530:15:39"
                  }
                ],
                "id": 10684,
                "name": "Block",
                "src": "520:32:39"
              }
            ],
            "id": 10685,
            "name": "FunctionDefinition",
            "src": "454:98:39"
          },
          {
            "attributes": {
              "documentation": null,
              "implemented": true,
              "isConstructor": false,
              "kind": "function",
              "modifiers": [
                null
              ],
              "name": "setCurrentEpochDifficulty",
              "scope": 10706,
              "stateMutability": "nonpayable",
              "superFunction": null,
              "visibility": "public"
            },
            "children": [
              {
                "children": [
                  {
                    "attributes": {
                      "constant": false,
                      "name": "_current",
                      "scope": 10695,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "uint256",
                      "value": null,
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "name": "uint256",
                          "type": "uint256"
                        },
                        "id": 10686,
                        "name": "ElementaryTypeName",
                        "src": "593:7:39"
                      }
                    ],
                    "id": 10687,
                    "name": "VariableDeclaration",
                    "src": "593:16:39"
                  }
                ],
                "id": 10688,
                "name": "ParameterList",
                "src": "592:18:39"
              },
              {
                "attributes": {
                  "parameters": [
                    null
                  ]
                },
                "children": [],
                "id": 10689,
                "name": "ParameterList",
                "src": "618:0:39"
              },
              {
                "children": [
                  {
                    "children": [
                      {
                        "attributes": {
                          "argumentTypes": null,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "operator": "=",
                          "type": "uint256"
                        },
                        "children": [
                          {
                            "attributes": {
                              "argumentTypes": null,
                              "overloadedDeclarations": [
                                null
                              ],
                              "referencedDeclaration": 10666,
                              "type": "uint256",
                              "value": "current"
                            },
                            "id": 10690,
                            "name": "Identifier",
                            "src": "628:7:39"
                          },
                          {
                            "attributes": {
                              "argumentTypes": null,
                              "overloadedDeclarations": [
                                null
                              ],
                              "referencedDeclaration": 10687,
                              "type": "uint256",
                              "value": "_current"
                            },
                            "id": 10691,
                            "name": "Identifier",
                            "src": "638:8:39"
                          }
                        ],
                        "id": 10692,
                        "name": "Assignment",
                        "src": "628:18:39"
                      }
                    ],
                    "id": 10693,
                    "name": "ExpressionStatement",
                    "src": "628:18:39"
                  }
                ],
                "id": 10694,
                "name": "Block",
                "src": "618:35:39"
              }
            ],
            "id": 10695,
            "name": "FunctionDefinition",
            "src": "558:95:39"
          },
          {
            "attributes": {
              "documentation": null,
              "implemented": true,
              "isConstructor": false,
              "kind": "function",
              "modifiers": [
                null
              ],
              "name": "setPrevEpochDifficulty",
              "scope": 10706,
              "stateMutability": "nonpayable",
              "superFunction": null,
              "visibility": "public"
            },
            "children": [
              {
                "children": [
                  {
                    "attributes": {
                      "constant": false,
                      "name": "_previous",
                      "scope": 10705,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "uint256",
                      "value": null,
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "name": "uint256",
                          "type": "uint256"
                        },
                        "id": 10696,
                        "name": "ElementaryTypeName",
                        "src": "691:7:39"
                      }
                    ],
                    "id": 10697,
                    "name": "VariableDeclaration",
                    "src": "691:17:39"
                  }
                ],
                "id": 10698,
                "name": "ParameterList",
                "src": "690:19:39"
              },
              {
                "attributes": {
                  "parameters": [
                    null
                  ]
                },
                "children": [],
                "id": 10699,
                "name": "ParameterList",
                "src": "717:0:39"
              },
              {
                "children": [
                  {
                    "children": [
                      {
                        "attributes": {
                          "argumentTypes": null,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "operator": "=",
                          "type": "uint256"
                        },
                        "children": [
                          {
                            "attributes": {
                              "argumentTypes": null,
                              "overloadedDeclarations": [
                                null
                              ],
                              "referencedDeclaration": 10669,
                              "type": "uint256",
                              "value": "previous"
                            },
                            "id": 10700,
                            "name": "Identifier",
                            "src": "727:8:39"
                          },
                          {
                            "attributes": {
                              "argumentTypes": null,
                              "overloadedDeclarations": [
                                null
                              ],
                              "referencedDeclaration": 10697,
                              "type": "uint256",
                              "value": "_previous"
                            },
                            "id": 10701,
                            "name": "Identifier",
                            "src": "738:9:39"
                          }
                        ],
                        "id": 10702,
                        "name": "Assignment",
                        "src": "727:20:39"
                      }
                    ],
                    "id": 10703,
                    "name": "ExpressionStatement",
                    "src": "727:20:39"
                  }
                ],
                "id": 10704,
                "name": "Block",
                "src": "717:37:39"
              }
            ],
            "id": 10705,
            "name": "FunctionDefinition",
            "src": "659:95:39"
          }
        ],
        "id": 10706,
        "name": "ContractDefinition",
        "src": "271:485:39"
      }
    ],
    "id": 10707,
    "name": "SourceUnit",
    "src": "0:757:39"
  },
  "compiler": {
    "name": "solc",
    "version": "0.5.17+commit.d19bba13.Emscripten.clang"
  },
  "networks": {},
  "schemaVersion": "3.3.4",
  "updatedAt": "2021-11-23T12:01:17.282Z",
  "networkType": "ethereum",
  "devdoc": {
    "methods": {}
  },
  "userdoc": {
    "methods": {}
  }
}