{
  "contractName": "MockSatWeiPriceFeed",
  "abi": [
    {
      "constant": true,
      "inputs": [],
      "name": "getPrice",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "internalType": "uint256",
          "name": "_price",
          "type": "uint256"
        }
      ],
      "name": "setPrice",
      "outputs": [],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    }
  ],
  "metadata": "{\"compiler\":{\"version\":\"0.5.17+commit.d19bba13\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"constant\":true,\"inputs\":[],\"name\":\"getPrice\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_price\",\"type\":\"uint256\"}],\"name\":\"setPrice\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"methods\":{\"getPrice()\":{\"return\":\"The price of one satoshi in wei.\"}}},\"userdoc\":{\"methods\":{\"getPrice()\":{\"notice\":\"Get the current price of satoshi in wei.\"}}}},\"settings\":{\"compilationTarget\":{\"/home/runner/work/tbtc/tbtc/solidity/contracts/test/price-feed/MockSatWeiPriceFeed.sol\":\"MockSatWeiPriceFeed\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/runner/work/tbtc/tbtc/solidity/contracts/test/price-feed/MockSatWeiPriceFeed.sol\":{\"keccak256\":\"0x17b28be6c40c97a54ba8d402e03ecd17844f56500c252790cc46f7a56909c17e\",\"urls\":[\"bzz-raw://ec25b0db19087f6347354e0b7df28598b323a6154dcf4fdf519aed831e04b4d2\",\"dweb:/ipfs/QmZHXZhK58z8ZxZg2FMZK1AmMXv5Hu5r4QBueEfg4Gavrt\"]}},\"version\":1}",
  "bytecode": "0x6080604052348015600f57600080fd5b5060ab8061001e6000396000f3fe6080604052348015600f57600080fd5b506004361060325760003560e01c806391b7f5ed14603757806398d5fdca146053575b600080fd5b605160048036036020811015604b57600080fd5b5035606b565b005b60596070565b60408051918252519081900360200190f35b600055565b6000549056fea265627a7a72315820ab16648dffcf61b21bd28bd33cb3e29b8a1d5a23be1fb44516b78d96e240441e64736f6c63430005110032",
  "deployedBytecode": "0x6080604052348015600f57600080fd5b506004361060325760003560e01c806391b7f5ed14603757806398d5fdca146053575b600080fd5b605160048036036020811015604b57600080fd5b5035606b565b005b60596070565b60408051918252519081900360200190f35b600055565b6000549056fea265627a7a72315820ab16648dffcf61b21bd28bd33cb3e29b8a1d5a23be1fb44516b78d96e240441e64736f6c63430005110032",
  "sourceMap": "25:343:38:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;25:343:38;;;;;;;",
  "deployedSourceMap": "25:343:38:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;25:343:38;;;;;;;;;;;;;;;;;;;;;;;;293:72;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;293:72:38;;:::i;:::-;;194:93;;;:::i;:::-;;;;;;;;;;;;;;;;293:72;344:5;:14;293:72::o;194:93::-;245:7;275:5;194:93;:::o",
  "source": "pragma solidity 0.5.17;\n\ncontract MockSatWeiPriceFeed{\n\n    uint256 private price;\n\n    /// @notice Get the current price of satoshi in wei.\n    /// @return The price of one satoshi in wei.\n    function getPrice()\n        external view returns (uint256)\n    {\n        return price;\n    }\n\n    function setPrice(uint256 _price) public {\n        price = _price;\n    }\n\n}\n",
  "sourcePath": "/home/runner/work/tbtc/tbtc/solidity/contracts/test/price-feed/MockSatWeiPriceFeed.sol",
  "ast": {
    "absolutePath": "/home/runner/work/tbtc/tbtc/solidity/contracts/test/price-feed/MockSatWeiPriceFeed.sol",
    "exportedSymbols": {
      "MockSatWeiPriceFeed": [
        10660
      ]
    },
    "id": 10661,
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 10639,
        "literals": [
          "solidity",
          "0.5",
          ".17"
        ],
        "nodeType": "PragmaDirective",
        "src": "0:23:38"
      },
      {
        "baseContracts": [],
        "contractDependencies": [],
        "contractKind": "contract",
        "documentation": null,
        "fullyImplemented": true,
        "id": 10660,
        "linearizedBaseContracts": [
          10660
        ],
        "name": "MockSatWeiPriceFeed",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "constant": false,
            "id": 10641,
            "name": "price",
            "nodeType": "VariableDeclaration",
            "scope": 10660,
            "src": "60:21:38",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_uint256",
              "typeString": "uint256"
            },
            "typeName": {
              "id": 10640,
              "name": "uint256",
              "nodeType": "ElementaryTypeName",
              "src": "60:7:38",
              "typeDescriptions": {
                "typeIdentifier": "t_uint256",
                "typeString": "uint256"
              }
            },
            "value": null,
            "visibility": "private"
          },
          {
            "body": {
              "id": 10648,
              "nodeType": "Block",
              "src": "258:29:38",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 10646,
                    "name": "price",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 10641,
                    "src": "275:5:38",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "functionReturnParameters": 10645,
                  "id": 10647,
                  "nodeType": "Return",
                  "src": "268:12:38"
                }
              ]
            },
            "documentation": "@notice Get the current price of satoshi in wei.\n @return The price of one satoshi in wei.",
            "id": 10649,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "getPrice",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 10642,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "211:2:38"
            },
            "returnParameters": {
              "id": 10645,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10644,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 10649,
                  "src": "245:7:38",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 10643,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "245:7:38",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "244:9:38"
            },
            "scope": 10660,
            "src": "194:93:38",
            "stateMutability": "view",
            "superFunction": null,
            "visibility": "external"
          },
          {
            "body": {
              "id": 10658,
              "nodeType": "Block",
              "src": "334:31:38",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 10656,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "id": 10654,
                      "name": "price",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 10641,
                      "src": "344:5:38",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "id": 10655,
                      "name": "_price",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 10651,
                      "src": "352:6:38",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "344:14:38",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "id": 10657,
                  "nodeType": "ExpressionStatement",
                  "src": "344:14:38"
                }
              ]
            },
            "documentation": null,
            "id": 10659,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "setPrice",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 10652,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10651,
                  "name": "_price",
                  "nodeType": "VariableDeclaration",
                  "scope": 10659,
                  "src": "311:14:38",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 10650,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "311:7:38",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "310:16:38"
            },
            "returnParameters": {
              "id": 10653,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "334:0:38"
            },
            "scope": 10660,
            "src": "293:72:38",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          }
        ],
        "scope": 10661,
        "src": "25:343:38"
      }
    ],
    "src": "0:369:38"
  },
  "legacyAST": {
    "attributes": {
      "absolutePath": "/home/runner/work/tbtc/tbtc/solidity/contracts/test/price-feed/MockSatWeiPriceFeed.sol",
      "exportedSymbols": {
        "MockSatWeiPriceFeed": [
          10660
        ]
      }
    },
    "children": [
      {
        "attributes": {
          "literals": [
            "solidity",
            "0.5",
            ".17"
          ]
        },
        "id": 10639,
        "name": "PragmaDirective",
        "src": "0:23:38"
      },
      {
        "attributes": {
          "baseContracts": [
            null
          ],
          "contractDependencies": [
            null
          ],
          "contractKind": "contract",
          "documentation": null,
          "fullyImplemented": true,
          "linearizedBaseContracts": [
            10660
          ],
          "name": "MockSatWeiPriceFeed",
          "scope": 10661
        },
        "children": [
          {
            "attributes": {
              "constant": false,
              "name": "price",
              "scope": 10660,
              "stateVariable": true,
              "storageLocation": "default",
              "type": "uint256",
              "value": null,
              "visibility": "private"
            },
            "children": [
              {
                "attributes": {
                  "name": "uint256",
                  "type": "uint256"
                },
                "id": 10640,
                "name": "ElementaryTypeName",
                "src": "60:7:38"
              }
            ],
            "id": 10641,
            "name": "VariableDeclaration",
            "src": "60:21:38"
          },
          {
            "attributes": {
              "documentation": "@notice Get the current price of satoshi in wei.\n @return The price of one satoshi in wei.",
              "implemented": true,
              "isConstructor": false,
              "kind": "function",
              "modifiers": [
                null
              ],
              "name": "getPrice",
              "scope": 10660,
              "stateMutability": "view",
              "superFunction": null,
              "visibility": "external"
            },
            "children": [
              {
                "attributes": {
                  "parameters": [
                    null
                  ]
                },
                "children": [],
                "id": 10642,
                "name": "ParameterList",
                "src": "211:2:38"
              },
              {
                "children": [
                  {
                    "attributes": {
                      "constant": false,
                      "name": "",
                      "scope": 10649,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "uint256",
                      "value": null,
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "name": "uint256",
                          "type": "uint256"
                        },
                        "id": 10643,
                        "name": "ElementaryTypeName",
                        "src": "245:7:38"
                      }
                    ],
                    "id": 10644,
                    "name": "VariableDeclaration",
                    "src": "245:7:38"
                  }
                ],
                "id": 10645,
                "name": "ParameterList",
                "src": "244:9:38"
              },
              {
                "children": [
                  {
                    "attributes": {
                      "functionReturnParameters": 10645
                    },
                    "children": [
                      {
                        "attributes": {
                          "argumentTypes": null,
                          "overloadedDeclarations": [
                            null
                          ],
                          "referencedDeclaration": 10641,
                          "type": "uint256",
                          "value": "price"
                        },
                        "id": 10646,
                        "name": "Identifier",
                        "src": "275:5:38"
                      }
                    ],
                    "id": 10647,
                    "name": "Return",
                    "src": "268:12:38"
                  }
                ],
                "id": 10648,
                "name": "Block",
                "src": "258:29:38"
              }
            ],
            "id": 10649,
            "name": "FunctionDefinition",
            "src": "194:93:38"
          },
          {
            "attributes": {
              "documentation": null,
              "implemented": true,
              "isConstructor": false,
              "kind": "function",
              "modifiers": [
                null
              ],
              "name": "setPrice",
              "scope": 10660,
              "stateMutability": "nonpayable",
              "superFunction": null,
              "visibility": "public"
            },
            "children": [
              {
                "children": [
                  {
                    "attributes": {
                      "constant": false,
                      "name": "_price",
                      "scope": 10659,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "uint256",
                      "value": null,
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "name": "uint256",
                          "type": "uint256"
                        },
                        "id": 10650,
                        "name": "ElementaryTypeName",
                        "src": "311:7:38"
                      }
                    ],
                    "id": 10651,
                    "name": "VariableDeclaration",
                    "src": "311:14:38"
                  }
                ],
                "id": 10652,
                "name": "ParameterList",
                "src": "310:16:38"
              },
              {
                "attributes": {
                  "parameters": [
                    null
                  ]
                },
                "children": [],
                "id": 10653,
                "name": "ParameterList",
                "src": "334:0:38"
              },
              {
                "children": [
                  {
                    "children": [
                      {
                        "attributes": {
                          "argumentTypes": null,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "operator": "=",
                          "type": "uint256"
                        },
                        "children": [
                          {
                            "attributes": {
                              "argumentTypes": null,
                              "overloadedDeclarations": [
                                null
                              ],
                              "referencedDeclaration": 10641,
                              "type": "uint256",
                              "value": "price"
                            },
                            "id": 10654,
                            "name": "Identifier",
                            "src": "344:5:38"
                          },
                          {
                            "attributes": {
                              "argumentTypes": null,
                              "overloadedDeclarations": [
                                null
                              ],
                              "referencedDeclaration": 10651,
                              "type": "uint256",
                              "value": "_price"
                            },
                            "id": 10655,
                            "name": "Identifier",
                            "src": "352:6:38"
                          }
                        ],
                        "id": 10656,
                        "name": "Assignment",
                        "src": "344:14:38"
                      }
                    ],
                    "id": 10657,
                    "name": "ExpressionStatement",
                    "src": "344:14:38"
                  }
                ],
                "id": 10658,
                "name": "Block",
                "src": "334:31:38"
              }
            ],
            "id": 10659,
            "name": "FunctionDefinition",
            "src": "293:72:38"
          }
        ],
        "id": 10660,
        "name": "ContractDefinition",
        "src": "25:343:38"
      }
    ],
    "id": 10661,
    "name": "SourceUnit",
    "src": "0:369:38"
  },
  "compiler": {
    "name": "solc",
    "version": "0.5.17+commit.d19bba13.Emscripten.clang"
  },
  "networks": {},
  "schemaVersion": "3.3.4",
  "updatedAt": "2021-11-23T11:52:09.363Z",
  "devdoc": {
    "methods": {
      "getPrice()": {
        "return": "The price of one satoshi in wei."
      }
    }
  },
  "userdoc": {
    "methods": {
      "getPrice()": {
        "notice": "Get the current price of satoshi in wei."
      }
    }
  }
}