{
  "contractName": "BasicPushOracle",
  "abi": [
    {
      "constant": true,
      "inputs": [],
      "name": "dataSource",
      "outputs": [
        {
          "name": "",
          "type": "address"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [
        {
          "name": "",
          "type": "bytes32"
        }
      ],
      "name": "isResultSet",
      "outputs": [
        {
          "name": "",
          "type": "bool"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "_result",
          "type": "bytes"
        }
      ],
      "name": "setResult",
      "outputs": [],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "consumer",
      "outputs": [
        {
          "name": "",
          "type": "address"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [
        {
          "name": "id",
          "type": "bytes32"
        }
      ],
      "name": "resultFor",
      "outputs": [
        {
          "name": "",
          "type": "bytes"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": false,
          "name": "_result",
          "type": "bytes"
        },
        {
          "indexed": false,
          "name": "_sender",
          "type": "address"
        }
      ],
      "name": "ResultSet",
      "type": "event"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "_dataSource",
          "type": "address"
        },
        {
          "name": "_consumer",
          "type": "address"
        }
      ],
      "name": "initialize",
      "outputs": [],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "_dataSource",
          "type": "address"
        }
      ],
      "name": "initialize",
      "outputs": [],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "_consumer",
          "type": "address"
        },
        {
          "name": "unusedParam",
          "type": "uint256"
        }
      ],
      "name": "initialize",
      "outputs": [],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    }
  ],
  "bytecode": "0x608060405234801561001057600080fd5b50610e92806100206000396000f30060806040526004361061008e576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680631b076edc14610093578063485cc955146100ea57806353bac2c91461014d578063944dc9fe14610196578063b4fd7296146101ff578063c4d66de814610256578063cd6dc68714610299578063d09cc57e146102e6575b600080fd5b34801561009f57600080fd5b506100a8610390565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156100f657600080fd5b5061014b600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506103b6565b005b34801561015957600080fd5b5061017c6004803603810190808035600019169060200190929190505050610501565b604051808215151515815260200191505060405180910390f35b3480156101a257600080fd5b506101fd600480360381019080803590602001908201803590602001908080601f016020809104026020016040519081016040528093929190818152602001838380828437820191505050505050919291929050505061051a565b005b34801561020b57600080fd5b50610214610611565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561026257600080fd5b50610297600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610637565b005b3480156102a557600080fd5b506102e4600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506107ae565b005b3480156102f257600080fd5b506103156004803603810190808035600019169060200190929190505050610926565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561035557808201518184015260208101905061033a565b50505050905090810190601f1680156103825780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b603460019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060019054906101000a900460ff16806103d657506103d5610af0565b5b806103ed57506000809054906101000a900460ff16155b1515610487576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602e8152602001807f436f6e747261637420696e7374616e63652068617320616c726561647920626581526020017f656e20696e697469616c697a656400000000000000000000000000000000000081525060400191505060405180910390fd5b600060019054906101000a900460ff1690506001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055506104d783610637565b6104e28260006107ae565b80600060016101000a81548160ff021916908315150217905550505050565b6000603460009054906101000a900460ff169050919050565b603460019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610605576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001807f5468652063616c6c6572206973206e6f7420746865206461746120736f75726381526020017f652e00000000000000000000000000000000000000000000000000000000000081525060400191505060405180910390fd5b61060e81610b01565b50565b603560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060019054906101000a900460ff16806106575750610656610af0565b5b8061066e57506000809054906101000a900460ff16155b1515610708576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602e8152602001807f436f6e747261637420696e7374616e63652068617320616c726561647920626581526020017f656e20696e697469616c697a656400000000000000000000000000000000000081525060400191505060405180910390fd5b600060019054906101000a900460ff1690506001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff02191690831515021790555081603460016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600060016101000a81548160ff0219169083151502179055505050565b60008060019054906101000a900460ff16806107ce57506107cd610af0565b5b806107e557506000809054906101000a900460ff16155b151561087f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602e8152602001807f436f6e747261637420696e7374616e63652068617320616c726561647920626581526020017f656e20696e697469616c697a656400000000000000000000000000000000000081525060400191505060405180910390fd5b600060019054906101000a900460ff1690506001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff02191690831515021790555082603560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600060016101000a81548160ff021916908315150217905550505050565b606060006001026000191682600019161415156109d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001807f54686973206f7261636c6520646f6573206e6f7420737570706f72742069647381526020017f2e0000000000000000000000000000000000000000000000000000000000000081525060400191505060405180910390fd5b6109da82610501565b1515610a4e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f54686520726573756c7420686173206e6f74206265656e207365742e0000000081525060200191505060405180910390fd5b60338054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610ae45780601f10610ab957610100808354040283529160200191610ae4565b820191906000526020600020905b815481529060010190602001808311610ac757829003601f168201915b50505050509050919050565b600080303b90506000811491505090565b603460009054906101000a900460ff16151515610b86576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f526573756c742068617320616c7265616479206265656e207365742e0000000081525060200191505060405180910390fd5b8060339080519060200190610b9c929190610dc1565b506001603460006101000a81548160ff0219169083151502179055507fec9117e779c7185025120058429df00dfe012336e6dfe5ad326b4973db23c2d2813360405180806020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001828103825284818151815260200191508051906020019080838360005b83811015610c4d578082015181840152602081019050610c32565b50505050905090810190601f168015610c7a5780820380516001836020036101000a031916815260200191505b50935050505060405180910390a1610c9181610c94565b50565b610c9d81610dbe565b603560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635dd808556000836040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808360010260001916815260200180602001828103825283818151815260200191508051906020019080838360005b83811015610d56578082015181840152602081019050610d3b565b50505050905090810190601f168015610d835780820380516001836020036101000a031916815260200191505b509350505050600060405180830381600087803b158015610da357600080fd5b505af1158015610db7573d6000803e3d6000fd5b5050505050565b50565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10610e0257805160ff1916838001178555610e30565b82800160010185558215610e30579182015b82811115610e2f578251825591602001919060010190610e14565b5b509050610e3d9190610e41565b5090565b610e6391905b80821115610e5f576000816000905550600101610e47565b5090565b905600a165627a7a7230582032139c2da34bcf184593a967c0d2e42fdec869a47d5879a4a3e4b04fb94616470029",
  "deployedBytecode": "0x60806040526004361061008e576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680631b076edc14610093578063485cc955146100ea57806353bac2c91461014d578063944dc9fe14610196578063b4fd7296146101ff578063c4d66de814610256578063cd6dc68714610299578063d09cc57e146102e6575b600080fd5b34801561009f57600080fd5b506100a8610390565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156100f657600080fd5b5061014b600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506103b6565b005b34801561015957600080fd5b5061017c6004803603810190808035600019169060200190929190505050610501565b604051808215151515815260200191505060405180910390f35b3480156101a257600080fd5b506101fd600480360381019080803590602001908201803590602001908080601f016020809104026020016040519081016040528093929190818152602001838380828437820191505050505050919291929050505061051a565b005b34801561020b57600080fd5b50610214610611565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561026257600080fd5b50610297600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610637565b005b3480156102a557600080fd5b506102e4600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506107ae565b005b3480156102f257600080fd5b506103156004803603810190808035600019169060200190929190505050610926565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561035557808201518184015260208101905061033a565b50505050905090810190601f1680156103825780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b603460019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060019054906101000a900460ff16806103d657506103d5610af0565b5b806103ed57506000809054906101000a900460ff16155b1515610487576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602e8152602001807f436f6e747261637420696e7374616e63652068617320616c726561647920626581526020017f656e20696e697469616c697a656400000000000000000000000000000000000081525060400191505060405180910390fd5b600060019054906101000a900460ff1690506001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055506104d783610637565b6104e28260006107ae565b80600060016101000a81548160ff021916908315150217905550505050565b6000603460009054906101000a900460ff169050919050565b603460019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610605576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001807f5468652063616c6c6572206973206e6f7420746865206461746120736f75726381526020017f652e00000000000000000000000000000000000000000000000000000000000081525060400191505060405180910390fd5b61060e81610b01565b50565b603560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060019054906101000a900460ff16806106575750610656610af0565b5b8061066e57506000809054906101000a900460ff16155b1515610708576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602e8152602001807f436f6e747261637420696e7374616e63652068617320616c726561647920626581526020017f656e20696e697469616c697a656400000000000000000000000000000000000081525060400191505060405180910390fd5b600060019054906101000a900460ff1690506001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff02191690831515021790555081603460016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600060016101000a81548160ff0219169083151502179055505050565b60008060019054906101000a900460ff16806107ce57506107cd610af0565b5b806107e557506000809054906101000a900460ff16155b151561087f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602e8152602001807f436f6e747261637420696e7374616e63652068617320616c726561647920626581526020017f656e20696e697469616c697a656400000000000000000000000000000000000081525060400191505060405180910390fd5b600060019054906101000a900460ff1690506001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff02191690831515021790555082603560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600060016101000a81548160ff021916908315150217905550505050565b606060006001026000191682600019161415156109d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001807f54686973206f7261636c6520646f6573206e6f7420737570706f72742069647381526020017f2e0000000000000000000000000000000000000000000000000000000000000081525060400191505060405180910390fd5b6109da82610501565b1515610a4e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f54686520726573756c7420686173206e6f74206265656e207365742e0000000081525060200191505060405180910390fd5b60338054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610ae45780601f10610ab957610100808354040283529160200191610ae4565b820191906000526020600020905b815481529060010190602001808311610ac757829003601f168201915b50505050509050919050565b600080303b90506000811491505090565b603460009054906101000a900460ff16151515610b86576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f526573756c742068617320616c7265616479206265656e207365742e0000000081525060200191505060405180910390fd5b8060339080519060200190610b9c929190610dc1565b506001603460006101000a81548160ff0219169083151502179055507fec9117e779c7185025120058429df00dfe012336e6dfe5ad326b4973db23c2d2813360405180806020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001828103825284818151815260200191508051906020019080838360005b83811015610c4d578082015181840152602081019050610c32565b50505050905090810190601f168015610c7a5780820380516001836020036101000a031916815260200191505b50935050505060405180910390a1610c9181610c94565b50565b610c9d81610dbe565b603560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635dd808556000836040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808360010260001916815260200180602001828103825283818151815260200191508051906020019080838360005b83811015610d56578082015181840152602081019050610d3b565b50505050905090810190601f168015610d835780820380516001836020036101000a031916815260200191505b509350505050600060405180830381600087803b158015610da357600080fd5b505af1158015610db7573d6000803e3d6000fd5b5050505050565b50565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10610e0257805160ff1916838001178555610e30565b82800160010185558215610e30579182015b82811115610e2f578251825591602001919060010190610e14565b5b509050610e3d9190610e41565b5090565b610e6391905b80821115610e5f576000816000905550600101610e47565b5090565b905600a165627a7a7230582032139c2da34bcf184593a967c0d2e42fdec869a47d5879a4a3e4b04fb94616470029",
  "sourceMap": "213:495:20:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;213:495:20;;;;;;;",
  "deployedSourceMap": "213:495:20:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;314:25:11;;8:9:-1;5:2;;;30:1;27;20:12;5:2;314:25:11;;;;;;;;;;;;;;;;;;;;;;;;;;;505:200:20;;8:9:-1;5:2;;;30:1;27;20:12;5:2;505:200:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;945:93:15;;8:9:-1;5:2;;;30:1;27;20:12;5:2;945:93:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;651:148:11;;8:9:-1;5:2;;;30:1;27;20:12;5:2;651:148:11;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;341:31:22;;8:9:-1;5:2;;;30:1;27;20:12;5:2;341:31:22;;;;;;;;;;;;;;;;;;;;;;;;;;;459:95:11;;8:9:-1;5:2;;;30:1;27;20:12;5:2;459:95:11;;;;;;;;;;;;;;;;;;;;;;;;;;;;540:115:22;;8:9:-1;5:2;;;30:1;27;20:12;5:2;540:115:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;625:215:15;;8:9:-1;5:2;;;30:1;27;20:12;5:2;625:215:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;625:215:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;314:25:11;;;;;;;;;;;;;:::o;505:200:20:-;1121:20:29;1016:12;;;;;;;;;;;:31;;;;1032:15;:13;:15::i;:::-;1016:31;:47;;;;1052:11;;;;;;;;;;;1051:12;1016:47;1008:106;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1144:12;;;;;;;;;;;1121:35;;1177:4;1162:12;;:19;;;;;;;;;;;;;;;;;;1201:4;1187:11;;:18;;;;;;;;;;;;;;;;;;620:35:20;643:11;620:22;:35::i;:::-;661:39;687:9;698:1;661:25;:39::i;:::-;1235:15:29;1220:12;;:30;;;;;;;;;;;;;;;;;;505:200:20;;;:::o;945:93:15:-;1003:4;1022:11;;;;;;;;;;;1015:18;;945:93;;;:::o;651:148:11:-;720:10;;;;;;;;;;;706:24;;:10;:24;;;698:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;775:19;786:7;775:10;:19::i;:::-;651:148;:::o;341:31:22:-;;;;;;;;;;;;;:::o;459:95:11:-;1121:20:29;1016:12;;;;;;;;;;;:31;;;;1032:15;:13;:15::i;:::-;1016:31;:47;;;;1052:11;;;;;;;;;;;1051:12;1016:47;1008:106;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1144:12;;;;;;;;;;;1121:35;;1177:4;1162:12;;:19;;;;;;;;;;;;;;;;;;1201:4;1187:11;;:18;;;;;;;;;;;;;;;;;;538:11:11;525:10;;:24;;;;;;;;;;;;;;;;;;1235:15:29;1220:12;;:30;;;;;;;;;;;;;;;;;;459:95:11;;:::o;540:115:22:-;1121:20:29;1016:12;;;;;;;;;;;:31;;;;1032:15;:13;:15::i;:::-;1016:31;:47;;;;1052:11;;;;;;;;;;;1051:12;1016:47;1008:106;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1144:12;;;;;;;;;;;1121:35;;1177:4;1162:12;;:19;;;;;;;;;;;;;;;;;;1201:4;1187:11;;:18;;;;;;;;;;;;;;;;;;641:9:22;630:8;;:20;;;;;;;;;;;;;;;;;;1235:15:29;1220:12;;:30;;;;;;;;;;;;;;;;;;540:115:22;;;:::o;625:215:15:-;679:5;714:1;706:10;;700:16;;;:2;:16;;;;692:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;768:15;780:2;768:11;:15::i;:::-;760:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;829:6;822:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;625:215;;;:::o;1341:467:29:-;1388:4;1729:10;1774:7;1762:20;1756:26;;1802:1;1796:2;:7;1789:14;;1341:467;;:::o;1259:223:15:-;1318:11;;;;;;;;;;;1317:12;1309:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1377:7;1368:6;:16;;;;;;;;;;;;:::i;:::-;;1404:4;1390:11;;:18;;;;;;;;;;;;;;;;;;1419:30;1429:7;1438:10;1419:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;1419:30:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1455:22;1469:7;1455:13;:22::i;:::-;1259:223;:::o;921:126:22:-;974:28;994:7;974:19;:28::i;:::-;1008:8;;;;;;;;;;;:22;;;1031:1;1034:7;1008:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;1008:34:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1008:34:22;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1008:34:22;;;;921:126;:::o;1559:81:15:-;;:::o;213:495:20:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o",
  "source": "pragma solidity ^0.4.24;\n\nimport \"./PushOracleBase.sol\";\nimport \"../Oracles/BasicOracle.sol\";\n\n/**\n * @title BasicPushOracle\n * @dev Combines BasicOracle and PushOracleBase to create a push style BasicOracle\n */ \ncontract BasicPushOracle is BasicOracle, PushOracleBase {\n\n  /**\n   * @dev BasicPushOracle constructor\n   * @param _dataSource The address that is able to set the result\n   * @param _consumer A contract that implements IOracleConsumer and is called when\n   * the result has been set.\n   */\n  function initialize(\n    address _dataSource,\n    IOracleConsumer _consumer\n  )\n    public\n    initializer\n  {\n    BasicOracle.initialize(_dataSource);\n    PushOracleBase.initialize(_consumer, 0);\n  }\n\n}\n",
  "sourcePath": "/Users/mfcalvanese/dev/eth/tidbit-eth/contracts/PushOracles/BasicPushOracle.sol",
  "ast": {
    "absolutePath": "/Users/mfcalvanese/dev/eth/tidbit-eth/contracts/PushOracles/BasicPushOracle.sol",
    "exportedSymbols": {
      "BasicPushOracle": [
        1058
      ]
    },
    "id": 1059,
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 1028,
        "literals": [
          "solidity",
          "^",
          "0.4",
          ".24"
        ],
        "nodeType": "PragmaDirective",
        "src": "0:24:20"
      },
      {
        "absolutePath": "/Users/mfcalvanese/dev/eth/tidbit-eth/contracts/PushOracles/PushOracleBase.sol",
        "file": "./PushOracleBase.sol",
        "id": 1029,
        "nodeType": "ImportDirective",
        "scope": 1059,
        "sourceUnit": 1114,
        "src": "26:30:20",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "/Users/mfcalvanese/dev/eth/tidbit-eth/contracts/Oracles/BasicOracle.sol",
        "file": "../Oracles/BasicOracle.sol",
        "id": 1030,
        "nodeType": "ImportDirective",
        "scope": 1059,
        "sourceUnit": 257,
        "src": "57:36:20",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "baseContracts": [
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 1031,
              "name": "BasicOracle",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 256,
              "src": "241:11:20",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_BasicOracle_$256",
                "typeString": "contract BasicOracle"
              }
            },
            "id": 1032,
            "nodeType": "InheritanceSpecifier",
            "src": "241:11:20"
          },
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 1033,
              "name": "PushOracleBase",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 1113,
              "src": "254:14:20",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_PushOracleBase_$1113",
                "typeString": "contract PushOracleBase"
              }
            },
            "id": 1034,
            "nodeType": "InheritanceSpecifier",
            "src": "254:14:20"
          }
        ],
        "contractDependencies": [
          256,
          273,
          734,
          1113,
          3241
        ],
        "contractKind": "contract",
        "documentation": "@title BasicPushOracle\n@dev Combines BasicOracle and PushOracleBase to create a push style BasicOracle",
        "fullyImplemented": true,
        "id": 1058,
        "linearizedBaseContracts": [
          1058,
          1113,
          256,
          734,
          273,
          3241
        ],
        "name": "BasicPushOracle",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "body": {
              "id": 1056,
              "nodeType": "Block",
              "src": "614:91:20",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 1046,
                        "name": "_dataSource",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 1036,
                        "src": "643:11:20",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      ],
                      "expression": {
                        "argumentTypes": null,
                        "id": 1043,
                        "name": "BasicOracle",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 256,
                        "src": "620:11:20",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_contract$_BasicOracle_$256_$",
                          "typeString": "type(contract BasicOracle)"
                        }
                      },
                      "id": 1045,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "initialize",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 237,
                      "src": "620:22:20",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$__$",
                        "typeString": "function (address)"
                      }
                    },
                    "id": 1047,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "620:35:20",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 1048,
                  "nodeType": "ExpressionStatement",
                  "src": "620:35:20"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 1052,
                        "name": "_consumer",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 1038,
                        "src": "687:9:20",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IOracleConsumer_$1068",
                          "typeString": "contract IOracleConsumer"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "hexValue": "30",
                        "id": 1053,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "number",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "698:1:20",
                        "subdenomination": null,
                        "typeDescriptions": {
                          "typeIdentifier": "t_rational_0_by_1",
                          "typeString": "int_const 0"
                        },
                        "value": "0"
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_contract$_IOracleConsumer_$1068",
                          "typeString": "contract IOracleConsumer"
                        },
                        {
                          "typeIdentifier": "t_rational_0_by_1",
                          "typeString": "int_const 0"
                        }
                      ],
                      "expression": {
                        "argumentTypes": null,
                        "id": 1049,
                        "name": "PushOracleBase",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 1113,
                        "src": "661:14:20",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_contract$_PushOracleBase_$1113_$",
                          "typeString": "type(contract PushOracleBase)"
                        }
                      },
                      "id": 1051,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "initialize",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 1093,
                      "src": "661:25:20",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_nonpayable$_t_contract$_IOracleConsumer_$1068_$_t_uint256_$returns$__$",
                        "typeString": "function (contract IOracleConsumer,uint256)"
                      }
                    },
                    "id": 1054,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "661:39:20",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 1055,
                  "nodeType": "ExpressionStatement",
                  "src": "661:39:20"
                }
              ]
            },
            "documentation": "@dev BasicPushOracle constructor\n@param _dataSource The address that is able to set the result\n@param _consumer A contract that implements IOracleConsumer and is called when\nthe result has been set.",
            "id": 1057,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": false,
            "modifiers": [
              {
                "arguments": null,
                "id": 1041,
                "modifierName": {
                  "argumentTypes": null,
                  "id": 1040,
                  "name": "initializer",
                  "nodeType": "Identifier",
                  "overloadedDeclarations": [],
                  "referencedDeclaration": 3222,
                  "src": "600:11:20",
                  "typeDescriptions": {
                    "typeIdentifier": "t_modifier$__$",
                    "typeString": "modifier ()"
                  }
                },
                "nodeType": "ModifierInvocation",
                "src": "600:11:20"
              }
            ],
            "name": "initialize",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 1039,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 1036,
                  "name": "_dataSource",
                  "nodeType": "VariableDeclaration",
                  "scope": 1057,
                  "src": "530:19:20",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 1035,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "530:7:20",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 1038,
                  "name": "_consumer",
                  "nodeType": "VariableDeclaration",
                  "scope": 1057,
                  "src": "555:25:20",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IOracleConsumer_$1068",
                    "typeString": "contract IOracleConsumer"
                  },
                  "typeName": {
                    "contractScope": null,
                    "id": 1037,
                    "name": "IOracleConsumer",
                    "nodeType": "UserDefinedTypeName",
                    "referencedDeclaration": 1068,
                    "src": "555:15:20",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IOracleConsumer_$1068",
                      "typeString": "contract IOracleConsumer"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "524:60:20"
            },
            "payable": false,
            "returnParameters": {
              "id": 1042,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "614:0:20"
            },
            "scope": 1058,
            "src": "505:200:20",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          }
        ],
        "scope": 1059,
        "src": "213:495:20"
      }
    ],
    "src": "0:709:20"
  },
  "legacyAST": {
    "absolutePath": "/Users/mfcalvanese/dev/eth/tidbit-eth/contracts/PushOracles/BasicPushOracle.sol",
    "exportedSymbols": {
      "BasicPushOracle": [
        1058
      ]
    },
    "id": 1059,
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 1028,
        "literals": [
          "solidity",
          "^",
          "0.4",
          ".24"
        ],
        "nodeType": "PragmaDirective",
        "src": "0:24:20"
      },
      {
        "absolutePath": "/Users/mfcalvanese/dev/eth/tidbit-eth/contracts/PushOracles/PushOracleBase.sol",
        "file": "./PushOracleBase.sol",
        "id": 1029,
        "nodeType": "ImportDirective",
        "scope": 1059,
        "sourceUnit": 1114,
        "src": "26:30:20",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "/Users/mfcalvanese/dev/eth/tidbit-eth/contracts/Oracles/BasicOracle.sol",
        "file": "../Oracles/BasicOracle.sol",
        "id": 1030,
        "nodeType": "ImportDirective",
        "scope": 1059,
        "sourceUnit": 257,
        "src": "57:36:20",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "baseContracts": [
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 1031,
              "name": "BasicOracle",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 256,
              "src": "241:11:20",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_BasicOracle_$256",
                "typeString": "contract BasicOracle"
              }
            },
            "id": 1032,
            "nodeType": "InheritanceSpecifier",
            "src": "241:11:20"
          },
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 1033,
              "name": "PushOracleBase",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 1113,
              "src": "254:14:20",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_PushOracleBase_$1113",
                "typeString": "contract PushOracleBase"
              }
            },
            "id": 1034,
            "nodeType": "InheritanceSpecifier",
            "src": "254:14:20"
          }
        ],
        "contractDependencies": [
          256,
          273,
          734,
          1113,
          3241
        ],
        "contractKind": "contract",
        "documentation": "@title BasicPushOracle\n@dev Combines BasicOracle and PushOracleBase to create a push style BasicOracle",
        "fullyImplemented": true,
        "id": 1058,
        "linearizedBaseContracts": [
          1058,
          1113,
          256,
          734,
          273,
          3241
        ],
        "name": "BasicPushOracle",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "body": {
              "id": 1056,
              "nodeType": "Block",
              "src": "614:91:20",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 1046,
                        "name": "_dataSource",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 1036,
                        "src": "643:11:20",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      ],
                      "expression": {
                        "argumentTypes": null,
                        "id": 1043,
                        "name": "BasicOracle",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 256,
                        "src": "620:11:20",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_contract$_BasicOracle_$256_$",
                          "typeString": "type(contract BasicOracle)"
                        }
                      },
                      "id": 1045,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "initialize",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 237,
                      "src": "620:22:20",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$__$",
                        "typeString": "function (address)"
                      }
                    },
                    "id": 1047,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "620:35:20",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 1048,
                  "nodeType": "ExpressionStatement",
                  "src": "620:35:20"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 1052,
                        "name": "_consumer",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 1038,
                        "src": "687:9:20",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_IOracleConsumer_$1068",
                          "typeString": "contract IOracleConsumer"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "hexValue": "30",
                        "id": 1053,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "number",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "698:1:20",
                        "subdenomination": null,
                        "typeDescriptions": {
                          "typeIdentifier": "t_rational_0_by_1",
                          "typeString": "int_const 0"
                        },
                        "value": "0"
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_contract$_IOracleConsumer_$1068",
                          "typeString": "contract IOracleConsumer"
                        },
                        {
                          "typeIdentifier": "t_rational_0_by_1",
                          "typeString": "int_const 0"
                        }
                      ],
                      "expression": {
                        "argumentTypes": null,
                        "id": 1049,
                        "name": "PushOracleBase",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 1113,
                        "src": "661:14:20",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_contract$_PushOracleBase_$1113_$",
                          "typeString": "type(contract PushOracleBase)"
                        }
                      },
                      "id": 1051,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "initialize",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 1093,
                      "src": "661:25:20",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_nonpayable$_t_contract$_IOracleConsumer_$1068_$_t_uint256_$returns$__$",
                        "typeString": "function (contract IOracleConsumer,uint256)"
                      }
                    },
                    "id": 1054,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "661:39:20",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 1055,
                  "nodeType": "ExpressionStatement",
                  "src": "661:39:20"
                }
              ]
            },
            "documentation": "@dev BasicPushOracle constructor\n@param _dataSource The address that is able to set the result\n@param _consumer A contract that implements IOracleConsumer and is called when\nthe result has been set.",
            "id": 1057,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": false,
            "modifiers": [
              {
                "arguments": null,
                "id": 1041,
                "modifierName": {
                  "argumentTypes": null,
                  "id": 1040,
                  "name": "initializer",
                  "nodeType": "Identifier",
                  "overloadedDeclarations": [],
                  "referencedDeclaration": 3222,
                  "src": "600:11:20",
                  "typeDescriptions": {
                    "typeIdentifier": "t_modifier$__$",
                    "typeString": "modifier ()"
                  }
                },
                "nodeType": "ModifierInvocation",
                "src": "600:11:20"
              }
            ],
            "name": "initialize",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 1039,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 1036,
                  "name": "_dataSource",
                  "nodeType": "VariableDeclaration",
                  "scope": 1057,
                  "src": "530:19:20",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 1035,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "530:7:20",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 1038,
                  "name": "_consumer",
                  "nodeType": "VariableDeclaration",
                  "scope": 1057,
                  "src": "555:25:20",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IOracleConsumer_$1068",
                    "typeString": "contract IOracleConsumer"
                  },
                  "typeName": {
                    "contractScope": null,
                    "id": 1037,
                    "name": "IOracleConsumer",
                    "nodeType": "UserDefinedTypeName",
                    "referencedDeclaration": 1068,
                    "src": "555:15:20",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IOracleConsumer_$1068",
                      "typeString": "contract IOracleConsumer"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "524:60:20"
            },
            "payable": false,
            "returnParameters": {
              "id": 1042,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "614:0:20"
            },
            "scope": 1058,
            "src": "505:200:20",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          }
        ],
        "scope": 1059,
        "src": "213:495:20"
      }
    ],
    "src": "0:709:20"
  },
  "compiler": {
    "name": "solc",
    "version": "0.4.24+commit.e67f0147.Emscripten.clang"
  },
  "networks": {},
  "schemaVersion": "2.0.1",
  "updatedAt": "2018-10-31T13:24:20.728Z"
}