UNPKG

@aragon/apps-payroll

Version:

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

593 lines 18.8 kB
{ "contractName": "IForwarder", "abi": [ { "constant": true, "inputs": [], "name": "isForwarder", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "pure", "type": "function" }, { "constant": true, "inputs": [ { "name": "sender", "type": "address" }, { "name": "evmCallScript", "type": "bytes" } ], "name": "canForward", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "evmCallScript", "type": "bytes" } ], "name": "forward", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" } ], "bytecode": "0x", "deployedBytecode": "0x", "sourceMap": "", "deployedSourceMap": "", "source": "/*\n * SPDX-License-Identitifer: MIT\n */\n\npragma solidity ^0.4.24;\n\n\ninterface IForwarder {\n function isForwarder() external pure returns (bool);\n\n // TODO: this should be external\n // See https://github.com/ethereum/solidity/issues/4832\n function canForward(address sender, bytes evmCallScript) public view returns (bool);\n\n // TODO: this should be external\n // See https://github.com/ethereum/solidity/issues/4832\n function forward(bytes evmCallScript) public;\n}\n", "sourcePath": "@aragon/os/contracts/common/IForwarder.sol", "ast": { "absolutePath": "@aragon/os/contracts/common/IForwarder.sol", "exportedSymbols": { "IForwarder": [ 10684 ] }, "id": 10685, "nodeType": "SourceUnit", "nodes": [ { "id": 10664, "literals": [ "solidity", "^", "0.4", ".24" ], "nodeType": "PragmaDirective", "src": "44:24:30" }, { "baseContracts": [], "contractDependencies": [], "contractKind": "interface", "documentation": null, "fullyImplemented": false, "id": 10684, "linearizedBaseContracts": [ 10684 ], "name": "IForwarder", "nodeType": "ContractDefinition", "nodes": [ { "body": null, "documentation": null, "id": 10669, "implemented": false, "isConstructor": false, "isDeclaredConst": true, "modifiers": [], "name": "isForwarder", "nodeType": "FunctionDefinition", "parameters": { "id": 10665, "nodeType": "ParameterList", "parameters": [], "src": "118:2:30" }, "payable": false, "returnParameters": { "id": 10668, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 10667, "name": "", "nodeType": "VariableDeclaration", "scope": 10669, "src": "144:4:30", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "typeName": { "id": 10666, "name": "bool", "nodeType": "ElementaryTypeName", "src": "144:4:30", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "value": null, "visibility": "internal" } ], "src": "143:6:30" }, "scope": 10684, "src": "98:52:30", "stateMutability": "pure", "superFunction": null, "visibility": "external" }, { "body": null, "documentation": null, "id": 10678, "implemented": false, "isConstructor": false, "isDeclaredConst": true, "modifiers": [], "name": "canForward", "nodeType": "FunctionDefinition", "parameters": { "id": 10674, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 10671, "name": "sender", "nodeType": "VariableDeclaration", "scope": 10678, "src": "273:14:30", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 10670, "name": "address", "nodeType": "ElementaryTypeName", "src": "273:7:30", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 10673, "name": "evmCallScript", "nodeType": "VariableDeclaration", "scope": 10678, "src": "289:19:30", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes" }, "typeName": { "id": 10672, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "289:5:30", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], "src": "272:37:30" }, "payable": false, "returnParameters": { "id": 10677, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 10676, "name": "", "nodeType": "VariableDeclaration", "scope": 10678, "src": "331:4:30", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "typeName": { "id": 10675, "name": "bool", "nodeType": "ElementaryTypeName", "src": "331:4:30", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "value": null, "visibility": "internal" } ], "src": "330:6:30" }, "scope": 10684, "src": "253:84:30", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": null, "documentation": null, "id": 10683, "implemented": false, "isConstructor": false, "isDeclaredConst": false, "modifiers": [], "name": "forward", "nodeType": "FunctionDefinition", "parameters": { "id": 10681, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 10680, "name": "evmCallScript", "nodeType": "VariableDeclaration", "scope": 10683, "src": "457:19:30", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes" }, "typeName": { "id": 10679, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "457:5:30", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], "src": "456:21:30" }, "payable": false, "returnParameters": { "id": 10682, "nodeType": "ParameterList", "parameters": [], "src": "484:0:30" }, "scope": 10684, "src": "440:45:30", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" } ], "scope": 10685, "src": "71:416:30" } ], "src": "44:444:30" }, "legacyAST": { "absolutePath": "@aragon/os/contracts/common/IForwarder.sol", "exportedSymbols": { "IForwarder": [ 10684 ] }, "id": 10685, "nodeType": "SourceUnit", "nodes": [ { "id": 10664, "literals": [ "solidity", "^", "0.4", ".24" ], "nodeType": "PragmaDirective", "src": "44:24:30" }, { "baseContracts": [], "contractDependencies": [], "contractKind": "interface", "documentation": null, "fullyImplemented": false, "id": 10684, "linearizedBaseContracts": [ 10684 ], "name": "IForwarder", "nodeType": "ContractDefinition", "nodes": [ { "body": null, "documentation": null, "id": 10669, "implemented": false, "isConstructor": false, "isDeclaredConst": true, "modifiers": [], "name": "isForwarder", "nodeType": "FunctionDefinition", "parameters": { "id": 10665, "nodeType": "ParameterList", "parameters": [], "src": "118:2:30" }, "payable": false, "returnParameters": { "id": 10668, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 10667, "name": "", "nodeType": "VariableDeclaration", "scope": 10669, "src": "144:4:30", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "typeName": { "id": 10666, "name": "bool", "nodeType": "ElementaryTypeName", "src": "144:4:30", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "value": null, "visibility": "internal" } ], "src": "143:6:30" }, "scope": 10684, "src": "98:52:30", "stateMutability": "pure", "superFunction": null, "visibility": "external" }, { "body": null, "documentation": null, "id": 10678, "implemented": false, "isConstructor": false, "isDeclaredConst": true, "modifiers": [], "name": "canForward", "nodeType": "FunctionDefinition", "parameters": { "id": 10674, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 10671, "name": "sender", "nodeType": "VariableDeclaration", "scope": 10678, "src": "273:14:30", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 10670, "name": "address", "nodeType": "ElementaryTypeName", "src": "273:7:30", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 10673, "name": "evmCallScript", "nodeType": "VariableDeclaration", "scope": 10678, "src": "289:19:30", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes" }, "typeName": { "id": 10672, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "289:5:30", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], "src": "272:37:30" }, "payable": false, "returnParameters": { "id": 10677, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 10676, "name": "", "nodeType": "VariableDeclaration", "scope": 10678, "src": "331:4:30", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "typeName": { "id": 10675, "name": "bool", "nodeType": "ElementaryTypeName", "src": "331:4:30", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "value": null, "visibility": "internal" } ], "src": "330:6:30" }, "scope": 10684, "src": "253:84:30", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": null, "documentation": null, "id": 10683, "implemented": false, "isConstructor": false, "isDeclaredConst": false, "modifiers": [], "name": "forward", "nodeType": "FunctionDefinition", "parameters": { "id": 10681, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 10680, "name": "evmCallScript", "nodeType": "VariableDeclaration", "scope": 10683, "src": "457:19:30", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes" }, "typeName": { "id": 10679, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "457:5:30", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], "src": "456:21:30" }, "payable": false, "returnParameters": { "id": 10682, "nodeType": "ParameterList", "parameters": [], "src": "484:0:30" }, "scope": 10684, "src": "440:45:30", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" } ], "scope": 10685, "src": "71:416:30" } ], "src": "44:444:30" }, "compiler": { "name": "solc", "version": "0.4.24+commit.e67f0147.Emscripten.clang" }, "networks": {}, "schemaVersion": "2.0.1", "updatedAt": "2019-09-04T11:02:55.761Z" }