{
  "contractName": "ISatWeiPriceFeed",
  "abi": [
    {
      "constant": true,
      "inputs": [],
      "name": "getPrice",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "internalType": "contract IMedianizer",
          "name": "_ethBtcFeed",
          "type": "address"
        }
      ],
      "name": "addEthBtcFeed",
      "outputs": [],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    }
  ],
  "metadata": "{\"compiler\":{\"version\":\"0.5.17+commit.d19bba13\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"constant\":false,\"inputs\":[{\"internalType\":\"contract IMedianizer\",\"name\":\"_ethBtcFeed\",\"type\":\"address\"}],\"name\":\"addEthBtcFeed\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getPrice\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"methods\":{\"getPrice()\":{\"details\":\"This does not account for any 'Flippening' event.\",\"return\":\"The price of one satoshi in wei.\"}}},\"userdoc\":{\"methods\":{\"addEthBtcFeed(address)\":{\"notice\":\"add a new ETH/BTC meidanizer to the internal ethBtcFeeds array\"},\"getPrice()\":{\"notice\":\"Get the current price of 1 satoshi in wei.\"}},\"notice\":\"satoshi/wei price feed interface.\"}},\"settings\":{\"compilationTarget\":{\"/home/runner/work/tbtc/tbtc/solidity/contracts/interfaces/ISatWeiPriceFeed.sol\":\"ISatWeiPriceFeed\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/runner/work/tbtc/tbtc/solidity/contracts/external/IMedianizer.sol\":{\"keccak256\":\"0xbe5c1dbd0f097ed0ef72e2a61ab54de315685a835e7dc7f5d3404b5158189c67\",\"urls\":[\"bzz-raw://0519b1ce42540d07debfa8b62a52c6c44b309ea549cc4d3166d4fd821aec9b79\",\"dweb:/ipfs/QmYD2cojTyk2ZDrWrTKSthVUAPydzAgPrpRWeiwJyksPJV\"]},\"/home/runner/work/tbtc/tbtc/solidity/contracts/interfaces/ISatWeiPriceFeed.sol\":{\"keccak256\":\"0x41bdcc0cfbd415d58fdc01cc54adeb832933f31895d1f9a26c8eab16518d6d96\",\"urls\":[\"bzz-raw://b4c69fdffa322a4276032fe2ee0cbb950c81afff7dcd78eb18dddabc4fe2d015\",\"dweb:/ipfs/QmaJUvL5HNChwyrNN82Es5vhVZ9pHwgdsj9uEcUhBFR43R\"]}},\"version\":1}",
  "bytecode": "0x",
  "deployedBytecode": "0x",
  "sourceMap": "",
  "deployedSourceMap": "",
  "source": "pragma solidity 0.5.17;\n\nimport \"../external/IMedianizer.sol\";\n\n/// @notice satoshi/wei price feed interface.\ninterface ISatWeiPriceFeed {\n    /// @notice Get the current price of 1 satoshi in wei.\n    /// @dev This does not account for any 'Flippening' event.\n    /// @return The price of one satoshi in wei.\n    function getPrice() external view returns (uint256);\n\n    /// @notice add a new ETH/BTC meidanizer to the internal ethBtcFeeds array\n    function addEthBtcFeed(IMedianizer _ethBtcFeed) external;\n}\n",
  "sourcePath": "/home/runner/work/tbtc/tbtc/solidity/contracts/interfaces/ISatWeiPriceFeed.sol",
  "ast": {
    "absolutePath": "/home/runner/work/tbtc/tbtc/solidity/contracts/interfaces/ISatWeiPriceFeed.sol",
    "exportedSymbols": {
      "ISatWeiPriceFeed": [
        5447
      ]
    },
    "id": 5448,
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 5435,
        "literals": [
          "solidity",
          "0.5",
          ".17"
        ],
        "nodeType": "PragmaDirective",
        "src": "0:23:10"
      },
      {
        "absolutePath": "/home/runner/work/tbtc/tbtc/solidity/contracts/external/IMedianizer.sol",
        "file": "../external/IMedianizer.sol",
        "id": 5436,
        "nodeType": "ImportDirective",
        "scope": 5448,
        "sourceUnit": 5434,
        "src": "25:37:10",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "baseContracts": [],
        "contractDependencies": [],
        "contractKind": "interface",
        "documentation": "@notice satoshi/wei price feed interface.",
        "fullyImplemented": false,
        "id": 5447,
        "linearizedBaseContracts": [
          5447
        ],
        "name": "ISatWeiPriceFeed",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "body": null,
            "documentation": "@notice Get the current price of 1 satoshi in wei.\n @dev This does not account for any 'Flippening' event.\n @return The price of one satoshi in wei.",
            "id": 5441,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "getPrice",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 5437,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "331:2:10"
            },
            "returnParameters": {
              "id": 5440,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 5439,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 5441,
                  "src": "357:7:10",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 5438,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "357:7:10",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "356:9:10"
            },
            "scope": 5447,
            "src": "314:52:10",
            "stateMutability": "view",
            "superFunction": null,
            "visibility": "external"
          },
          {
            "body": null,
            "documentation": "@notice add a new ETH/BTC meidanizer to the internal ethBtcFeeds array",
            "id": 5446,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "addEthBtcFeed",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 5444,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 5443,
                  "name": "_ethBtcFeed",
                  "nodeType": "VariableDeclaration",
                  "scope": 5446,
                  "src": "474:23:10",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IMedianizer_$5433",
                    "typeString": "contract IMedianizer"
                  },
                  "typeName": {
                    "contractScope": null,
                    "id": 5442,
                    "name": "IMedianizer",
                    "nodeType": "UserDefinedTypeName",
                    "referencedDeclaration": 5433,
                    "src": "474:11:10",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IMedianizer_$5433",
                      "typeString": "contract IMedianizer"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "473:25:10"
            },
            "returnParameters": {
              "id": 5445,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "507:0:10"
            },
            "scope": 5447,
            "src": "451:57:10",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "external"
          }
        ],
        "scope": 5448,
        "src": "110:400:10"
      }
    ],
    "src": "0:511:10"
  },
  "legacyAST": {
    "attributes": {
      "absolutePath": "/home/runner/work/tbtc/tbtc/solidity/contracts/interfaces/ISatWeiPriceFeed.sol",
      "exportedSymbols": {
        "ISatWeiPriceFeed": [
          5447
        ]
      }
    },
    "children": [
      {
        "attributes": {
          "literals": [
            "solidity",
            "0.5",
            ".17"
          ]
        },
        "id": 5435,
        "name": "PragmaDirective",
        "src": "0:23:10"
      },
      {
        "attributes": {
          "SourceUnit": 5434,
          "absolutePath": "/home/runner/work/tbtc/tbtc/solidity/contracts/external/IMedianizer.sol",
          "file": "../external/IMedianizer.sol",
          "scope": 5448,
          "symbolAliases": [
            null
          ],
          "unitAlias": ""
        },
        "id": 5436,
        "name": "ImportDirective",
        "src": "25:37:10"
      },
      {
        "attributes": {
          "baseContracts": [
            null
          ],
          "contractDependencies": [
            null
          ],
          "contractKind": "interface",
          "documentation": "@notice satoshi/wei price feed interface.",
          "fullyImplemented": false,
          "linearizedBaseContracts": [
            5447
          ],
          "name": "ISatWeiPriceFeed",
          "scope": 5448
        },
        "children": [
          {
            "attributes": {
              "body": null,
              "documentation": "@notice Get the current price of 1 satoshi in wei.\n @dev This does not account for any 'Flippening' event.\n @return The price of one satoshi in wei.",
              "implemented": false,
              "isConstructor": false,
              "kind": "function",
              "modifiers": [
                null
              ],
              "name": "getPrice",
              "scope": 5447,
              "stateMutability": "view",
              "superFunction": null,
              "visibility": "external"
            },
            "children": [
              {
                "attributes": {
                  "parameters": [
                    null
                  ]
                },
                "children": [],
                "id": 5437,
                "name": "ParameterList",
                "src": "331:2:10"
              },
              {
                "children": [
                  {
                    "attributes": {
                      "constant": false,
                      "name": "",
                      "scope": 5441,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "uint256",
                      "value": null,
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "name": "uint256",
                          "type": "uint256"
                        },
                        "id": 5438,
                        "name": "ElementaryTypeName",
                        "src": "357:7:10"
                      }
                    ],
                    "id": 5439,
                    "name": "VariableDeclaration",
                    "src": "357:7:10"
                  }
                ],
                "id": 5440,
                "name": "ParameterList",
                "src": "356:9:10"
              }
            ],
            "id": 5441,
            "name": "FunctionDefinition",
            "src": "314:52:10"
          },
          {
            "attributes": {
              "body": null,
              "documentation": "@notice add a new ETH/BTC meidanizer to the internal ethBtcFeeds array",
              "implemented": false,
              "isConstructor": false,
              "kind": "function",
              "modifiers": [
                null
              ],
              "name": "addEthBtcFeed",
              "scope": 5447,
              "stateMutability": "nonpayable",
              "superFunction": null,
              "visibility": "external"
            },
            "children": [
              {
                "children": [
                  {
                    "attributes": {
                      "constant": false,
                      "name": "_ethBtcFeed",
                      "scope": 5446,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "contract IMedianizer",
                      "value": null,
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "contractScope": null,
                          "name": "IMedianizer",
                          "referencedDeclaration": 5433,
                          "type": "contract IMedianizer"
                        },
                        "id": 5442,
                        "name": "UserDefinedTypeName",
                        "src": "474:11:10"
                      }
                    ],
                    "id": 5443,
                    "name": "VariableDeclaration",
                    "src": "474:23:10"
                  }
                ],
                "id": 5444,
                "name": "ParameterList",
                "src": "473:25:10"
              },
              {
                "attributes": {
                  "parameters": [
                    null
                  ]
                },
                "children": [],
                "id": 5445,
                "name": "ParameterList",
                "src": "507:0:10"
              }
            ],
            "id": 5446,
            "name": "FunctionDefinition",
            "src": "451:57:10"
          }
        ],
        "id": 5447,
        "name": "ContractDefinition",
        "src": "110:400:10"
      }
    ],
    "id": 5448,
    "name": "SourceUnit",
    "src": "0:511:10"
  },
  "compiler": {
    "name": "solc",
    "version": "0.5.17+commit.d19bba13.Emscripten.clang"
  },
  "networks": {},
  "schemaVersion": "3.3.4",
  "updatedAt": "2021-11-23T11:52:09.273Z",
  "devdoc": {
    "methods": {
      "getPrice()": {
        "details": "This does not account for any 'Flippening' event.",
        "return": "The price of one satoshi in wei."
      }
    }
  },
  "userdoc": {
    "methods": {
      "addEthBtcFeed(address)": {
        "notice": "add a new ETH/BTC meidanizer to the internal ethBtcFeeds array"
      },
      "getPrice()": {
        "notice": "Get the current price of 1 satoshi in wei."
      }
    },
    "notice": "satoshi/wei price feed interface."
  }
}