{
  "contractName": "ETHBTCPriceFeedMock",
  "abi": [
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "address",
          "name": "previousOwner",
          "type": "address"
        },
        {
          "indexed": true,
          "internalType": "address",
          "name": "newOwner",
          "type": "address"
        }
      ],
      "name": "OwnershipTransferred",
      "type": "event"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "isOwner",
      "outputs": [
        {
          "internalType": "bool",
          "name": "",
          "type": "bool"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "owner",
      "outputs": [
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "peek",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        },
        {
          "internalType": "bool",
          "name": "",
          "type": "bool"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "read",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [],
      "name": "renounceOwnership",
      "outputs": [],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "internalType": "uint256",
          "name": "_value",
          "type": "uint256"
        }
      ],
      "name": "setValue",
      "outputs": [],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "internalType": "address",
          "name": "newOwner",
          "type": "address"
        }
      ],
      "name": "transferOwnership",
      "outputs": [],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    }
  ],
  "metadata": "{\"compiler\":{\"version\":\"0.5.17+commit.d19bba13\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"constant\":true,\"inputs\":[],\"name\":\"isOwner\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"peek\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"read\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"setValue\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"methods\":{\"isOwner()\":{\"details\":\"Returns true if the caller is the current owner.\"},\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"renounceOwnership()\":{\"details\":\"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner.     * > Note: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner.\"},\"transferOwnership(address)\":{\"details\":\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"}}},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"/home/runner/work/tbtc/tbtc/solidity/contracts/test/price-feed/MockMedianizer.sol\":\"ETHBTCPriceFeedMock\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/runner/work/tbtc/tbtc/solidity/contracts/external/IMedianizer.sol\":{\"keccak256\":\"0xbe5c1dbd0f097ed0ef72e2a61ab54de315685a835e7dc7f5d3404b5158189c67\",\"urls\":[\"bzz-raw://0519b1ce42540d07debfa8b62a52c6c44b309ea549cc4d3166d4fd821aec9b79\",\"dweb:/ipfs/QmYD2cojTyk2ZDrWrTKSthVUAPydzAgPrpRWeiwJyksPJV\"]},\"/home/runner/work/tbtc/tbtc/solidity/contracts/test/price-feed/MockMedianizer.sol\":{\"keccak256\":\"0xfc9dc05cfc2c8b7b22a1d2ace30a0e70c4256c7e29c85626b8f3e70a8b4c3716\",\"urls\":[\"bzz-raw://475978662af88bc7787b3f69913a4600d71e7454a65a417d061652aa7a22a056\",\"dweb:/ipfs/QmQs4ftGyY2u9FL5JU4vkFNYPNS8S1HpyCANayj2WuMjxD\"]},\"openzeppelin-solidity/contracts/ownership/Ownable.sol\":{\"keccak256\":\"0xf79fb10e8235770eb4aea7249034076a3cc9f9119ad944fc48705bae9c9d20dc\",\"urls\":[\"bzz-raw://cd3429aa9a4878dcf6c73faa32c3722f4013d4be012ece543b246faa6b50f55c\",\"dweb:/ipfs/QmS55hgTvNEAKinus19m65CB4wcymN8EiUPFpRx5tYJ1i2\"]}},\"version\":1}",
  "bytecode": "0x60806040819052600080546001600160a01b03191633178082556001600160a01b0316917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a36103db806100576000396000f3fe608060405234801561001057600080fd5b506004361061007d5760003560e01c8063715018a61161005b578063715018a6146100dc5780638da5cb5b146100e45780638f32d59b14610108578063f2fde38b146101245761007d565b8063552410771461008257806357de26a4146100a157806359e02dd7146100bb575b600080fd5b61009f6004803603602081101561009857600080fd5b503561014a565b005b6100a96101a8565b60408051918252519081900360200190f35b6100c36101ae565b6040805192835290151560208301528051918290030190f35b61009f6101b8565b6100ec61025b565b604080516001600160a01b039092168252519081900360200190f35b61011061026a565b604080519115158252519081900360200190f35b61009f6004803603602081101561013a57600080fd5b50356001600160a01b031661027b565b61015261026a565b6101a3576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600155565b60015490565b6001548015159091565b6101c061026a565b610211576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031690565b6000546001600160a01b0316331490565b61028361026a565b6102d4576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6102dd816102e0565b50565b6001600160a01b0381166103255760405162461bcd60e51b81526004018080602001828103825260268152602001806103816026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b039290921691909117905556fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373a265627a7a72315820fbcbd7de5fe9992b985ec46265c38e2bef88b9f6b73eb95b34f0dbe1f501388464736f6c63430005110032",
  "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061007d5760003560e01c8063715018a61161005b578063715018a6146100dc5780638da5cb5b146100e45780638f32d59b14610108578063f2fde38b146101245761007d565b8063552410771461008257806357de26a4146100a157806359e02dd7146100bb575b600080fd5b61009f6004803603602081101561009857600080fd5b503561014a565b005b6100a96101a8565b60408051918252519081900360200190f35b6100c36101ae565b6040805192835290151560208301528051918290030190f35b61009f6101b8565b6100ec61025b565b604080516001600160a01b039092168252519081900360200190f35b61011061026a565b604080519115158252519081900360200190f35b61009f6004803603602081101561013a57600080fd5b50356001600160a01b031661027b565b61015261026a565b6101a3576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600155565b60015490565b6001548015159091565b6101c061026a565b610211576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031690565b6000546001600160a01b0316331490565b61028361026a565b6102d4576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6102dd816102e0565b50565b6001600160a01b0381166103255760405162461bcd60e51b81526004018080602001828103825260268152602001806103816026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b039290921691909117905556fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373a265627a7a72315820fbcbd7de5fe9992b985ec46265c38e2bef88b9f6b73eb95b34f0dbe1f501388464736f6c63430005110032",
  "sourceMap": "734:102:37:-;;;;;657:6:61;:19;;-1:-1:-1;;;;;;657:19:61;666:10;657:19;;;;-1:-1:-1;;;;;724:6:61;;691:40;;657:6;;691:40;734:102:37;;;;;;",
  "deployedSourceMap": "734:102:37:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;734:102:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;647:83;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;647:83:37;;:::i;:::-;;462:77;;;:::i;:::-;;;;;;;;;;;;;;;;545:96;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;1599:137:61;;;:::i;814:77::-;;;:::i;:::-;;;;-1:-1:-1;;;;;814:77:61;;;;;;;;;;;;;;1165:90;;;:::i;:::-;;;;;;;;;;;;;;;;;;1885:107;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1885:107:61;-1:-1:-1;;;;;1885:107:61;;:::i;647:83:37:-;1018:9:61;:7;:9::i;:::-;1010:54;;;;;-1:-1:-1;;;1010:54:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;709:5:37;:14;647:83::o;462:77::-;527:5;;462:77;:::o;545:96::-;617:5;;624:9;;;545:96;;:::o;1599:137:61:-;1018:9;:7;:9::i;:::-;1010:54;;;;;-1:-1:-1;;;1010:54:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1697:1;1681:6;;1660:40;;-1:-1:-1;;;;;1681:6:61;;;;1660:40;;1697:1;;1660:40;1727:1;1710:19;;-1:-1:-1;;;;;;1710:19:61;;;1599:137::o;814:77::-;852:7;878:6;-1:-1:-1;;;;;878:6:61;814:77;:::o;1165:90::-;1205:4;1242:6;-1:-1:-1;;;;;1242:6:61;1228:10;:20;;1165:90::o;1885:107::-;1018:9;:7;:9::i;:::-;1010:54;;;;;-1:-1:-1;;;1010:54:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1957:28;1976:8;1957:18;:28::i;:::-;1885:107;:::o;2093:225::-;-1:-1:-1;;;;;2166:22:61;;2158:73;;;;-1:-1:-1;;;2158:73:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2267:6;;;2246:38;;-1:-1:-1;;;;;2246:38:61;;;;2267:6;;;2246:38;;;2294:6;:17;;-1:-1:-1;;;;;;2294:17:61;-1:-1:-1;;;;;2294:17:61;;;;;;;;;;2093:225::o",
  "source": "pragma solidity 0.5.17;\n\nimport \"openzeppelin-solidity/contracts/ownership/Ownable.sol\";\nimport \"../../../contracts/external/IMedianizer.sol\";\n\n/// @title A mock implementation of a medianizer price oracle.\n/// @dev This is used in the Keep testnets only. Mainnet uses the MakerDAO medianizer.\ncontract MockMedianizer is Ownable, IMedianizer {\n    uint256 private value;\n\n    constructor() public {\n    // solium-disable-previous-line no-empty-blocks\n    }\n\n    function read() external view returns (uint256) {\n        return value;\n    }\n\n    function peek() external view returns (uint256, bool) {\n        return (value, value > 0);\n    }\n\n    function setValue(uint256 _value) external onlyOwner{\n        value = _value;\n    }\n}\n\ncontract ETHBTCPriceFeedMock is MockMedianizer {\n    // solium-disable-previous-line no-empty-blocks\n}\n",
  "sourcePath": "/home/runner/work/tbtc/tbtc/solidity/contracts/test/price-feed/MockMedianizer.sol",
  "ast": {
    "absolutePath": "/home/runner/work/tbtc/tbtc/solidity/contracts/test/price-feed/MockMedianizer.sol",
    "exportedSymbols": {
      "ETHBTCPriceFeedMock": [
        10637
      ],
      "MockMedianizer": [
        10634
      ]
    },
    "id": 10638,
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 10587,
        "literals": [
          "solidity",
          "0.5",
          ".17"
        ],
        "nodeType": "PragmaDirective",
        "src": "0:23:37"
      },
      {
        "absolutePath": "openzeppelin-solidity/contracts/ownership/Ownable.sol",
        "file": "openzeppelin-solidity/contracts/ownership/Ownable.sol",
        "id": 10588,
        "nodeType": "ImportDirective",
        "scope": 10638,
        "sourceUnit": 16967,
        "src": "25:63:37",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "/home/runner/work/tbtc/tbtc/solidity/contracts/external/IMedianizer.sol",
        "file": "../../../contracts/external/IMedianizer.sol",
        "id": 10589,
        "nodeType": "ImportDirective",
        "scope": 10638,
        "sourceUnit": 5434,
        "src": "89:53:37",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "baseContracts": [
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 10590,
              "name": "Ownable",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 16966,
              "src": "321:7:37",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_Ownable_$16966",
                "typeString": "contract Ownable"
              }
            },
            "id": 10591,
            "nodeType": "InheritanceSpecifier",
            "src": "321:7:37"
          },
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 10592,
              "name": "IMedianizer",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 5433,
              "src": "330:11:37",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_IMedianizer_$5433",
                "typeString": "contract IMedianizer"
              }
            },
            "id": 10593,
            "nodeType": "InheritanceSpecifier",
            "src": "330:11:37"
          }
        ],
        "contractDependencies": [
          5433,
          16966
        ],
        "contractKind": "contract",
        "documentation": "@title A mock implementation of a medianizer price oracle.\n @dev This is used in the Keep testnets only. Mainnet uses the MakerDAO medianizer.",
        "fullyImplemented": true,
        "id": 10634,
        "linearizedBaseContracts": [
          10634,
          5433,
          16966
        ],
        "name": "MockMedianizer",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "constant": false,
            "id": 10595,
            "name": "value",
            "nodeType": "VariableDeclaration",
            "scope": 10634,
            "src": "348:21:37",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_uint256",
              "typeString": "uint256"
            },
            "typeName": {
              "id": 10594,
              "name": "uint256",
              "nodeType": "ElementaryTypeName",
              "src": "348:7:37",
              "typeDescriptions": {
                "typeIdentifier": "t_uint256",
                "typeString": "uint256"
              }
            },
            "value": null,
            "visibility": "private"
          },
          {
            "body": {
              "id": 10598,
              "nodeType": "Block",
              "src": "397:59:37",
              "statements": []
            },
            "documentation": null,
            "id": 10599,
            "implemented": true,
            "kind": "constructor",
            "modifiers": [],
            "name": "",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 10596,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "387:2:37"
            },
            "returnParameters": {
              "id": 10597,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "397:0:37"
            },
            "scope": 10634,
            "src": "376:80:37",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 10606,
              "nodeType": "Block",
              "src": "510:29:37",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 10604,
                    "name": "value",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 10595,
                    "src": "527:5:37",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "functionReturnParameters": 10603,
                  "id": 10605,
                  "nodeType": "Return",
                  "src": "520:12:37"
                }
              ]
            },
            "documentation": null,
            "id": 10607,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "read",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 10600,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "475:2:37"
            },
            "returnParameters": {
              "id": 10603,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10602,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 10607,
                  "src": "501:7:37",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 10601,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "501:7:37",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "500:9:37"
            },
            "scope": 10634,
            "src": "462:77:37",
            "stateMutability": "view",
            "superFunction": 5425,
            "visibility": "external"
          },
          {
            "body": {
              "id": 10620,
              "nodeType": "Block",
              "src": "599:42:37",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "components": [
                      {
                        "argumentTypes": null,
                        "id": 10614,
                        "name": "value",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10595,
                        "src": "617:5:37",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "commonType": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "id": 10617,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "argumentTypes": null,
                          "id": 10615,
                          "name": "value",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10595,
                          "src": "624:5:37",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": ">",
                        "rightExpression": {
                          "argumentTypes": null,
                          "hexValue": "30",
                          "id": 10616,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "632:1:37",
                          "subdenomination": null,
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_0_by_1",
                            "typeString": "int_const 0"
                          },
                          "value": "0"
                        },
                        "src": "624:9:37",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      }
                    ],
                    "id": 10618,
                    "isConstant": false,
                    "isInlineArray": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "TupleExpression",
                    "src": "616:18:37",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$_t_uint256_$_t_bool_$",
                      "typeString": "tuple(uint256,bool)"
                    }
                  },
                  "functionReturnParameters": 10613,
                  "id": 10619,
                  "nodeType": "Return",
                  "src": "609:25:37"
                }
              ]
            },
            "documentation": null,
            "id": 10621,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "peek",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 10608,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "558:2:37"
            },
            "returnParameters": {
              "id": 10613,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10610,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 10621,
                  "src": "584:7:37",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 10609,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "584:7:37",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 10612,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 10621,
                  "src": "593:4:37",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 10611,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "593:4:37",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "583:15:37"
            },
            "scope": 10634,
            "src": "545:96:37",
            "stateMutability": "view",
            "superFunction": 5432,
            "visibility": "external"
          },
          {
            "body": {
              "id": 10632,
              "nodeType": "Block",
              "src": "699:31:37",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 10630,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "id": 10628,
                      "name": "value",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 10595,
                      "src": "709:5:37",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "id": 10629,
                      "name": "_value",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 10623,
                      "src": "717:6:37",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "709:14:37",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "id": 10631,
                  "nodeType": "ExpressionStatement",
                  "src": "709:14:37"
                }
              ]
            },
            "documentation": null,
            "id": 10633,
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "arguments": null,
                "id": 10626,
                "modifierName": {
                  "argumentTypes": null,
                  "id": 10625,
                  "name": "onlyOwner",
                  "nodeType": "Identifier",
                  "overloadedDeclarations": [],
                  "referencedDeclaration": 16899,
                  "src": "690:9:37",
                  "typeDescriptions": {
                    "typeIdentifier": "t_modifier$__$",
                    "typeString": "modifier ()"
                  }
                },
                "nodeType": "ModifierInvocation",
                "src": "690:9:37"
              }
            ],
            "name": "setValue",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 10624,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10623,
                  "name": "_value",
                  "nodeType": "VariableDeclaration",
                  "scope": 10633,
                  "src": "665:14:37",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 10622,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "665:7:37",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "664:16:37"
            },
            "returnParameters": {
              "id": 10627,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "699:0:37"
            },
            "scope": 10634,
            "src": "647:83:37",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "external"
          }
        ],
        "scope": 10638,
        "src": "294:438:37"
      },
      {
        "baseContracts": [
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 10635,
              "name": "MockMedianizer",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 10634,
              "src": "766:14:37",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_MockMedianizer_$10634",
                "typeString": "contract MockMedianizer"
              }
            },
            "id": 10636,
            "nodeType": "InheritanceSpecifier",
            "src": "766:14:37"
          }
        ],
        "contractDependencies": [
          5433,
          10634,
          16966
        ],
        "contractKind": "contract",
        "documentation": null,
        "fullyImplemented": true,
        "id": 10637,
        "linearizedBaseContracts": [
          10637,
          10634,
          5433,
          16966
        ],
        "name": "ETHBTCPriceFeedMock",
        "nodeType": "ContractDefinition",
        "nodes": [],
        "scope": 10638,
        "src": "734:102:37"
      }
    ],
    "src": "0:837:37"
  },
  "legacyAST": {
    "attributes": {
      "absolutePath": "/home/runner/work/tbtc/tbtc/solidity/contracts/test/price-feed/MockMedianizer.sol",
      "exportedSymbols": {
        "ETHBTCPriceFeedMock": [
          10637
        ],
        "MockMedianizer": [
          10634
        ]
      }
    },
    "children": [
      {
        "attributes": {
          "literals": [
            "solidity",
            "0.5",
            ".17"
          ]
        },
        "id": 10587,
        "name": "PragmaDirective",
        "src": "0:23:37"
      },
      {
        "attributes": {
          "SourceUnit": 16967,
          "absolutePath": "openzeppelin-solidity/contracts/ownership/Ownable.sol",
          "file": "openzeppelin-solidity/contracts/ownership/Ownable.sol",
          "scope": 10638,
          "symbolAliases": [
            null
          ],
          "unitAlias": ""
        },
        "id": 10588,
        "name": "ImportDirective",
        "src": "25:63:37"
      },
      {
        "attributes": {
          "SourceUnit": 5434,
          "absolutePath": "/home/runner/work/tbtc/tbtc/solidity/contracts/external/IMedianizer.sol",
          "file": "../../../contracts/external/IMedianizer.sol",
          "scope": 10638,
          "symbolAliases": [
            null
          ],
          "unitAlias": ""
        },
        "id": 10589,
        "name": "ImportDirective",
        "src": "89:53:37"
      },
      {
        "attributes": {
          "contractDependencies": [
            5433,
            16966
          ],
          "contractKind": "contract",
          "documentation": "@title A mock implementation of a medianizer price oracle.\n @dev This is used in the Keep testnets only. Mainnet uses the MakerDAO medianizer.",
          "fullyImplemented": true,
          "linearizedBaseContracts": [
            10634,
            5433,
            16966
          ],
          "name": "MockMedianizer",
          "scope": 10638
        },
        "children": [
          {
            "attributes": {
              "arguments": null
            },
            "children": [
              {
                "attributes": {
                  "contractScope": null,
                  "name": "Ownable",
                  "referencedDeclaration": 16966,
                  "type": "contract Ownable"
                },
                "id": 10590,
                "name": "UserDefinedTypeName",
                "src": "321:7:37"
              }
            ],
            "id": 10591,
            "name": "InheritanceSpecifier",
            "src": "321:7:37"
          },
          {
            "attributes": {
              "arguments": null
            },
            "children": [
              {
                "attributes": {
                  "contractScope": null,
                  "name": "IMedianizer",
                  "referencedDeclaration": 5433,
                  "type": "contract IMedianizer"
                },
                "id": 10592,
                "name": "UserDefinedTypeName",
                "src": "330:11:37"
              }
            ],
            "id": 10593,
            "name": "InheritanceSpecifier",
            "src": "330:11:37"
          },
          {
            "attributes": {
              "constant": false,
              "name": "value",
              "scope": 10634,
              "stateVariable": true,
              "storageLocation": "default",
              "type": "uint256",
              "value": null,
              "visibility": "private"
            },
            "children": [
              {
                "attributes": {
                  "name": "uint256",
                  "type": "uint256"
                },
                "id": 10594,
                "name": "ElementaryTypeName",
                "src": "348:7:37"
              }
            ],
            "id": 10595,
            "name": "VariableDeclaration",
            "src": "348:21:37"
          },
          {
            "attributes": {
              "documentation": null,
              "implemented": true,
              "isConstructor": true,
              "kind": "constructor",
              "modifiers": [
                null
              ],
              "name": "",
              "scope": 10634,
              "stateMutability": "nonpayable",
              "superFunction": null,
              "visibility": "public"
            },
            "children": [
              {
                "attributes": {
                  "parameters": [
                    null
                  ]
                },
                "children": [],
                "id": 10596,
                "name": "ParameterList",
                "src": "387:2:37"
              },
              {
                "attributes": {
                  "parameters": [
                    null
                  ]
                },
                "children": [],
                "id": 10597,
                "name": "ParameterList",
                "src": "397:0:37"
              },
              {
                "attributes": {
                  "statements": [
                    null
                  ]
                },
                "children": [],
                "id": 10598,
                "name": "Block",
                "src": "397:59:37"
              }
            ],
            "id": 10599,
            "name": "FunctionDefinition",
            "src": "376:80:37"
          },
          {
            "attributes": {
              "documentation": null,
              "implemented": true,
              "isConstructor": false,
              "kind": "function",
              "modifiers": [
                null
              ],
              "name": "read",
              "scope": 10634,
              "stateMutability": "view",
              "superFunction": 5425,
              "visibility": "external"
            },
            "children": [
              {
                "attributes": {
                  "parameters": [
                    null
                  ]
                },
                "children": [],
                "id": 10600,
                "name": "ParameterList",
                "src": "475:2:37"
              },
              {
                "children": [
                  {
                    "attributes": {
                      "constant": false,
                      "name": "",
                      "scope": 10607,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "uint256",
                      "value": null,
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "name": "uint256",
                          "type": "uint256"
                        },
                        "id": 10601,
                        "name": "ElementaryTypeName",
                        "src": "501:7:37"
                      }
                    ],
                    "id": 10602,
                    "name": "VariableDeclaration",
                    "src": "501:7:37"
                  }
                ],
                "id": 10603,
                "name": "ParameterList",
                "src": "500:9:37"
              },
              {
                "children": [
                  {
                    "attributes": {
                      "functionReturnParameters": 10603
                    },
                    "children": [
                      {
                        "attributes": {
                          "argumentTypes": null,
                          "overloadedDeclarations": [
                            null
                          ],
                          "referencedDeclaration": 10595,
                          "type": "uint256",
                          "value": "value"
                        },
                        "id": 10604,
                        "name": "Identifier",
                        "src": "527:5:37"
                      }
                    ],
                    "id": 10605,
                    "name": "Return",
                    "src": "520:12:37"
                  }
                ],
                "id": 10606,
                "name": "Block",
                "src": "510:29:37"
              }
            ],
            "id": 10607,
            "name": "FunctionDefinition",
            "src": "462:77:37"
          },
          {
            "attributes": {
              "documentation": null,
              "implemented": true,
              "isConstructor": false,
              "kind": "function",
              "modifiers": [
                null
              ],
              "name": "peek",
              "scope": 10634,
              "stateMutability": "view",
              "superFunction": 5432,
              "visibility": "external"
            },
            "children": [
              {
                "attributes": {
                  "parameters": [
                    null
                  ]
                },
                "children": [],
                "id": 10608,
                "name": "ParameterList",
                "src": "558:2:37"
              },
              {
                "children": [
                  {
                    "attributes": {
                      "constant": false,
                      "name": "",
                      "scope": 10621,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "uint256",
                      "value": null,
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "name": "uint256",
                          "type": "uint256"
                        },
                        "id": 10609,
                        "name": "ElementaryTypeName",
                        "src": "584:7:37"
                      }
                    ],
                    "id": 10610,
                    "name": "VariableDeclaration",
                    "src": "584:7:37"
                  },
                  {
                    "attributes": {
                      "constant": false,
                      "name": "",
                      "scope": 10621,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "bool",
                      "value": null,
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "name": "bool",
                          "type": "bool"
                        },
                        "id": 10611,
                        "name": "ElementaryTypeName",
                        "src": "593:4:37"
                      }
                    ],
                    "id": 10612,
                    "name": "VariableDeclaration",
                    "src": "593:4:37"
                  }
                ],
                "id": 10613,
                "name": "ParameterList",
                "src": "583:15:37"
              },
              {
                "children": [
                  {
                    "attributes": {
                      "functionReturnParameters": 10613
                    },
                    "children": [
                      {
                        "attributes": {
                          "argumentTypes": null,
                          "isConstant": false,
                          "isInlineArray": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "type": "tuple(uint256,bool)"
                        },
                        "children": [
                          {
                            "attributes": {
                              "argumentTypes": null,
                              "overloadedDeclarations": [
                                null
                              ],
                              "referencedDeclaration": 10595,
                              "type": "uint256",
                              "value": "value"
                            },
                            "id": 10614,
                            "name": "Identifier",
                            "src": "617:5:37"
                          },
                          {
                            "attributes": {
                              "argumentTypes": null,
                              "commonType": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "operator": ">",
                              "type": "bool"
                            },
                            "children": [
                              {
                                "attributes": {
                                  "argumentTypes": null,
                                  "overloadedDeclarations": [
                                    null
                                  ],
                                  "referencedDeclaration": 10595,
                                  "type": "uint256",
                                  "value": "value"
                                },
                                "id": 10615,
                                "name": "Identifier",
                                "src": "624:5:37"
                              },
                              {
                                "attributes": {
                                  "argumentTypes": null,
                                  "hexvalue": "30",
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": true,
                                  "lValueRequested": false,
                                  "subdenomination": null,
                                  "token": "number",
                                  "type": "int_const 0",
                                  "value": "0"
                                },
                                "id": 10616,
                                "name": "Literal",
                                "src": "632:1:37"
                              }
                            ],
                            "id": 10617,
                            "name": "BinaryOperation",
                            "src": "624:9:37"
                          }
                        ],
                        "id": 10618,
                        "name": "TupleExpression",
                        "src": "616:18:37"
                      }
                    ],
                    "id": 10619,
                    "name": "Return",
                    "src": "609:25:37"
                  }
                ],
                "id": 10620,
                "name": "Block",
                "src": "599:42:37"
              }
            ],
            "id": 10621,
            "name": "FunctionDefinition",
            "src": "545:96:37"
          },
          {
            "attributes": {
              "documentation": null,
              "implemented": true,
              "isConstructor": false,
              "kind": "function",
              "name": "setValue",
              "scope": 10634,
              "stateMutability": "nonpayable",
              "superFunction": null,
              "visibility": "external"
            },
            "children": [
              {
                "children": [
                  {
                    "attributes": {
                      "constant": false,
                      "name": "_value",
                      "scope": 10633,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "uint256",
                      "value": null,
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "name": "uint256",
                          "type": "uint256"
                        },
                        "id": 10622,
                        "name": "ElementaryTypeName",
                        "src": "665:7:37"
                      }
                    ],
                    "id": 10623,
                    "name": "VariableDeclaration",
                    "src": "665:14:37"
                  }
                ],
                "id": 10624,
                "name": "ParameterList",
                "src": "664:16:37"
              },
              {
                "attributes": {
                  "parameters": [
                    null
                  ]
                },
                "children": [],
                "id": 10627,
                "name": "ParameterList",
                "src": "699:0:37"
              },
              {
                "attributes": {
                  "arguments": null
                },
                "children": [
                  {
                    "attributes": {
                      "argumentTypes": null,
                      "overloadedDeclarations": [
                        null
                      ],
                      "referencedDeclaration": 16899,
                      "type": "modifier ()",
                      "value": "onlyOwner"
                    },
                    "id": 10625,
                    "name": "Identifier",
                    "src": "690:9:37"
                  }
                ],
                "id": 10626,
                "name": "ModifierInvocation",
                "src": "690:9:37"
              },
              {
                "children": [
                  {
                    "children": [
                      {
                        "attributes": {
                          "argumentTypes": null,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "operator": "=",
                          "type": "uint256"
                        },
                        "children": [
                          {
                            "attributes": {
                              "argumentTypes": null,
                              "overloadedDeclarations": [
                                null
                              ],
                              "referencedDeclaration": 10595,
                              "type": "uint256",
                              "value": "value"
                            },
                            "id": 10628,
                            "name": "Identifier",
                            "src": "709:5:37"
                          },
                          {
                            "attributes": {
                              "argumentTypes": null,
                              "overloadedDeclarations": [
                                null
                              ],
                              "referencedDeclaration": 10623,
                              "type": "uint256",
                              "value": "_value"
                            },
                            "id": 10629,
                            "name": "Identifier",
                            "src": "717:6:37"
                          }
                        ],
                        "id": 10630,
                        "name": "Assignment",
                        "src": "709:14:37"
                      }
                    ],
                    "id": 10631,
                    "name": "ExpressionStatement",
                    "src": "709:14:37"
                  }
                ],
                "id": 10632,
                "name": "Block",
                "src": "699:31:37"
              }
            ],
            "id": 10633,
            "name": "FunctionDefinition",
            "src": "647:83:37"
          }
        ],
        "id": 10634,
        "name": "ContractDefinition",
        "src": "294:438:37"
      },
      {
        "attributes": {
          "contractDependencies": [
            5433,
            10634,
            16966
          ],
          "contractKind": "contract",
          "documentation": null,
          "fullyImplemented": true,
          "linearizedBaseContracts": [
            10637,
            10634,
            5433,
            16966
          ],
          "name": "ETHBTCPriceFeedMock",
          "nodes": [
            null
          ],
          "scope": 10638
        },
        "children": [
          {
            "attributes": {
              "arguments": null
            },
            "children": [
              {
                "attributes": {
                  "contractScope": null,
                  "name": "MockMedianizer",
                  "referencedDeclaration": 10634,
                  "type": "contract MockMedianizer"
                },
                "id": 10635,
                "name": "UserDefinedTypeName",
                "src": "766:14:37"
              }
            ],
            "id": 10636,
            "name": "InheritanceSpecifier",
            "src": "766:14:37"
          }
        ],
        "id": 10637,
        "name": "ContractDefinition",
        "src": "734:102:37"
      }
    ],
    "id": 10638,
    "name": "SourceUnit",
    "src": "0:837:37"
  },
  "compiler": {
    "name": "solc",
    "version": "0.5.17+commit.d19bba13.Emscripten.clang"
  },
  "networks": {
    "3": {
      "events": {},
      "links": {},
      "address": "0x423B322ebd3958EaF4f10E3ec65Ab4B504C04D3F",
      "transactionHash": "0xd73becaf7e8d66f844fc8ba38ec73f8d4326cf7d6ae6dc7803460c414cf6e8bc"
    }
  },
  "schemaVersion": "3.3.4",
  "updatedAt": "2021-11-23T12:02:26.772Z",
  "networkType": "ethereum",
  "devdoc": {
    "methods": {
      "isOwner()": {
        "details": "Returns true if the caller is the current owner."
      },
      "owner()": {
        "details": "Returns the address of the current owner."
      },
      "renounceOwnership()": {
        "details": "Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner.     * > Note: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner."
      },
      "transferOwnership(address)": {
        "details": "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
      }
    }
  },
  "userdoc": {
    "methods": {}
  }
}