token-price-oracles
Version:
tools for creating token price data feeds and oracles that integrate with on-chain dex's
1,330 lines • 42.8 kB
JSON
{
"contractName": "IDataFeedOracle",
"abi": [
{
"constant": true,
"inputs": [],
"name": "totalResults",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "index",
"type": "uint256"
}
],
"name": "indexHasResult",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "date",
"type": "uint256"
}
],
"name": "dateHasResult",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "index",
"type": "uint256"
}
],
"name": "resultByIndex",
"outputs": [
{
"name": "",
"type": "bytes32"
},
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "date",
"type": "uint256"
}
],
"name": "resultByDate",
"outputs": [
{
"name": "",
"type": "bytes32"
},
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "latestResultDate",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "latestResult",
"outputs": [
{
"name": "",
"type": "bytes32"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
}
],
"bytecode": "0x",
"deployedBytecode": "0x",
"sourceMap": "",
"deployedSourceMap": "",
"source": "pragma solidity ^0.4.24;\r\n\r\n/**\r\n * @title DataFeedOracle interface\r\n */\r\ninterface IDataFeedOracle {\r\n function totalResults() external view returns (uint256);\r\n function indexHasResult(uint256 index) external view returns (bool);\r\n function dateHasResult(uint256 date) external view returns (bool);\r\n function resultByIndex(uint256 index) external view returns (bytes32, uint256);\r\n function resultByDate(uint256 date) external view returns (bytes32, uint256);\r\n function latestResultDate() external view returns (uint256);\r\n function latestResult() external view returns (bytes32);\r\n}\r\n",
"sourcePath": "tidbit/contracts/DataFeedOracles/IDataFeedOracle.sol",
"ast": {
"absolutePath": "tidbit/contracts/DataFeedOracles/IDataFeedOracle.sol",
"exportedSymbols": {
"IDataFeedOracle": [
1426
]
},
"id": 1427,
"nodeType": "SourceUnit",
"nodes": [
{
"id": 1378,
"literals": [
"solidity",
"^",
"0.4",
".24"
],
"nodeType": "PragmaDirective",
"src": "0:24:8"
},
{
"baseContracts": [],
"contractDependencies": [],
"contractKind": "interface",
"documentation": "@title DataFeedOracle interface\r",
"fullyImplemented": false,
"id": 1426,
"linearizedBaseContracts": [
1426
],
"name": "IDataFeedOracle",
"nodeType": "ContractDefinition",
"nodes": [
{
"body": null,
"documentation": null,
"id": 1383,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "totalResults",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 1379,
"nodeType": "ParameterList",
"parameters": [],
"src": "128:2:8"
},
"payable": false,
"returnParameters": {
"id": 1382,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1381,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 1383,
"src": "154:7:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 1380,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "154:7:8",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "153:9:8"
},
"scope": 1426,
"src": "107:56:8",
"stateMutability": "view",
"superFunction": null,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"id": 1390,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "indexHasResult",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 1386,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1385,
"name": "index",
"nodeType": "VariableDeclaration",
"scope": 1390,
"src": "193:13:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 1384,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "193:7:8",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "192:15:8"
},
"payable": false,
"returnParameters": {
"id": 1389,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1388,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 1390,
"src": "231:4:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 1387,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "231:4:8",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "230:6:8"
},
"scope": 1426,
"src": "169:68:8",
"stateMutability": "view",
"superFunction": null,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"id": 1397,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "dateHasResult",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 1393,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1392,
"name": "date",
"nodeType": "VariableDeclaration",
"scope": 1397,
"src": "266:12:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 1391,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "266:7:8",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "265:14:8"
},
"payable": false,
"returnParameters": {
"id": 1396,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1395,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 1397,
"src": "303:4:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 1394,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "303:4:8",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "302:6:8"
},
"scope": 1426,
"src": "243:66:8",
"stateMutability": "view",
"superFunction": null,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"id": 1406,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "resultByIndex",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 1400,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1399,
"name": "index",
"nodeType": "VariableDeclaration",
"scope": 1406,
"src": "338:13:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 1398,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "338:7:8",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "337:15:8"
},
"payable": false,
"returnParameters": {
"id": 1405,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1402,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 1406,
"src": "376:7:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 1401,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "376:7:8",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 1404,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 1406,
"src": "385:7:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 1403,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "385:7:8",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "375:18:8"
},
"scope": 1426,
"src": "315:79:8",
"stateMutability": "view",
"superFunction": null,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"id": 1415,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "resultByDate",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 1409,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1408,
"name": "date",
"nodeType": "VariableDeclaration",
"scope": 1415,
"src": "422:12:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 1407,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "422:7:8",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "421:14:8"
},
"payable": false,
"returnParameters": {
"id": 1414,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1411,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 1415,
"src": "459:7:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 1410,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "459:7:8",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 1413,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 1415,
"src": "468:7:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 1412,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "468:7:8",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "458:18:8"
},
"scope": 1426,
"src": "400:77:8",
"stateMutability": "view",
"superFunction": null,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"id": 1420,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "latestResultDate",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 1416,
"nodeType": "ParameterList",
"parameters": [],
"src": "508:2:8"
},
"payable": false,
"returnParameters": {
"id": 1419,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1418,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 1420,
"src": "534:7:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 1417,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "534:7:8",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "533:9:8"
},
"scope": 1426,
"src": "483:60:8",
"stateMutability": "view",
"superFunction": null,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"id": 1425,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "latestResult",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 1421,
"nodeType": "ParameterList",
"parameters": [],
"src": "570:2:8"
},
"payable": false,
"returnParameters": {
"id": 1424,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1423,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 1425,
"src": "596:7:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 1422,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "596:7:8",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "595:9:8"
},
"scope": 1426,
"src": "549:56:8",
"stateMutability": "view",
"superFunction": null,
"visibility": "external"
}
],
"scope": 1427,
"src": "74:534:8"
}
],
"src": "0:610:8"
},
"legacyAST": {
"absolutePath": "tidbit/contracts/DataFeedOracles/IDataFeedOracle.sol",
"exportedSymbols": {
"IDataFeedOracle": [
1426
]
},
"id": 1427,
"nodeType": "SourceUnit",
"nodes": [
{
"id": 1378,
"literals": [
"solidity",
"^",
"0.4",
".24"
],
"nodeType": "PragmaDirective",
"src": "0:24:8"
},
{
"baseContracts": [],
"contractDependencies": [],
"contractKind": "interface",
"documentation": "@title DataFeedOracle interface\r",
"fullyImplemented": false,
"id": 1426,
"linearizedBaseContracts": [
1426
],
"name": "IDataFeedOracle",
"nodeType": "ContractDefinition",
"nodes": [
{
"body": null,
"documentation": null,
"id": 1383,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "totalResults",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 1379,
"nodeType": "ParameterList",
"parameters": [],
"src": "128:2:8"
},
"payable": false,
"returnParameters": {
"id": 1382,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1381,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 1383,
"src": "154:7:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 1380,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "154:7:8",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "153:9:8"
},
"scope": 1426,
"src": "107:56:8",
"stateMutability": "view",
"superFunction": null,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"id": 1390,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "indexHasResult",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 1386,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1385,
"name": "index",
"nodeType": "VariableDeclaration",
"scope": 1390,
"src": "193:13:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 1384,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "193:7:8",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "192:15:8"
},
"payable": false,
"returnParameters": {
"id": 1389,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1388,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 1390,
"src": "231:4:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 1387,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "231:4:8",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "230:6:8"
},
"scope": 1426,
"src": "169:68:8",
"stateMutability": "view",
"superFunction": null,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"id": 1397,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "dateHasResult",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 1393,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1392,
"name": "date",
"nodeType": "VariableDeclaration",
"scope": 1397,
"src": "266:12:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 1391,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "266:7:8",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "265:14:8"
},
"payable": false,
"returnParameters": {
"id": 1396,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1395,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 1397,
"src": "303:4:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 1394,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "303:4:8",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "302:6:8"
},
"scope": 1426,
"src": "243:66:8",
"stateMutability": "view",
"superFunction": null,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"id": 1406,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "resultByIndex",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 1400,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1399,
"name": "index",
"nodeType": "VariableDeclaration",
"scope": 1406,
"src": "338:13:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 1398,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "338:7:8",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "337:15:8"
},
"payable": false,
"returnParameters": {
"id": 1405,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1402,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 1406,
"src": "376:7:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 1401,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "376:7:8",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 1404,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 1406,
"src": "385:7:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 1403,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "385:7:8",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "375:18:8"
},
"scope": 1426,
"src": "315:79:8",
"stateMutability": "view",
"superFunction": null,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"id": 1415,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "resultByDate",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 1409,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1408,
"name": "date",
"nodeType": "VariableDeclaration",
"scope": 1415,
"src": "422:12:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 1407,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "422:7:8",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "421:14:8"
},
"payable": false,
"returnParameters": {
"id": 1414,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1411,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 1415,
"src": "459:7:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 1410,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "459:7:8",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 1413,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 1415,
"src": "468:7:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 1412,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "468:7:8",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "458:18:8"
},
"scope": 1426,
"src": "400:77:8",
"stateMutability": "view",
"superFunction": null,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"id": 1420,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "latestResultDate",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 1416,
"nodeType": "ParameterList",
"parameters": [],
"src": "508:2:8"
},
"payable": false,
"returnParameters": {
"id": 1419,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1418,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 1420,
"src": "534:7:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 1417,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "534:7:8",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "533:9:8"
},
"scope": 1426,
"src": "483:60:8",
"stateMutability": "view",
"superFunction": null,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"id": 1425,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "latestResult",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 1421,
"nodeType": "ParameterList",
"parameters": [],
"src": "570:2:8"
},
"payable": false,
"returnParameters": {
"id": 1424,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1423,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 1425,
"src": "596:7:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 1422,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "596:7:8",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "595:9:8"
},
"scope": 1426,
"src": "549:56:8",
"stateMutability": "view",
"superFunction": null,
"visibility": "external"
}
],
"scope": 1427,
"src": "74:534:8"
}
],
"src": "0:610:8"
},
"compiler": {
"name": "solc",
"version": "0.4.25+commit.59dbf8f1.Emscripten.clang"
},
"networks": {},
"schemaVersion": "2.0.2",
"updatedAt": "2019-07-23T19:08:33.533Z"
}