{
  "contractName": "PriceOracleInterface",
  "abi": [
    {
      "constant": true,
      "inputs": [],
      "name": "emergencyMode",
      "outputs": [
        {
          "name": "",
          "type": "bool"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "owner",
      "outputs": [
        {
          "name": "",
          "type": "address"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "priceFeedSource",
      "outputs": [
        {
          "name": "",
          "type": "address"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "name": "_owner",
          "type": "address"
        },
        {
          "name": "_priceFeedSource",
          "type": "address"
        }
      ],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "constructor"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "_emergencyMode",
          "type": "bool"
        }
      ],
      "name": "raiseEmergency",
      "outputs": [],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "_owner",
          "type": "address"
        }
      ],
      "name": "updateCurator",
      "outputs": [],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "getUsdEthPricePeek",
      "outputs": [
        {
          "name": "price",
          "type": "bytes32"
        },
        {
          "name": "valid",
          "type": "bool"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "getUSDETHPrice",
      "outputs": [
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    }
  ],
  "metadata": "{\"compiler\":{\"version\":\"0.5.4+commit.9549d8ff\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"constant\":true,\"inputs\":[],\"name\":\"emergencyMode\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"updateCurator\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getUsdEthPricePeek\",\"outputs\":[{\"name\":\"price\",\"type\":\"bytes32\"},{\"name\":\"valid\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_emergencyMode\",\"type\":\"bool\"}],\"name\":\"raiseEmergency\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getUSDETHPrice\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"priceFeedSource\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"},{\"name\":\"_priceFeedSource\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"}],\"devdoc\":{\"methods\":{\"constructor\":{\"details\":\"constructor of the contract\",\"params\":{\"_priceFeedSource\":\"address of price Feed Source -> should be maker feeds Medianizer contract\"}},\"getUSDETHPrice()\":{\"details\":\"returns the USDETH price, ie gets the USD price from Maker feed with 18 digits, but last 18 digits are cut off\"},\"getUsdEthPricePeek()\":{\"details\":\"returns the USDETH price\"},\"raiseEmergency(bool)\":{\"details\":\"gives the owner the possibility to put the Interface into an emergencyMode, which will output always a price of 600 USD. This gives everyone time to set up a new pricefeed.\"},\"updateCurator(address)\":{\"details\":\"updates the priceFeedSource\",\"params\":{\"_owner\":\"address of owner\"}}}},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"@gnosis.pm/dx-contracts/contracts/Oracle/PriceOracleInterface.sol\":\"PriceOracleInterface\"},\"evmVersion\":\"byzantium\",\"libraries\":{},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@gnosis.pm/dx-contracts/contracts/Oracle/DSAuth.sol\":{\"keccak256\":\"0x0fc40ead2b50e5af28947e90016c9f44b775908fa0f777a00006cd00b1562bda\",\"urls\":[\"bzzr://ed804ede633264aefcc34d7c3e5671e0d35420462a9e360029e89257cf974d87\"]},\"@gnosis.pm/dx-contracts/contracts/Oracle/DSMath.sol\":{\"keccak256\":\"0xb10c9d10801b94dd5e1f479fc126e1b1f70dca729df8cf1d7954d829f7b2e6cf\",\"urls\":[\"bzzr://188e1819971e35872cc39966b1c3ba3b34eec542997b3989f41fd1d4fd91ed3c\"]},\"@gnosis.pm/dx-contracts/contracts/Oracle/DSNote.sol\":{\"keccak256\":\"0xa97a82b98827eae293c835bbb657177a958d68e7ead8b2cfc22f14b5f27bd21f\",\"urls\":[\"bzzr://ca681e04da1fcacdc6758e15204c7baa28501135b0149e7c88c0ce9eac2799a0\"]},\"@gnosis.pm/dx-contracts/contracts/Oracle/DSThing.sol\":{\"keccak256\":\"0x61d261e68e1a5ff27257896b9321d00129043e3ec0ef2ff481a1258c1ab1477a\",\"urls\":[\"bzzr://b18b827cf233bd79493bafff1aeb5110cbc81bf2943f0a1a72dd9c7ee62a1193\"]},\"@gnosis.pm/dx-contracts/contracts/Oracle/DSValue.sol\":{\"keccak256\":\"0xf106a9ea35ec59c9eeeab9f064f8883dd0dbf69773370b7aeb04256277cbb50c\",\"urls\":[\"bzzr://362b80262e371c79d298460ccb121f6104659c2ce464fc33ce4f02a9cf47f43b\"]},\"@gnosis.pm/dx-contracts/contracts/Oracle/Medianizer.sol\":{\"keccak256\":\"0xaafc0d8c75a50aad30e36d50a062c60385c5c40c55e2d9320fef50dd8043d290\",\"urls\":[\"bzzr://cc4ed43d2e62462349d5b6d1b0ad8a97b2a4710cae2aa899ed1d198ef1176be6\"]},\"@gnosis.pm/dx-contracts/contracts/Oracle/PriceFeed.sol\":{\"keccak256\":\"0x3beec88038be03613ec604043dd7886250d8d328a3caabb497072567edb41984\",\"urls\":[\"bzzr://6d14ca63a28ed4164b44af9afb17633dece1654b054207249f0e7c8187541d98\"]},\"@gnosis.pm/dx-contracts/contracts/Oracle/PriceOracleInterface.sol\":{\"keccak256\":\"0x9dcee68509090098d44cbf64e6372c1302984d027007a961516c6780bae092eb\",\"urls\":[\"bzzr://ca03c5143e525b4b23b1fc697b1a5e842f5cc145f8a843bc3cc2ecc7119ea462\"]}},\"version\":1}",
  "bytecode": "0x608060405234801561001057600080fd5b5060405160408061052e8339810180604052604081101561003057600080fd5b50805160209091015160018054600160a060020a03938416600160a060020a031991821617909155600080549390921692169190911790556104b7806100776000396000f3fe608060405234801561001057600080fd5b506004361061009a576000357c0100000000000000000000000000000000000000000000000000000000900480638da5cb5b116100785780638da5cb5b146101045780639e385fa414610128578063a3ca17b214610147578063c5ace443146101615761009a565b80630905f5601461009f5780630c6a62dd146100bb5780630c8fe9db146100e3575b600080fd5b6100a7610169565b604080519115158252519081900360200190f35b6100e1600480360360208110156100d157600080fd5b5035600160a060020a031661018a565b005b6100eb61021c565b6040805192835290151560208301528051918290030190f35b61010c6102b2565b60408051600160a060020a039092168252519081900360200190f35b6100e16004803603602081101561013e57600080fd5b503515156102c1565b61014f610364565b60408051918252519081900360200190f35b61010c610459565b60015474010000000000000000000000000000000000000000900460ff1681565b600154600160a060020a031633146101ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806104696023913960400191505060405180910390fd5b6001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60008054604080517f59e02dd700000000000000000000000000000000000000000000000000000000815281518493600160a060020a0316926359e02dd79260048082019391829003018186803b15801561027657600080fd5b505afa15801561028a573d6000803e3d6000fd5b505050506040513d60408110156102a057600080fd5b50805160209091015190925090509091565b600154600160a060020a031681565b600154600160a060020a03163314610324576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806104696023913960400191505060405180910390fd5b60018054911515740100000000000000000000000000000000000000000274ff000000000000000000000000000000000000000019909216919091179055565b60015460009074010000000000000000000000000000000000000000900460ff16156103935750610258610456565b60008054604080517f59e02dd70000000000000000000000000000000000000000000000000000000081528151600160a060020a03909316926359e02dd792600480840193919291829003018186803b1580156103ef57600080fd5b505afa158015610403573d6000803e3d6000fd5b505050506040513d604081101561041957600080fd5b50519050670de0b6b3a7640000810480151561043a57600192505050610456565b620f424081111561045257620f424092505050610456565b9150505b90565b600054600160a060020a03168156fe4f6e6c7920746865206f776e65722063616e20646f20746865206f7065726174696f6ea165627a7a723058200c85c5e8cca125a08fcbbdab071a119472a11834d431e099d262b888981fc5f30029",
  "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061009a576000357c0100000000000000000000000000000000000000000000000000000000900480638da5cb5b116100785780638da5cb5b146101045780639e385fa414610128578063a3ca17b214610147578063c5ace443146101615761009a565b80630905f5601461009f5780630c6a62dd146100bb5780630c8fe9db146100e3575b600080fd5b6100a7610169565b604080519115158252519081900360200190f35b6100e1600480360360208110156100d157600080fd5b5035600160a060020a031661018a565b005b6100eb61021c565b6040805192835290151560208301528051918290030190f35b61010c6102b2565b60408051600160a060020a039092168252519081900360200190f35b6100e16004803603602081101561013e57600080fd5b503515156102c1565b61014f610364565b60408051918252519081900360200190f35b61010c610459565b60015474010000000000000000000000000000000000000000900460ff1681565b600154600160a060020a031633146101ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806104696023913960400191505060405180910390fd5b6001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60008054604080517f59e02dd700000000000000000000000000000000000000000000000000000000815281518493600160a060020a0316926359e02dd79260048082019391829003018186803b15801561027657600080fd5b505afa15801561028a573d6000803e3d6000fd5b505050506040513d60408110156102a057600080fd5b50805160209091015190925090509091565b600154600160a060020a031681565b600154600160a060020a03163314610324576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806104696023913960400191505060405180910390fd5b60018054911515740100000000000000000000000000000000000000000274ff000000000000000000000000000000000000000019909216919091179055565b60015460009074010000000000000000000000000000000000000000900460ff16156103935750610258610456565b60008054604080517f59e02dd70000000000000000000000000000000000000000000000000000000081528151600160a060020a03909316926359e02dd792600480840193919291829003018186803b1580156103ef57600080fd5b505afa158015610403573d6000803e3d6000fd5b505050506040513d604081101561041957600080fd5b50519050670de0b6b3a7640000810480151561043a57600192505050610456565b620f424081111561045257620f424092505050610456565b9150505b90565b600054600160a060020a03168156fe4f6e6c7920746865206f776e65722063616e20646f20746865206f7065726174696f6ea165627a7a723058200c85c5e8cca125a08fcbbdab071a119472a11834d431e099d262b888981fc5f30029",
  "sourceMap": "186:2003:62:-;;;602:136;8:9:-1;5:2;;;30:1;27;20:12;5:2;602:136:62;;;;;;;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;602:136:62;;;;;;;673:5;:14;;-1:-1:-1;;;;;673:14:62;;;-1:-1:-1;;;;;;673:14:62;;;;;;;:5;697:34;;;;;;;;;;;;;;186:2003;;;;;;",
  "deployedSourceMap": "186:2003:62:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;186:2003:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;284:25;;;:::i;:::-;;;;;;;;;;;;;;;;;;1137:87;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1137:87:62;-1:-1:-1;;;;;1137:87:62;;:::i;:::-;;1268:136;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;258:20;;;:::i;:::-;;;;-1:-1:-1;;;;;258:20:62;;;;;;;;;;;;;;942:109;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;942:109:62;;;;:::i;1534:653::-;;;:::i;:::-;;;;;;;;;;;;;;;;222:30;;;:::i;284:25::-;;;;;;;;;:::o;1137:87::-;386:5;;-1:-1:-1;;;;;386:5:62;372:10;:19;364:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1203:5;:14;;-1:-1:-1;;1203:14:62;-1:-1:-1;;;;;1203:14:62;;;;;;;;;;1137:87::o;1268:136::-;1319:13;1374:15;;1363:34;;;;;;;;1319:13;;-1:-1:-1;;;;;1374:15:62;;1363:32;;:34;;;;;;;;;;;1374:15;1363:34;;;5:2:-1;;;;30:1;27;20:12;5:2;1363:34:62;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1363:34:62;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1363:34:62;;;;;;;;;-1:-1:-1;1363:34:62;-1:-1:-1;1268:136:62;;:::o;258:20::-;;;-1:-1:-1;;;;;258:20:62;;:::o;942:109::-;386:5;;-1:-1:-1;;;;;386:5:62;372:10;:19;364:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1014:13;:30;;;;;;;-1:-1:-1;;1014:30:62;;;;;;;;;942:109::o;1534:653::-;1740:13;;1581:7;;1740:13;;;;;1736:54;;;-1:-1:-1;1776:3:62;1769:10;;1736:54;1800:13;1830:15;;1819:34;;;;;;;;-1:-1:-1;;;;;1830:15:62;;;;1819:32;;:34;;;;;;;;;;;;;1830:15;1819:34;;;5:2:-1;;;;30:1;27;20:12;5:2;1819:34:62;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1819:34:62;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1819:34:62;;-1:-1:-1;2010:7:62;1994:24;;2032:14;;2028:53;;;2069:1;2062:8;;;;;;2028:53;2106:7;2094:9;:19;2090:65;;;2136:7;2129:14;;;;;;2090:65;2171:9;-1:-1:-1;;1534:653:62;;:::o;222:30::-;;;-1:-1:-1;;;;;222:30:62;;:::o",
  "source": "pragma solidity ^0.5.2;\n\n/*\nThis contract is the interface between the MakerDAO priceFeed and our DX platform.\n*/\n\nimport \"../Oracle/PriceFeed.sol\";\nimport \"../Oracle/Medianizer.sol\";\n\n\ncontract PriceOracleInterface {\n    address public priceFeedSource;\n    address public owner;\n    bool public emergencyMode;\n\n    // Modifiers\n    modifier onlyOwner() {\n        require(msg.sender == owner, \"Only the owner can do the operation\");\n        _;\n    }\n\n    /// @dev constructor of the contract\n    /// @param _priceFeedSource address of price Feed Source -> should be maker feeds Medianizer contract\n    constructor(address _owner, address _priceFeedSource) public {\n        owner = _owner;\n        priceFeedSource = _priceFeedSource;\n    }\n    \n    /// @dev gives the owner the possibility to put the Interface into an emergencyMode, which will\n    /// output always a price of 600 USD. This gives everyone time to set up a new pricefeed.\n    function raiseEmergency(bool _emergencyMode) public onlyOwner {\n        emergencyMode = _emergencyMode;\n    }\n\n    /// @dev updates the priceFeedSource\n    /// @param _owner address of owner\n    function updateCurator(address _owner) public onlyOwner {\n        owner = _owner;\n    }\n\n    /// @dev returns the USDETH price\n    function getUsdEthPricePeek() public view returns (bytes32 price, bool valid) {\n        return Medianizer(priceFeedSource).peek();\n    }\n\n    /// @dev returns the USDETH price, ie gets the USD price from Maker feed with 18 digits, but last 18 digits are cut off\n    function getUSDETHPrice() public view returns (uint256) {\n        // if the contract is in the emergencyMode, because there is an issue with the oracle, we will simply return a price of 600 USD\n        if (emergencyMode) {\n            return 600;\n        }\n        (bytes32 price, ) = Medianizer(priceFeedSource).peek();\n\n        // ensuring that there is no underflow or overflow possible,\n        // even if the price is compromised\n        uint priceUint = uint256(price)/(1 ether);\n        if (priceUint == 0) {\n            return 1;\n        }\n        if (priceUint > 1000000) {\n            return 1000000; \n        }\n        return priceUint;\n    }\n}\n",
  "sourcePath": "@gnosis.pm/dx-contracts/contracts/Oracle/PriceOracleInterface.sol",
  "ast": {
    "absolutePath": "@gnosis.pm/dx-contracts/contracts/Oracle/PriceOracleInterface.sol",
    "exportedSymbols": {
      "PriceOracleInterface": [
        18890
      ]
    },
    "id": 18891,
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 18771,
        "literals": [
          "solidity",
          "^",
          "0.5",
          ".2"
        ],
        "nodeType": "PragmaDirective",
        "src": "0:23:62"
      },
      {
        "absolutePath": "@gnosis.pm/dx-contracts/contracts/Oracle/PriceFeed.sol",
        "file": "../Oracle/PriceFeed.sol",
        "id": 18772,
        "nodeType": "ImportDirective",
        "scope": 18891,
        "sourceUnit": 18770,
        "src": "115:33:62",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "@gnosis.pm/dx-contracts/contracts/Oracle/Medianizer.sol",
        "file": "../Oracle/Medianizer.sol",
        "id": 18773,
        "nodeType": "ImportDirective",
        "scope": 18891,
        "sourceUnit": 18673,
        "src": "149:34:62",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "baseContracts": [],
        "contractDependencies": [],
        "contractKind": "contract",
        "documentation": null,
        "fullyImplemented": true,
        "id": 18890,
        "linearizedBaseContracts": [
          18890
        ],
        "name": "PriceOracleInterface",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "constant": false,
            "id": 18775,
            "name": "priceFeedSource",
            "nodeType": "VariableDeclaration",
            "scope": 18890,
            "src": "222:30:62",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_address",
              "typeString": "address"
            },
            "typeName": {
              "id": 18774,
              "name": "address",
              "nodeType": "ElementaryTypeName",
              "src": "222:7:62",
              "stateMutability": "nonpayable",
              "typeDescriptions": {
                "typeIdentifier": "t_address",
                "typeString": "address"
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "constant": false,
            "id": 18777,
            "name": "owner",
            "nodeType": "VariableDeclaration",
            "scope": 18890,
            "src": "258:20:62",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_address",
              "typeString": "address"
            },
            "typeName": {
              "id": 18776,
              "name": "address",
              "nodeType": "ElementaryTypeName",
              "src": "258:7:62",
              "stateMutability": "nonpayable",
              "typeDescriptions": {
                "typeIdentifier": "t_address",
                "typeString": "address"
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "constant": false,
            "id": 18779,
            "name": "emergencyMode",
            "nodeType": "VariableDeclaration",
            "scope": 18890,
            "src": "284:25:62",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_bool",
              "typeString": "bool"
            },
            "typeName": {
              "id": 18778,
              "name": "bool",
              "nodeType": "ElementaryTypeName",
              "src": "284:4:62",
              "typeDescriptions": {
                "typeIdentifier": "t_bool",
                "typeString": "bool"
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 18790,
              "nodeType": "Block",
              "src": "354:95:62",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "commonType": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        "id": 18785,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "id": 18782,
                            "name": "msg",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 23690,
                            "src": "372:3:62",
                            "typeDescriptions": {
                              "typeIdentifier": "t_magic_message",
                              "typeString": "msg"
                            }
                          },
                          "id": 18783,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "sender",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": null,
                          "src": "372:10:62",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address_payable",
                            "typeString": "address payable"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "==",
                        "rightExpression": {
                          "argumentTypes": null,
                          "id": 18784,
                          "name": "owner",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 18777,
                          "src": "386:5:62",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "src": "372:19:62",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "hexValue": "4f6e6c7920746865206f776e65722063616e20646f20746865206f7065726174696f6e",
                        "id": 18786,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "string",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "393:37:62",
                        "subdenomination": null,
                        "typeDescriptions": {
                          "typeIdentifier": "t_stringliteral_72b289546cd990aa25119032ba01bc623740f8e982e45ef69119a141103b89bc",
                          "typeString": "literal_string \"Only the owner can do the operation\""
                        },
                        "value": "Only the owner can do the operation"
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        {
                          "typeIdentifier": "t_stringliteral_72b289546cd990aa25119032ba01bc623740f8e982e45ef69119a141103b89bc",
                          "typeString": "literal_string \"Only the owner can do the operation\""
                        }
                      ],
                      "id": 18781,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        23693,
                        23694
                      ],
                      "referencedDeclaration": 23694,
                      "src": "364:7:62",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (bool,string memory) pure"
                      }
                    },
                    "id": 18787,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "364:67:62",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 18788,
                  "nodeType": "ExpressionStatement",
                  "src": "364:67:62"
                },
                {
                  "id": 18789,
                  "nodeType": "PlaceholderStatement",
                  "src": "441:1:62"
                }
              ]
            },
            "documentation": null,
            "id": 18791,
            "name": "onlyOwner",
            "nodeType": "ModifierDefinition",
            "parameters": {
              "id": 18780,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "351:2:62"
            },
            "src": "333:116:62",
            "visibility": "internal"
          },
          {
            "body": {
              "id": 18806,
              "nodeType": "Block",
              "src": "663:75:62",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 18800,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "id": 18798,
                      "name": "owner",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 18777,
                      "src": "673:5:62",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "id": 18799,
                      "name": "_owner",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 18793,
                      "src": "681:6:62",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      }
                    },
                    "src": "673:14:62",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "id": 18801,
                  "nodeType": "ExpressionStatement",
                  "src": "673:14:62"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 18804,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "id": 18802,
                      "name": "priceFeedSource",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 18775,
                      "src": "697:15:62",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "id": 18803,
                      "name": "_priceFeedSource",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 18795,
                      "src": "715:16:62",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      }
                    },
                    "src": "697:34:62",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "id": 18805,
                  "nodeType": "ExpressionStatement",
                  "src": "697:34:62"
                }
              ]
            },
            "documentation": "@dev constructor of the contract\n @param _priceFeedSource address of price Feed Source -> should be maker feeds Medianizer contract",
            "id": 18807,
            "implemented": true,
            "kind": "constructor",
            "modifiers": [],
            "name": "",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 18796,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 18793,
                  "name": "_owner",
                  "nodeType": "VariableDeclaration",
                  "scope": 18807,
                  "src": "614:14:62",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 18792,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "614:7:62",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 18795,
                  "name": "_priceFeedSource",
                  "nodeType": "VariableDeclaration",
                  "scope": 18807,
                  "src": "630:24:62",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 18794,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "630:7:62",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "613:42:62"
            },
            "returnParameters": {
              "id": 18797,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "663:0:62"
            },
            "scope": 18890,
            "src": "602:136:62",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 18818,
              "nodeType": "Block",
              "src": "1004:47:62",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 18816,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "id": 18814,
                      "name": "emergencyMode",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 18779,
                      "src": "1014:13:62",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bool",
                        "typeString": "bool"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "id": 18815,
                      "name": "_emergencyMode",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 18809,
                      "src": "1030:14:62",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bool",
                        "typeString": "bool"
                      }
                    },
                    "src": "1014:30:62",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 18817,
                  "nodeType": "ExpressionStatement",
                  "src": "1014:30:62"
                }
              ]
            },
            "documentation": "@dev gives the owner the possibility to put the Interface into an emergencyMode, which will\n output always a price of 600 USD. This gives everyone time to set up a new pricefeed.",
            "id": 18819,
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "arguments": null,
                "id": 18812,
                "modifierName": {
                  "argumentTypes": null,
                  "id": 18811,
                  "name": "onlyOwner",
                  "nodeType": "Identifier",
                  "overloadedDeclarations": [],
                  "referencedDeclaration": 18791,
                  "src": "994:9:62",
                  "typeDescriptions": {
                    "typeIdentifier": "t_modifier$__$",
                    "typeString": "modifier ()"
                  }
                },
                "nodeType": "ModifierInvocation",
                "src": "994:9:62"
              }
            ],
            "name": "raiseEmergency",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 18810,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 18809,
                  "name": "_emergencyMode",
                  "nodeType": "VariableDeclaration",
                  "scope": 18819,
                  "src": "966:19:62",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 18808,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "966:4:62",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "965:21:62"
            },
            "returnParameters": {
              "id": 18813,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1004:0:62"
            },
            "scope": 18890,
            "src": "942:109:62",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 18830,
              "nodeType": "Block",
              "src": "1193:31:62",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 18828,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "id": 18826,
                      "name": "owner",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 18777,
                      "src": "1203:5:62",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "id": 18827,
                      "name": "_owner",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 18821,
                      "src": "1211:6:62",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      }
                    },
                    "src": "1203:14:62",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "id": 18829,
                  "nodeType": "ExpressionStatement",
                  "src": "1203:14:62"
                }
              ]
            },
            "documentation": "@dev updates the priceFeedSource\n @param _owner address of owner",
            "id": 18831,
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "arguments": null,
                "id": 18824,
                "modifierName": {
                  "argumentTypes": null,
                  "id": 18823,
                  "name": "onlyOwner",
                  "nodeType": "Identifier",
                  "overloadedDeclarations": [],
                  "referencedDeclaration": 18791,
                  "src": "1183:9:62",
                  "typeDescriptions": {
                    "typeIdentifier": "t_modifier$__$",
                    "typeString": "modifier ()"
                  }
                },
                "nodeType": "ModifierInvocation",
                "src": "1183:9:62"
              }
            ],
            "name": "updateCurator",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 18822,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 18821,
                  "name": "_owner",
                  "nodeType": "VariableDeclaration",
                  "scope": 18831,
                  "src": "1160:14:62",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 18820,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1160:7:62",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1159:16:62"
            },
            "returnParameters": {
              "id": 18825,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1193:0:62"
            },
            "scope": 18890,
            "src": "1137:87:62",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 18844,
              "nodeType": "Block",
              "src": "1346:58:62",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [],
                    "expression": {
                      "argumentTypes": [],
                      "expression": {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 18839,
                            "name": "priceFeedSource",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 18775,
                            "src": "1374:15:62",
                            "typeDescriptions": {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          ],
                          "id": 18838,
                          "name": "Medianizer",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 18672,
                          "src": "1363:10:62",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_contract$_Medianizer_$18672_$",
                            "typeString": "type(contract Medianizer)"
                          }
                        },
                        "id": 18840,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "1363:27:62",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_Medianizer_$18672",
                          "typeString": "contract Medianizer"
                        }
                      },
                      "id": 18841,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "peek",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 18201,
                      "src": "1363:32:62",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_external_view$__$returns$_t_bytes32_$_t_bool_$",
                        "typeString": "function () view external returns (bytes32,bool)"
                      }
                    },
                    "id": 18842,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "1363:34:62",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$_t_bytes32_$_t_bool_$",
                      "typeString": "tuple(bytes32,bool)"
                    }
                  },
                  "functionReturnParameters": 18837,
                  "id": 18843,
                  "nodeType": "Return",
                  "src": "1356:41:62"
                }
              ]
            },
            "documentation": "@dev returns the USDETH price",
            "id": 18845,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "getUsdEthPricePeek",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 18832,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1295:2:62"
            },
            "returnParameters": {
              "id": 18837,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 18834,
                  "name": "price",
                  "nodeType": "VariableDeclaration",
                  "scope": 18845,
                  "src": "1319:13:62",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 18833,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "1319:7:62",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 18836,
                  "name": "valid",
                  "nodeType": "VariableDeclaration",
                  "scope": 18845,
                  "src": "1334:10:62",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 18835,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "1334:4:62",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1318:27:62"
            },
            "scope": 18890,
            "src": "1268:136:62",
            "stateMutability": "view",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 18888,
              "nodeType": "Block",
              "src": "1590:597:62",
              "statements": [
                {
                  "condition": {
                    "argumentTypes": null,
                    "id": 18850,
                    "name": "emergencyMode",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 18779,
                    "src": "1740:13:62",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": null,
                  "id": 18854,
                  "nodeType": "IfStatement",
                  "src": "1736:54:62",
                  "trueBody": {
                    "id": 18853,
                    "nodeType": "Block",
                    "src": "1755:35:62",
                    "statements": [
                      {
                        "expression": {
                          "argumentTypes": null,
                          "hexValue": "363030",
                          "id": 18851,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "1776:3:62",
                          "subdenomination": null,
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_600_by_1",
                            "typeString": "int_const 600"
                          },
                          "value": "600"
                        },
                        "functionReturnParameters": 18849,
                        "id": 18852,
                        "nodeType": "Return",
                        "src": "1769:10:62"
                      }
                    ]
                  }
                },
                {
                  "assignments": [
                    18856,
                    null
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 18856,
                      "name": "price",
                      "nodeType": "VariableDeclaration",
                      "scope": 18888,
                      "src": "1800:13:62",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      },
                      "typeName": {
                        "id": 18855,
                        "name": "bytes32",
                        "nodeType": "ElementaryTypeName",
                        "src": "1800:7:62",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    },
                    null
                  ],
                  "id": 18862,
                  "initialValue": {
                    "argumentTypes": null,
                    "arguments": [],
                    "expression": {
                      "argumentTypes": [],
                      "expression": {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 18858,
                            "name": "priceFeedSource",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 18775,
                            "src": "1830:15:62",
                            "typeDescriptions": {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          ],
                          "id": 18857,
                          "name": "Medianizer",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 18672,
                          "src": "1819:10:62",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_contract$_Medianizer_$18672_$",
                            "typeString": "type(contract Medianizer)"
                          }
                        },
                        "id": 18859,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "1819:27:62",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_Medianizer_$18672",
                          "typeString": "contract Medianizer"
                        }
                      },
                      "id": 18860,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "peek",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 18201,
                      "src": "1819:32:62",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_external_view$__$returns$_t_bytes32_$_t_bool_$",
                        "typeString": "function () view external returns (bytes32,bool)"
                      }
                    },
                    "id": 18861,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "1819:34:62",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$_t_bytes32_$_t_bool_$",
                      "typeString": "tuple(bytes32,bool)"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "1799:54:62"
                },
                {
                  "assignments": [
                    18864
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 18864,
                      "name": "priceUint",
                      "nodeType": "VariableDeclaration",
                      "scope": 18888,
                      "src": "1977:14:62",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 18863,
                        "name": "uint",
                        "nodeType": "ElementaryTypeName",
                        "src": "1977:4:62",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 18871,
                  "initialValue": {
                    "argumentTypes": null,
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 18870,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "argumentTypes": null,
                      "arguments": [
                        {
                          "argumentTypes": null,
                          "id": 18866,
                          "name": "price",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 18856,
                          "src": "2002:5:62",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bytes32",
                            "typeString": "bytes32"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_bytes32",
                            "typeString": "bytes32"
                          }
                        ],
                        "id": 18865,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "lValueRequested": false,
                        "nodeType": "ElementaryTypeNameExpression",
                        "src": "1994:7:62",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_uint256_$",
                          "typeString": "type(uint256)"
                        },
                        "typeName": "uint256"
                      },
                      "id": 18867,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "typeConversion",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "1994:14:62",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "/",
                    "rightExpression": {
                      "argumentTypes": null,
                      "components": [
                        {
                          "argumentTypes": null,
                          "hexValue": "31",
                          "id": 18868,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "2010:7:62",
                          "subdenomination": "ether",
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_1000000000000000000_by_1",
                            "typeString": "int_const 1000000000000000000"
                          },
                          "value": "1"
                        }
                      ],
                      "id": 18869,
                      "isConstant": false,
                      "isInlineArray": false,
                      "isLValue": false,
                      "isPure": true,
                      "lValueRequested": false,
                      "nodeType": "TupleExpression",
                      "src": "2009:9:62",
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_1000000000000000000_by_1",
                        "typeString": "int_const 1000000000000000000"
                      }
                    },
                    "src": "1994:24:62",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "1977:41:62"
                },
                {
                  "condition": {
                    "argumentTypes": null,
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 18874,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "argumentTypes": null,
                      "id": 18872,
                      "name": "priceUint",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 18864,
                      "src": "2032:9:62",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "==",
                    "rightExpression": {
                      "argumentTypes": null,
                      "hexValue": "30",
                      "id": 18873,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "2045:1:62",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "src": "2032:14:62",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": null,
                  "id": 18878,
                  "nodeType": "IfStatement",
                  "src": "2028:53:62",
                  "trueBody": {
                    "id": 18877,
                    "nodeType": "Block",
                    "src": "2048:33:62",
                    "statements": [
                      {
                        "expression": {
                          "argumentTypes": null,
                          "hexValue": "31",
                          "id": 18875,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "2069:1:62",
                          "subdenomination": null,
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_1_by_1",
                            "typeString": "int_const 1"
                          },
                          "value": "1"
                        },
                        "functionReturnParameters": 18849,
                        "id": 18876,
                        "nodeType": "Return",
                        "src": "2062:8:62"
                      }
                    ]
                  }
                },
                {
                  "condition": {
                    "argumentTypes": null,
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 18881,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "argumentTypes": null,
                      "id": 18879,
                      "name": "priceUint",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 18864,
                      "src": "2094:9:62",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": ">",
                    "rightExpression": {
                      "argumentTypes": null,
                      "hexValue": "31303030303030",
                      "id": 18880,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "2106:7:62",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_1000000_by_1",
                        "typeString": "int_const 1000000"
                      },
                      "value": "1000000"
                    },
                    "src": "2094:19:62",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": null,
                  "id": 18885,
                  "nodeType": "IfStatement",
                  "src": "2090:65:62",
                  "trueBody": {
                    "id": 18884,
                    "nodeType": "Block",
                    "src": "2115:40:62",
                    "statements": [
                      {
                        "expression": {
                          "argumentTypes": null,
                          "hexValue": "31303030303030",
                          "id": 18882,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "2136:7:62",
                          "subdenomination": null,
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_1000000_by_1",
                            "typeString": "int_const 1000000"
                          },
                          "value": "1000000"
                        },
                        "functionReturnParameters": 18849,
                        "id": 18883,
                        "nodeType": "Return",
                        "src": "2129:14:62"
                      }
                    ]
                  }
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 18886,
                    "name": "priceUint",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 18864,
                    "src": "2171:9:62",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "functionReturnParameters": 18849,
                  "id": 18887,
                  "nodeType": "Return",
                  "src": "2164:16:62"
                }
              ]
            },
            "documentation": "@dev returns the USDETH price, ie gets the USD price from Maker feed with 18 digits, but last 18 digits are cut off",
            "id": 18889,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "getUSDETHPrice",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 18846,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1557:2:62"
            },
            "returnParameters": {
              "id": 18849,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 18848,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 18889,
                  "src": "1581:7:62",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 18847,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1581:7:62",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1580:9:62"
            },
            "scope": 18890,
            "src": "1534:653:62",
            "stateMutability": "view",
            "superFunction": null,
            "visibility": "public"
          }
        ],
        "scope": 18891,
        "src": "186:2003:62"
      }
    ],
    "src": "0:2190:62"
  },
  "legacyAST": {
    "absolutePath": "@gnosis.pm/dx-contracts/contracts/Oracle/PriceOracleInterface.sol",
    "exportedSymbols": {
      "PriceOracleInterface": [
        18890
      ]
    },
    "id": 18891,
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 18771,
        "literals": [
          "solidity",
          "^",
          "0.5",
          ".2"
        ],
        "nodeType": "PragmaDirective",
        "src": "0:23:62"
      },
      {
        "absolutePath": "@gnosis.pm/dx-contracts/contracts/Oracle/PriceFeed.sol",
        "file": "../Oracle/PriceFeed.sol",
        "id": 18772,
        "nodeType": "ImportDirective",
        "scope": 18891,
        "sourceUnit": 18770,
        "src": "115:33:62",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "@gnosis.pm/dx-contracts/contracts/Oracle/Medianizer.sol",
        "file": "../Oracle/Medianizer.sol",
        "id": 18773,
        "nodeType": "ImportDirective",
        "scope": 18891,
        "sourceUnit": 18673,
        "src": "149:34:62",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "baseContracts": [],
        "contractDependencies": [],
        "contractKind": "contract",
        "documentation": null,
        "fullyImplemented": true,
        "id": 18890,
        "linearizedBaseContracts": [
          18890
        ],
        "name": "PriceOracleInterface",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "constant": false,
            "id": 18775,
            "name": "priceFeedSource",
            "nodeType": "VariableDeclaration",
            "scope": 18890,
            "src": "222:30:62",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_address",
              "typeString": "address"
            },
            "typeName": {
              "id": 18774,
              "name": "address",
              "nodeType": "ElementaryTypeName",
              "src": "222:7:62",
              "stateMutability": "nonpayable",
              "typeDescriptions": {
                "typeIdentifier": "t_address",
                "typeString": "address"
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "constant": false,
            "id": 18777,
            "name": "owner",
            "nodeType": "VariableDeclaration",
            "scope": 18890,
            "src": "258:20:62",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_address",
              "typeString": "address"
            },
            "typeName": {
              "id": 18776,
              "name": "address",
              "nodeType": "ElementaryTypeName",
              "src": "258:7:62",
              "stateMutability": "nonpayable",
              "typeDescriptions": {
                "typeIdentifier": "t_address",
                "typeString": "address"
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "constant": false,
            "id": 18779,
            "name": "emergencyMode",
            "nodeType": "VariableDeclaration",
            "scope": 18890,
            "src": "284:25:62",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_bool",
              "typeString": "bool"
            },
            "typeName": {
              "id": 18778,
              "name": "bool",
              "nodeType": "ElementaryTypeName",
              "src": "284:4:62",
              "typeDescriptions": {
                "typeIdentifier": "t_bool",
                "typeString": "bool"
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 18790,
              "nodeType": "Block",
              "src": "354:95:62",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "commonType": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        "id": 18785,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "id": 18782,
                            "name": "msg",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 23690,
                            "src": "372:3:62",
                            "typeDescriptions": {
                              "typeIdentifier": "t_magic_message",
                              "typeString": "msg"
                            }
                          },
                          "id": 18783,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "sender",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": null,
                          "src": "372:10:62",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address_payable",
                            "typeString": "address payable"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "==",
                        "rightExpression": {
                          "argumentTypes": null,
                          "id": 18784,
                          "name": "owner",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 18777,
                          "src": "386:5:62",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "src": "372:19:62",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "hexValue": "4f6e6c7920746865206f776e65722063616e20646f20746865206f7065726174696f6e",
                        "id": 18786,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "string",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "393:37:62",
                        "subdenomination": null,
                        "typeDescriptions": {
                          "typeIdentifier": "t_stringliteral_72b289546cd990aa25119032ba01bc623740f8e982e45ef69119a141103b89bc",
                          "typeString": "literal_string \"Only the owner can do the operation\""
                        },
                        "value": "Only the owner can do the operation"
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        {
                          "typeIdentifier": "t_stringliteral_72b289546cd990aa25119032ba01bc623740f8e982e45ef69119a141103b89bc",
                          "typeString": "literal_string \"Only the owner can do the operation\""
                        }
                      ],
                      "id": 18781,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        23693,
                        23694
                      ],
                      "referencedDeclaration": 23694,
                      "src": "364:7:62",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (bool,string memory) pure"
                      }
                    },
                    "id": 18787,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "364:67:62",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 18788,
                  "nodeType": "ExpressionStatement",
                  "src": "364:67:62"
                },
                {
                  "id": 18789,
                  "nodeType": "PlaceholderStatement",
                  "src": "441:1:62"
                }
              ]
            },
            "documentation": null,
            "id": 18791,
            "name": "onlyOwner",
            "nodeType": "ModifierDefinition",
            "parameters": {
              "id": 18780,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "351:2:62"
            },
            "src": "333:116:62",
            "visibility": "internal"
          },
          {
            "body": {
              "id": 18806,
              "nodeType": "Block",
              "src": "663:75:62",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 18800,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "id": 18798,
                      "name": "owner",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 18777,
                      "src": "673:5:62",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "id": 18799,
                      "name": "_owner",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 18793,
                      "src": "681:6:62",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      }
                    },
                    "src": "673:14:62",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "id": 18801,
                  "nodeType": "ExpressionStatement",
                  "src": "673:14:62"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 18804,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "id": 18802,
                      "name": "priceFeedSource",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 18775,
                      "src": "697:15:62",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "id": 18803,
                      "name": "_priceFeedSource",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 18795,
                      "src": "715:16:62",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      }
                    },
                    "src": "697:34:62",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "id": 18805,
                  "nodeType": "ExpressionStatement",
                  "src": "697:34:62"
                }
              ]
            },
            "documentation": "@dev constructor of the contract\n @param _priceFeedSource address of price Feed Source -> should be maker feeds Medianizer contract",
            "id": 18807,
            "implemented": true,
            "kind": "constructor",
            "modifiers": [],
            "name": "",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 18796,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 18793,
                  "name": "_owner",
                  "nodeType": "VariableDeclaration",
                  "scope": 18807,
                  "src": "614:14:62",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 18792,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "614:7:62",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 18795,
                  "name": "_priceFeedSource",
                  "nodeType": "VariableDeclaration",
                  "scope": 18807,
                  "src": "630:24:62",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 18794,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "630:7:62",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "613:42:62"
            },
            "returnParameters": {
              "id": 18797,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "663:0:62"
            },
            "scope": 18890,
            "src": "602:136:62",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 18818,
              "nodeType": "Block",
              "src": "1004:47:62",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 18816,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "id": 18814,
                      "name": "emergencyMode",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 18779,
                      "src": "1014:13:62",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bool",
                        "typeString": "bool"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "id": 18815,
                      "name": "_emergencyMode",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 18809,
                      "src": "1030:14:62",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bool",
                        "typeString": "bool"
                      }
                    },
                    "src": "1014:30:62",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 18817,
                  "nodeType": "ExpressionStatement",
                  "src": "1014:30:62"
                }
              ]
            },
            "documentation": "@dev gives the owner the possibility to put the Interface into an emergencyMode, which will\n output always a price of 600 USD. This gives everyone time to set up a new pricefeed.",
            "id": 18819,
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "arguments": null,
                "id": 18812,
                "modifierName": {
                  "argumentTypes": null,
                  "id": 18811,
                  "name": "onlyOwner",
                  "nodeType": "Identifier",
                  "overloadedDeclarations": [],
                  "referencedDeclaration": 18791,
                  "src": "994:9:62",
                  "typeDescriptions": {
                    "typeIdentifier": "t_modifier$__$",
                    "typeString": "modifier ()"
                  }
                },
                "nodeType": "ModifierInvocation",
                "src": "994:9:62"
              }
            ],
            "name": "raiseEmergency",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 18810,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 18809,
                  "name": "_emergencyMode",
                  "nodeType": "VariableDeclaration",
                  "scope": 18819,
                  "src": "966:19:62",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 18808,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "966:4:62",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "965:21:62"
            },
            "returnParameters": {
              "id": 18813,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1004:0:62"
            },
            "scope": 18890,
            "src": "942:109:62",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 18830,
              "nodeType": "Block",
              "src": "1193:31:62",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 18828,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "id": 18826,
                      "name": "owner",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 18777,
                      "src": "1203:5:62",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "id": 18827,
                      "name": "_owner",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 18821,
                      "src": "1211:6:62",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      }
                    },
                    "src": "1203:14:62",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "id": 18829,
                  "nodeType": "ExpressionStatement",
                  "src": "1203:14:62"
                }
              ]
            },
            "documentation": "@dev updates the priceFeedSource\n @param _owner address of owner",
            "id": 18831,
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "arguments": null,
                "id": 18824,
                "modifierName": {
                  "argumentTypes": null,
                  "id": 18823,
                  "name": "onlyOwner",
                  "nodeType": "Identifier",
                  "overloadedDeclarations": [],
                  "referencedDeclaration": 18791,
                  "src": "1183:9:62",
                  "typeDescriptions": {
                    "typeIdentifier": "t_modifier$__$",
                    "typeString": "modifier ()"
                  }
                },
                "nodeType": "ModifierInvocation",
                "src": "1183:9:62"
              }
            ],
            "name": "updateCurator",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 18822,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 18821,
                  "name": "_owner",
                  "nodeType": "VariableDeclaration",
                  "scope": 18831,
                  "src": "1160:14:62",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 18820,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1160:7:62",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1159:16:62"
            },
            "returnParameters": {
              "id": 18825,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1193:0:62"
            },
            "scope": 18890,
            "src": "1137:87:62",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 18844,
              "nodeType": "Block",
              "src": "1346:58:62",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [],
                    "expression": {
                      "argumentTypes": [],
                      "expression": {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 18839,
                            "name": "priceFeedSource",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 18775,
                            "src": "1374:15:62",
                            "typeDescriptions": {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          ],
                          "id": 18838,
                          "name": "Medianizer",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 18672,
                          "src": "1363:10:62",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_contract$_Medianizer_$18672_$",
                            "typeString": "type(contract Medianizer)"
                          }
                        },
                        "id": 18840,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "1363:27:62",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_Medianizer_$18672",
                          "typeString": "contract Medianizer"
                        }
                      },
                      "id": 18841,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "peek",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 18201,
                      "src": "1363:32:62",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_external_view$__$returns$_t_bytes32_$_t_bool_$",
                        "typeString": "function () view external returns (bytes32,bool)"
                      }
                    },
                    "id": 18842,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "1363:34:62",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$_t_bytes32_$_t_bool_$",
                      "typeString": "tuple(bytes32,bool)"
                    }
                  },
                  "functionReturnParameters": 18837,
                  "id": 18843,
                  "nodeType": "Return",
                  "src": "1356:41:62"
                }
              ]
            },
            "documentation": "@dev returns the USDETH price",
            "id": 18845,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "getUsdEthPricePeek",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 18832,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1295:2:62"
            },
            "returnParameters": {
              "id": 18837,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 18834,
                  "name": "price",
                  "nodeType": "VariableDeclaration",
                  "scope": 18845,
                  "src": "1319:13:62",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 18833,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "1319:7:62",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 18836,
                  "name": "valid",
                  "nodeType": "VariableDeclaration",
                  "scope": 18845,
                  "src": "1334:10:62",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 18835,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "1334:4:62",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1318:27:62"
            },
            "scope": 18890,
            "src": "1268:136:62",
            "stateMutability": "view",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 18888,
              "nodeType": "Block",
              "src": "1590:597:62",
              "statements": [
                {
                  "condition": {
                    "argumentTypes": null,
                    "id": 18850,
                    "name": "emergencyMode",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 18779,
                    "src": "1740:13:62",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": null,
                  "id": 18854,
                  "nodeType": "IfStatement",
                  "src": "1736:54:62",
                  "trueBody": {
                    "id": 18853,
                    "nodeType": "Block",
                    "src": "1755:35:62",
                    "statements": [
                      {
                        "expression": {
                          "argumentTypes": null,
                          "hexValue": "363030",
                          "id": 18851,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "1776:3:62",
                          "subdenomination": null,
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_600_by_1",
                            "typeString": "int_const 600"
                          },
                          "value": "600"
                        },
                        "functionReturnParameters": 18849,
                        "id": 18852,
                        "nodeType": "Return",
                        "src": "1769:10:62"
                      }
                    ]
                  }
                },
                {
                  "assignments": [
                    18856,
                    null
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 18856,
                      "name": "price",
                      "nodeType": "VariableDeclaration",
                      "scope": 18888,
                      "src": "1800:13:62",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes32",
                        "typeString": "bytes32"
                      },
                      "typeName": {
                        "id": 18855,
                        "name": "bytes32",
                        "nodeType": "ElementaryTypeName",
                        "src": "1800:7:62",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    },
                    null
                  ],
                  "id": 18862,
                  "initialValue": {
                    "argumentTypes": null,
                    "arguments": [],
                    "expression": {
                      "argumentTypes": [],
                      "expression": {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 18858,
                            "name": "priceFeedSource",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 18775,
                            "src": "1830:15:62",
                            "typeDescriptions": {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          ],
                          "id": 18857,
                          "name": "Medianizer",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 18672,
                          "src": "1819:10:62",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_contract$_Medianizer_$18672_$",
                            "typeString": "type(contract Medianizer)"
                          }
                        },
                        "id": 18859,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "1819:27:62",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_Medianizer_$18672",
                          "typeString": "contract Medianizer"
                        }
                      },
                      "id": 18860,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "peek",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 18201,
                      "src": "1819:32:62",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_external_view$__$returns$_t_bytes32_$_t_bool_$",
                        "typeString": "function () view external returns (bytes32,bool)"
                      }
                    },
                    "id": 18861,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "1819:34:62",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$_t_bytes32_$_t_bool_$",
                      "typeString": "tuple(bytes32,bool)"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "1799:54:62"
                },
                {
                  "assignments": [
                    18864
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 18864,
                      "name": "priceUint",
                      "nodeType": "VariableDeclaration",
                      "scope": 18888,
                      "src": "1977:14:62",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 18863,
                        "name": "uint",
                        "nodeType": "ElementaryTypeName",
                        "src": "1977:4:62",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 18871,
                  "initialValue": {
                    "argumentTypes": null,
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 18870,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "argumentTypes": null,
                      "arguments": [
                        {
                          "argumentTypes": null,
                          "id": 18866,
                          "name": "price",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 18856,
                          "src": "2002:5:62",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bytes32",
                            "typeString": "bytes32"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_bytes32",
                            "typeString": "bytes32"
                          }
                        ],
                        "id": 18865,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "lValueRequested": false,
                        "nodeType": "ElementaryTypeNameExpression",
                        "src": "1994:7:62",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_uint256_$",
                          "typeString": "type(uint256)"
                        },
                        "typeName": "uint256"
                      },
                      "id": 18867,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "typeConversion",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "1994:14:62",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "/",
                    "rightExpression": {
                      "argumentTypes": null,
                      "components": [
                        {
                          "argumentTypes": null,
                          "hexValue": "31",
                          "id": 18868,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "2010:7:62",
                          "subdenomination": "ether",
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_1000000000000000000_by_1",
                            "typeString": "int_const 1000000000000000000"
                          },
                          "value": "1"
                        }
                      ],
                      "id": 18869,
                      "isConstant": false,
                      "isInlineArray": false,
                      "isLValue": false,
                      "isPure": true,
                      "lValueRequested": false,
                      "nodeType": "TupleExpression",
                      "src": "2009:9:62",
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_1000000000000000000_by_1",
                        "typeString": "int_const 1000000000000000000"
                      }
                    },
                    "src": "1994:24:62",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "1977:41:62"
                },
                {
                  "condition": {
                    "argumentTypes": null,
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 18874,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "argumentTypes": null,
                      "id": 18872,
                      "name": "priceUint",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 18864,
                      "src": "2032:9:62",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "==",
                    "rightExpression": {
                      "argumentTypes": null,
                      "hexValue": "30",
                      "id": 18873,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "2045:1:62",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "src": "2032:14:62",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": null,
                  "id": 18878,
                  "nodeType": "IfStatement",
                  "src": "2028:53:62",
                  "trueBody": {
                    "id": 18877,
                    "nodeType": "Block",
                    "src": "2048:33:62",
                    "statements": [
                      {
                        "expression": {
                          "argumentTypes": null,
                          "hexValue": "31",
                          "id": 18875,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "2069:1:62",
                          "subdenomination": null,
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_1_by_1",
                            "typeString": "int_const 1"
                          },
                          "value": "1"
                        },
                        "functionReturnParameters": 18849,
                        "id": 18876,
                        "nodeType": "Return",
                        "src": "2062:8:62"
                      }
                    ]
                  }
                },
                {
                  "condition": {
                    "argumentTypes": null,
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 18881,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "argumentTypes": null,
                      "id": 18879,
                      "name": "priceUint",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 18864,
                      "src": "2094:9:62",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": ">",
                    "rightExpression": {
                      "argumentTypes": null,
                      "hexValue": "31303030303030",
                      "id": 18880,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "2106:7:62",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_1000000_by_1",
                        "typeString": "int_const 1000000"
                      },
                      "value": "1000000"
                    },
                    "src": "2094:19:62",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": null,
                  "id": 18885,
                  "nodeType": "IfStatement",
                  "src": "2090:65:62",
                  "trueBody": {
                    "id": 18884,
                    "nodeType": "Block",
                    "src": "2115:40:62",
                    "statements": [
                      {
                        "expression": {
                          "argumentTypes": null,
                          "hexValue": "31303030303030",
                          "id": 18882,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "2136:7:62",
                          "subdenomination": null,
                          "typeDescriptions": {
                            "typeIdentifier": "t_rational_1000000_by_1",
                            "typeString": "int_const 1000000"
                          },
                          "value": "1000000"
                        },
                        "functionReturnParameters": 18849,
                        "id": 18883,
                        "nodeType": "Return",
                        "src": "2129:14:62"
                      }
                    ]
                  }
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 18886,
                    "name": "priceUint",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 18864,
                    "src": "2171:9:62",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "functionReturnParameters": 18849,
                  "id": 18887,
                  "nodeType": "Return",
                  "src": "2164:16:62"
                }
              ]
            },
            "documentation": "@dev returns the USDETH price, ie gets the USD price from Maker feed with 18 digits, but last 18 digits are cut off",
            "id": 18889,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "getUSDETHPrice",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 18846,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1557:2:62"
            },
            "returnParameters": {
              "id": 18849,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 18848,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 18889,
                  "src": "1581:7:62",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 18847,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1581:7:62",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1580:9:62"
            },
            "scope": 18890,
            "src": "1534:653:62",
            "stateMutability": "view",
            "superFunction": null,
            "visibility": "public"
          }
        ],
        "scope": 18891,
        "src": "186:2003:62"
      }
    ],
    "src": "0:2190:62"
  },
  "compiler": {
    "name": "solc",
    "version": "0.5.4+commit.9549d8ff.Emscripten.clang"
  },
  "networks": {},
  "schemaVersion": "3.0.9",
  "updatedAt": "2019-05-28T21:12:52.312Z",
  "devdoc": {
    "methods": {
      "constructor": {
        "details": "constructor of the contract",
        "params": {
          "_priceFeedSource": "address of price Feed Source -> should be maker feeds Medianizer contract"
        }
      },
      "getUSDETHPrice()": {
        "details": "returns the USDETH price, ie gets the USD price from Maker feed with 18 digits, but last 18 digits are cut off"
      },
      "getUsdEthPricePeek()": {
        "details": "returns the USDETH price"
      },
      "raiseEmergency(bool)": {
        "details": "gives the owner the possibility to put the Interface into an emergencyMode, which will output always a price of 600 USD. This gives everyone time to set up a new pricefeed."
      },
      "updateCurator(address)": {
        "details": "updates the priceFeedSource",
        "params": {
          "_owner": "address of owner"
        }
      }
    }
  },
  "userdoc": {
    "methods": {}
  }
}