UNPKG

@aragon/apps-payroll

Version:

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

1,513 lines 48.7 kB
{ "contractName": "IKernel", "abi": [ { "constant": true, "inputs": [], "name": "getRecoveryVault", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "token", "type": "address" } ], "name": "allowRecoverability", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "token", "type": "address" } ], "name": "transferToVault", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "anonymous": false, "inputs": [ { "indexed": true, "name": "vault", "type": "address" }, { "indexed": true, "name": "token", "type": "address" }, { "indexed": false, "name": "amount", "type": "uint256" } ], "name": "RecoverToVault", "type": "event" }, { "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" }, { "constant": true, "inputs": [], "name": "acl", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "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" }, { "constant": false, "inputs": [ { "name": "namespace", "type": "bytes32" }, { "name": "appId", "type": "bytes32" }, { "name": "app", "type": "address" } ], "name": "setApp", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "namespace", "type": "bytes32" }, { "name": "appId", "type": "bytes32" } ], "name": "getApp", "outputs": [ { "name": "", "type": "address" } ], "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\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.771Z" }