UNPKG

@aragon/apps-payroll

Version:

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

409 lines 11.1 kB
{ "contractName": "BaseEVMScriptExecutor", "abi": [ { "constant": true, "inputs": [], "name": "hasInitialized", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "script", "type": "bytes" }, { "name": "input", "type": "bytes" }, { "name": "blacklist", "type": "address[]" } ], "name": "execScript", "outputs": [ { "name": "", "type": "bytes" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "executorType", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "pure", "type": "function" }, { "constant": true, "inputs": [], "name": "getInitializationBlock", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "isPetrified", "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\nimport \"../../common/Autopetrified.sol\";\nimport \"../IEVMScriptExecutor.sol\";\n\n\ncontract BaseEVMScriptExecutor is IEVMScriptExecutor, Autopetrified {\n uint256 internal constant SCRIPT_START_LOCATION = 4;\n}\n", "sourcePath": "@aragon/os/contracts/evmscript/executors/BaseEVMScriptExecutor.sol", "ast": { "absolutePath": "@aragon/os/contracts/evmscript/executors/BaseEVMScriptExecutor.sol", "exportedSymbols": { "BaseEVMScriptExecutor": [ 11974 ] }, "id": 11975, "nodeType": "SourceUnit", "nodes": [ { "id": 11964, "literals": [ "solidity", "^", "0.4", ".24" ], "nodeType": "PragmaDirective", "src": "44:24:46" }, { "absolutePath": "@aragon/os/contracts/common/Autopetrified.sol", "file": "../../common/Autopetrified.sol", "id": 11965, "nodeType": "ImportDirective", "scope": 11975, "sourceUnit": 10503, "src": "70:40:46", "symbolAliases": [], "unitAlias": "" }, { "absolutePath": "@aragon/os/contracts/evmscript/IEVMScriptExecutor.sol", "file": "../IEVMScriptExecutor.sol", "id": 11966, "nodeType": "ImportDirective", "scope": 11975, "sourceUnit": 11844, "src": "111:35:46", "symbolAliases": [], "unitAlias": "" }, { "baseContracts": [ { "arguments": null, "baseName": { "contractScope": null, "id": 11967, "name": "IEVMScriptExecutor", "nodeType": "UserDefinedTypeName", "referencedDeclaration": 11843, "src": "183:18:46", "typeDescriptions": { "typeIdentifier": "t_contract$_IEVMScriptExecutor_$11843", "typeString": "contract IEVMScriptExecutor" } }, "id": 11968, "nodeType": "InheritanceSpecifier", "src": "183:18:46" }, { "arguments": null, "baseName": { "contractScope": null, "id": 11969, "name": "Autopetrified", "nodeType": "UserDefinedTypeName", "referencedDeclaration": 10502, "src": "203:13:46", "typeDescriptions": { "typeIdentifier": "t_contract$_Autopetrified_$10502", "typeString": "contract Autopetrified" } }, "id": 11970, "nodeType": "InheritanceSpecifier", "src": "203:13:46" } ], "contractDependencies": [ 10502, 10810, 10871, 11200, 11843 ], "contractKind": "contract", "documentation": null, "fullyImplemented": false, "id": 11974, "linearizedBaseContracts": [ 11974, 10502, 10871, 10810, 11200, 11843 ], "name": "BaseEVMScriptExecutor", "nodeType": "ContractDefinition", "nodes": [ { "constant": true, "id": 11973, "name": "SCRIPT_START_LOCATION", "nodeType": "VariableDeclaration", "scope": 11974, "src": "223:51:46", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 11971, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "223:7:46", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": { "argumentTypes": null, "hexValue": "34", "id": 11972, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "273:1:46", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_4_by_1", "typeString": "int_const 4" }, "value": "4" }, "visibility": "internal" } ], "scope": 11975, "src": "149:128:46" } ], "src": "44:234:46" }, "legacyAST": { "absolutePath": "@aragon/os/contracts/evmscript/executors/BaseEVMScriptExecutor.sol", "exportedSymbols": { "BaseEVMScriptExecutor": [ 11974 ] }, "id": 11975, "nodeType": "SourceUnit", "nodes": [ { "id": 11964, "literals": [ "solidity", "^", "0.4", ".24" ], "nodeType": "PragmaDirective", "src": "44:24:46" }, { "absolutePath": "@aragon/os/contracts/common/Autopetrified.sol", "file": "../../common/Autopetrified.sol", "id": 11965, "nodeType": "ImportDirective", "scope": 11975, "sourceUnit": 10503, "src": "70:40:46", "symbolAliases": [], "unitAlias": "" }, { "absolutePath": "@aragon/os/contracts/evmscript/IEVMScriptExecutor.sol", "file": "../IEVMScriptExecutor.sol", "id": 11966, "nodeType": "ImportDirective", "scope": 11975, "sourceUnit": 11844, "src": "111:35:46", "symbolAliases": [], "unitAlias": "" }, { "baseContracts": [ { "arguments": null, "baseName": { "contractScope": null, "id": 11967, "name": "IEVMScriptExecutor", "nodeType": "UserDefinedTypeName", "referencedDeclaration": 11843, "src": "183:18:46", "typeDescriptions": { "typeIdentifier": "t_contract$_IEVMScriptExecutor_$11843", "typeString": "contract IEVMScriptExecutor" } }, "id": 11968, "nodeType": "InheritanceSpecifier", "src": "183:18:46" }, { "arguments": null, "baseName": { "contractScope": null, "id": 11969, "name": "Autopetrified", "nodeType": "UserDefinedTypeName", "referencedDeclaration": 10502, "src": "203:13:46", "typeDescriptions": { "typeIdentifier": "t_contract$_Autopetrified_$10502", "typeString": "contract Autopetrified" } }, "id": 11970, "nodeType": "InheritanceSpecifier", "src": "203:13:46" } ], "contractDependencies": [ 10502, 10810, 10871, 11200, 11843 ], "contractKind": "contract", "documentation": null, "fullyImplemented": false, "id": 11974, "linearizedBaseContracts": [ 11974, 10502, 10871, 10810, 11200, 11843 ], "name": "BaseEVMScriptExecutor", "nodeType": "ContractDefinition", "nodes": [ { "constant": true, "id": 11973, "name": "SCRIPT_START_LOCATION", "nodeType": "VariableDeclaration", "scope": 11974, "src": "223:51:46", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 11971, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "223:7:46", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": { "argumentTypes": null, "hexValue": "34", "id": 11972, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "273:1:46", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_4_by_1", "typeString": "int_const 4" }, "value": "4" }, "visibility": "internal" } ], "scope": 11975, "src": "149:128:46" } ], "src": "44:234:46" }, "compiler": { "name": "solc", "version": "0.4.24+commit.e67f0147.Emscripten.clang" }, "networks": {}, "schemaVersion": "2.0.1", "updatedAt": "2019-09-04T11:02:55.768Z" }