@aragon/apps-payroll
Version:
_**Code in Github:**_ [aragon-apps/apps/payroll](https://github.com/aragon/aragon-apps/tree/master/future-apps/payroll)
1,354 lines • 46.1 kB
JSON
{
"contractName": "IKernelEvents",
"abi": [
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "namespace",
"type": "bytes32"
},
{
"indexed": true,
"name": "appId",
"type": "bytes32"
},
{
"indexed": false,
"name": "app",
"type": "address"
}
],
"name": "SetApp",
"type": "event"
}
],
"bytecode": "0x6080604052348015600f57600080fd5b50603580601d6000396000f3006080604052600080fd00a165627a7a72305820713b4121c22d9f1268418ae115eba0b289eb6f33fb55dbc81f98720b8a7f58870029",
"deployedBytecode": "0x6080604052600080fd00a165627a7a72305820713b4121c22d9f1268418ae115eba0b289eb6f33fb55dbc81f98720b8a7f58870029",
"sourceMap": "140:108:51:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;140:108:51;;;;;;;",
"deployedSourceMap": "140:108:51:-;;;;;",
"source": "/*\n * SPDX-License-Identitifer: MIT\n */\n\npragma solidity ^0.4.24;\n\nimport \"../acl/IACL.sol\";\nimport \"../common/IVaultRecoverable.sol\";\n\n\ninterface IKernelEvents {\n event SetApp(bytes32 indexed namespace, bytes32 indexed appId, address app);\n}\n\n\n// This should be an interface, but interfaces can't inherit yet :(\ncontract IKernel is IKernelEvents, IVaultRecoverable {\n function acl() public view returns (IACL);\n function hasPermission(address who, address where, bytes32 what, bytes how) public view returns (bool);\n\n function setApp(bytes32 namespace, bytes32 appId, address app) public;\n function getApp(bytes32 namespace, bytes32 appId) public view returns (address);\n}\n",
"sourcePath": "@aragon/os/contracts/kernel/IKernel.sol",
"ast": {
"absolutePath": "@aragon/os/contracts/kernel/IKernel.sol",
"exportedSymbols": {
"IKernel": [
12600
],
"IKernelEvents": [
12559
]
},
"id": 12601,
"nodeType": "SourceUnit",
"nodes": [
{
"id": 12548,
"literals": [
"solidity",
"^",
"0.4",
".24"
],
"nodeType": "PragmaDirective",
"src": "44:24:51"
},
{
"absolutePath": "@aragon/os/contracts/acl/IACL.sol",
"file": "../acl/IACL.sol",
"id": 12549,
"nodeType": "ImportDirective",
"scope": 12601,
"sourceUnit": 9674,
"src": "70:25:51",
"symbolAliases": [],
"unitAlias": ""
},
{
"absolutePath": "@aragon/os/contracts/common/IVaultRecoverable.sol",
"file": "../common/IVaultRecoverable.sol",
"id": 12550,
"nodeType": "ImportDirective",
"scope": 12601,
"sourceUnit": 10713,
"src": "96:41:51",
"symbolAliases": [],
"unitAlias": ""
},
{
"baseContracts": [],
"contractDependencies": [],
"contractKind": "interface",
"documentation": null,
"fullyImplemented": true,
"id": 12559,
"linearizedBaseContracts": [
12559
],
"name": "IKernelEvents",
"nodeType": "ContractDefinition",
"nodes": [
{
"anonymous": false,
"documentation": null,
"id": 12558,
"name": "SetApp",
"nodeType": "EventDefinition",
"parameters": {
"id": 12557,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 12552,
"indexed": true,
"name": "namespace",
"nodeType": "VariableDeclaration",
"scope": 12558,
"src": "183:25:51",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 12551,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "183:7:51",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 12554,
"indexed": true,
"name": "appId",
"nodeType": "VariableDeclaration",
"scope": 12558,
"src": "210:21:51",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 12553,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "210:7:51",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 12556,
"indexed": false,
"name": "app",
"nodeType": "VariableDeclaration",
"scope": 12558,
"src": "233:11:51",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 12555,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "233:7:51",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "182:63:51"
},
"src": "170:76:51"
}
],
"scope": 12601,
"src": "140:108:51"
},
{
"baseContracts": [
{
"arguments": null,
"baseName": {
"contractScope": null,
"id": 12560,
"name": "IKernelEvents",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 12559,
"src": "339:13:51",
"typeDescriptions": {
"typeIdentifier": "t_contract$_IKernelEvents_$12559",
"typeString": "contract IKernelEvents"
}
},
"id": 12561,
"nodeType": "InheritanceSpecifier",
"src": "339:13:51"
},
{
"arguments": null,
"baseName": {
"contractScope": null,
"id": 12562,
"name": "IVaultRecoverable",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 10712,
"src": "354:17:51",
"typeDescriptions": {
"typeIdentifier": "t_contract$_IVaultRecoverable_$10712",
"typeString": "contract IVaultRecoverable"
}
},
"id": 12563,
"nodeType": "InheritanceSpecifier",
"src": "354:17:51"
}
],
"contractDependencies": [
10712,
12559
],
"contractKind": "contract",
"documentation": null,
"fullyImplemented": false,
"id": 12600,
"linearizedBaseContracts": [
12600,
10712,
12559
],
"name": "IKernel",
"nodeType": "ContractDefinition",
"nodes": [
{
"body": null,
"documentation": null,
"id": 12568,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "acl",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 12564,
"nodeType": "ParameterList",
"parameters": [],
"src": "390:2:51"
},
"payable": false,
"returnParameters": {
"id": 12567,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 12566,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 12568,
"src": "414:4:51",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_contract$_IACL_$9673",
"typeString": "contract IACL"
},
"typeName": {
"contractScope": null,
"id": 12565,
"name": "IACL",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 9673,
"src": "414:4:51",
"typeDescriptions": {
"typeIdentifier": "t_contract$_IACL_$9673",
"typeString": "contract IACL"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "413:6:51"
},
"scope": 12600,
"src": "378:42:51",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
},
{
"body": null,
"documentation": null,
"id": 12581,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "hasPermission",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 12577,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 12570,
"name": "who",
"nodeType": "VariableDeclaration",
"scope": 12581,
"src": "448:11:51",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 12569,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "448:7:51",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 12572,
"name": "where",
"nodeType": "VariableDeclaration",
"scope": 12581,
"src": "461:13:51",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 12571,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "461:7:51",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 12574,
"name": "what",
"nodeType": "VariableDeclaration",
"scope": 12581,
"src": "476:12:51",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 12573,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "476:7:51",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 12576,
"name": "how",
"nodeType": "VariableDeclaration",
"scope": 12581,
"src": "490:9:51",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 12575,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "490:5:51",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "447:53:51"
},
"payable": false,
"returnParameters": {
"id": 12580,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 12579,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 12581,
"src": "522:4:51",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 12578,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "522:4:51",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "521:6:51"
},
"scope": 12600,
"src": "425:103:51",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
},
{
"body": null,
"documentation": null,
"id": 12590,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": false,
"modifiers": [],
"name": "setApp",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 12588,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 12583,
"name": "namespace",
"nodeType": "VariableDeclaration",
"scope": 12590,
"src": "550:17:51",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 12582,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "550:7:51",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 12585,
"name": "appId",
"nodeType": "VariableDeclaration",
"scope": 12590,
"src": "569:13:51",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 12584,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "569:7:51",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 12587,
"name": "app",
"nodeType": "VariableDeclaration",
"scope": 12590,
"src": "584:11:51",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 12586,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "584:7:51",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "549:47:51"
},
"payable": false,
"returnParameters": {
"id": 12589,
"nodeType": "ParameterList",
"parameters": [],
"src": "603:0:51"
},
"scope": 12600,
"src": "534:70:51",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "public"
},
{
"body": null,
"documentation": null,
"id": 12599,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "getApp",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 12595,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 12592,
"name": "namespace",
"nodeType": "VariableDeclaration",
"scope": 12599,
"src": "625:17:51",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 12591,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "625:7:51",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 12594,
"name": "appId",
"nodeType": "VariableDeclaration",
"scope": 12599,
"src": "644:13:51",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 12593,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "644:7:51",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "624:34:51"
},
"payable": false,
"returnParameters": {
"id": 12598,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 12597,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 12599,
"src": "680:7:51",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 12596,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "680:7:51",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "679:9:51"
},
"scope": 12600,
"src": "609:80:51",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
}
],
"scope": 12601,
"src": "319:372:51"
}
],
"src": "44:648:51"
},
"legacyAST": {
"absolutePath": "@aragon/os/contracts/kernel/IKernel.sol",
"exportedSymbols": {
"IKernel": [
12600
],
"IKernelEvents": [
12559
]
},
"id": 12601,
"nodeType": "SourceUnit",
"nodes": [
{
"id": 12548,
"literals": [
"solidity",
"^",
"0.4",
".24"
],
"nodeType": "PragmaDirective",
"src": "44:24:51"
},
{
"absolutePath": "@aragon/os/contracts/acl/IACL.sol",
"file": "../acl/IACL.sol",
"id": 12549,
"nodeType": "ImportDirective",
"scope": 12601,
"sourceUnit": 9674,
"src": "70:25:51",
"symbolAliases": [],
"unitAlias": ""
},
{
"absolutePath": "@aragon/os/contracts/common/IVaultRecoverable.sol",
"file": "../common/IVaultRecoverable.sol",
"id": 12550,
"nodeType": "ImportDirective",
"scope": 12601,
"sourceUnit": 10713,
"src": "96:41:51",
"symbolAliases": [],
"unitAlias": ""
},
{
"baseContracts": [],
"contractDependencies": [],
"contractKind": "interface",
"documentation": null,
"fullyImplemented": true,
"id": 12559,
"linearizedBaseContracts": [
12559
],
"name": "IKernelEvents",
"nodeType": "ContractDefinition",
"nodes": [
{
"anonymous": false,
"documentation": null,
"id": 12558,
"name": "SetApp",
"nodeType": "EventDefinition",
"parameters": {
"id": 12557,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 12552,
"indexed": true,
"name": "namespace",
"nodeType": "VariableDeclaration",
"scope": 12558,
"src": "183:25:51",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 12551,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "183:7:51",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 12554,
"indexed": true,
"name": "appId",
"nodeType": "VariableDeclaration",
"scope": 12558,
"src": "210:21:51",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 12553,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "210:7:51",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 12556,
"indexed": false,
"name": "app",
"nodeType": "VariableDeclaration",
"scope": 12558,
"src": "233:11:51",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 12555,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "233:7:51",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "182:63:51"
},
"src": "170:76:51"
}
],
"scope": 12601,
"src": "140:108:51"
},
{
"baseContracts": [
{
"arguments": null,
"baseName": {
"contractScope": null,
"id": 12560,
"name": "IKernelEvents",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 12559,
"src": "339:13:51",
"typeDescriptions": {
"typeIdentifier": "t_contract$_IKernelEvents_$12559",
"typeString": "contract IKernelEvents"
}
},
"id": 12561,
"nodeType": "InheritanceSpecifier",
"src": "339:13:51"
},
{
"arguments": null,
"baseName": {
"contractScope": null,
"id": 12562,
"name": "IVaultRecoverable",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 10712,
"src": "354:17:51",
"typeDescriptions": {
"typeIdentifier": "t_contract$_IVaultRecoverable_$10712",
"typeString": "contract IVaultRecoverable"
}
},
"id": 12563,
"nodeType": "InheritanceSpecifier",
"src": "354:17:51"
}
],
"contractDependencies": [
10712,
12559
],
"contractKind": "contract",
"documentation": null,
"fullyImplemented": false,
"id": 12600,
"linearizedBaseContracts": [
12600,
10712,
12559
],
"name": "IKernel",
"nodeType": "ContractDefinition",
"nodes": [
{
"body": null,
"documentation": null,
"id": 12568,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "acl",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 12564,
"nodeType": "ParameterList",
"parameters": [],
"src": "390:2:51"
},
"payable": false,
"returnParameters": {
"id": 12567,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 12566,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 12568,
"src": "414:4:51",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_contract$_IACL_$9673",
"typeString": "contract IACL"
},
"typeName": {
"contractScope": null,
"id": 12565,
"name": "IACL",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 9673,
"src": "414:4:51",
"typeDescriptions": {
"typeIdentifier": "t_contract$_IACL_$9673",
"typeString": "contract IACL"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "413:6:51"
},
"scope": 12600,
"src": "378:42:51",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
},
{
"body": null,
"documentation": null,
"id": 12581,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "hasPermission",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 12577,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 12570,
"name": "who",
"nodeType": "VariableDeclaration",
"scope": 12581,
"src": "448:11:51",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 12569,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "448:7:51",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 12572,
"name": "where",
"nodeType": "VariableDeclaration",
"scope": 12581,
"src": "461:13:51",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 12571,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "461:7:51",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 12574,
"name": "what",
"nodeType": "VariableDeclaration",
"scope": 12581,
"src": "476:12:51",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 12573,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "476:7:51",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 12576,
"name": "how",
"nodeType": "VariableDeclaration",
"scope": 12581,
"src": "490:9:51",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 12575,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "490:5:51",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "447:53:51"
},
"payable": false,
"returnParameters": {
"id": 12580,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 12579,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 12581,
"src": "522:4:51",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 12578,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "522:4:51",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "521:6:51"
},
"scope": 12600,
"src": "425:103:51",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
},
{
"body": null,
"documentation": null,
"id": 12590,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": false,
"modifiers": [],
"name": "setApp",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 12588,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 12583,
"name": "namespace",
"nodeType": "VariableDeclaration",
"scope": 12590,
"src": "550:17:51",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 12582,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "550:7:51",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 12585,
"name": "appId",
"nodeType": "VariableDeclaration",
"scope": 12590,
"src": "569:13:51",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 12584,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "569:7:51",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 12587,
"name": "app",
"nodeType": "VariableDeclaration",
"scope": 12590,
"src": "584:11:51",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 12586,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "584:7:51",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "549:47:51"
},
"payable": false,
"returnParameters": {
"id": 12589,
"nodeType": "ParameterList",
"parameters": [],
"src": "603:0:51"
},
"scope": 12600,
"src": "534:70:51",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "public"
},
{
"body": null,
"documentation": null,
"id": 12599,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "getApp",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 12595,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 12592,
"name": "namespace",
"nodeType": "VariableDeclaration",
"scope": 12599,
"src": "625:17:51",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 12591,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "625:7:51",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 12594,
"name": "appId",
"nodeType": "VariableDeclaration",
"scope": 12599,
"src": "644:13:51",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 12593,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "644:7:51",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "624:34:51"
},
"payable": false,
"returnParameters": {
"id": 12598,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 12597,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 12599,
"src": "680:7:51",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 12596,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "680:7:51",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "679:9:51"
},
"scope": 12600,
"src": "609:80:51",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
}
],
"scope": 12601,
"src": "319:372:51"
}
],
"src": "44:648:51"
},
"compiler": {
"name": "solc",
"version": "0.4.24+commit.e67f0147.Emscripten.clang"
},
"networks": {},
"schemaVersion": "2.0.1",
"updatedAt": "2019-09-04T11:02:55.776Z"
}