@aragon/apps-payroll
Version:
_**Code in Github:**_ [aragon-apps/apps/payroll](https://github.com/aragon/aragon-apps/tree/master/future-apps/payroll)
579 lines • 18.5 kB
JSON
{
"contractName": "IACL",
"abi": [
{
"constant": false,
"inputs": [
{
"name": "permissionsCreator",
"type": "address"
}
],
"name": "initialize",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "who",
"type": "address"
},
{
"name": "where",
"type": "address"
},
{
"name": "what",
"type": "bytes32"
},
{
"name": "how",
"type": "bytes"
}
],
"name": "hasPermission",
"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 IACL {\n function initialize(address permissionsCreator) external;\n\n // TODO: this should be external\n // See https://github.com/ethereum/solidity/issues/4832\n function hasPermission(address who, address where, bytes32 what, bytes how) public view returns (bool);\n}\n",
"sourcePath": "@aragon/os/contracts/acl/IACL.sol",
"ast": {
"absolutePath": "@aragon/os/contracts/acl/IACL.sol",
"exportedSymbols": {
"IACL": [
9673
]
},
"id": 9674,
"nodeType": "SourceUnit",
"nodes": [
{
"id": 9654,
"literals": [
"solidity",
"^",
"0.4",
".24"
],
"nodeType": "PragmaDirective",
"src": "44:24:15"
},
{
"baseContracts": [],
"contractDependencies": [],
"contractKind": "interface",
"documentation": null,
"fullyImplemented": false,
"id": 9673,
"linearizedBaseContracts": [
9673
],
"name": "IACL",
"nodeType": "ContractDefinition",
"nodes": [
{
"body": null,
"documentation": null,
"id": 9659,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": false,
"modifiers": [],
"name": "initialize",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 9657,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 9656,
"name": "permissionsCreator",
"nodeType": "VariableDeclaration",
"scope": 9659,
"src": "112:26:15",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 9655,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "112:7:15",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "111:28:15"
},
"payable": false,
"returnParameters": {
"id": 9658,
"nodeType": "ParameterList",
"parameters": [],
"src": "148:0:15"
},
"scope": 9673,
"src": "92:57:15",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"id": 9672,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "hasPermission",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 9668,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 9661,
"name": "who",
"nodeType": "VariableDeclaration",
"scope": 9672,
"src": "275:11:15",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 9660,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "275:7:15",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 9663,
"name": "where",
"nodeType": "VariableDeclaration",
"scope": 9672,
"src": "288:13:15",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 9662,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "288:7:15",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 9665,
"name": "what",
"nodeType": "VariableDeclaration",
"scope": 9672,
"src": "303:12:15",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 9664,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "303:7:15",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 9667,
"name": "how",
"nodeType": "VariableDeclaration",
"scope": 9672,
"src": "317:9:15",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 9666,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "317:5:15",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "274:53:15"
},
"payable": false,
"returnParameters": {
"id": 9671,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 9670,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 9672,
"src": "349:4:15",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 9669,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "349:4:15",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "348:6:15"
},
"scope": 9673,
"src": "252:103:15",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
}
],
"scope": 9674,
"src": "71:286:15"
}
],
"src": "44:314:15"
},
"legacyAST": {
"absolutePath": "@aragon/os/contracts/acl/IACL.sol",
"exportedSymbols": {
"IACL": [
9673
]
},
"id": 9674,
"nodeType": "SourceUnit",
"nodes": [
{
"id": 9654,
"literals": [
"solidity",
"^",
"0.4",
".24"
],
"nodeType": "PragmaDirective",
"src": "44:24:15"
},
{
"baseContracts": [],
"contractDependencies": [],
"contractKind": "interface",
"documentation": null,
"fullyImplemented": false,
"id": 9673,
"linearizedBaseContracts": [
9673
],
"name": "IACL",
"nodeType": "ContractDefinition",
"nodes": [
{
"body": null,
"documentation": null,
"id": 9659,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": false,
"modifiers": [],
"name": "initialize",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 9657,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 9656,
"name": "permissionsCreator",
"nodeType": "VariableDeclaration",
"scope": 9659,
"src": "112:26:15",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 9655,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "112:7:15",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "111:28:15"
},
"payable": false,
"returnParameters": {
"id": 9658,
"nodeType": "ParameterList",
"parameters": [],
"src": "148:0:15"
},
"scope": 9673,
"src": "92:57:15",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"id": 9672,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "hasPermission",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 9668,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 9661,
"name": "who",
"nodeType": "VariableDeclaration",
"scope": 9672,
"src": "275:11:15",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 9660,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "275:7:15",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 9663,
"name": "where",
"nodeType": "VariableDeclaration",
"scope": 9672,
"src": "288:13:15",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 9662,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "288:7:15",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 9665,
"name": "what",
"nodeType": "VariableDeclaration",
"scope": 9672,
"src": "303:12:15",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 9664,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "303:7:15",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 9667,
"name": "how",
"nodeType": "VariableDeclaration",
"scope": 9672,
"src": "317:9:15",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 9666,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "317:5:15",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "274:53:15"
},
"payable": false,
"returnParameters": {
"id": 9671,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 9670,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 9672,
"src": "349:4:15",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 9669,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "349:4:15",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "348:6:15"
},
"scope": 9673,
"src": "252:103:15",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
}
],
"scope": 9674,
"src": "71:286:15"
}
],
"src": "44:314:15"
},
"compiler": {
"name": "solc",
"version": "0.4.24+commit.e67f0147.Emscripten.clang"
},
"networks": {},
"schemaVersion": "2.0.1",
"updatedAt": "2019-09-04T11:02:55.753Z"
}