{
  "contractName": "OracleConsumerMock",
  "abi": [
    {
      "constant": true,
      "inputs": [],
      "name": "result",
      "outputs": [
        {
          "name": "",
          "type": "bytes"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "",
          "type": "bytes32"
        },
        {
          "name": "_result",
          "type": "bytes"
        }
      ],
      "name": "receiveResult",
      "outputs": [],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    }
  ],
  "bytecode": "0x608060405234801561001057600080fd5b506102b0806100206000396000f30060806040526004361061004c576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680635dd8085514610051578063653721471461009a575b600080fd5b34801561005d57600080fd5b50610098600480360381019080803560001916906020019092919080359060200190820180359060200191909192939192939050505061012a565b005b3480156100a657600080fd5b506100af610141565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156100ef5780820151818401526020810190506100d4565b50505050905090810190601f16801561011c5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b81816000919061013b9291906101df565b50505050565b60008054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156101d75780601f106101ac576101008083540402835291602001916101d7565b820191906000526020600020905b8154815290600101906020018083116101ba57829003601f168201915b505050505081565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061022057803560ff191683800117855561024e565b8280016001018555821561024e579182015b8281111561024d578235825591602001919060010190610232565b5b50905061025b919061025f565b5090565b61028191905b8082111561027d576000816000905550600101610265565b5090565b905600a165627a7a7230582016a0469cd6998a84ca57b5f35510bd5a71240e2c49062955f74c12e19a1c9c320029",
  "deployedBytecode": "0x60806040526004361061004c576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680635dd8085514610051578063653721471461009a575b600080fd5b34801561005d57600080fd5b50610098600480360381019080803560001916906020019092919080359060200190820180359060200191909192939192939050505061012a565b005b3480156100a657600080fd5b506100af610141565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156100ef5780820151818401526020810190506100d4565b50505050905090810190601f16801561011c5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b81816000919061013b9291906101df565b50505050565b60008054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156101d75780601f106101ac576101008083540402835291602001916101d7565b820191906000526020600020905b8154815290600101906020018083116101ba57829003601f168201915b505050505081565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061022057803560ff191683800117855561024e565b8280016001018555821561024e579182015b8281111561024d578235825591602001919060010190610232565b5b50905061025b919061025f565b5090565b61028191905b8082111561027d576000816000905550600101610265565b5090565b905600a165627a7a7230582016a0469cd6998a84ca57b5f35510bd5a71240e2c49062955f74c12e19a1c9c320029",
  "sourceMap": "72:168:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;72:168:0;;;;;;;",
  "deployedSourceMap": "72:168:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;148:90;;8:9:-1;5:2;;;30:1;27;20:12;5:2;148:90:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;124:19;;8:9:-1;5:2;;;30:1;27;20:12;5:2;124:19:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;124:19:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;148:90;226:7;;217:6;:16;;;;;;;:::i;:::-;;148:90;;;:::o;124:19::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;72:168::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o",
  "source": "pragma solidity ^0.4.24;\n\nimport \"../PushOracles/IOracleConsumer.sol\";\n\ncontract OracleConsumerMock is IOracleConsumer {\n\n  bytes public result;\n\n  function receiveResult(bytes32 /*id*/, bytes _result) external {\n    result = _result;\n  }\n}\n",
  "sourcePath": "/Users/mfcalvanese/dev/eth/tidbit-eth/contracts/Mocks/OracleConsumerMock.sol",
  "ast": {
    "absolutePath": "/Users/mfcalvanese/dev/eth/tidbit-eth/contracts/Mocks/OracleConsumerMock.sol",
    "exportedSymbols": {
      "OracleConsumerMock": [
        19
      ]
    },
    "id": 20,
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 1,
        "literals": [
          "solidity",
          "^",
          "0.4",
          ".24"
        ],
        "nodeType": "PragmaDirective",
        "src": "0:24:0"
      },
      {
        "absolutePath": "/Users/mfcalvanese/dev/eth/tidbit-eth/contracts/PushOracles/IOracleConsumer.sol",
        "file": "../PushOracles/IOracleConsumer.sol",
        "id": 2,
        "nodeType": "ImportDirective",
        "scope": 20,
        "sourceUnit": 1069,
        "src": "26:44:0",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "baseContracts": [
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 3,
              "name": "IOracleConsumer",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 1068,
              "src": "103:15:0",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_IOracleConsumer_$1068",
                "typeString": "contract IOracleConsumer"
              }
            },
            "id": 4,
            "nodeType": "InheritanceSpecifier",
            "src": "103:15:0"
          }
        ],
        "contractDependencies": [
          1068
        ],
        "contractKind": "contract",
        "documentation": null,
        "fullyImplemented": true,
        "id": 19,
        "linearizedBaseContracts": [
          19,
          1068
        ],
        "name": "OracleConsumerMock",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "constant": false,
            "id": 6,
            "name": "result",
            "nodeType": "VariableDeclaration",
            "scope": 19,
            "src": "124:19:0",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_bytes_storage",
              "typeString": "bytes"
            },
            "typeName": {
              "id": 5,
              "name": "bytes",
              "nodeType": "ElementaryTypeName",
              "src": "124:5:0",
              "typeDescriptions": {
                "typeIdentifier": "t_bytes_storage_ptr",
                "typeString": "bytes"
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 17,
              "nodeType": "Block",
              "src": "211:27:0",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 15,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "id": 13,
                      "name": "result",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 6,
                      "src": "217:6:0",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes_storage",
                        "typeString": "bytes storage ref"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "id": 14,
                      "name": "_result",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 10,
                      "src": "226:7:0",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes_calldata_ptr",
                        "typeString": "bytes calldata"
                      }
                    },
                    "src": "217:16:0",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_storage",
                      "typeString": "bytes storage ref"
                    }
                  },
                  "id": 16,
                  "nodeType": "ExpressionStatement",
                  "src": "217:16:0"
                }
              ]
            },
            "documentation": null,
            "id": 18,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": false,
            "modifiers": [],
            "name": "receiveResult",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 11,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 8,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 18,
                  "src": "171:7:0",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 7,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "171:7:0",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 10,
                  "name": "_result",
                  "nodeType": "VariableDeclaration",
                  "scope": 18,
                  "src": "187:13:0",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes_calldata_ptr",
                    "typeString": "bytes"
                  },
                  "typeName": {
                    "id": 9,
                    "name": "bytes",
                    "nodeType": "ElementaryTypeName",
                    "src": "187:5:0",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_storage_ptr",
                      "typeString": "bytes"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "170:31:0"
            },
            "payable": false,
            "returnParameters": {
              "id": 12,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "211:0:0"
            },
            "scope": 19,
            "src": "148:90:0",
            "stateMutability": "nonpayable",
            "superFunction": 1067,
            "visibility": "external"
          }
        ],
        "scope": 20,
        "src": "72:168:0"
      }
    ],
    "src": "0:241:0"
  },
  "legacyAST": {
    "absolutePath": "/Users/mfcalvanese/dev/eth/tidbit-eth/contracts/Mocks/OracleConsumerMock.sol",
    "exportedSymbols": {
      "OracleConsumerMock": [
        19
      ]
    },
    "id": 20,
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 1,
        "literals": [
          "solidity",
          "^",
          "0.4",
          ".24"
        ],
        "nodeType": "PragmaDirective",
        "src": "0:24:0"
      },
      {
        "absolutePath": "/Users/mfcalvanese/dev/eth/tidbit-eth/contracts/PushOracles/IOracleConsumer.sol",
        "file": "../PushOracles/IOracleConsumer.sol",
        "id": 2,
        "nodeType": "ImportDirective",
        "scope": 20,
        "sourceUnit": 1069,
        "src": "26:44:0",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "baseContracts": [
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 3,
              "name": "IOracleConsumer",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 1068,
              "src": "103:15:0",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_IOracleConsumer_$1068",
                "typeString": "contract IOracleConsumer"
              }
            },
            "id": 4,
            "nodeType": "InheritanceSpecifier",
            "src": "103:15:0"
          }
        ],
        "contractDependencies": [
          1068
        ],
        "contractKind": "contract",
        "documentation": null,
        "fullyImplemented": true,
        "id": 19,
        "linearizedBaseContracts": [
          19,
          1068
        ],
        "name": "OracleConsumerMock",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "constant": false,
            "id": 6,
            "name": "result",
            "nodeType": "VariableDeclaration",
            "scope": 19,
            "src": "124:19:0",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_bytes_storage",
              "typeString": "bytes"
            },
            "typeName": {
              "id": 5,
              "name": "bytes",
              "nodeType": "ElementaryTypeName",
              "src": "124:5:0",
              "typeDescriptions": {
                "typeIdentifier": "t_bytes_storage_ptr",
                "typeString": "bytes"
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 17,
              "nodeType": "Block",
              "src": "211:27:0",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 15,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "id": 13,
                      "name": "result",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 6,
                      "src": "217:6:0",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes_storage",
                        "typeString": "bytes storage ref"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "id": 14,
                      "name": "_result",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 10,
                      "src": "226:7:0",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes_calldata_ptr",
                        "typeString": "bytes calldata"
                      }
                    },
                    "src": "217:16:0",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_storage",
                      "typeString": "bytes storage ref"
                    }
                  },
                  "id": 16,
                  "nodeType": "ExpressionStatement",
                  "src": "217:16:0"
                }
              ]
            },
            "documentation": null,
            "id": 18,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": false,
            "modifiers": [],
            "name": "receiveResult",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 11,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 8,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 18,
                  "src": "171:7:0",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 7,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "171:7:0",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 10,
                  "name": "_result",
                  "nodeType": "VariableDeclaration",
                  "scope": 18,
                  "src": "187:13:0",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes_calldata_ptr",
                    "typeString": "bytes"
                  },
                  "typeName": {
                    "id": 9,
                    "name": "bytes",
                    "nodeType": "ElementaryTypeName",
                    "src": "187:5:0",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_storage_ptr",
                      "typeString": "bytes"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "170:31:0"
            },
            "payable": false,
            "returnParameters": {
              "id": 12,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "211:0:0"
            },
            "scope": 19,
            "src": "148:90:0",
            "stateMutability": "nonpayable",
            "superFunction": 1067,
            "visibility": "external"
          }
        ],
        "scope": 20,
        "src": "72:168:0"
      }
    ],
    "src": "0:241:0"
  },
  "compiler": {
    "name": "solc",
    "version": "0.4.24+commit.e67f0147.Emscripten.clang"
  },
  "networks": {},
  "schemaVersion": "2.0.1",
  "updatedAt": "2018-10-31T13:24:20.713Z"
}