UNPKG

@aragon/apps-payroll

Version:

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

655 lines 25.4 kB
{ "contractName": "KernelAppIds", "abi": [], "bytecode": "0x6080604052348015600f57600080fd5b50603580601d6000396000f3006080604052600080fd00a165627a7a72305820f9e1e235481d2847ac6bb9644325749fda7ecf3f942d662bbb0b9f36a335add40029", "deployedBytecode": "0x6080604052600080fd00a165627a7a72305820f9e1e235481d2847ac6bb9644325749fda7ecf3f942d662bbb0b9f36a335add40029", "sourceMap": "71:678:53:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;71:678:53;;;;;;;", "deployedSourceMap": "71:678:53:-;;;;;", "source": "/*\n * SPDX-License-Identitifer: MIT\n */\n\npragma solidity ^0.4.24;\n\n\ncontract KernelAppIds {\n /* Hardcoded constants to save gas\n bytes32 internal constant KERNEL_CORE_APP_ID = apmNamehash(\"kernel\");\n bytes32 internal constant KERNEL_DEFAULT_ACL_APP_ID = apmNamehash(\"acl\");\n bytes32 internal constant KERNEL_DEFAULT_VAULT_APP_ID = apmNamehash(\"vault\");\n */\n bytes32 internal constant KERNEL_CORE_APP_ID = 0x3b4bf6bf3ad5000ecf0f989d5befde585c6860fea3e574a4fab4c49d1c177d9c;\n bytes32 internal constant KERNEL_DEFAULT_ACL_APP_ID = 0xe3262375f45a6e2026b7e7b18c2b807434f2508fe1a2a3dfb493c7df8f4aad6a;\n bytes32 internal constant KERNEL_DEFAULT_VAULT_APP_ID = 0x7e852e0fcfce6551c13800f1e7476f982525c2b5277ba14b24339c68416336d1;\n}\n\n\ncontract KernelNamespaceConstants {\n /* Hardcoded constants to save gas\n bytes32 internal constant KERNEL_CORE_NAMESPACE = keccak256(\"core\");\n bytes32 internal constant KERNEL_APP_BASES_NAMESPACE = keccak256(\"base\");\n bytes32 internal constant KERNEL_APP_ADDR_NAMESPACE = keccak256(\"app\");\n */\n bytes32 internal constant KERNEL_CORE_NAMESPACE = 0xc681a85306374a5ab27f0bbc385296a54bcd314a1948b6cf61c4ea1bc44bb9f8;\n bytes32 internal constant KERNEL_APP_BASES_NAMESPACE = 0xf1f3eb40f5bc1ad1344716ced8b8a0431d840b5783aea1fd01786bc26f35ac0f;\n bytes32 internal constant KERNEL_APP_ADDR_NAMESPACE = 0xd6f028ca0e8edb4a8c9757ca4fdccab25fa1e0317da1188108f7d2dee14902fb;\n}\n", "sourcePath": "@aragon/os/contracts/kernel/KernelConstants.sol", "ast": { "absolutePath": "@aragon/os/contracts/kernel/KernelConstants.sol", "exportedSymbols": { "KernelAppIds": [ 13104 ], "KernelNamespaceConstants": [ 13114 ] }, "id": 13115, "nodeType": "SourceUnit", "nodes": [ { "id": 13094, "literals": [ "solidity", "^", "0.4", ".24" ], "nodeType": "PragmaDirective", "src": "44:24:53" }, { "baseContracts": [], "contractDependencies": [], "contractKind": "contract", "documentation": null, "fullyImplemented": true, "id": 13104, "linearizedBaseContracts": [ 13104 ], "name": "KernelAppIds", "nodeType": "ContractDefinition", "nodes": [ { "constant": true, "id": 13097, "name": "KERNEL_CORE_APP_ID", "nodeType": "VariableDeclaration", "scope": 13104, "src": "379:113:53", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" }, "typeName": { "id": 13095, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "379:7:53", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "value": { "argumentTypes": null, "hexValue": "307833623462663662663361643530303065636630663938396435626566646535383563363836306665613365353734613466616234633439643163313737643963", "id": 13096, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "426:66:53", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_26820674581417955770618996886606012287057497523217723680490657072951651171740_by_1", "typeString": "int_const 2682...(69 digits omitted)...1740" }, "value": "0x3b4bf6bf3ad5000ecf0f989d5befde585c6860fea3e574a4fab4c49d1c177d9c" }, "visibility": "internal" }, { "constant": true, "id": 13100, "name": "KERNEL_DEFAULT_ACL_APP_ID", "nodeType": "VariableDeclaration", "scope": 13104, "src": "498:120:53", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" }, "typeName": { "id": 13098, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "498:7:53", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "value": { "argumentTypes": null, "hexValue": "307865333236323337356634356136653230323662376537623138633262383037343334663235303866653161326133646662343933633764663866346161643661", "id": 13099, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "552:66:53", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_102742401558032346476295342465683194059973100356111151994489339464177083395434_by_1", "typeString": "int_const 1027...(70 digits omitted)...5434" }, "value": "0xe3262375f45a6e2026b7e7b18c2b807434f2508fe1a2a3dfb493c7df8f4aad6a" }, "visibility": "internal" }, { "constant": true, "id": 13103, "name": "KERNEL_DEFAULT_VAULT_APP_ID", "nodeType": "VariableDeclaration", "scope": 13104, "src": "624:122:53", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" }, "typeName": { "id": 13101, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "624:7:53", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "value": { "argumentTypes": null, "hexValue": "307837653835326530666366636536353531633133383030663165373437366639383235323563326235323737626131346232343333396336383431363333366431", "id": 13102, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "680:66:53", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_57226727487722793098086042470445423054461272992937981295885369831335668168401_by_1", "typeString": "int_const 5722...(69 digits omitted)...8401" }, "value": "0x7e852e0fcfce6551c13800f1e7476f982525c2b5277ba14b24339c68416336d1" }, "visibility": "internal" } ], "scope": 13115, "src": "71:678:53" }, { "baseContracts": [], "contractDependencies": [], "contractKind": "contract", "documentation": null, "fullyImplemented": true, "id": 13114, "linearizedBaseContracts": [ 13114 ], "name": "KernelNamespaceConstants", "nodeType": "ContractDefinition", "nodes": [ { "constant": true, "id": 13107, "name": "KERNEL_CORE_NAMESPACE", "nodeType": "VariableDeclaration", "scope": 13114, "src": "1065:116:53", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" }, "typeName": { "id": 13105, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "1065:7:53", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "value": { "argumentTypes": null, "hexValue": "307863363831613835333036333734613561623237663062626333383532393661353462636433313461313934386236636636316334656131626334346262396638", "id": 13106, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "1115:66:53", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_89787029022559609585059478019362941095301484731214564604685658211633205066232_by_1", "typeString": "int_const 8978...(69 digits omitted)...6232" }, "value": "0xc681a85306374a5ab27f0bbc385296a54bcd314a1948b6cf61c4ea1bc44bb9f8" }, "visibility": "internal" }, { "constant": true, "id": 13110, "name": "KERNEL_APP_BASES_NAMESPACE", "nodeType": "VariableDeclaration", "scope": 13114, "src": "1187:121:53", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" }, "typeName": { "id": 13108, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "1187:7:53", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "value": { "argumentTypes": null, "hexValue": "307866316633656234306635626331616431333434373136636564386238613034333164383430623537383361656131666430313738366263323666333561633066", "id": 13109, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "1242:66:53", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_109438364007015322736766724051813704643042782151430130119908516857056060615695_by_1", "typeString": "int_const 1094...(70 digits omitted)...5695" }, "value": "0xf1f3eb40f5bc1ad1344716ced8b8a0431d840b5783aea1fd01786bc26f35ac0f" }, "visibility": "internal" }, { "constant": true, "id": 13113, "name": "KERNEL_APP_ADDR_NAMESPACE", "nodeType": "VariableDeclaration", "scope": 13114, "src": "1314:120:53", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" }, "typeName": { "id": 13111, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "1314:7:53", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "value": { "argumentTypes": null, "hexValue": "307864366630323863613065386564623461386339373537636134666463636162323566613165303331376461313138383130386637643264656531343930326662", "id": 13112, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "1368:66:53", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_97219274409662057620501307944052205416727314792190185427402972704265227272955_by_1", "typeString": "int_const 9721...(69 digits omitted)...2955" }, "value": "0xd6f028ca0e8edb4a8c9757ca4fdccab25fa1e0317da1188108f7d2dee14902fb" }, "visibility": "internal" } ], "scope": 13115, "src": "752:685:53" } ], "src": "44:1394:53" }, "legacyAST": { "absolutePath": "@aragon/os/contracts/kernel/KernelConstants.sol", "exportedSymbols": { "KernelAppIds": [ 13104 ], "KernelNamespaceConstants": [ 13114 ] }, "id": 13115, "nodeType": "SourceUnit", "nodes": [ { "id": 13094, "literals": [ "solidity", "^", "0.4", ".24" ], "nodeType": "PragmaDirective", "src": "44:24:53" }, { "baseContracts": [], "contractDependencies": [], "contractKind": "contract", "documentation": null, "fullyImplemented": true, "id": 13104, "linearizedBaseContracts": [ 13104 ], "name": "KernelAppIds", "nodeType": "ContractDefinition", "nodes": [ { "constant": true, "id": 13097, "name": "KERNEL_CORE_APP_ID", "nodeType": "VariableDeclaration", "scope": 13104, "src": "379:113:53", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" }, "typeName": { "id": 13095, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "379:7:53", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "value": { "argumentTypes": null, "hexValue": "307833623462663662663361643530303065636630663938396435626566646535383563363836306665613365353734613466616234633439643163313737643963", "id": 13096, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "426:66:53", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_26820674581417955770618996886606012287057497523217723680490657072951651171740_by_1", "typeString": "int_const 2682...(69 digits omitted)...1740" }, "value": "0x3b4bf6bf3ad5000ecf0f989d5befde585c6860fea3e574a4fab4c49d1c177d9c" }, "visibility": "internal" }, { "constant": true, "id": 13100, "name": "KERNEL_DEFAULT_ACL_APP_ID", "nodeType": "VariableDeclaration", "scope": 13104, "src": "498:120:53", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" }, "typeName": { "id": 13098, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "498:7:53", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "value": { "argumentTypes": null, "hexValue": "307865333236323337356634356136653230323662376537623138633262383037343334663235303866653161326133646662343933633764663866346161643661", "id": 13099, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "552:66:53", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_102742401558032346476295342465683194059973100356111151994489339464177083395434_by_1", "typeString": "int_const 1027...(70 digits omitted)...5434" }, "value": "0xe3262375f45a6e2026b7e7b18c2b807434f2508fe1a2a3dfb493c7df8f4aad6a" }, "visibility": "internal" }, { "constant": true, "id": 13103, "name": "KERNEL_DEFAULT_VAULT_APP_ID", "nodeType": "VariableDeclaration", "scope": 13104, "src": "624:122:53", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" }, "typeName": { "id": 13101, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "624:7:53", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "value": { "argumentTypes": null, "hexValue": "307837653835326530666366636536353531633133383030663165373437366639383235323563326235323737626131346232343333396336383431363333366431", "id": 13102, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "680:66:53", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_57226727487722793098086042470445423054461272992937981295885369831335668168401_by_1", "typeString": "int_const 5722...(69 digits omitted)...8401" }, "value": "0x7e852e0fcfce6551c13800f1e7476f982525c2b5277ba14b24339c68416336d1" }, "visibility": "internal" } ], "scope": 13115, "src": "71:678:53" }, { "baseContracts": [], "contractDependencies": [], "contractKind": "contract", "documentation": null, "fullyImplemented": true, "id": 13114, "linearizedBaseContracts": [ 13114 ], "name": "KernelNamespaceConstants", "nodeType": "ContractDefinition", "nodes": [ { "constant": true, "id": 13107, "name": "KERNEL_CORE_NAMESPACE", "nodeType": "VariableDeclaration", "scope": 13114, "src": "1065:116:53", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" }, "typeName": { "id": 13105, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "1065:7:53", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "value": { "argumentTypes": null, "hexValue": "307863363831613835333036333734613561623237663062626333383532393661353462636433313461313934386236636636316334656131626334346262396638", "id": 13106, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "1115:66:53", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_89787029022559609585059478019362941095301484731214564604685658211633205066232_by_1", "typeString": "int_const 8978...(69 digits omitted)...6232" }, "value": "0xc681a85306374a5ab27f0bbc385296a54bcd314a1948b6cf61c4ea1bc44bb9f8" }, "visibility": "internal" }, { "constant": true, "id": 13110, "name": "KERNEL_APP_BASES_NAMESPACE", "nodeType": "VariableDeclaration", "scope": 13114, "src": "1187:121:53", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" }, "typeName": { "id": 13108, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "1187:7:53", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "value": { "argumentTypes": null, "hexValue": "307866316633656234306635626331616431333434373136636564386238613034333164383430623537383361656131666430313738366263323666333561633066", "id": 13109, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "1242:66:53", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_109438364007015322736766724051813704643042782151430130119908516857056060615695_by_1", "typeString": "int_const 1094...(70 digits omitted)...5695" }, "value": "0xf1f3eb40f5bc1ad1344716ced8b8a0431d840b5783aea1fd01786bc26f35ac0f" }, "visibility": "internal" }, { "constant": true, "id": 13113, "name": "KERNEL_APP_ADDR_NAMESPACE", "nodeType": "VariableDeclaration", "scope": 13114, "src": "1314:120:53", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" }, "typeName": { "id": 13111, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "1314:7:53", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "value": { "argumentTypes": null, "hexValue": "307864366630323863613065386564623461386339373537636134666463636162323566613165303331376461313138383130386637643264656531343930326662", "id": 13112, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "1368:66:53", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_97219274409662057620501307944052205416727314792190185427402972704265227272955_by_1", "typeString": "int_const 9721...(69 digits omitted)...2955" }, "value": "0xd6f028ca0e8edb4a8c9757ca4fdccab25fa1e0317da1188108f7d2dee14902fb" }, "visibility": "internal" } ], "scope": 13115, "src": "752:685:53" } ], "src": "44:1394:53" }, "compiler": { "name": "solc", "version": "0.4.24+commit.e67f0147.Emscripten.clang" }, "networks": {}, "schemaVersion": "2.0.1", "updatedAt": "2019-09-04T11:02:55.776Z" }