safe-react/safe-contracts/build/contracts/Module.json

1230 lines
52 KiB
JSON
Raw Normal View History

2018-05-31 13:01:02 +00:00
{
"contractName": "Module",
"abi": [
{
"constant": true,
"inputs": [],
"name": "manager",
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_masterCopy",
"type": "address"
}
],
"name": "changeMasterCopy",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
}
],
2018-09-26 09:19:53 +00:00
"bytecode": "0x608060405234801561001057600080fd5b50610320806100206000396000f30060806040526004361061004c576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff168063481c6a75146100515780637de7edef146100a8575b600080fd5b34801561005d57600080fd5b506100666100eb565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156100b457600080fd5b506100e9600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610111565b005b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156101fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001807f4d6574686f642063616e206f6e6c792062652063616c6c65642066726f6d206d81526020017f616e61676572000000000000000000000000000000000000000000000000000081525060400191505060405180910390fd5b60008173ffffffffffffffffffffffffffffffffffffffff16141515156102b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001807f496e76616c6964206d617374657220636f707920616464726573732070726f7681526020017f696465640000000000000000000000000000000000000000000000000000000081525060400191505060405180910390fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505600a165627a7a723058206735a74f4afef13f3b2701cdd3899ee378ad1eb5d0cd64887ffd5885365545ee0029",
"deployedBytecode": "0x60806040526004361061004c576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff168063481c6a75146100515780637de7edef146100a8575b600080fd5b34801561005d57600080fd5b506100666100eb565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156100b457600080fd5b506100e9600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610111565b005b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156101fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001807f4d6574686f642063616e206f6e6c792062652063616c6c65642066726f6d206d81526020017f616e61676572000000000000000000000000000000000000000000000000000081525060400191505060405180910390fd5b60008173ffffffffffffffffffffffffffffffffffffffff16141515156102b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001807f496e76616c6964206d617374657220636f707920616464726573732070726f7681526020017f696465640000000000000000000000000000000000000000000000000000000081525060400191505060405180910390fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505600a165627a7a723058206735a74f4afef13f3b2701cdd3899ee378ad1eb5d0cd64887ffd5885365545ee0029",
"sourceMap": "233:511:4:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;233:511:4;;;;;;;",
"deployedSourceMap": "233:511:4:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;270:28;;8:9:-1;5:2;;;30:1;27;20:12;5:2;270:28:4;;;;;;;;;;;;;;;;;;;;;;;;;;;626:248:9;;8:9:-1;5:2;;;30:1;27;20:12;5:2;626:248:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;270:28:4;;;;;;;;;;;;;:::o;626:248:9:-;367:7:4;;;;;;;;;;;345:30;;:10;:30;;;337:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;791:1:9;776:11;:16;;;;768:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;856:11;843:10;;:24;;;;;;;;;;;;;;;;;;626:248;:::o",
"source": "pragma solidity 0.4.24;\nimport \"../common/MasterCopy.sol\";\nimport \"./ModuleManager.sol\";\n\n\n/// @title Module - Base class for modules.\n/// @author Stefan George - <stefan@gnosis.pm>\n/// @author Richard Meissner - <richard@gnosis.pm>\ncontract Module is MasterCopy {\n\n ModuleManager public manager;\n\n modifier authorized() {\n require(msg.sender == address(manager), \"Method can only be called from manager\");\n _;\n }\n\n function setManager()\n internal\n {\n // manager can only be 0 at initalization of contract.\n // Check ensures that setup function can only be called once.\n require(address(manager) == 0, \"Manager has already been set\");\n manager = ModuleManager(msg.sender);\n }\n}\n",
"sourcePath": "/Users/apanizo/git/gnosis/safe-contracts/contracts/base/Module.sol",
2018-05-31 13:01:02 +00:00
"ast": {
2018-09-26 09:19:53 +00:00
"absolutePath": "/Users/apanizo/git/gnosis/safe-contracts/contracts/base/Module.sol",
2018-05-31 13:01:02 +00:00
"exportedSymbols": {
"Module": [
2018-09-26 09:19:53 +00:00
935
2018-05-31 13:01:02 +00:00
]
},
2018-09-26 09:19:53 +00:00
"id": 936,
2018-05-31 13:01:02 +00:00
"nodeType": "SourceUnit",
"nodes": [
{
2018-09-26 09:19:53 +00:00
"id": 894,
2018-05-31 13:01:02 +00:00
"literals": [
"solidity",
"0.4",
".24"
],
"nodeType": "PragmaDirective",
2018-09-26 09:19:53 +00:00
"src": "0:23:4"
2018-05-31 13:01:02 +00:00
},
{
2018-09-26 09:19:53 +00:00
"absolutePath": "/Users/apanizo/git/gnosis/safe-contracts/contracts/common/MasterCopy.sol",
"file": "../common/MasterCopy.sol",
"id": 895,
2018-05-31 13:01:02 +00:00
"nodeType": "ImportDirective",
2018-09-26 09:19:53 +00:00
"scope": 936,
"sourceUnit": 1694,
"src": "24:34:4",
2018-05-31 13:01:02 +00:00
"symbolAliases": [],
"unitAlias": ""
},
{
2018-09-26 09:19:53 +00:00
"absolutePath": "/Users/apanizo/git/gnosis/safe-contracts/contracts/base/ModuleManager.sol",
2018-05-31 13:01:02 +00:00
"file": "./ModuleManager.sol",
2018-09-26 09:19:53 +00:00
"id": 896,
2018-05-31 13:01:02 +00:00
"nodeType": "ImportDirective",
2018-09-26 09:19:53 +00:00
"scope": 936,
"sourceUnit": 1213,
"src": "59:29:4",
2018-05-31 13:01:02 +00:00
"symbolAliases": [],
"unitAlias": ""
},
{
"baseContracts": [
{
"arguments": null,
"baseName": {
"contractScope": null,
2018-09-26 09:19:53 +00:00
"id": 897,
2018-05-31 13:01:02 +00:00
"name": "MasterCopy",
"nodeType": "UserDefinedTypeName",
2018-09-26 09:19:53 +00:00
"referencedDeclaration": 1693,
"src": "252:10:4",
2018-05-31 13:01:02 +00:00
"typeDescriptions": {
2018-09-26 09:19:53 +00:00
"typeIdentifier": "t_contract$_MasterCopy_$1693",
2018-05-31 13:01:02 +00:00
"typeString": "contract MasterCopy"
}
},
2018-09-26 09:19:53 +00:00
"id": 898,
2018-05-31 13:01:02 +00:00
"nodeType": "InheritanceSpecifier",
2018-09-26 09:19:53 +00:00
"src": "252:10:4"
2018-05-31 13:01:02 +00:00
}
],
"contractDependencies": [
2018-09-26 09:19:53 +00:00
1693,
1735
2018-05-31 13:01:02 +00:00
],
"contractKind": "contract",
"documentation": "@title Module - Base class for modules.\n @author Stefan George - <stefan@gnosis.pm>\n @author Richard Meissner - <richard@gnosis.pm>",
"fullyImplemented": true,
2018-09-26 09:19:53 +00:00
"id": 935,
2018-05-31 13:01:02 +00:00
"linearizedBaseContracts": [
2018-09-26 09:19:53 +00:00
935,
1693,
1735
2018-05-31 13:01:02 +00:00
],
"name": "Module",
"nodeType": "ContractDefinition",
"nodes": [
{
"constant": false,
2018-09-26 09:19:53 +00:00
"id": 900,
2018-05-31 13:01:02 +00:00
"name": "manager",
"nodeType": "VariableDeclaration",
2018-09-26 09:19:53 +00:00
"scope": 935,
"src": "270:28:4",
2018-05-31 13:01:02 +00:00
"stateVariable": true,
"storageLocation": "default",
"typeDescriptions": {
2018-09-26 09:19:53 +00:00
"typeIdentifier": "t_contract$_ModuleManager_$1212",
2018-05-31 13:01:02 +00:00
"typeString": "contract ModuleManager"
},
"typeName": {
"contractScope": null,
2018-09-26 09:19:53 +00:00
"id": 899,
2018-05-31 13:01:02 +00:00
"name": "ModuleManager",
"nodeType": "UserDefinedTypeName",
2018-09-26 09:19:53 +00:00
"referencedDeclaration": 1212,
"src": "270:13:4",
2018-05-31 13:01:02 +00:00
"typeDescriptions": {
2018-09-26 09:19:53 +00:00
"typeIdentifier": "t_contract$_ModuleManager_$1212",
2018-05-31 13:01:02 +00:00
"typeString": "contract ModuleManager"
}
},
"value": null,
"visibility": "public"
},
{
"body": {
2018-09-26 09:19:53 +00:00
"id": 913,
2018-05-31 13:01:02 +00:00
"nodeType": "Block",
2018-09-26 09:19:53 +00:00
"src": "327:109:4",
2018-05-31 13:01:02 +00:00
"statements": [
{
"expression": {
"argumentTypes": null,
"arguments": [
{
"argumentTypes": null,
"commonType": {
"typeIdentifier": "t_address",
"typeString": "address"
},
2018-09-26 09:19:53 +00:00
"id": 908,
2018-05-31 13:01:02 +00:00
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftExpression": {
"argumentTypes": null,
"expression": {
"argumentTypes": null,
2018-09-26 09:19:53 +00:00
"id": 903,
2018-05-31 13:01:02 +00:00
"name": "msg",
"nodeType": "Identifier",
"overloadedDeclarations": [],
2018-09-26 09:19:53 +00:00
"referencedDeclaration": 4491,
"src": "345:3:4",
2018-05-31 13:01:02 +00:00
"typeDescriptions": {
"typeIdentifier": "t_magic_message",
"typeString": "msg"
}
},
2018-09-26 09:19:53 +00:00
"id": 904,
2018-05-31 13:01:02 +00:00
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberName": "sender",
"nodeType": "MemberAccess",
"referencedDeclaration": null,
2018-09-26 09:19:53 +00:00
"src": "345:10:4",
2018-05-31 13:01:02 +00:00
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"nodeType": "BinaryOperation",
"operator": "==",
"rightExpression": {
"argumentTypes": null,
"arguments": [
{
"argumentTypes": null,
2018-09-26 09:19:53 +00:00
"id": 906,
2018-05-31 13:01:02 +00:00
"name": "manager",
"nodeType": "Identifier",
"overloadedDeclarations": [],
2018-09-26 09:19:53 +00:00
"referencedDeclaration": 900,
"src": "367:7:4",
2018-05-31 13:01:02 +00:00
"typeDescriptions": {
2018-09-26 09:19:53 +00:00
"typeIdentifier": "t_contract$_ModuleManager_$1212",
2018-05-31 13:01:02 +00:00
"typeString": "contract ModuleManager"
}
}
],
"expression": {
"argumentTypes": [
{
2018-09-26 09:19:53 +00:00
"typeIdentifier": "t_contract$_ModuleManager_$1212",
2018-05-31 13:01:02 +00:00
"typeString": "contract ModuleManager"
}
],
2018-09-26 09:19:53 +00:00
"id": 905,
2018-05-31 13:01:02 +00:00
"isConstant": false,
"isLValue": false,
"isPure": true,
"lValueRequested": false,
"nodeType": "ElementaryTypeNameExpression",
2018-09-26 09:19:53 +00:00
"src": "359:7:4",
2018-05-31 13:01:02 +00:00
"typeDescriptions": {
"typeIdentifier": "t_type$_t_address_$",
"typeString": "type(address)"
},
"typeName": "address"
},
2018-09-26 09:19:53 +00:00
"id": 907,
2018-05-31 13:01:02 +00:00
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "typeConversion",
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
2018-09-26 09:19:53 +00:00
"src": "359:16:4",
2018-05-31 13:01:02 +00:00
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
2018-09-26 09:19:53 +00:00
"src": "345:30:4",
2018-05-31 13:01:02 +00:00
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
{
"argumentTypes": null,
"hexValue": "4d6574686f642063616e206f6e6c792062652063616c6c65642066726f6d206d616e61676572",
2018-09-26 09:19:53 +00:00
"id": 909,
2018-05-31 13:01:02 +00:00
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "string",
"lValueRequested": false,
"nodeType": "Literal",
2018-09-26 09:19:53 +00:00
"src": "377:40:4",
2018-05-31 13:01:02 +00:00
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_stringliteral_f857f17fb7e241a141cb689ce417fc402008e9655fbe55c721e32587b5d510de",
"typeString": "literal_string \"Method can only be called from manager\""
},
"value": "Method can only be called from manager"
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_bool",
"typeString": "bool"
},
{
"typeIdentifier": "t_stringliteral_f857f17fb7e241a141cb689ce417fc402008e9655fbe55c721e32587b5d510de",
"typeString": "literal_string \"Method can only be called from manager\""
}
],
2018-09-26 09:19:53 +00:00
"id": 902,
2018-05-31 13:01:02 +00:00
"name": "require",
"nodeType": "Identifier",
"overloadedDeclarations": [
2018-09-26 09:19:53 +00:00
4494,
4495
2018-05-31 13:01:02 +00:00
],
2018-09-26 09:19:53 +00:00
"referencedDeclaration": 4495,
"src": "337:7:4",
2018-05-31 13:01:02 +00:00
"typeDescriptions": {
"typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
"typeString": "function (bool,string memory) pure"
}
},
2018-09-26 09:19:53 +00:00
"id": 910,
2018-05-31 13:01:02 +00:00
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
2018-09-26 09:19:53 +00:00
"src": "337:81:4",
2018-05-31 13:01:02 +00:00
"typeDescriptions": {
"typeIdentifier": "t_tuple$__$",
"typeString": "tuple()"
}
},
2018-09-26 09:19:53 +00:00
"id": 911,
2018-05-31 13:01:02 +00:00
"nodeType": "ExpressionStatement",
2018-09-26 09:19:53 +00:00
"src": "337:81:4"
2018-05-31 13:01:02 +00:00
},
{
2018-09-26 09:19:53 +00:00
"id": 912,
2018-05-31 13:01:02 +00:00
"nodeType": "PlaceholderStatement",
2018-09-26 09:19:53 +00:00
"src": "428:1:4"
2018-05-31 13:01:02 +00:00
}
]
},
"documentation": null,
2018-09-26 09:19:53 +00:00
"id": 914,
2018-05-31 13:01:02 +00:00
"name": "authorized",
"nodeType": "ModifierDefinition",
"parameters": {
2018-09-26 09:19:53 +00:00
"id": 901,
2018-05-31 13:01:02 +00:00
"nodeType": "ParameterList",
"parameters": [],
2018-09-26 09:19:53 +00:00
"src": "324:2:4"
2018-05-31 13:01:02 +00:00
},
2018-09-26 09:19:53 +00:00
"src": "305:131:4",
2018-05-31 13:01:02 +00:00
"visibility": "internal"
},
{
"body": {
2018-09-26 09:19:53 +00:00
"id": 933,
2018-05-31 13:01:02 +00:00
"nodeType": "Block",
2018-09-26 09:19:53 +00:00
"src": "485:257:4",
2018-05-31 13:01:02 +00:00
"statements": [
{
"expression": {
"argumentTypes": null,
"arguments": [
{
"argumentTypes": null,
"commonType": {
"typeIdentifier": "t_address",
"typeString": "address"
},
2018-09-26 09:19:53 +00:00
"id": 922,
2018-05-31 13:01:02 +00:00
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftExpression": {
"argumentTypes": null,
"arguments": [
{
"argumentTypes": null,
2018-09-26 09:19:53 +00:00
"id": 919,
2018-05-31 13:01:02 +00:00
"name": "manager",
"nodeType": "Identifier",
"overloadedDeclarations": [],
2018-09-26 09:19:53 +00:00
"referencedDeclaration": 900,
"src": "644:7:4",
2018-05-31 13:01:02 +00:00
"typeDescriptions": {
2018-09-26 09:19:53 +00:00
"typeIdentifier": "t_contract$_ModuleManager_$1212",
2018-05-31 13:01:02 +00:00
"typeString": "contract ModuleManager"
}
}
],
"expression": {
"argumentTypes": [
{
2018-09-26 09:19:53 +00:00
"typeIdentifier": "t_contract$_ModuleManager_$1212",
2018-05-31 13:01:02 +00:00
"typeString": "contract ModuleManager"
}
],
2018-09-26 09:19:53 +00:00
"id": 918,
2018-05-31 13:01:02 +00:00
"isConstant": false,
"isLValue": false,
"isPure": true,
"lValueRequested": false,
"nodeType": "ElementaryTypeNameExpression",
2018-09-26 09:19:53 +00:00
"src": "636:7:4",
2018-05-31 13:01:02 +00:00
"typeDescriptions": {
"typeIdentifier": "t_type$_t_address_$",
"typeString": "type(address)"
},
"typeName": "address"
},
2018-09-26 09:19:53 +00:00
"id": 920,
2018-05-31 13:01:02 +00:00
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "typeConversion",
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
2018-09-26 09:19:53 +00:00
"src": "636:16:4",
2018-05-31 13:01:02 +00:00
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"nodeType": "BinaryOperation",
"operator": "==",
"rightExpression": {
"argumentTypes": null,
"hexValue": "30",
2018-09-26 09:19:53 +00:00
"id": 921,
2018-05-31 13:01:02 +00:00
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
2018-09-26 09:19:53 +00:00
"src": "656:1:4",
2018-05-31 13:01:02 +00:00
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_rational_0_by_1",
"typeString": "int_const 0"
},
"value": "0"
},
2018-09-26 09:19:53 +00:00
"src": "636:21:4",
2018-05-31 13:01:02 +00:00
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
{
"argumentTypes": null,
"hexValue": "4d616e616765722068617320616c7265616479206265656e20736574",
2018-09-26 09:19:53 +00:00
"id": 923,
2018-05-31 13:01:02 +00:00
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "string",
"lValueRequested": false,
"nodeType": "Literal",
2018-09-26 09:19:53 +00:00
"src": "659:30:4",
2018-05-31 13:01:02 +00:00
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_stringliteral_5b4e79257e154cde85ff5a3cf5bf48eb2c3921f8c031de73d371d41be013f3cc",
"typeString": "literal_string \"Manager has already been set\""
},
"value": "Manager has already been set"
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_bool",
"typeString": "bool"
},
{
"typeIdentifier": "t_stringliteral_5b4e79257e154cde85ff5a3cf5bf48eb2c3921f8c031de73d371d41be013f3cc",
"typeString": "literal_string \"Manager has already been set\""
}
],
2018-09-26 09:19:53 +00:00
"id": 917,
2018-05-31 13:01:02 +00:00
"name": "require",
"nodeType": "Identifier",
"overloadedDeclarations": [
2018-09-26 09:19:53 +00:00
4494,
4495
2018-05-31 13:01:02 +00:00
],
2018-09-26 09:19:53 +00:00
"referencedDeclaration": 4495,
"src": "628:7:4",
2018-05-31 13:01:02 +00:00
"typeDescriptions": {
"typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
"typeString": "function (bool,string memory) pure"
}
},
2018-09-26 09:19:53 +00:00
"id": 924,
2018-05-31 13:01:02 +00:00
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
2018-09-26 09:19:53 +00:00
"src": "628:62:4",
2018-05-31 13:01:02 +00:00
"typeDescriptions": {
"typeIdentifier": "t_tuple$__$",
"typeString": "tuple()"
}
},
2018-09-26 09:19:53 +00:00
"id": 925,
2018-05-31 13:01:02 +00:00
"nodeType": "ExpressionStatement",
2018-09-26 09:19:53 +00:00
"src": "628:62:4"
2018-05-31 13:01:02 +00:00
},
{
"expression": {
"argumentTypes": null,
2018-09-26 09:19:53 +00:00
"id": 931,
2018-05-31 13:01:02 +00:00
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"argumentTypes": null,
2018-09-26 09:19:53 +00:00
"id": 926,
2018-05-31 13:01:02 +00:00
"name": "manager",
"nodeType": "Identifier",
"overloadedDeclarations": [],
2018-09-26 09:19:53 +00:00
"referencedDeclaration": 900,
"src": "700:7:4",
2018-05-31 13:01:02 +00:00
"typeDescriptions": {
2018-09-26 09:19:53 +00:00
"typeIdentifier": "t_contract$_ModuleManager_$1212",
2018-05-31 13:01:02 +00:00
"typeString": "contract ModuleManager"
}
},
"nodeType": "Assignment",
"operator": "=",
"rightHandSide": {
"argumentTypes": null,
"arguments": [
{
"argumentTypes": null,
"expression": {
"argumentTypes": null,
2018-09-26 09:19:53 +00:00
"id": 928,
2018-05-31 13:01:02 +00:00
"name": "msg",
"nodeType": "Identifier",
"overloadedDeclarations": [],
2018-09-26 09:19:53 +00:00
"referencedDeclaration": 4491,
"src": "724:3:4",
2018-05-31 13:01:02 +00:00
"typeDescriptions": {
"typeIdentifier": "t_magic_message",
"typeString": "msg"
}
},
2018-09-26 09:19:53 +00:00
"id": 929,
2018-05-31 13:01:02 +00:00
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberName": "sender",
"nodeType": "MemberAccess",
"referencedDeclaration": null,
2018-09-26 09:19:53 +00:00
"src": "724:10:4",
2018-05-31 13:01:02 +00:00
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_address",
"typeString": "address"
}
],
2018-09-26 09:19:53 +00:00
"id": 927,
2018-05-31 13:01:02 +00:00
"name": "ModuleManager",
"nodeType": "Identifier",
"overloadedDeclarations": [],
2018-09-26 09:19:53 +00:00
"referencedDeclaration": 1212,
"src": "710:13:4",
2018-05-31 13:01:02 +00:00
"typeDescriptions": {
2018-09-26 09:19:53 +00:00
"typeIdentifier": "t_type$_t_contract$_ModuleManager_$1212_$",
2018-05-31 13:01:02 +00:00
"typeString": "type(contract ModuleManager)"
}
},
2018-09-26 09:19:53 +00:00
"id": 930,
2018-05-31 13:01:02 +00:00
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "typeConversion",
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
2018-09-26 09:19:53 +00:00
"src": "710:25:4",
2018-05-31 13:01:02 +00:00
"typeDescriptions": {
2018-09-26 09:19:53 +00:00
"typeIdentifier": "t_contract$_ModuleManager_$1212",
2018-05-31 13:01:02 +00:00
"typeString": "contract ModuleManager"
}
},
2018-09-26 09:19:53 +00:00
"src": "700:35:4",
2018-05-31 13:01:02 +00:00
"typeDescriptions": {
2018-09-26 09:19:53 +00:00
"typeIdentifier": "t_contract$_ModuleManager_$1212",
2018-05-31 13:01:02 +00:00
"typeString": "contract ModuleManager"
}
},
2018-09-26 09:19:53 +00:00
"id": 932,
2018-05-31 13:01:02 +00:00
"nodeType": "ExpressionStatement",
2018-09-26 09:19:53 +00:00
"src": "700:35:4"
2018-05-31 13:01:02 +00:00
}
]
},
"documentation": null,
2018-09-26 09:19:53 +00:00
"id": 934,
2018-05-31 13:01:02 +00:00
"implemented": true,
"isConstructor": false,
"isDeclaredConst": false,
"modifiers": [],
"name": "setManager",
"nodeType": "FunctionDefinition",
"parameters": {
2018-09-26 09:19:53 +00:00
"id": 915,
2018-05-31 13:01:02 +00:00
"nodeType": "ParameterList",
"parameters": [],
2018-09-26 09:19:53 +00:00
"src": "461:2:4"
2018-05-31 13:01:02 +00:00
},
"payable": false,
"returnParameters": {
2018-09-26 09:19:53 +00:00
"id": 916,
2018-05-31 13:01:02 +00:00
"nodeType": "ParameterList",
"parameters": [],
2018-09-26 09:19:53 +00:00
"src": "485:0:4"
2018-05-31 13:01:02 +00:00
},
2018-09-26 09:19:53 +00:00
"scope": 935,
"src": "442:300:4",
2018-05-31 13:01:02 +00:00
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "internal"
}
],
2018-09-26 09:19:53 +00:00
"scope": 936,
"src": "233:511:4"
2018-05-31 13:01:02 +00:00
}
],
2018-09-26 09:19:53 +00:00
"src": "0:745:4"
2018-05-31 13:01:02 +00:00
},
"legacyAST": {
2018-09-26 09:19:53 +00:00
"absolutePath": "/Users/apanizo/git/gnosis/safe-contracts/contracts/base/Module.sol",
2018-05-31 13:01:02 +00:00
"exportedSymbols": {
"Module": [
2018-09-26 09:19:53 +00:00
935
2018-05-31 13:01:02 +00:00
]
},
2018-09-26 09:19:53 +00:00
"id": 936,
2018-05-31 13:01:02 +00:00
"nodeType": "SourceUnit",
"nodes": [
{
2018-09-26 09:19:53 +00:00
"id": 894,
2018-05-31 13:01:02 +00:00
"literals": [
"solidity",
"0.4",
".24"
],
"nodeType": "PragmaDirective",
2018-09-26 09:19:53 +00:00
"src": "0:23:4"
2018-05-31 13:01:02 +00:00
},
{
2018-09-26 09:19:53 +00:00
"absolutePath": "/Users/apanizo/git/gnosis/safe-contracts/contracts/common/MasterCopy.sol",
"file": "../common/MasterCopy.sol",
"id": 895,
2018-05-31 13:01:02 +00:00
"nodeType": "ImportDirective",
2018-09-26 09:19:53 +00:00
"scope": 936,
"sourceUnit": 1694,
"src": "24:34:4",
2018-05-31 13:01:02 +00:00
"symbolAliases": [],
"unitAlias": ""
},
{
2018-09-26 09:19:53 +00:00
"absolutePath": "/Users/apanizo/git/gnosis/safe-contracts/contracts/base/ModuleManager.sol",
2018-05-31 13:01:02 +00:00
"file": "./ModuleManager.sol",
2018-09-26 09:19:53 +00:00
"id": 896,
2018-05-31 13:01:02 +00:00
"nodeType": "ImportDirective",
2018-09-26 09:19:53 +00:00
"scope": 936,
"sourceUnit": 1213,
"src": "59:29:4",
2018-05-31 13:01:02 +00:00
"symbolAliases": [],
"unitAlias": ""
},
{
"baseContracts": [
{
"arguments": null,
"baseName": {
"contractScope": null,
2018-09-26 09:19:53 +00:00
"id": 897,
2018-05-31 13:01:02 +00:00
"name": "MasterCopy",
"nodeType": "UserDefinedTypeName",
2018-09-26 09:19:53 +00:00
"referencedDeclaration": 1693,
"src": "252:10:4",
2018-05-31 13:01:02 +00:00
"typeDescriptions": {
2018-09-26 09:19:53 +00:00
"typeIdentifier": "t_contract$_MasterCopy_$1693",
2018-05-31 13:01:02 +00:00
"typeString": "contract MasterCopy"
}
},
2018-09-26 09:19:53 +00:00
"id": 898,
2018-05-31 13:01:02 +00:00
"nodeType": "InheritanceSpecifier",
2018-09-26 09:19:53 +00:00
"src": "252:10:4"
2018-05-31 13:01:02 +00:00
}
],
"contractDependencies": [
2018-09-26 09:19:53 +00:00
1693,
1735
2018-05-31 13:01:02 +00:00
],
"contractKind": "contract",
"documentation": "@title Module - Base class for modules.\n @author Stefan George - <stefan@gnosis.pm>\n @author Richard Meissner - <richard@gnosis.pm>",
"fullyImplemented": true,
2018-09-26 09:19:53 +00:00
"id": 935,
2018-05-31 13:01:02 +00:00
"linearizedBaseContracts": [
2018-09-26 09:19:53 +00:00
935,
1693,
1735
2018-05-31 13:01:02 +00:00
],
"name": "Module",
"nodeType": "ContractDefinition",
"nodes": [
{
"constant": false,
2018-09-26 09:19:53 +00:00
"id": 900,
2018-05-31 13:01:02 +00:00
"name": "manager",
"nodeType": "VariableDeclaration",
2018-09-26 09:19:53 +00:00
"scope": 935,
"src": "270:28:4",
2018-05-31 13:01:02 +00:00
"stateVariable": true,
"storageLocation": "default",
"typeDescriptions": {
2018-09-26 09:19:53 +00:00
"typeIdentifier": "t_contract$_ModuleManager_$1212",
2018-05-31 13:01:02 +00:00
"typeString": "contract ModuleManager"
},
"typeName": {
"contractScope": null,
2018-09-26 09:19:53 +00:00
"id": 899,
2018-05-31 13:01:02 +00:00
"name": "ModuleManager",
"nodeType": "UserDefinedTypeName",
2018-09-26 09:19:53 +00:00
"referencedDeclaration": 1212,
"src": "270:13:4",
2018-05-31 13:01:02 +00:00
"typeDescriptions": {
2018-09-26 09:19:53 +00:00
"typeIdentifier": "t_contract$_ModuleManager_$1212",
2018-05-31 13:01:02 +00:00
"typeString": "contract ModuleManager"
}
},
"value": null,
"visibility": "public"
},
{
"body": {
2018-09-26 09:19:53 +00:00
"id": 913,
2018-05-31 13:01:02 +00:00
"nodeType": "Block",
2018-09-26 09:19:53 +00:00
"src": "327:109:4",
2018-05-31 13:01:02 +00:00
"statements": [
{
"expression": {
"argumentTypes": null,
"arguments": [
{
"argumentTypes": null,
"commonType": {
"typeIdentifier": "t_address",
"typeString": "address"
},
2018-09-26 09:19:53 +00:00
"id": 908,
2018-05-31 13:01:02 +00:00
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftExpression": {
"argumentTypes": null,
"expression": {
"argumentTypes": null,
2018-09-26 09:19:53 +00:00
"id": 903,
2018-05-31 13:01:02 +00:00
"name": "msg",
"nodeType": "Identifier",
"overloadedDeclarations": [],
2018-09-26 09:19:53 +00:00
"referencedDeclaration": 4491,
"src": "345:3:4",
2018-05-31 13:01:02 +00:00
"typeDescriptions": {
"typeIdentifier": "t_magic_message",
"typeString": "msg"
}
},
2018-09-26 09:19:53 +00:00
"id": 904,
2018-05-31 13:01:02 +00:00
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberName": "sender",
"nodeType": "MemberAccess",
"referencedDeclaration": null,
2018-09-26 09:19:53 +00:00
"src": "345:10:4",
2018-05-31 13:01:02 +00:00
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"nodeType": "BinaryOperation",
"operator": "==",
"rightExpression": {
"argumentTypes": null,
"arguments": [
{
"argumentTypes": null,
2018-09-26 09:19:53 +00:00
"id": 906,
2018-05-31 13:01:02 +00:00
"name": "manager",
"nodeType": "Identifier",
"overloadedDeclarations": [],
2018-09-26 09:19:53 +00:00
"referencedDeclaration": 900,
"src": "367:7:4",
2018-05-31 13:01:02 +00:00
"typeDescriptions": {
2018-09-26 09:19:53 +00:00
"typeIdentifier": "t_contract$_ModuleManager_$1212",
2018-05-31 13:01:02 +00:00
"typeString": "contract ModuleManager"
}
}
],
"expression": {
"argumentTypes": [
{
2018-09-26 09:19:53 +00:00
"typeIdentifier": "t_contract$_ModuleManager_$1212",
2018-05-31 13:01:02 +00:00
"typeString": "contract ModuleManager"
}
],
2018-09-26 09:19:53 +00:00
"id": 905,
2018-05-31 13:01:02 +00:00
"isConstant": false,
"isLValue": false,
"isPure": true,
"lValueRequested": false,
"nodeType": "ElementaryTypeNameExpression",
2018-09-26 09:19:53 +00:00
"src": "359:7:4",
2018-05-31 13:01:02 +00:00
"typeDescriptions": {
"typeIdentifier": "t_type$_t_address_$",
"typeString": "type(address)"
},
"typeName": "address"
},
2018-09-26 09:19:53 +00:00
"id": 907,
2018-05-31 13:01:02 +00:00
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "typeConversion",
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
2018-09-26 09:19:53 +00:00
"src": "359:16:4",
2018-05-31 13:01:02 +00:00
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
2018-09-26 09:19:53 +00:00
"src": "345:30:4",
2018-05-31 13:01:02 +00:00
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
{
"argumentTypes": null,
"hexValue": "4d6574686f642063616e206f6e6c792062652063616c6c65642066726f6d206d616e61676572",
2018-09-26 09:19:53 +00:00
"id": 909,
2018-05-31 13:01:02 +00:00
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "string",
"lValueRequested": false,
"nodeType": "Literal",
2018-09-26 09:19:53 +00:00
"src": "377:40:4",
2018-05-31 13:01:02 +00:00
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_stringliteral_f857f17fb7e241a141cb689ce417fc402008e9655fbe55c721e32587b5d510de",
"typeString": "literal_string \"Method can only be called from manager\""
},
"value": "Method can only be called from manager"
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_bool",
"typeString": "bool"
},
{
"typeIdentifier": "t_stringliteral_f857f17fb7e241a141cb689ce417fc402008e9655fbe55c721e32587b5d510de",
"typeString": "literal_string \"Method can only be called from manager\""
}
],
2018-09-26 09:19:53 +00:00
"id": 902,
2018-05-31 13:01:02 +00:00
"name": "require",
"nodeType": "Identifier",
"overloadedDeclarations": [
2018-09-26 09:19:53 +00:00
4494,
4495
2018-05-31 13:01:02 +00:00
],
2018-09-26 09:19:53 +00:00
"referencedDeclaration": 4495,
"src": "337:7:4",
2018-05-31 13:01:02 +00:00
"typeDescriptions": {
"typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
"typeString": "function (bool,string memory) pure"
}
},
2018-09-26 09:19:53 +00:00
"id": 910,
2018-05-31 13:01:02 +00:00
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
2018-09-26 09:19:53 +00:00
"src": "337:81:4",
2018-05-31 13:01:02 +00:00
"typeDescriptions": {
"typeIdentifier": "t_tuple$__$",
"typeString": "tuple()"
}
},
2018-09-26 09:19:53 +00:00
"id": 911,
2018-05-31 13:01:02 +00:00
"nodeType": "ExpressionStatement",
2018-09-26 09:19:53 +00:00
"src": "337:81:4"
2018-05-31 13:01:02 +00:00
},
{
2018-09-26 09:19:53 +00:00
"id": 912,
2018-05-31 13:01:02 +00:00
"nodeType": "PlaceholderStatement",
2018-09-26 09:19:53 +00:00
"src": "428:1:4"
2018-05-31 13:01:02 +00:00
}
]
},
"documentation": null,
2018-09-26 09:19:53 +00:00
"id": 914,
2018-05-31 13:01:02 +00:00
"name": "authorized",
"nodeType": "ModifierDefinition",
"parameters": {
2018-09-26 09:19:53 +00:00
"id": 901,
2018-05-31 13:01:02 +00:00
"nodeType": "ParameterList",
"parameters": [],
2018-09-26 09:19:53 +00:00
"src": "324:2:4"
2018-05-31 13:01:02 +00:00
},
2018-09-26 09:19:53 +00:00
"src": "305:131:4",
2018-05-31 13:01:02 +00:00
"visibility": "internal"
},
{
"body": {
2018-09-26 09:19:53 +00:00
"id": 933,
2018-05-31 13:01:02 +00:00
"nodeType": "Block",
2018-09-26 09:19:53 +00:00
"src": "485:257:4",
2018-05-31 13:01:02 +00:00
"statements": [
{
"expression": {
"argumentTypes": null,
"arguments": [
{
"argumentTypes": null,
"commonType": {
"typeIdentifier": "t_address",
"typeString": "address"
},
2018-09-26 09:19:53 +00:00
"id": 922,
2018-05-31 13:01:02 +00:00
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftExpression": {
"argumentTypes": null,
"arguments": [
{
"argumentTypes": null,
2018-09-26 09:19:53 +00:00
"id": 919,
2018-05-31 13:01:02 +00:00
"name": "manager",
"nodeType": "Identifier",
"overloadedDeclarations": [],
2018-09-26 09:19:53 +00:00
"referencedDeclaration": 900,
"src": "644:7:4",
2018-05-31 13:01:02 +00:00
"typeDescriptions": {
2018-09-26 09:19:53 +00:00
"typeIdentifier": "t_contract$_ModuleManager_$1212",
2018-05-31 13:01:02 +00:00
"typeString": "contract ModuleManager"
}
}
],
"expression": {
"argumentTypes": [
{
2018-09-26 09:19:53 +00:00
"typeIdentifier": "t_contract$_ModuleManager_$1212",
2018-05-31 13:01:02 +00:00
"typeString": "contract ModuleManager"
}
],
2018-09-26 09:19:53 +00:00
"id": 918,
2018-05-31 13:01:02 +00:00
"isConstant": false,
"isLValue": false,
"isPure": true,
"lValueRequested": false,
"nodeType": "ElementaryTypeNameExpression",
2018-09-26 09:19:53 +00:00
"src": "636:7:4",
2018-05-31 13:01:02 +00:00
"typeDescriptions": {
"typeIdentifier": "t_type$_t_address_$",
"typeString": "type(address)"
},
"typeName": "address"
},
2018-09-26 09:19:53 +00:00
"id": 920,
2018-05-31 13:01:02 +00:00
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "typeConversion",
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
2018-09-26 09:19:53 +00:00
"src": "636:16:4",
2018-05-31 13:01:02 +00:00
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"nodeType": "BinaryOperation",
"operator": "==",
"rightExpression": {
"argumentTypes": null,
"hexValue": "30",
2018-09-26 09:19:53 +00:00
"id": 921,
2018-05-31 13:01:02 +00:00
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
2018-09-26 09:19:53 +00:00
"src": "656:1:4",
2018-05-31 13:01:02 +00:00
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_rational_0_by_1",
"typeString": "int_const 0"
},
"value": "0"
},
2018-09-26 09:19:53 +00:00
"src": "636:21:4",
2018-05-31 13:01:02 +00:00
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
{
"argumentTypes": null,
"hexValue": "4d616e616765722068617320616c7265616479206265656e20736574",
2018-09-26 09:19:53 +00:00
"id": 923,
2018-05-31 13:01:02 +00:00
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "string",
"lValueRequested": false,
"nodeType": "Literal",
2018-09-26 09:19:53 +00:00
"src": "659:30:4",
2018-05-31 13:01:02 +00:00
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_stringliteral_5b4e79257e154cde85ff5a3cf5bf48eb2c3921f8c031de73d371d41be013f3cc",
"typeString": "literal_string \"Manager has already been set\""
},
"value": "Manager has already been set"
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_bool",
"typeString": "bool"
},
{
"typeIdentifier": "t_stringliteral_5b4e79257e154cde85ff5a3cf5bf48eb2c3921f8c031de73d371d41be013f3cc",
"typeString": "literal_string \"Manager has already been set\""
}
],
2018-09-26 09:19:53 +00:00
"id": 917,
2018-05-31 13:01:02 +00:00
"name": "require",
"nodeType": "Identifier",
"overloadedDeclarations": [
2018-09-26 09:19:53 +00:00
4494,
4495
2018-05-31 13:01:02 +00:00
],
2018-09-26 09:19:53 +00:00
"referencedDeclaration": 4495,
"src": "628:7:4",
2018-05-31 13:01:02 +00:00
"typeDescriptions": {
"typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
"typeString": "function (bool,string memory) pure"
}
},
2018-09-26 09:19:53 +00:00
"id": 924,
2018-05-31 13:01:02 +00:00
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
2018-09-26 09:19:53 +00:00
"src": "628:62:4",
2018-05-31 13:01:02 +00:00
"typeDescriptions": {
"typeIdentifier": "t_tuple$__$",
"typeString": "tuple()"
}
},
2018-09-26 09:19:53 +00:00
"id": 925,
2018-05-31 13:01:02 +00:00
"nodeType": "ExpressionStatement",
2018-09-26 09:19:53 +00:00
"src": "628:62:4"
2018-05-31 13:01:02 +00:00
},
{
"expression": {
"argumentTypes": null,
2018-09-26 09:19:53 +00:00
"id": 931,
2018-05-31 13:01:02 +00:00
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"argumentTypes": null,
2018-09-26 09:19:53 +00:00
"id": 926,
2018-05-31 13:01:02 +00:00
"name": "manager",
"nodeType": "Identifier",
"overloadedDeclarations": [],
2018-09-26 09:19:53 +00:00
"referencedDeclaration": 900,
"src": "700:7:4",
2018-05-31 13:01:02 +00:00
"typeDescriptions": {
2018-09-26 09:19:53 +00:00
"typeIdentifier": "t_contract$_ModuleManager_$1212",
2018-05-31 13:01:02 +00:00
"typeString": "contract ModuleManager"
}
},
"nodeType": "Assignment",
"operator": "=",
"rightHandSide": {
"argumentTypes": null,
"arguments": [
{
"argumentTypes": null,
"expression": {
"argumentTypes": null,
2018-09-26 09:19:53 +00:00
"id": 928,
2018-05-31 13:01:02 +00:00
"name": "msg",
"nodeType": "Identifier",
"overloadedDeclarations": [],
2018-09-26 09:19:53 +00:00
"referencedDeclaration": 4491,
"src": "724:3:4",
2018-05-31 13:01:02 +00:00
"typeDescriptions": {
"typeIdentifier": "t_magic_message",
"typeString": "msg"
}
},
2018-09-26 09:19:53 +00:00
"id": 929,
2018-05-31 13:01:02 +00:00
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberName": "sender",
"nodeType": "MemberAccess",
"referencedDeclaration": null,
2018-09-26 09:19:53 +00:00
"src": "724:10:4",
2018-05-31 13:01:02 +00:00
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_address",
"typeString": "address"
}
],
2018-09-26 09:19:53 +00:00
"id": 927,
2018-05-31 13:01:02 +00:00
"name": "ModuleManager",
"nodeType": "Identifier",
"overloadedDeclarations": [],
2018-09-26 09:19:53 +00:00
"referencedDeclaration": 1212,
"src": "710:13:4",
2018-05-31 13:01:02 +00:00
"typeDescriptions": {
2018-09-26 09:19:53 +00:00
"typeIdentifier": "t_type$_t_contract$_ModuleManager_$1212_$",
2018-05-31 13:01:02 +00:00
"typeString": "type(contract ModuleManager)"
}
},
2018-09-26 09:19:53 +00:00
"id": 930,
2018-05-31 13:01:02 +00:00
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "typeConversion",
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
2018-09-26 09:19:53 +00:00
"src": "710:25:4",
2018-05-31 13:01:02 +00:00
"typeDescriptions": {
2018-09-26 09:19:53 +00:00
"typeIdentifier": "t_contract$_ModuleManager_$1212",
2018-05-31 13:01:02 +00:00
"typeString": "contract ModuleManager"
}
},
2018-09-26 09:19:53 +00:00
"src": "700:35:4",
2018-05-31 13:01:02 +00:00
"typeDescriptions": {
2018-09-26 09:19:53 +00:00
"typeIdentifier": "t_contract$_ModuleManager_$1212",
2018-05-31 13:01:02 +00:00
"typeString": "contract ModuleManager"
}
},
2018-09-26 09:19:53 +00:00
"id": 932,
2018-05-31 13:01:02 +00:00
"nodeType": "ExpressionStatement",
2018-09-26 09:19:53 +00:00
"src": "700:35:4"
2018-05-31 13:01:02 +00:00
}
]
},
"documentation": null,
2018-09-26 09:19:53 +00:00
"id": 934,
2018-05-31 13:01:02 +00:00
"implemented": true,
"isConstructor": false,
"isDeclaredConst": false,
"modifiers": [],
"name": "setManager",
"nodeType": "FunctionDefinition",
"parameters": {
2018-09-26 09:19:53 +00:00
"id": 915,
2018-05-31 13:01:02 +00:00
"nodeType": "ParameterList",
"parameters": [],
2018-09-26 09:19:53 +00:00
"src": "461:2:4"
2018-05-31 13:01:02 +00:00
},
"payable": false,
"returnParameters": {
2018-09-26 09:19:53 +00:00
"id": 916,
2018-05-31 13:01:02 +00:00
"nodeType": "ParameterList",
"parameters": [],
2018-09-26 09:19:53 +00:00
"src": "485:0:4"
2018-05-31 13:01:02 +00:00
},
2018-09-26 09:19:53 +00:00
"scope": 935,
"src": "442:300:4",
2018-05-31 13:01:02 +00:00
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "internal"
}
],
2018-09-26 09:19:53 +00:00
"scope": 936,
"src": "233:511:4"
2018-05-31 13:01:02 +00:00
}
],
2018-09-26 09:19:53 +00:00
"src": "0:745:4"
2018-05-31 13:01:02 +00:00
},
"compiler": {
"name": "solc",
"version": "0.4.24+commit.e67f0147.Emscripten.clang"
},
"networks": {},
2018-06-29 11:23:01 +00:00
"schemaVersion": "2.0.0",
2018-09-26 09:19:53 +00:00
"updatedAt": "2018-09-26T08:32:07.632Z"
2018-05-31 13:01:02 +00:00
}