@aragon/apps-payroll
Version:
_**Code in Github:**_ [aragon-apps/apps/payroll](https://github.com/aragon/aragon-apps/tree/master/future-apps/payroll)
543 lines • 17.6 kB
JSON
{
"contractName": "IEVMScriptExecutor",
"abi": [
{
"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"
}
],
"bytecode": "0x",
"deployedBytecode": "0x",
"sourceMap": "",
"deployedSourceMap": "",
"source": "/*\n * SPDX-License-Identitifer: MIT\n */\n\npragma solidity ^0.4.24;\n\n\ninterface IEVMScriptExecutor {\n function execScript(bytes script, bytes input, address[] blacklist) external returns (bytes);\n function executorType() external pure returns (bytes32);\n}\n",
"sourcePath": "@aragon/os/contracts/evmscript/IEVMScriptExecutor.sol",
"ast": {
"absolutePath": "@aragon/os/contracts/evmscript/IEVMScriptExecutor.sol",
"exportedSymbols": {
"IEVMScriptExecutor": [
11843
]
},
"id": 11844,
"nodeType": "SourceUnit",
"nodes": [
{
"id": 11825,
"literals": [
"solidity",
"^",
"0.4",
".24"
],
"nodeType": "PragmaDirective",
"src": "44:24:43"
},
{
"baseContracts": [],
"contractDependencies": [],
"contractKind": "interface",
"documentation": null,
"fullyImplemented": false,
"id": 11843,
"linearizedBaseContracts": [
11843
],
"name": "IEVMScriptExecutor",
"nodeType": "ContractDefinition",
"nodes": [
{
"body": null,
"documentation": null,
"id": 11837,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": false,
"modifiers": [],
"name": "execScript",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 11833,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 11827,
"name": "script",
"nodeType": "VariableDeclaration",
"scope": 11837,
"src": "126:12:43",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes_calldata_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 11826,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "126:5:43",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 11829,
"name": "input",
"nodeType": "VariableDeclaration",
"scope": 11837,
"src": "140:11:43",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes_calldata_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 11828,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "140:5:43",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 11832,
"name": "blacklist",
"nodeType": "VariableDeclaration",
"scope": 11837,
"src": "153:19:43",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr",
"typeString": "address[]"
},
"typeName": {
"baseType": {
"id": 11830,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "153:7:43",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"id": 11831,
"length": null,
"nodeType": "ArrayTypeName",
"src": "153:9:43",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_address_$dyn_storage_ptr",
"typeString": "address[]"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "125:48:43"
},
"payable": false,
"returnParameters": {
"id": 11836,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 11835,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 11837,
"src": "192:5:43",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 11834,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "192:5:43",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "191:7:43"
},
"scope": 11843,
"src": "106:93:43",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"id": 11842,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "executorType",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 11838,
"nodeType": "ParameterList",
"parameters": [],
"src": "225:2:43"
},
"payable": false,
"returnParameters": {
"id": 11841,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 11840,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 11842,
"src": "251:7:43",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 11839,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "251:7:43",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "250:9:43"
},
"scope": 11843,
"src": "204:56:43",
"stateMutability": "pure",
"superFunction": null,
"visibility": "external"
}
],
"scope": 11844,
"src": "71:191:43"
}
],
"src": "44:219:43"
},
"legacyAST": {
"absolutePath": "@aragon/os/contracts/evmscript/IEVMScriptExecutor.sol",
"exportedSymbols": {
"IEVMScriptExecutor": [
11843
]
},
"id": 11844,
"nodeType": "SourceUnit",
"nodes": [
{
"id": 11825,
"literals": [
"solidity",
"^",
"0.4",
".24"
],
"nodeType": "PragmaDirective",
"src": "44:24:43"
},
{
"baseContracts": [],
"contractDependencies": [],
"contractKind": "interface",
"documentation": null,
"fullyImplemented": false,
"id": 11843,
"linearizedBaseContracts": [
11843
],
"name": "IEVMScriptExecutor",
"nodeType": "ContractDefinition",
"nodes": [
{
"body": null,
"documentation": null,
"id": 11837,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": false,
"modifiers": [],
"name": "execScript",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 11833,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 11827,
"name": "script",
"nodeType": "VariableDeclaration",
"scope": 11837,
"src": "126:12:43",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes_calldata_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 11826,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "126:5:43",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 11829,
"name": "input",
"nodeType": "VariableDeclaration",
"scope": 11837,
"src": "140:11:43",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes_calldata_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 11828,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "140:5:43",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 11832,
"name": "blacklist",
"nodeType": "VariableDeclaration",
"scope": 11837,
"src": "153:19:43",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr",
"typeString": "address[]"
},
"typeName": {
"baseType": {
"id": 11830,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "153:7:43",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"id": 11831,
"length": null,
"nodeType": "ArrayTypeName",
"src": "153:9:43",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_address_$dyn_storage_ptr",
"typeString": "address[]"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "125:48:43"
},
"payable": false,
"returnParameters": {
"id": 11836,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 11835,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 11837,
"src": "192:5:43",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 11834,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "192:5:43",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "191:7:43"
},
"scope": 11843,
"src": "106:93:43",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"id": 11842,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "executorType",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 11838,
"nodeType": "ParameterList",
"parameters": [],
"src": "225:2:43"
},
"payable": false,
"returnParameters": {
"id": 11841,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 11840,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 11842,
"src": "251:7:43",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 11839,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "251:7:43",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "250:9:43"
},
"scope": 11843,
"src": "204:56:43",
"stateMutability": "pure",
"superFunction": null,
"visibility": "external"
}
],
"scope": 11844,
"src": "71:191:43"
}
],
"src": "44:219:43"
},
"compiler": {
"name": "solc",
"version": "0.4.24+commit.e67f0147.Emscripten.clang"
},
"networks": {},
"schemaVersion": "2.0.1",
"updatedAt": "2019-09-04T11:02:55.766Z"
}