UNPKG

@levelk/token-price-oracles

Version:

tools for creating token price data feeds and oracles that integrate with on-chain dex's

1,330 lines 42.9 kB
{ "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": "@levelk/tidbit/contracts/DataFeedOracles/IDataFeedOracle.sol", "ast": { "absolutePath": "@levelk/tidbit/contracts/DataFeedOracles/IDataFeedOracle.sol", "exportedSymbols": { "IDataFeedOracle": [ 1699 ] }, "id": 1700, "nodeType": "SourceUnit", "nodes": [ { "id": 1651, "literals": [ "solidity", "^", "0.4", ".24" ], "nodeType": "PragmaDirective", "src": "0:24:11" }, { "baseContracts": [], "contractDependencies": [], "contractKind": "interface", "documentation": "@title DataFeedOracle interface\r", "fullyImplemented": false, "id": 1699, "linearizedBaseContracts": [ 1699 ], "name": "IDataFeedOracle", "nodeType": "ContractDefinition", "nodes": [ { "body": null, "documentation": null, "id": 1656, "implemented": false, "isConstructor": false, "isDeclaredConst": true, "modifiers": [], "name": "totalResults", "nodeType": "FunctionDefinition", "parameters": { "id": 1652, "nodeType": "ParameterList", "parameters": [], "src": "128:2:11" }, "payable": false, "returnParameters": { "id": 1655, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1654, "name": "", "nodeType": "VariableDeclaration", "scope": 1656, "src": "154:7:11", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 1653, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "154:7:11", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "153:9:11" }, "scope": 1699, "src": "107:56:11", "stateMutability": "view", "superFunction": null, "visibility": "external" }, { "body": null, "documentation": null, "id": 1663, "implemented": false, "isConstructor": false, "isDeclaredConst": true, "modifiers": [], "name": "indexHasResult", "nodeType": "FunctionDefinition", "parameters": { "id": 1659, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1658, "name": "index", "nodeType": "VariableDeclaration", "scope": 1663, "src": "193:13:11", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 1657, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "193:7:11", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "192:15:11" }, "payable": false, "returnParameters": { "id": 1662, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1661, "name": "", "nodeType": "VariableDeclaration", "scope": 1663, "src": "231:4:11", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "typeName": { "id": 1660, "name": "bool", "nodeType": "ElementaryTypeName", "src": "231:4:11", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "value": null, "visibility": "internal" } ], "src": "230:6:11" }, "scope": 1699, "src": "169:68:11", "stateMutability": "view", "superFunction": null, "visibility": "external" }, { "body": null, "documentation": null, "id": 1670, "implemented": false, "isConstructor": false, "isDeclaredConst": true, "modifiers": [], "name": "dateHasResult", "nodeType": "FunctionDefinition", "parameters": { "id": 1666, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1665, "name": "date", "nodeType": "VariableDeclaration", "scope": 1670, "src": "266:12:11", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 1664, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "266:7:11", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "265:14:11" }, "payable": false, "returnParameters": { "id": 1669, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1668, "name": "", "nodeType": "VariableDeclaration", "scope": 1670, "src": "303:4:11", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "typeName": { "id": 1667, "name": "bool", "nodeType": "ElementaryTypeName", "src": "303:4:11", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "value": null, "visibility": "internal" } ], "src": "302:6:11" }, "scope": 1699, "src": "243:66:11", "stateMutability": "view", "superFunction": null, "visibility": "external" }, { "body": null, "documentation": null, "id": 1679, "implemented": false, "isConstructor": false, "isDeclaredConst": true, "modifiers": [], "name": "resultByIndex", "nodeType": "FunctionDefinition", "parameters": { "id": 1673, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1672, "name": "index", "nodeType": "VariableDeclaration", "scope": 1679, "src": "338:13:11", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 1671, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "338:7:11", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "337:15:11" }, "payable": false, "returnParameters": { "id": 1678, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1675, "name": "", "nodeType": "VariableDeclaration", "scope": 1679, "src": "376:7:11", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" }, "typeName": { "id": 1674, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "376:7:11", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 1677, "name": "", "nodeType": "VariableDeclaration", "scope": 1679, "src": "385:7:11", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 1676, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "385:7:11", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "375:18:11" }, "scope": 1699, "src": "315:79:11", "stateMutability": "view", "superFunction": null, "visibility": "external" }, { "body": null, "documentation": null, "id": 1688, "implemented": false, "isConstructor": false, "isDeclaredConst": true, "modifiers": [], "name": "resultByDate", "nodeType": "FunctionDefinition", "parameters": { "id": 1682, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1681, "name": "date", "nodeType": "VariableDeclaration", "scope": 1688, "src": "422:12:11", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 1680, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "422:7:11", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "421:14:11" }, "payable": false, "returnParameters": { "id": 1687, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1684, "name": "", "nodeType": "VariableDeclaration", "scope": 1688, "src": "459:7:11", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" }, "typeName": { "id": 1683, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "459:7:11", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 1686, "name": "", "nodeType": "VariableDeclaration", "scope": 1688, "src": "468:7:11", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 1685, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "468:7:11", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "458:18:11" }, "scope": 1699, "src": "400:77:11", "stateMutability": "view", "superFunction": null, "visibility": "external" }, { "body": null, "documentation": null, "id": 1693, "implemented": false, "isConstructor": false, "isDeclaredConst": true, "modifiers": [], "name": "latestResultDate", "nodeType": "FunctionDefinition", "parameters": { "id": 1689, "nodeType": "ParameterList", "parameters": [], "src": "508:2:11" }, "payable": false, "returnParameters": { "id": 1692, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1691, "name": "", "nodeType": "VariableDeclaration", "scope": 1693, "src": "534:7:11", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 1690, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "534:7:11", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "533:9:11" }, "scope": 1699, "src": "483:60:11", "stateMutability": "view", "superFunction": null, "visibility": "external" }, { "body": null, "documentation": null, "id": 1698, "implemented": false, "isConstructor": false, "isDeclaredConst": true, "modifiers": [], "name": "latestResult", "nodeType": "FunctionDefinition", "parameters": { "id": 1694, "nodeType": "ParameterList", "parameters": [], "src": "570:2:11" }, "payable": false, "returnParameters": { "id": 1697, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1696, "name": "", "nodeType": "VariableDeclaration", "scope": 1698, "src": "596:7:11", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" }, "typeName": { "id": 1695, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "596:7:11", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "value": null, "visibility": "internal" } ], "src": "595:9:11" }, "scope": 1699, "src": "549:56:11", "stateMutability": "view", "superFunction": null, "visibility": "external" } ], "scope": 1700, "src": "74:534:11" } ], "src": "0:610:11" }, "legacyAST": { "absolutePath": "@levelk/tidbit/contracts/DataFeedOracles/IDataFeedOracle.sol", "exportedSymbols": { "IDataFeedOracle": [ 1699 ] }, "id": 1700, "nodeType": "SourceUnit", "nodes": [ { "id": 1651, "literals": [ "solidity", "^", "0.4", ".24" ], "nodeType": "PragmaDirective", "src": "0:24:11" }, { "baseContracts": [], "contractDependencies": [], "contractKind": "interface", "documentation": "@title DataFeedOracle interface\r", "fullyImplemented": false, "id": 1699, "linearizedBaseContracts": [ 1699 ], "name": "IDataFeedOracle", "nodeType": "ContractDefinition", "nodes": [ { "body": null, "documentation": null, "id": 1656, "implemented": false, "isConstructor": false, "isDeclaredConst": true, "modifiers": [], "name": "totalResults", "nodeType": "FunctionDefinition", "parameters": { "id": 1652, "nodeType": "ParameterList", "parameters": [], "src": "128:2:11" }, "payable": false, "returnParameters": { "id": 1655, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1654, "name": "", "nodeType": "VariableDeclaration", "scope": 1656, "src": "154:7:11", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 1653, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "154:7:11", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "153:9:11" }, "scope": 1699, "src": "107:56:11", "stateMutability": "view", "superFunction": null, "visibility": "external" }, { "body": null, "documentation": null, "id": 1663, "implemented": false, "isConstructor": false, "isDeclaredConst": true, "modifiers": [], "name": "indexHasResult", "nodeType": "FunctionDefinition", "parameters": { "id": 1659, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1658, "name": "index", "nodeType": "VariableDeclaration", "scope": 1663, "src": "193:13:11", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 1657, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "193:7:11", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "192:15:11" }, "payable": false, "returnParameters": { "id": 1662, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1661, "name": "", "nodeType": "VariableDeclaration", "scope": 1663, "src": "231:4:11", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "typeName": { "id": 1660, "name": "bool", "nodeType": "ElementaryTypeName", "src": "231:4:11", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "value": null, "visibility": "internal" } ], "src": "230:6:11" }, "scope": 1699, "src": "169:68:11", "stateMutability": "view", "superFunction": null, "visibility": "external" }, { "body": null, "documentation": null, "id": 1670, "implemented": false, "isConstructor": false, "isDeclaredConst": true, "modifiers": [], "name": "dateHasResult", "nodeType": "FunctionDefinition", "parameters": { "id": 1666, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1665, "name": "date", "nodeType": "VariableDeclaration", "scope": 1670, "src": "266:12:11", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 1664, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "266:7:11", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "265:14:11" }, "payable": false, "returnParameters": { "id": 1669, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1668, "name": "", "nodeType": "VariableDeclaration", "scope": 1670, "src": "303:4:11", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "typeName": { "id": 1667, "name": "bool", "nodeType": "ElementaryTypeName", "src": "303:4:11", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "value": null, "visibility": "internal" } ], "src": "302:6:11" }, "scope": 1699, "src": "243:66:11", "stateMutability": "view", "superFunction": null, "visibility": "external" }, { "body": null, "documentation": null, "id": 1679, "implemented": false, "isConstructor": false, "isDeclaredConst": true, "modifiers": [], "name": "resultByIndex", "nodeType": "FunctionDefinition", "parameters": { "id": 1673, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1672, "name": "index", "nodeType": "VariableDeclaration", "scope": 1679, "src": "338:13:11", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 1671, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "338:7:11", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "337:15:11" }, "payable": false, "returnParameters": { "id": 1678, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1675, "name": "", "nodeType": "VariableDeclaration", "scope": 1679, "src": "376:7:11", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" }, "typeName": { "id": 1674, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "376:7:11", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 1677, "name": "", "nodeType": "VariableDeclaration", "scope": 1679, "src": "385:7:11", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 1676, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "385:7:11", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "375:18:11" }, "scope": 1699, "src": "315:79:11", "stateMutability": "view", "superFunction": null, "visibility": "external" }, { "body": null, "documentation": null, "id": 1688, "implemented": false, "isConstructor": false, "isDeclaredConst": true, "modifiers": [], "name": "resultByDate", "nodeType": "FunctionDefinition", "parameters": { "id": 1682, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1681, "name": "date", "nodeType": "VariableDeclaration", "scope": 1688, "src": "422:12:11", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 1680, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "422:7:11", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "421:14:11" }, "payable": false, "returnParameters": { "id": 1687, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1684, "name": "", "nodeType": "VariableDeclaration", "scope": 1688, "src": "459:7:11", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" }, "typeName": { "id": 1683, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "459:7:11", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 1686, "name": "", "nodeType": "VariableDeclaration", "scope": 1688, "src": "468:7:11", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 1685, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "468:7:11", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "458:18:11" }, "scope": 1699, "src": "400:77:11", "stateMutability": "view", "superFunction": null, "visibility": "external" }, { "body": null, "documentation": null, "id": 1693, "implemented": false, "isConstructor": false, "isDeclaredConst": true, "modifiers": [], "name": "latestResultDate", "nodeType": "FunctionDefinition", "parameters": { "id": 1689, "nodeType": "ParameterList", "parameters": [], "src": "508:2:11" }, "payable": false, "returnParameters": { "id": 1692, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1691, "name": "", "nodeType": "VariableDeclaration", "scope": 1693, "src": "534:7:11", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 1690, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "534:7:11", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "533:9:11" }, "scope": 1699, "src": "483:60:11", "stateMutability": "view", "superFunction": null, "visibility": "external" }, { "body": null, "documentation": null, "id": 1698, "implemented": false, "isConstructor": false, "isDeclaredConst": true, "modifiers": [], "name": "latestResult", "nodeType": "FunctionDefinition", "parameters": { "id": 1694, "nodeType": "ParameterList", "parameters": [], "src": "570:2:11" }, "payable": false, "returnParameters": { "id": 1697, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1696, "name": "", "nodeType": "VariableDeclaration", "scope": 1698, "src": "596:7:11", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" }, "typeName": { "id": 1695, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "596:7:11", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "value": null, "visibility": "internal" } ], "src": "595:9:11" }, "scope": 1699, "src": "549:56:11", "stateMutability": "view", "superFunction": null, "visibility": "external" } ], "scope": 1700, "src": "74:534:11" } ], "src": "0:610:11" }, "compiler": { "name": "solc", "version": "0.4.25+commit.59dbf8f1.Emscripten.clang" }, "networks": {}, "schemaVersion": "2.0.2", "updatedAt": "2020-02-17T22:26:48.004Z" }