{
  "contractName": "PaidMultiOracle",
  "abi": [
    {
      "constant": false,
      "inputs": [
        {
          "name": "id",
          "type": "bytes32"
        },
        {
          "name": "result",
          "type": "bytes"
        }
      ],
      "name": "setResult",
      "outputs": [],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "reward",
      "outputs": [
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [
        {
          "name": "id",
          "type": "bytes32"
        }
      ],
      "name": "isOracleSet",
      "outputs": [
        {
          "name": "",
          "type": "bool"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [
        {
          "name": "id",
          "type": "bytes32"
        }
      ],
      "name": "isResultSet",
      "outputs": [
        {
          "name": "",
          "type": "bool"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [],
      "name": "renounceOwnership",
      "outputs": [],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "owner",
      "outputs": [
        {
          "name": "",
          "type": "address"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "isOwner",
      "outputs": [
        {
          "name": "",
          "type": "bool"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "_id",
          "type": "bytes32"
        },
        {
          "name": "_dataSource",
          "type": "address"
        }
      ],
      "name": "newOracle",
      "outputs": [],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [
        {
          "name": "id",
          "type": "bytes32"
        }
      ],
      "name": "resultFor",
      "outputs": [
        {
          "name": "",
          "type": "bytes"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "newOwner",
          "type": "address"
        }
      ],
      "name": "transferOwnership",
      "outputs": [],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": false,
          "name": "_id",
          "type": "bytes32"
        },
        {
          "indexed": false,
          "name": "_result",
          "type": "bytes"
        },
        {
          "indexed": false,
          "name": "_sender",
          "type": "address"
        }
      ],
      "name": "ResultSet",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "name": "previousOwner",
          "type": "address"
        }
      ],
      "name": "OwnershipRenounced",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "name": "previousOwner",
          "type": "address"
        },
        {
          "indexed": true,
          "name": "newOwner",
          "type": "address"
        }
      ],
      "name": "OwnershipTransferred",
      "type": "event"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "_sender",
          "type": "address"
        }
      ],
      "name": "initialize",
      "outputs": [],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "_reward",
          "type": "uint256"
        },
        {
          "name": "_sender",
          "type": "address"
        }
      ],
      "name": "initialize",
      "outputs": [],
      "payable": true,
      "stateMutability": "payable",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "getReward",
      "outputs": [
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    }
  ],
  "bytecode": "0x608060405234801561001057600080fd5b5061152c806100206000396000f3006080604052600436106100c5576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806316dffad8146100ca578063228cb7331461014157806336eb6a921461016c5780633d18b912146101b557806353bac2c9146101e0578063715018a6146102295780638da5cb5b146102405780638f32d59b146102975780639d8d3f61146102c6578063c4d66de814610317578063d09cc57e1461035a578063da35a26f14610404578063f2fde38b14610444575b600080fd5b3480156100d657600080fd5b5061013f6004803603810190808035600019169060200190929190803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290505050610487565b005b34801561014d57600080fd5b5061015661059c565b6040518082815260200191505060405180910390f35b34801561017857600080fd5b5061019b60048036038101908080356000191690602001909291905050506105a2565b604051808215151515815260200191505060405180910390f35b3480156101c157600080fd5b506101ca610619565b6040518082815260200191505060405180910390f35b3480156101ec57600080fd5b5061020f6004803603810190808035600019169060200190929190505050610643565b604051808215151515815260200191505060405180910390f35b34801561023557600080fd5b5061023e610678565b005b34801561024c57600080fd5b50610255610734565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156102a357600080fd5b506102ac61075e565b604051808215151515815260200191505060405180910390f35b3480156102d257600080fd5b506103156004803603810190808035600019169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506107b6565b005b34801561032357600080fd5b50610358600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506109f3565b005b34801561036657600080fd5b506103896004803603810190808035600019169060200190929190505050610b32565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156103c95780820151818401526020810190506103ae565b50505050905090810190601f1680156103f65780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61044260048036038101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610c6f565b005b34801561045057600080fd5b50610485600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610db6565b005b60666000836000191660001916815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561058e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260368152602001807f5468652063616c6c6572206973206e6f74207468652076616c6964206461746181526020017f20736f75726365207769746820676976656e2069642e0000000000000000000081525060400191505060405180910390fd5b6105988282610dd5565b5050565b60675481565b60008073ffffffffffffffffffffffffffffffffffffffff1660666000846000191660001916815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600061063e6067543073ffffffffffffffffffffffffffffffffffffffff1631610fab565b905090565b600060666000836000191660001916815260200190815260200160002060020160009054906101000a900460ff169050919050565b61068061075e565b151561068b57600080fd5b603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167ff8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c6482060405160405180910390a26000603360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614905090565b6107be61075e565b15156107c957600080fd5b80600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415151561086f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f496e76616c69642064617461536f757263652e0000000000000000000000000081525060200191505060405180910390fd5b610878836105a2565b151515610913576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602e8152602001807f4f7261636c6520776974682074686520676976656e2069642068617320616c7281526020017f65616479206265656e207365742e00000000000000000000000000000000000081525060400191505060405180910390fd5b61091c83610643565b151515610991576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f526573756c742068617320616c7265616479206265656e207365742e0000000081525060200191505060405180910390fd5b8160666000856000191660001916815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050565b60008060019054906101000a900460ff1680610a135750610a12610fc4565b5b80610a2a57506000809054906101000a900460ff16155b1515610ac4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602e8152602001807f436f6e747261637420696e7374616e63652068617320616c726561647920626581526020017f656e20696e697469616c697a656400000000000000000000000000000000000081525060400191505060405180910390fd5b600060019054906101000a900460ff1690506001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff021916908315150217905550610b1482610fd5565b80600060016101000a81548160ff0219169083151502179055505050565b6060610b3d82610643565b1515610bb1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f54686520726573756c7420686173206e6f74206265656e207365742e0000000081525060200191505060405180910390fd5b6066600083600019166000191681526020019081526020016000206001018054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610c635780601f10610c3857610100808354040283529160200191610c63565b820191906000526020600020905b815481529060010190602001808311610c4657829003601f168201915b50505050509050919050565b60008060019054906101000a900460ff1680610c8f5750610c8e610fc4565b5b80610ca657506000809054906101000a900460ff16155b1515610d40576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602e8152602001807f436f6e747261637420696e7374616e63652068617320616c726561647920626581526020017f656e20696e697469616c697a656400000000000000000000000000000000000081525060400191505060405180910390fd5b600060019054906101000a900460ff1690506001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff021916908315150217905550610d90826109f3565b8260678190555080600060016101000a81548160ff021916908315150217905550505050565b610dbe61075e565b1515610dc957600080fd5b610dd28161114c565b50565b610dde82610643565b151515610e53576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f526573756c742068617320616c7265616479206265656e207365742e0000000081525060200191505060405180910390fd5b806066600084600019166000191681526020019081526020016000206001019080519060200190610e8592919061145b565b50600160666000846000191660001916815260200190815260200160002060020160006101000a81548160ff0219169083151502179055507f9693067292753e3e1e85088e138675c8bf76cc6b9a0512830a45c1bb2cea4d90828233604051808460001916600019168152602001806020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001828103825284818151815260200191508051906020019080838360005b83811015610f61578082015181840152602081019050610f46565b50505050905090810190601f168015610f8e5780820380516001836020036101000a031916815260200191505b5094505050505060405180910390a1610fa78282611248565b5050565b6000818310610fba5781610fbc565b825b905092915050565b600080303b90506000811491505090565b60008060019054906101000a900460ff1680610ff55750610ff4610fc4565b5b8061100c57506000809054906101000a900460ff16155b15156110a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602e8152602001807f436f6e747261637420696e7374616e63652068617320616c726561647920626581526020017f656e20696e697469616c697a656400000000000000000000000000000000000081525060400191505060405180910390fd5b600060019054906101000a900460ff1690506001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff02191690831515021790555081603360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600060016101000a81548160ff0219169083151502179055505050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415151561118857600080fd5b8073ffffffffffffffffffffffffffffffffffffffff16603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380603360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60666000836000191660001916815260200190815260200160002060020160009054906101000a900460ff1615156112e8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f526573756c74206861736e2774206265656e20736574207965742e000000000081525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660666000846000191660001916815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141515156113cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f496e76616c69642064617461536f75726365000000000000000000000000000081525060200191505060405180910390fd5b60666000836000191660001916815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc61142b610619565b9081150290604051600060405180830381858888f19350505050158015611456573d6000803e3d6000fd5b505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061149c57805160ff19168380011785556114ca565b828001600101855582156114ca579182015b828111156114c95782518255916020019190600101906114ae565b5b5090506114d791906114db565b5090565b6114fd91905b808211156114f95760008160009055506001016114e1565b5090565b905600a165627a7a723058201703614036b05f767dd9c1ee24ce18d0e5e338e0785e540d279b716b35e3df800029",
  "deployedBytecode": "0x6080604052600436106100c5576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806316dffad8146100ca578063228cb7331461014157806336eb6a921461016c5780633d18b912146101b557806353bac2c9146101e0578063715018a6146102295780638da5cb5b146102405780638f32d59b146102975780639d8d3f61146102c6578063c4d66de814610317578063d09cc57e1461035a578063da35a26f14610404578063f2fde38b14610444575b600080fd5b3480156100d657600080fd5b5061013f6004803603810190808035600019169060200190929190803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290505050610487565b005b34801561014d57600080fd5b5061015661059c565b6040518082815260200191505060405180910390f35b34801561017857600080fd5b5061019b60048036038101908080356000191690602001909291905050506105a2565b604051808215151515815260200191505060405180910390f35b3480156101c157600080fd5b506101ca610619565b6040518082815260200191505060405180910390f35b3480156101ec57600080fd5b5061020f6004803603810190808035600019169060200190929190505050610643565b604051808215151515815260200191505060405180910390f35b34801561023557600080fd5b5061023e610678565b005b34801561024c57600080fd5b50610255610734565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156102a357600080fd5b506102ac61075e565b604051808215151515815260200191505060405180910390f35b3480156102d257600080fd5b506103156004803603810190808035600019169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506107b6565b005b34801561032357600080fd5b50610358600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506109f3565b005b34801561036657600080fd5b506103896004803603810190808035600019169060200190929190505050610b32565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156103c95780820151818401526020810190506103ae565b50505050905090810190601f1680156103f65780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61044260048036038101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610c6f565b005b34801561045057600080fd5b50610485600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610db6565b005b60666000836000191660001916815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561058e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260368152602001807f5468652063616c6c6572206973206e6f74207468652076616c6964206461746181526020017f20736f75726365207769746820676976656e2069642e0000000000000000000081525060400191505060405180910390fd5b6105988282610dd5565b5050565b60675481565b60008073ffffffffffffffffffffffffffffffffffffffff1660666000846000191660001916815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600061063e6067543073ffffffffffffffffffffffffffffffffffffffff1631610fab565b905090565b600060666000836000191660001916815260200190815260200160002060020160009054906101000a900460ff169050919050565b61068061075e565b151561068b57600080fd5b603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167ff8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c6482060405160405180910390a26000603360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614905090565b6107be61075e565b15156107c957600080fd5b80600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415151561086f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f496e76616c69642064617461536f757263652e0000000000000000000000000081525060200191505060405180910390fd5b610878836105a2565b151515610913576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602e8152602001807f4f7261636c6520776974682074686520676976656e2069642068617320616c7281526020017f65616479206265656e207365742e00000000000000000000000000000000000081525060400191505060405180910390fd5b61091c83610643565b151515610991576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f526573756c742068617320616c7265616479206265656e207365742e0000000081525060200191505060405180910390fd5b8160666000856000191660001916815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050565b60008060019054906101000a900460ff1680610a135750610a12610fc4565b5b80610a2a57506000809054906101000a900460ff16155b1515610ac4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602e8152602001807f436f6e747261637420696e7374616e63652068617320616c726561647920626581526020017f656e20696e697469616c697a656400000000000000000000000000000000000081525060400191505060405180910390fd5b600060019054906101000a900460ff1690506001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff021916908315150217905550610b1482610fd5565b80600060016101000a81548160ff0219169083151502179055505050565b6060610b3d82610643565b1515610bb1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f54686520726573756c7420686173206e6f74206265656e207365742e0000000081525060200191505060405180910390fd5b6066600083600019166000191681526020019081526020016000206001018054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610c635780601f10610c3857610100808354040283529160200191610c63565b820191906000526020600020905b815481529060010190602001808311610c4657829003601f168201915b50505050509050919050565b60008060019054906101000a900460ff1680610c8f5750610c8e610fc4565b5b80610ca657506000809054906101000a900460ff16155b1515610d40576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602e8152602001807f436f6e747261637420696e7374616e63652068617320616c726561647920626581526020017f656e20696e697469616c697a656400000000000000000000000000000000000081525060400191505060405180910390fd5b600060019054906101000a900460ff1690506001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff021916908315150217905550610d90826109f3565b8260678190555080600060016101000a81548160ff021916908315150217905550505050565b610dbe61075e565b1515610dc957600080fd5b610dd28161114c565b50565b610dde82610643565b151515610e53576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f526573756c742068617320616c7265616479206265656e207365742e0000000081525060200191505060405180910390fd5b806066600084600019166000191681526020019081526020016000206001019080519060200190610e8592919061145b565b50600160666000846000191660001916815260200190815260200160002060020160006101000a81548160ff0219169083151502179055507f9693067292753e3e1e85088e138675c8bf76cc6b9a0512830a45c1bb2cea4d90828233604051808460001916600019168152602001806020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001828103825284818151815260200191508051906020019080838360005b83811015610f61578082015181840152602081019050610f46565b50505050905090810190601f168015610f8e5780820380516001836020036101000a031916815260200191505b5094505050505060405180910390a1610fa78282611248565b5050565b6000818310610fba5781610fbc565b825b905092915050565b600080303b90506000811491505090565b60008060019054906101000a900460ff1680610ff55750610ff4610fc4565b5b8061100c57506000809054906101000a900460ff16155b15156110a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602e8152602001807f436f6e747261637420696e7374616e63652068617320616c726561647920626581526020017f656e20696e697469616c697a656400000000000000000000000000000000000081525060400191505060405180910390fd5b600060019054906101000a900460ff1690506001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff02191690831515021790555081603360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600060016101000a81548160ff0219169083151502179055505050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415151561118857600080fd5b8073ffffffffffffffffffffffffffffffffffffffff16603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380603360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60666000836000191660001916815260200190815260200160002060020160009054906101000a900460ff1615156112e8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f526573756c74206861736e2774206265656e20736574207965742e000000000081525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660666000846000191660001916815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141515156113cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f496e76616c69642064617461536f75726365000000000000000000000000000081525060200191505060405180910390fd5b60666000836000191660001916815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc61142b610619565b9081150290604051600060405180830381858888f19350505050158015611456573d6000803e3d6000fd5b505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061149c57805160ff19168380011785556114ca565b828001600101855582156114ca579182015b828111156114c95782518255916020019190600101906114ae565b5b5090506114d791906114db565b5090565b6114fd91905b808211156114f95760008160009055506001016114e1565b5090565b905600a165627a7a723058201703614036b05f767dd9c1ee24ce18d0e5e338e0785e540d279b716b35e3df800029",
  "sourceMap": "259:746:16:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;259:746:16;;;;;;;",
  "deployedSourceMap": "259:746:16:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;905:212:14;;8:9:-1;5:2;;;30:1;27;20:12;5:2;905:212:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;304:21:16;;8:9:-1;5:2;;;30:1;27;20:12;5:2;304:21:16;;;;;;;;;;;;;;;;;;;;;;;1885:132:14;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1885:132:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;584:108:16;;8:9:-1;5:2;;;30:1;27;20:12;5:2;584:108:16;;;;;;;;;;;;;;;;;;;;;;;1617:119:14;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1617:119:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1375:113:28;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1375:113:28;;;;;;741:70;;8:9:-1;5:2;;;30:1;27;20:12;5:2;741:70:28;;;;;;;;;;;;;;;;;;;;;;;;;;;1028:83;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1028:83:28;;;;;;;;;;;;;;;;;;;;;;;;;;;2112:322:14;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2112:322:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;688:94;;8:9:-1;5:2;;;30:1;27;20:12;5:2;688:94:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;1293:178;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1293:178:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;1293:178:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;332:145:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1649:101:28;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1649:101:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;905:212:14;1003:7;:11;1011:2;1003:11;;;;;;;;;;;;;;;;;:22;;;;;;;;;;;;989:36;;:10;:36;;;981:103;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1090:22;1101:2;1105:6;1090:10;:22::i;:::-;905:212;;:::o;304:21:16:-;;;;:::o;1885:132:14:-;1955:4;2010:1;1976:36;;:7;:11;1984:2;1976:11;;;;;;;;;;;;;;;;;:22;;;;;;;;;;;;:36;;;;1969:43;;1885:132;;;:::o;584:108:16:-;626:7;648:39;657:6;;673:4;665:21;;;648:8;:39::i;:::-;641:46;;584:108;:::o;1617:119:14:-;1687:4;1708:7;:11;1716:2;1708:11;;;;;;;;;;;;;;;;;:23;;;;;;;;;;;;1701:30;;1617:119;;;:::o;1375:113:28:-;926:9;:7;:9::i;:::-;918:18;;;;;;;;1451:6;;;;;;;;;;;1432:26;;;;;;;;;;;;1481:1;1464:6;;:19;;;;;;;;;;;;;;;;;;1375:113::o;741:70::-;778:7;800:6;;;;;;;;;;;793:13;;741:70;:::o;1028:83::-;1067:4;1100:6;;;;;;;;;;;1086:20;;:10;:20;;;1079:27;;1028:83;:::o;2112:322:14:-;926:9:28;:7;:9::i;:::-;918:18;;;;;;;;2225:11:14;611:1;590:23;;:9;:23;;;;582:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2255:16;2267:3;2255:11;:16::i;:::-;2254:17;2246:76;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2337:16;2349:3;2337:11;:16::i;:::-;2336:17;2328:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2418:11;2392:7;:12;2400:3;2392:12;;;;;;;;;;;;;;;;;:23;;;:37;;;;;;;;;;;;;;;;;;942:1:28;2112:322:14;;:::o;688:94::-;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;;;;;;;;;;;;;;;;;;750:27:14;769:7;750:18;:27::i;:::-;1235:15:29;1220:12;;:30;;;;;;;;;;;;;;;;;;688:94:14;;:::o;1293:178::-;1364:5;1387:15;1399:2;1387:11;:15::i;:::-;1379:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1448:7;:11;1456:2;1448:11;;;;;;;;;;;;;;;;;:18;;1441:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1293:178;;;:::o;332:145:16:-;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;;;;;;;;;;;;;;;;;;419:31:16;442:7;419:22;:31::i;:::-;465:7;456:6;:16;;;;1235:15:29;1220:12;;:30;;;;;;;;;;;;;;;;;;332:145:16;;;:::o;1649:101:28:-;926:9;:7;:9::i;:::-;918:18;;;;;;;;1717:28;1736:8;1717:18;:28::i;:::-;1649:101;:::o;2699:296:14:-;2790:16;2802:3;2790:11;:16::i;:::-;2789:17;2781:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2867:7;2845;:12;2853:3;2845:12;;;;;;;;;;;;;;;;;:19;;:29;;;;;;;;;;;;:::i;:::-;;2907:4;2880:7;:12;2888:3;2880:12;;;;;;;;;;;;;;;;;:24;;;:31;;;;;;;;;;;;;;;;;;2922:35;2932:3;2937:7;2946:10;2922:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;2922:35:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2963:27;2977:3;2982:7;2963:13;:27::i;:::-;2699:296;;:::o;203:98:26:-;261:7;287:1;283;:5;:13;;295:1;283:13;;;291:1;283:13;276:20;;203:98;;;;:::o;1341:467:29:-;1388:4;1729:10;1774:7;1762:20;1756:26;;1802:1;1796:2;:7;1789:14;;1341:467;;:::o;605:81:28:-;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;;;;;;;;;;;;;;;;;;675:6:28;666;;:15;;;;;;;;;;;;;;;;;;1235::29;1220:12;;:30;;;;;;;;;;;;;;;;;;605:81:28;;:::o;1884:169::-;1973:1;1953:22;;:8;:22;;;;1945:31;;;;;;;;2016:8;1987:38;;2008:6;;;;;;;;;;;1987:38;;;;;;;;;;;;2040:8;2031:6;;:17;;;;;;;;;;;;;;;;;;1884:169;:::o;733:270:16:-;817:7;:12;825:3;817:12;;;;;;;;;;;;;;;;;:24;;;;;;;;;;;;809:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;922:1;887:37;;:7;:12;895:3;887:12;;;;;;;;;;;;;;;;;:23;;;;;;;;;;;;:37;;;;879:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;953:7;:12;961:3;953:12;;;;;;;;;;;;;;;;;:23;;;;;;;;;;;;:32;;:45;986:11;:9;:11::i;:::-;953:45;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;953:45:16;733:270;;:::o;259:746::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o",
  "source": "pragma solidity ^0.4.24;\n\nimport \"./MultiOracle.sol\";\nimport \"openzeppelin-eth/contracts/math/Math.sol\";\nimport \"openzeppelin-eth/contracts/math/SafeMath.sol\";\n\n/**\n * @title PaidMultiOracle\n * @dev Extends MultiOracle to include rewards for dataSources\n */\n\ncontract PaidMultiOracle is MultiOracle {\n\n  uint256 public reward;\n  \n  function initialize(uint256 _reward, address _sender) initializer public payable {\n    MultiOracle.initialize(_sender);\n    reward = _reward;\n  }\n\n  /**\n   * @dev Returns the oracle reward or the contract's balance if it's less than the reward\n   */\n  function getReward() public view returns (uint256) {\n    return Math.min(reward, address(this).balance);\n  }\n\n  /*\n   *  Internal functions\n   */\n\n  function _resultWasSet(bytes32 _id, bytes /*_result*/)\n    internal\n  {\n    require(results[_id].resultIsSet, \"Result hasn't been set yet.\");\n    require(results[_id].dataSource != address(0), \"Invalid dataSource\");\n    results[_id].dataSource.transfer(getReward());\n  }\n}\n",
  "sourcePath": "/Users/mfcalvanese/dev/eth/tidbit-eth/contracts/Oracles/PaidMultiOracle.sol",
  "ast": {
    "absolutePath": "/Users/mfcalvanese/dev/eth/tidbit-eth/contracts/Oracles/PaidMultiOracle.sol",
    "exportedSymbols": {
      "PaidMultiOracle": [
        816
      ]
    },
    "id": 817,
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 736,
        "literals": [
          "solidity",
          "^",
          "0.4",
          ".24"
        ],
        "nodeType": "PragmaDirective",
        "src": "0:24:16"
      },
      {
        "absolutePath": "/Users/mfcalvanese/dev/eth/tidbit-eth/contracts/Oracles/MultiOracle.sol",
        "file": "./MultiOracle.sol",
        "id": 737,
        "nodeType": "ImportDirective",
        "scope": 817,
        "sourceUnit": 647,
        "src": "26:27:16",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "openzeppelin-eth/contracts/math/Math.sol",
        "file": "openzeppelin-eth/contracts/math/Math.sol",
        "id": 738,
        "nodeType": "ImportDirective",
        "scope": 817,
        "sourceUnit": 2945,
        "src": "54:50:16",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "openzeppelin-eth/contracts/math/SafeMath.sol",
        "file": "openzeppelin-eth/contracts/math/SafeMath.sol",
        "id": 739,
        "nodeType": "ImportDirective",
        "scope": 817,
        "sourceUnit": 3073,
        "src": "105:54:16",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "baseContracts": [
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 740,
              "name": "MultiOracle",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 646,
              "src": "287:11:16",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_MultiOracle_$646",
                "typeString": "contract MultiOracle"
              }
            },
            "id": 741,
            "nodeType": "InheritanceSpecifier",
            "src": "287:11:16"
          }
        ],
        "contractDependencies": [
          273,
          646,
          3185,
          3241
        ],
        "contractKind": "contract",
        "documentation": "@title PaidMultiOracle\n@dev Extends MultiOracle to include rewards for dataSources",
        "fullyImplemented": true,
        "id": 816,
        "linearizedBaseContracts": [
          816,
          646,
          3185,
          273,
          3241
        ],
        "name": "PaidMultiOracle",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "constant": false,
            "id": 743,
            "name": "reward",
            "nodeType": "VariableDeclaration",
            "scope": 816,
            "src": "304:21:16",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_uint256",
              "typeString": "uint256"
            },
            "typeName": {
              "id": 742,
              "name": "uint256",
              "nodeType": "ElementaryTypeName",
              "src": "304:7:16",
              "typeDescriptions": {
                "typeIdentifier": "t_uint256",
                "typeString": "uint256"
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 762,
              "nodeType": "Block",
              "src": "413:64:16",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 755,
                        "name": "_sender",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 747,
                        "src": "442:7:16",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      ],
                      "expression": {
                        "argumentTypes": null,
                        "id": 752,
                        "name": "MultiOracle",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 646,
                        "src": "419:11:16",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_contract$_MultiOracle_$646_$",
                          "typeString": "type(contract MultiOracle)"
                        }
                      },
                      "id": 754,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "initialize",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 485,
                      "src": "419:22:16",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$__$",
                        "typeString": "function (address)"
                      }
                    },
                    "id": 756,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "419:31:16",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 757,
                  "nodeType": "ExpressionStatement",
                  "src": "419:31:16"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 760,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "id": 758,
                      "name": "reward",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 743,
                      "src": "456:6:16",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "id": 759,
                      "name": "_reward",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 745,
                      "src": "465:7:16",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "456:16:16",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "id": 761,
                  "nodeType": "ExpressionStatement",
                  "src": "456:16:16"
                }
              ]
            },
            "documentation": null,
            "id": 763,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": false,
            "modifiers": [
              {
                "arguments": null,
                "id": 750,
                "modifierName": {
                  "argumentTypes": null,
                  "id": 749,
                  "name": "initializer",
                  "nodeType": "Identifier",
                  "overloadedDeclarations": [],
                  "referencedDeclaration": 3222,
                  "src": "386:11:16",
                  "typeDescriptions": {
                    "typeIdentifier": "t_modifier$__$",
                    "typeString": "modifier ()"
                  }
                },
                "nodeType": "ModifierInvocation",
                "src": "386:11:16"
              }
            ],
            "name": "initialize",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 748,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 745,
                  "name": "_reward",
                  "nodeType": "VariableDeclaration",
                  "scope": 763,
                  "src": "352:15:16",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 744,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "352:7:16",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 747,
                  "name": "_sender",
                  "nodeType": "VariableDeclaration",
                  "scope": 763,
                  "src": "369:15:16",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 746,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "369:7:16",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "351:34:16"
            },
            "payable": true,
            "returnParameters": {
              "id": 751,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "413:0:16"
            },
            "scope": 816,
            "src": "332:145:16",
            "stateMutability": "payable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 777,
              "nodeType": "Block",
              "src": "635:57:16",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 770,
                        "name": "reward",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 743,
                        "src": "657:6:16",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "id": 772,
                              "name": "this",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 3305,
                              "src": "673:4:16",
                              "typeDescriptions": {
                                "typeIdentifier": "t_contract$_PaidMultiOracle_$816",
                                "typeString": "contract PaidMultiOracle"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_contract$_PaidMultiOracle_$816",
                                "typeString": "contract PaidMultiOracle"
                              }
                            ],
                            "id": 771,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "lValueRequested": false,
                            "nodeType": "ElementaryTypeNameExpression",
                            "src": "665:7:16",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_address_$",
                              "typeString": "type(address)"
                            },
                            "typeName": "address"
                          },
                          "id": 773,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "665:13:16",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "id": 774,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "balance",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": null,
                        "src": "665:21:16",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      ],
                      "expression": {
                        "argumentTypes": null,
                        "id": 768,
                        "name": "Math",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 2944,
                        "src": "648:4:16",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_contract$_Math_$2944_$",
                          "typeString": "type(library Math)"
                        }
                      },
                      "id": 769,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "min",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 2911,
                      "src": "648:8:16",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$",
                        "typeString": "function (uint256,uint256) pure returns (uint256)"
                      }
                    },
                    "id": 775,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "648:39:16",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "functionReturnParameters": 767,
                  "id": 776,
                  "nodeType": "Return",
                  "src": "641:46:16"
                }
              ]
            },
            "documentation": "@dev Returns the oracle reward or the contract's balance if it's less than the reward",
            "id": 778,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": true,
            "modifiers": [],
            "name": "getReward",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 764,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "602:2:16"
            },
            "payable": false,
            "returnParameters": {
              "id": 767,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 766,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 778,
                  "src": "626:7:16",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 765,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "626:7:16",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "625:9:16"
            },
            "scope": 816,
            "src": "584:108:16",
            "stateMutability": "view",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 814,
              "nodeType": "Block",
              "src": "803:200:16",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "baseExpression": {
                            "argumentTypes": null,
                            "id": 786,
                            "name": "results",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 448,
                            "src": "817:7:16",
                            "typeDescriptions": {
                              "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_OracleData_$444_storage_$",
                              "typeString": "mapping(bytes32 => struct MultiOracle.OracleData storage ref)"
                            }
                          },
                          "id": 788,
                          "indexExpression": {
                            "argumentTypes": null,
                            "id": 787,
                            "name": "_id",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 780,
                            "src": "825:3:16",
                            "typeDescriptions": {
                              "typeIdentifier": "t_bytes32",
                              "typeString": "bytes32"
                            }
                          },
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "nodeType": "IndexAccess",
                          "src": "817:12:16",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_OracleData_$444_storage",
                            "typeString": "struct MultiOracle.OracleData storage ref"
                          }
                        },
                        "id": 789,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "resultIsSet",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 443,
                        "src": "817:24:16",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "hexValue": "526573756c74206861736e2774206265656e20736574207965742e",
                        "id": 790,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "string",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "843:29:16",
                        "subdenomination": null,
                        "typeDescriptions": {
                          "typeIdentifier": "t_stringliteral_203297f9b4ae0e67928e9b81457b688b55499f61cd14517483332bf3d48c7481",
                          "typeString": "literal_string \"Result hasn't been set yet.\""
                        },
                        "value": "Result hasn't been set yet."
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        {
                          "typeIdentifier": "t_stringliteral_203297f9b4ae0e67928e9b81457b688b55499f61cd14517483332bf3d48c7481",
                          "typeString": "literal_string \"Result hasn't been set yet.\""
                        }
                      ],
                      "id": 785,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        3259,
                        3260
                      ],
                      "referencedDeclaration": 3260,
                      "src": "809:7:16",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (bool,string memory) pure"
                      }
                    },
                    "id": 791,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "809:64:16",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 792,
                  "nodeType": "ExpressionStatement",
                  "src": "809:64:16"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "commonType": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        "id": 801,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "baseExpression": {
                              "argumentTypes": null,
                              "id": 794,
                              "name": "results",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 448,
                              "src": "887:7:16",
                              "typeDescriptions": {
                                "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_OracleData_$444_storage_$",
                                "typeString": "mapping(bytes32 => struct MultiOracle.OracleData storage ref)"
                              }
                            },
                            "id": 796,
                            "indexExpression": {
                              "argumentTypes": null,
                              "id": 795,
                              "name": "_id",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 780,
                              "src": "895:3:16",
                              "typeDescriptions": {
                                "typeIdentifier": "t_bytes32",
                                "typeString": "bytes32"
                              }
                            },
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "nodeType": "IndexAccess",
                            "src": "887:12:16",
                            "typeDescriptions": {
                              "typeIdentifier": "t_struct$_OracleData_$444_storage",
                              "typeString": "struct MultiOracle.OracleData storage ref"
                            }
                          },
                          "id": 797,
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "dataSource",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": 439,
                          "src": "887:23:16",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "!=",
                        "rightExpression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "hexValue": "30",
                              "id": 799,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "number",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "922:1:16",
                              "subdenomination": null,
                              "typeDescriptions": {
                                "typeIdentifier": "t_rational_0_by_1",
                                "typeString": "int_const 0"
                              },
                              "value": "0"
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_rational_0_by_1",
                                "typeString": "int_const 0"
                              }
                            ],
                            "id": 798,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "lValueRequested": false,
                            "nodeType": "ElementaryTypeNameExpression",
                            "src": "914:7:16",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_address_$",
                              "typeString": "type(address)"
                            },
                            "typeName": "address"
                          },
                          "id": 800,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "914:10:16",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "src": "887:37:16",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "hexValue": "496e76616c69642064617461536f75726365",
                        "id": 802,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "string",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "926:20:16",
                        "subdenomination": null,
                        "typeDescriptions": {
                          "typeIdentifier": "t_stringliteral_77e90ad096955532dda847edabffb07b2910882719b3feae18024bc3322af5a5",
                          "typeString": "literal_string \"Invalid dataSource\""
                        },
                        "value": "Invalid dataSource"
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        {
                          "typeIdentifier": "t_stringliteral_77e90ad096955532dda847edabffb07b2910882719b3feae18024bc3322af5a5",
                          "typeString": "literal_string \"Invalid dataSource\""
                        }
                      ],
                      "id": 793,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        3259,
                        3260
                      ],
                      "referencedDeclaration": 3260,
                      "src": "879:7:16",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (bool,string memory) pure"
                      }
                    },
                    "id": 803,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "879:68:16",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 804,
                  "nodeType": "ExpressionStatement",
                  "src": "879:68:16"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "arguments": [],
                        "expression": {
                          "argumentTypes": [],
                          "id": 810,
                          "name": "getReward",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 778,
                          "src": "986:9:16",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_internal_view$__$returns$_t_uint256_$",
                            "typeString": "function () view returns (uint256)"
                          }
                        },
                        "id": 811,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "986:11:16",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      ],
                      "expression": {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "baseExpression": {
                            "argumentTypes": null,
                            "id": 805,
                            "name": "results",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 448,
                            "src": "953:7:16",
                            "typeDescriptions": {
                              "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_OracleData_$444_storage_$",
                              "typeString": "mapping(bytes32 => struct MultiOracle.OracleData storage ref)"
                            }
                          },
                          "id": 807,
                          "indexExpression": {
                            "argumentTypes": null,
                            "id": 806,
                            "name": "_id",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 780,
                            "src": "961:3:16",
                            "typeDescriptions": {
                              "typeIdentifier": "t_bytes32",
                              "typeString": "bytes32"
                            }
                          },
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "nodeType": "IndexAccess",
                          "src": "953:12:16",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_OracleData_$444_storage",
                            "typeString": "struct MultiOracle.OracleData storage ref"
                          }
                        },
                        "id": 808,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "dataSource",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 439,
                        "src": "953:23:16",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      "id": 809,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "transfer",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": null,
                      "src": "953:32:16",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_transfer_nonpayable$_t_uint256_$returns$__$",
                        "typeString": "function (uint256)"
                      }
                    },
                    "id": 812,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "953:45:16",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 813,
                  "nodeType": "ExpressionStatement",
                  "src": "953:45:16"
                }
              ]
            },
            "documentation": null,
            "id": 815,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": false,
            "modifiers": [],
            "name": "_resultWasSet",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 783,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 780,
                  "name": "_id",
                  "nodeType": "VariableDeclaration",
                  "scope": 815,
                  "src": "756:11:16",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 779,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "756:7:16",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 782,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 815,
                  "src": "769:5:16",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes_memory_ptr",
                    "typeString": "bytes"
                  },
                  "typeName": {
                    "id": 781,
                    "name": "bytes",
                    "nodeType": "ElementaryTypeName",
                    "src": "769:5:16",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_storage_ptr",
                      "typeString": "bytes"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "755:32:16"
            },
            "payable": false,
            "returnParameters": {
              "id": 784,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "803:0:16"
            },
            "scope": 816,
            "src": "733:270:16",
            "stateMutability": "nonpayable",
            "superFunction": 645,
            "visibility": "internal"
          }
        ],
        "scope": 817,
        "src": "259:746:16"
      }
    ],
    "src": "0:1006:16"
  },
  "legacyAST": {
    "absolutePath": "/Users/mfcalvanese/dev/eth/tidbit-eth/contracts/Oracles/PaidMultiOracle.sol",
    "exportedSymbols": {
      "PaidMultiOracle": [
        816
      ]
    },
    "id": 817,
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 736,
        "literals": [
          "solidity",
          "^",
          "0.4",
          ".24"
        ],
        "nodeType": "PragmaDirective",
        "src": "0:24:16"
      },
      {
        "absolutePath": "/Users/mfcalvanese/dev/eth/tidbit-eth/contracts/Oracles/MultiOracle.sol",
        "file": "./MultiOracle.sol",
        "id": 737,
        "nodeType": "ImportDirective",
        "scope": 817,
        "sourceUnit": 647,
        "src": "26:27:16",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "openzeppelin-eth/contracts/math/Math.sol",
        "file": "openzeppelin-eth/contracts/math/Math.sol",
        "id": 738,
        "nodeType": "ImportDirective",
        "scope": 817,
        "sourceUnit": 2945,
        "src": "54:50:16",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "openzeppelin-eth/contracts/math/SafeMath.sol",
        "file": "openzeppelin-eth/contracts/math/SafeMath.sol",
        "id": 739,
        "nodeType": "ImportDirective",
        "scope": 817,
        "sourceUnit": 3073,
        "src": "105:54:16",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "baseContracts": [
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 740,
              "name": "MultiOracle",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 646,
              "src": "287:11:16",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_MultiOracle_$646",
                "typeString": "contract MultiOracle"
              }
            },
            "id": 741,
            "nodeType": "InheritanceSpecifier",
            "src": "287:11:16"
          }
        ],
        "contractDependencies": [
          273,
          646,
          3185,
          3241
        ],
        "contractKind": "contract",
        "documentation": "@title PaidMultiOracle\n@dev Extends MultiOracle to include rewards for dataSources",
        "fullyImplemented": true,
        "id": 816,
        "linearizedBaseContracts": [
          816,
          646,
          3185,
          273,
          3241
        ],
        "name": "PaidMultiOracle",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "constant": false,
            "id": 743,
            "name": "reward",
            "nodeType": "VariableDeclaration",
            "scope": 816,
            "src": "304:21:16",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_uint256",
              "typeString": "uint256"
            },
            "typeName": {
              "id": 742,
              "name": "uint256",
              "nodeType": "ElementaryTypeName",
              "src": "304:7:16",
              "typeDescriptions": {
                "typeIdentifier": "t_uint256",
                "typeString": "uint256"
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 762,
              "nodeType": "Block",
              "src": "413:64:16",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 755,
                        "name": "_sender",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 747,
                        "src": "442:7:16",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      ],
                      "expression": {
                        "argumentTypes": null,
                        "id": 752,
                        "name": "MultiOracle",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 646,
                        "src": "419:11:16",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_contract$_MultiOracle_$646_$",
                          "typeString": "type(contract MultiOracle)"
                        }
                      },
                      "id": 754,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "initialize",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 485,
                      "src": "419:22:16",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$__$",
                        "typeString": "function (address)"
                      }
                    },
                    "id": 756,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "419:31:16",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 757,
                  "nodeType": "ExpressionStatement",
                  "src": "419:31:16"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 760,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "id": 758,
                      "name": "reward",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 743,
                      "src": "456:6:16",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "id": 759,
                      "name": "_reward",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 745,
                      "src": "465:7:16",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "456:16:16",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "id": 761,
                  "nodeType": "ExpressionStatement",
                  "src": "456:16:16"
                }
              ]
            },
            "documentation": null,
            "id": 763,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": false,
            "modifiers": [
              {
                "arguments": null,
                "id": 750,
                "modifierName": {
                  "argumentTypes": null,
                  "id": 749,
                  "name": "initializer",
                  "nodeType": "Identifier",
                  "overloadedDeclarations": [],
                  "referencedDeclaration": 3222,
                  "src": "386:11:16",
                  "typeDescriptions": {
                    "typeIdentifier": "t_modifier$__$",
                    "typeString": "modifier ()"
                  }
                },
                "nodeType": "ModifierInvocation",
                "src": "386:11:16"
              }
            ],
            "name": "initialize",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 748,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 745,
                  "name": "_reward",
                  "nodeType": "VariableDeclaration",
                  "scope": 763,
                  "src": "352:15:16",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 744,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "352:7:16",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 747,
                  "name": "_sender",
                  "nodeType": "VariableDeclaration",
                  "scope": 763,
                  "src": "369:15:16",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 746,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "369:7:16",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "351:34:16"
            },
            "payable": true,
            "returnParameters": {
              "id": 751,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "413:0:16"
            },
            "scope": 816,
            "src": "332:145:16",
            "stateMutability": "payable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 777,
              "nodeType": "Block",
              "src": "635:57:16",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 770,
                        "name": "reward",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 743,
                        "src": "657:6:16",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "id": 772,
                              "name": "this",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 3305,
                              "src": "673:4:16",
                              "typeDescriptions": {
                                "typeIdentifier": "t_contract$_PaidMultiOracle_$816",
                                "typeString": "contract PaidMultiOracle"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_contract$_PaidMultiOracle_$816",
                                "typeString": "contract PaidMultiOracle"
                              }
                            ],
                            "id": 771,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "lValueRequested": false,
                            "nodeType": "ElementaryTypeNameExpression",
                            "src": "665:7:16",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_address_$",
                              "typeString": "type(address)"
                            },
                            "typeName": "address"
                          },
                          "id": 773,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "665:13:16",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "id": 774,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "balance",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": null,
                        "src": "665:21:16",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      ],
                      "expression": {
                        "argumentTypes": null,
                        "id": 768,
                        "name": "Math",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 2944,
                        "src": "648:4:16",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_contract$_Math_$2944_$",
                          "typeString": "type(library Math)"
                        }
                      },
                      "id": 769,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "min",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 2911,
                      "src": "648:8:16",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$",
                        "typeString": "function (uint256,uint256) pure returns (uint256)"
                      }
                    },
                    "id": 775,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "648:39:16",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "functionReturnParameters": 767,
                  "id": 776,
                  "nodeType": "Return",
                  "src": "641:46:16"
                }
              ]
            },
            "documentation": "@dev Returns the oracle reward or the contract's balance if it's less than the reward",
            "id": 778,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": true,
            "modifiers": [],
            "name": "getReward",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 764,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "602:2:16"
            },
            "payable": false,
            "returnParameters": {
              "id": 767,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 766,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 778,
                  "src": "626:7:16",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 765,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "626:7:16",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "625:9:16"
            },
            "scope": 816,
            "src": "584:108:16",
            "stateMutability": "view",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 814,
              "nodeType": "Block",
              "src": "803:200:16",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "baseExpression": {
                            "argumentTypes": null,
                            "id": 786,
                            "name": "results",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 448,
                            "src": "817:7:16",
                            "typeDescriptions": {
                              "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_OracleData_$444_storage_$",
                              "typeString": "mapping(bytes32 => struct MultiOracle.OracleData storage ref)"
                            }
                          },
                          "id": 788,
                          "indexExpression": {
                            "argumentTypes": null,
                            "id": 787,
                            "name": "_id",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 780,
                            "src": "825:3:16",
                            "typeDescriptions": {
                              "typeIdentifier": "t_bytes32",
                              "typeString": "bytes32"
                            }
                          },
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "nodeType": "IndexAccess",
                          "src": "817:12:16",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_OracleData_$444_storage",
                            "typeString": "struct MultiOracle.OracleData storage ref"
                          }
                        },
                        "id": 789,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "resultIsSet",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 443,
                        "src": "817:24:16",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "hexValue": "526573756c74206861736e2774206265656e20736574207965742e",
                        "id": 790,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "string",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "843:29:16",
                        "subdenomination": null,
                        "typeDescriptions": {
                          "typeIdentifier": "t_stringliteral_203297f9b4ae0e67928e9b81457b688b55499f61cd14517483332bf3d48c7481",
                          "typeString": "literal_string \"Result hasn't been set yet.\""
                        },
                        "value": "Result hasn't been set yet."
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        {
                          "typeIdentifier": "t_stringliteral_203297f9b4ae0e67928e9b81457b688b55499f61cd14517483332bf3d48c7481",
                          "typeString": "literal_string \"Result hasn't been set yet.\""
                        }
                      ],
                      "id": 785,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        3259,
                        3260
                      ],
                      "referencedDeclaration": 3260,
                      "src": "809:7:16",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (bool,string memory) pure"
                      }
                    },
                    "id": 791,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "809:64:16",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 792,
                  "nodeType": "ExpressionStatement",
                  "src": "809:64:16"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "commonType": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        "id": 801,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "baseExpression": {
                              "argumentTypes": null,
                              "id": 794,
                              "name": "results",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 448,
                              "src": "887:7:16",
                              "typeDescriptions": {
                                "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_OracleData_$444_storage_$",
                                "typeString": "mapping(bytes32 => struct MultiOracle.OracleData storage ref)"
                              }
                            },
                            "id": 796,
                            "indexExpression": {
                              "argumentTypes": null,
                              "id": 795,
                              "name": "_id",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 780,
                              "src": "895:3:16",
                              "typeDescriptions": {
                                "typeIdentifier": "t_bytes32",
                                "typeString": "bytes32"
                              }
                            },
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": false,
                            "nodeType": "IndexAccess",
                            "src": "887:12:16",
                            "typeDescriptions": {
                              "typeIdentifier": "t_struct$_OracleData_$444_storage",
                              "typeString": "struct MultiOracle.OracleData storage ref"
                            }
                          },
                          "id": 797,
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "dataSource",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": 439,
                          "src": "887:23:16",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "!=",
                        "rightExpression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "hexValue": "30",
                              "id": 799,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "number",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "922:1:16",
                              "subdenomination": null,
                              "typeDescriptions": {
                                "typeIdentifier": "t_rational_0_by_1",
                                "typeString": "int_const 0"
                              },
                              "value": "0"
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_rational_0_by_1",
                                "typeString": "int_const 0"
                              }
                            ],
                            "id": 798,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "lValueRequested": false,
                            "nodeType": "ElementaryTypeNameExpression",
                            "src": "914:7:16",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_address_$",
                              "typeString": "type(address)"
                            },
                            "typeName": "address"
                          },
                          "id": 800,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "914:10:16",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "src": "887:37:16",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "hexValue": "496e76616c69642064617461536f75726365",
                        "id": 802,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "string",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "926:20:16",
                        "subdenomination": null,
                        "typeDescriptions": {
                          "typeIdentifier": "t_stringliteral_77e90ad096955532dda847edabffb07b2910882719b3feae18024bc3322af5a5",
                          "typeString": "literal_string \"Invalid dataSource\""
                        },
                        "value": "Invalid dataSource"
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        {
                          "typeIdentifier": "t_stringliteral_77e90ad096955532dda847edabffb07b2910882719b3feae18024bc3322af5a5",
                          "typeString": "literal_string \"Invalid dataSource\""
                        }
                      ],
                      "id": 793,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        3259,
                        3260
                      ],
                      "referencedDeclaration": 3260,
                      "src": "879:7:16",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (bool,string memory) pure"
                      }
                    },
                    "id": 803,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "879:68:16",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 804,
                  "nodeType": "ExpressionStatement",
                  "src": "879:68:16"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "arguments": [],
                        "expression": {
                          "argumentTypes": [],
                          "id": 810,
                          "name": "getReward",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 778,
                          "src": "986:9:16",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_internal_view$__$returns$_t_uint256_$",
                            "typeString": "function () view returns (uint256)"
                          }
                        },
                        "id": 811,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "986:11:16",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      ],
                      "expression": {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "baseExpression": {
                            "argumentTypes": null,
                            "id": 805,
                            "name": "results",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 448,
                            "src": "953:7:16",
                            "typeDescriptions": {
                              "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_OracleData_$444_storage_$",
                              "typeString": "mapping(bytes32 => struct MultiOracle.OracleData storage ref)"
                            }
                          },
                          "id": 807,
                          "indexExpression": {
                            "argumentTypes": null,
                            "id": 806,
                            "name": "_id",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 780,
                            "src": "961:3:16",
                            "typeDescriptions": {
                              "typeIdentifier": "t_bytes32",
                              "typeString": "bytes32"
                            }
                          },
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "nodeType": "IndexAccess",
                          "src": "953:12:16",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_OracleData_$444_storage",
                            "typeString": "struct MultiOracle.OracleData storage ref"
                          }
                        },
                        "id": 808,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "dataSource",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 439,
                        "src": "953:23:16",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      "id": 809,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "transfer",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": null,
                      "src": "953:32:16",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_transfer_nonpayable$_t_uint256_$returns$__$",
                        "typeString": "function (uint256)"
                      }
                    },
                    "id": 812,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "953:45:16",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 813,
                  "nodeType": "ExpressionStatement",
                  "src": "953:45:16"
                }
              ]
            },
            "documentation": null,
            "id": 815,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": false,
            "modifiers": [],
            "name": "_resultWasSet",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 783,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 780,
                  "name": "_id",
                  "nodeType": "VariableDeclaration",
                  "scope": 815,
                  "src": "756:11:16",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 779,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "756:7:16",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 782,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 815,
                  "src": "769:5:16",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes_memory_ptr",
                    "typeString": "bytes"
                  },
                  "typeName": {
                    "id": 781,
                    "name": "bytes",
                    "nodeType": "ElementaryTypeName",
                    "src": "769:5:16",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_storage_ptr",
                      "typeString": "bytes"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "755:32:16"
            },
            "payable": false,
            "returnParameters": {
              "id": 784,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "803:0:16"
            },
            "scope": 816,
            "src": "733:270:16",
            "stateMutability": "nonpayable",
            "superFunction": 645,
            "visibility": "internal"
          }
        ],
        "scope": 817,
        "src": "259:746:16"
      }
    ],
    "src": "0:1006:16"
  },
  "compiler": {
    "name": "solc",
    "version": "0.4.24+commit.e67f0147.Emscripten.clang"
  },
  "networks": {},
  "schemaVersion": "2.0.1",
  "updatedAt": "2018-10-31T13:24:20.724Z"
}