UNPKG

@aragon/apps-payroll

Version:

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

473 lines 15.3 kB
{ "contractName": "IACLOracle", "abi": [ { "constant": true, "inputs": [ { "name": "who", "type": "address" }, { "name": "where", "type": "address" }, { "name": "what", "type": "bytes32" }, { "name": "how", "type": "uint256[]" } ], "name": "canPerform", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" } ], "bytecode": "0x", "deployedBytecode": "0x", "sourceMap": "", "deployedSourceMap": "", "source": "/*\n * SPDX-License-Identitifer: MIT\n */\n\npragma solidity ^0.4.24;\n\n\ninterface IACLOracle {\n function canPerform(address who, address where, bytes32 what, uint256[] how) external view returns (bool);\n}\n", "sourcePath": "@aragon/os/contracts/acl/IACLOracle.sol", "ast": { "absolutePath": "@aragon/os/contracts/acl/IACLOracle.sol", "exportedSymbols": { "IACLOracle": [ 9690 ] }, "id": 9691, "nodeType": "SourceUnit", "nodes": [ { "id": 9675, "literals": [ "solidity", "^", "0.4", ".24" ], "nodeType": "PragmaDirective", "src": "44:24:16" }, { "baseContracts": [], "contractDependencies": [], "contractKind": "interface", "documentation": null, "fullyImplemented": false, "id": 9690, "linearizedBaseContracts": [ 9690 ], "name": "IACLOracle", "nodeType": "ContractDefinition", "nodes": [ { "body": null, "documentation": null, "id": 9689, "implemented": false, "isConstructor": false, "isDeclaredConst": true, "modifiers": [], "name": "canPerform", "nodeType": "FunctionDefinition", "parameters": { "id": 9685, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 9677, "name": "who", "nodeType": "VariableDeclaration", "scope": 9689, "src": "118:11:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 9676, "name": "address", "nodeType": "ElementaryTypeName", "src": "118:7:16", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 9679, "name": "where", "nodeType": "VariableDeclaration", "scope": 9689, "src": "131:13:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 9678, "name": "address", "nodeType": "ElementaryTypeName", "src": "131:7:16", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 9681, "name": "what", "nodeType": "VariableDeclaration", "scope": 9689, "src": "146:12:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" }, "typeName": { "id": 9680, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "146:7:16", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 9684, "name": "how", "nodeType": "VariableDeclaration", "scope": 9689, "src": "160:13:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", "typeString": "uint256[]" }, "typeName": { "baseType": { "id": 9682, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "160:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "id": 9683, "length": null, "nodeType": "ArrayTypeName", "src": "160:9:16", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", "typeString": "uint256[]" } }, "value": null, "visibility": "internal" } ], "src": "117:57:16" }, "payable": false, "returnParameters": { "id": 9688, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 9687, "name": "", "nodeType": "VariableDeclaration", "scope": 9689, "src": "198:4:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "typeName": { "id": 9686, "name": "bool", "nodeType": "ElementaryTypeName", "src": "198:4:16", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "value": null, "visibility": "internal" } ], "src": "197:6:16" }, "scope": 9690, "src": "98:106:16", "stateMutability": "view", "superFunction": null, "visibility": "external" } ], "scope": 9691, "src": "71:135:16" } ], "src": "44:163:16" }, "legacyAST": { "absolutePath": "@aragon/os/contracts/acl/IACLOracle.sol", "exportedSymbols": { "IACLOracle": [ 9690 ] }, "id": 9691, "nodeType": "SourceUnit", "nodes": [ { "id": 9675, "literals": [ "solidity", "^", "0.4", ".24" ], "nodeType": "PragmaDirective", "src": "44:24:16" }, { "baseContracts": [], "contractDependencies": [], "contractKind": "interface", "documentation": null, "fullyImplemented": false, "id": 9690, "linearizedBaseContracts": [ 9690 ], "name": "IACLOracle", "nodeType": "ContractDefinition", "nodes": [ { "body": null, "documentation": null, "id": 9689, "implemented": false, "isConstructor": false, "isDeclaredConst": true, "modifiers": [], "name": "canPerform", "nodeType": "FunctionDefinition", "parameters": { "id": 9685, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 9677, "name": "who", "nodeType": "VariableDeclaration", "scope": 9689, "src": "118:11:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 9676, "name": "address", "nodeType": "ElementaryTypeName", "src": "118:7:16", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 9679, "name": "where", "nodeType": "VariableDeclaration", "scope": 9689, "src": "131:13:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 9678, "name": "address", "nodeType": "ElementaryTypeName", "src": "131:7:16", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 9681, "name": "what", "nodeType": "VariableDeclaration", "scope": 9689, "src": "146:12:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" }, "typeName": { "id": 9680, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "146:7:16", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 9684, "name": "how", "nodeType": "VariableDeclaration", "scope": 9689, "src": "160:13:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", "typeString": "uint256[]" }, "typeName": { "baseType": { "id": 9682, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "160:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "id": 9683, "length": null, "nodeType": "ArrayTypeName", "src": "160:9:16", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", "typeString": "uint256[]" } }, "value": null, "visibility": "internal" } ], "src": "117:57:16" }, "payable": false, "returnParameters": { "id": 9688, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 9687, "name": "", "nodeType": "VariableDeclaration", "scope": 9689, "src": "198:4:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "typeName": { "id": 9686, "name": "bool", "nodeType": "ElementaryTypeName", "src": "198:4:16", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "value": null, "visibility": "internal" } ], "src": "197:6:16" }, "scope": 9690, "src": "98:106:16", "stateMutability": "view", "superFunction": null, "visibility": "external" } ], "scope": 9691, "src": "71:135:16" } ], "src": "44:163:16" }, "compiler": { "name": "solc", "version": "0.4.24+commit.e67f0147.Emscripten.clang" }, "networks": {}, "schemaVersion": "2.0.1", "updatedAt": "2019-09-04T11:02:55.728Z" }