UNPKG

@aragon/apps-payroll

Version:

_**Code in Github:**_ [aragon-apps/apps/payroll](https://github.com/aragon/aragon-apps/tree/master/future-apps/payroll)

523 lines 16.4 kB
{ "contractName": "IFeed", "abi": [ { "constant": true, "inputs": [], "name": "ratePrecision", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "pure", "type": "function" }, { "constant": true, "inputs": [ { "name": "base", "type": "address" }, { "name": "quote", "type": "address" } ], "name": "get", "outputs": [ { "name": "xrt", "type": "uint128" }, { "name": "when", "type": "uint64" } ], "payable": false, "stateMutability": "view", "type": "function" } ], "bytecode": "0x", "deployedBytecode": "0x", "sourceMap": "", "deployedSourceMap": "", "source": "pragma solidity ^0.4.18;\n\ninterface IFeed {\n function ratePrecision() external pure returns (uint256);\n function get(address base, address quote) external view returns (uint128 xrt, uint64 when);\n}\n", "sourcePath": "@aragon/ppf-contracts/contracts/IFeed.sol", "ast": { "absolutePath": "@aragon/ppf-contracts/contracts/IFeed.sol", "exportedSymbols": { "IFeed": [ 14313 ] }, "id": 14314, "nodeType": "SourceUnit", "nodes": [ { "id": 14296, "literals": [ "solidity", "^", "0.4", ".18" ], "nodeType": "PragmaDirective", "src": "0:24:63" }, { "baseContracts": [], "contractDependencies": [], "contractKind": "interface", "documentation": null, "fullyImplemented": false, "id": 14313, "linearizedBaseContracts": [ 14313 ], "name": "IFeed", "nodeType": "ContractDefinition", "nodes": [ { "body": null, "documentation": null, "id": 14301, "implemented": false, "isConstructor": false, "isDeclaredConst": true, "modifiers": [], "name": "ratePrecision", "nodeType": "FunctionDefinition", "parameters": { "id": 14297, "nodeType": "ParameterList", "parameters": [], "src": "70:2:63" }, "payable": false, "returnParameters": { "id": 14300, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 14299, "name": "", "nodeType": "VariableDeclaration", "scope": 14301, "src": "96:7:63", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 14298, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "96:7:63", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "95:9:63" }, "scope": 14313, "src": "48:57:63", "stateMutability": "pure", "superFunction": null, "visibility": "external" }, { "body": null, "documentation": null, "id": 14312, "implemented": false, "isConstructor": false, "isDeclaredConst": true, "modifiers": [], "name": "get", "nodeType": "FunctionDefinition", "parameters": { "id": 14306, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 14303, "name": "base", "nodeType": "VariableDeclaration", "scope": 14312, "src": "123:12:63", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 14302, "name": "address", "nodeType": "ElementaryTypeName", "src": "123:7:63", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 14305, "name": "quote", "nodeType": "VariableDeclaration", "scope": 14312, "src": "137:13:63", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 14304, "name": "address", "nodeType": "ElementaryTypeName", "src": "137:7:63", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" } ], "src": "122:29:63" }, "payable": false, "returnParameters": { "id": 14311, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 14308, "name": "xrt", "nodeType": "VariableDeclaration", "scope": 14312, "src": "175:11:63", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint128", "typeString": "uint128" }, "typeName": { "id": 14307, "name": "uint128", "nodeType": "ElementaryTypeName", "src": "175:7:63", "typeDescriptions": { "typeIdentifier": "t_uint128", "typeString": "uint128" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 14310, "name": "when", "nodeType": "VariableDeclaration", "scope": 14312, "src": "188:11:63", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint64", "typeString": "uint64" }, "typeName": { "id": 14309, "name": "uint64", "nodeType": "ElementaryTypeName", "src": "188:6:63", "typeDescriptions": { "typeIdentifier": "t_uint64", "typeString": "uint64" } }, "value": null, "visibility": "internal" } ], "src": "174:26:63" }, "scope": 14313, "src": "110:91:63", "stateMutability": "view", "superFunction": null, "visibility": "external" } ], "scope": 14314, "src": "26:177:63" } ], "src": "0:204:63" }, "legacyAST": { "absolutePath": "@aragon/ppf-contracts/contracts/IFeed.sol", "exportedSymbols": { "IFeed": [ 14313 ] }, "id": 14314, "nodeType": "SourceUnit", "nodes": [ { "id": 14296, "literals": [ "solidity", "^", "0.4", ".18" ], "nodeType": "PragmaDirective", "src": "0:24:63" }, { "baseContracts": [], "contractDependencies": [], "contractKind": "interface", "documentation": null, "fullyImplemented": false, "id": 14313, "linearizedBaseContracts": [ 14313 ], "name": "IFeed", "nodeType": "ContractDefinition", "nodes": [ { "body": null, "documentation": null, "id": 14301, "implemented": false, "isConstructor": false, "isDeclaredConst": true, "modifiers": [], "name": "ratePrecision", "nodeType": "FunctionDefinition", "parameters": { "id": 14297, "nodeType": "ParameterList", "parameters": [], "src": "70:2:63" }, "payable": false, "returnParameters": { "id": 14300, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 14299, "name": "", "nodeType": "VariableDeclaration", "scope": 14301, "src": "96:7:63", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 14298, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "96:7:63", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "95:9:63" }, "scope": 14313, "src": "48:57:63", "stateMutability": "pure", "superFunction": null, "visibility": "external" }, { "body": null, "documentation": null, "id": 14312, "implemented": false, "isConstructor": false, "isDeclaredConst": true, "modifiers": [], "name": "get", "nodeType": "FunctionDefinition", "parameters": { "id": 14306, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 14303, "name": "base", "nodeType": "VariableDeclaration", "scope": 14312, "src": "123:12:63", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 14302, "name": "address", "nodeType": "ElementaryTypeName", "src": "123:7:63", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 14305, "name": "quote", "nodeType": "VariableDeclaration", "scope": 14312, "src": "137:13:63", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 14304, "name": "address", "nodeType": "ElementaryTypeName", "src": "137:7:63", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" } ], "src": "122:29:63" }, "payable": false, "returnParameters": { "id": 14311, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 14308, "name": "xrt", "nodeType": "VariableDeclaration", "scope": 14312, "src": "175:11:63", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint128", "typeString": "uint128" }, "typeName": { "id": 14307, "name": "uint128", "nodeType": "ElementaryTypeName", "src": "175:7:63", "typeDescriptions": { "typeIdentifier": "t_uint128", "typeString": "uint128" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 14310, "name": "when", "nodeType": "VariableDeclaration", "scope": 14312, "src": "188:11:63", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint64", "typeString": "uint64" }, "typeName": { "id": 14309, "name": "uint64", "nodeType": "ElementaryTypeName", "src": "188:6:63", "typeDescriptions": { "typeIdentifier": "t_uint64", "typeString": "uint64" } }, "value": null, "visibility": "internal" } ], "src": "174:26:63" }, "scope": 14313, "src": "110:91:63", "stateMutability": "view", "superFunction": null, "visibility": "external" } ], "scope": 14314, "src": "26:177:63" } ], "src": "0:204:63" }, "compiler": { "name": "solc", "version": "0.4.24+commit.e67f0147.Emscripten.clang" }, "networks": {}, "schemaVersion": "2.0.1", "updatedAt": "2019-09-04T11:02:55.792Z" }