2018-05-10 11:12:13 +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-05-16 13:46:33 +00:00
"bytecode" : "0x608060405234801561001057600080fd5b50610202806100206000396000f30060806040526004361061004c576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff168063481c6a75146100515780637de7edef146100a8575b600080fd5b34801561005d57600080fd5b506100666100eb565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156100b457600080fd5b506100e9600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610111565b005b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561016d57600080fd5b60008173ffffffffffffffffffffffffffffffffffffffff161415151561019357600080fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505600a165627a7a72305820022bc97a157f8f1660f06255d7c4b4cf1258759b394ed54181754cfffe1f70ee0029" ,
"deployedBytecode" : "0x60806040526004361061004c576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff168063481c6a75146100515780637de7edef146100a8575b600080fd5b34801561005d57600080fd5b506100666100eb565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156100b457600080fd5b506100e9600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610111565b005b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561016d57600080fd5b60008173ffffffffffffffffffffffffffffffffffffffff161415151561019357600080fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505600a165627a7a72305820022bc97a157f8f1660f06255d7c4b4cf1258759b394ed54181754cfffe1f70ee0029" ,
"sourceMap" : "225:437:5:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;225:437:5;;;;;;;" ,
"deployedSourceMap" : "225:437:5:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;262:28;;8:9:-1;5:2;;;30:1;27;20:12;5:2;262:28:5;;;;;;;;;;;;;;;;;;;;;;;;;;;626:208:4;;8:9:-1;5:2;;;30:1;27;20:12;5:2;626:208:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;262:28:5;;;;;;;;;;;;;:::o;626:208:4:-;359:7:5;;;;;;;;;;;337:30;;:10;:30;;;329:39;;;;;;;;791:1:4;776:11;:16;;;;768:25;;;;;;;;816:11;803:10;;:24;;;;;;;;;;;;;;;;;;626:208;:::o" ,
2018-05-10 11:12:13 +00:00
"source" : "pragma solidity 0.4.23;\nimport \"./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));\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);\n manager = ModuleManager(msg.sender);\n }\n}\n" ,
"sourcePath" : "/Users/apanizo/git/gnosis/safe-contracts/contracts/Module.sol" ,
"ast" : {
"absolutePath" : "/Users/apanizo/git/gnosis/safe-contracts/contracts/Module.sol" ,
"exportedSymbols" : {
"Module" : [
2018-05-16 13:46:33 +00:00
621
2018-05-10 11:12:13 +00:00
]
} ,
2018-05-16 13:46:33 +00:00
"id" : 622 ,
2018-05-10 11:12:13 +00:00
"nodeType" : "SourceUnit" ,
"nodes" : [
{
2018-05-16 13:46:33 +00:00
"id" : 582 ,
2018-05-10 11:12:13 +00:00
"literals" : [
"solidity" ,
"0.4" ,
".23"
] ,
"nodeType" : "PragmaDirective" ,
2018-05-16 13:46:33 +00:00
"src" : "0:23:5"
2018-05-10 11:12:13 +00:00
} ,
{
"absolutePath" : "/Users/apanizo/git/gnosis/safe-contracts/contracts/MasterCopy.sol" ,
"file" : "./MasterCopy.sol" ,
2018-05-16 13:46:33 +00:00
"id" : 583 ,
2018-05-10 11:12:13 +00:00
"nodeType" : "ImportDirective" ,
2018-05-16 13:46:33 +00:00
"scope" : 622 ,
"sourceUnit" : 581 ,
"src" : "24:26:5" ,
2018-05-10 11:12:13 +00:00
"symbolAliases" : [ ] ,
"unitAlias" : ""
} ,
{
"absolutePath" : "/Users/apanizo/git/gnosis/safe-contracts/contracts/ModuleManager.sol" ,
"file" : "./ModuleManager.sol" ,
2018-05-16 13:46:33 +00:00
"id" : 584 ,
2018-05-10 11:12:13 +00:00
"nodeType" : "ImportDirective" ,
2018-05-16 13:46:33 +00:00
"scope" : 622 ,
"sourceUnit" : 972 ,
"src" : "51:29:5" ,
2018-05-10 11:12:13 +00:00
"symbolAliases" : [ ] ,
"unitAlias" : ""
} ,
{
"baseContracts" : [
{
"arguments" : null ,
"baseName" : {
"contractScope" : null ,
2018-05-16 13:46:33 +00:00
"id" : 585 ,
2018-05-10 11:12:13 +00:00
"name" : "MasterCopy" ,
"nodeType" : "UserDefinedTypeName" ,
2018-05-16 13:46:33 +00:00
"referencedDeclaration" : 580 ,
"src" : "244:10:5" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
2018-05-16 13:46:33 +00:00
"typeIdentifier" : "t_contract$_MasterCopy_$580" ,
2018-05-10 11:12:13 +00:00
"typeString" : "contract MasterCopy"
}
} ,
2018-05-16 13:46:33 +00:00
"id" : 586 ,
2018-05-10 11:12:13 +00:00
"nodeType" : "InheritanceSpecifier" ,
2018-05-16 13:46:33 +00:00
"src" : "244:10:5"
2018-05-10 11:12:13 +00:00
}
] ,
"contractDependencies" : [
2018-05-16 13:46:33 +00:00
580 ,
1359
2018-05-10 11:12:13 +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-05-16 13:46:33 +00:00
"id" : 621 ,
2018-05-10 11:12:13 +00:00
"linearizedBaseContracts" : [
2018-05-16 13:46:33 +00:00
621 ,
580 ,
1359
2018-05-10 11:12:13 +00:00
] ,
"name" : "Module" ,
"nodeType" : "ContractDefinition" ,
"nodes" : [
{
"constant" : false ,
2018-05-16 13:46:33 +00:00
"id" : 588 ,
2018-05-10 11:12:13 +00:00
"name" : "manager" ,
"nodeType" : "VariableDeclaration" ,
2018-05-16 13:46:33 +00:00
"scope" : 621 ,
"src" : "262:28:5" ,
2018-05-10 11:12:13 +00:00
"stateVariable" : true ,
"storageLocation" : "default" ,
"typeDescriptions" : {
2018-05-16 13:46:33 +00:00
"typeIdentifier" : "t_contract$_ModuleManager_$971" ,
2018-05-10 11:12:13 +00:00
"typeString" : "contract ModuleManager"
} ,
"typeName" : {
"contractScope" : null ,
2018-05-16 13:46:33 +00:00
"id" : 587 ,
2018-05-10 11:12:13 +00:00
"name" : "ModuleManager" ,
"nodeType" : "UserDefinedTypeName" ,
2018-05-16 13:46:33 +00:00
"referencedDeclaration" : 971 ,
"src" : "262:13:5" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
2018-05-16 13:46:33 +00:00
"typeIdentifier" : "t_contract$_ModuleManager_$971" ,
2018-05-10 11:12:13 +00:00
"typeString" : "contract ModuleManager"
}
} ,
"value" : null ,
"visibility" : "public"
} ,
{
"body" : {
2018-05-16 13:46:33 +00:00
"id" : 600 ,
2018-05-10 11:12:13 +00:00
"nodeType" : "Block" ,
2018-05-16 13:46:33 +00:00
"src" : "319:67:5" ,
2018-05-10 11:12:13 +00:00
"statements" : [
{
"expression" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
"commonType" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
2018-05-16 13:46:33 +00:00
"id" : 596 ,
2018-05-10 11:12:13 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"leftExpression" : {
"argumentTypes" : null ,
"expression" : {
"argumentTypes" : null ,
2018-05-16 13:46:33 +00:00
"id" : 591 ,
2018-05-10 11:12:13 +00:00
"name" : "msg" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 13:46:33 +00:00
"referencedDeclaration" : 2396 ,
"src" : "337:3:5" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_magic_message" ,
"typeString" : "msg"
}
} ,
2018-05-16 13:46:33 +00:00
"id" : 592 ,
2018-05-10 11:12:13 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"memberName" : "sender" ,
"nodeType" : "MemberAccess" ,
"referencedDeclaration" : null ,
2018-05-16 13:46:33 +00:00
"src" : "337:10:5" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"nodeType" : "BinaryOperation" ,
"operator" : "==" ,
"rightExpression" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
2018-05-16 13:46:33 +00:00
"id" : 594 ,
2018-05-10 11:12:13 +00:00
"name" : "manager" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 13:46:33 +00:00
"referencedDeclaration" : 588 ,
"src" : "359:7:5" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
2018-05-16 13:46:33 +00:00
"typeIdentifier" : "t_contract$_ModuleManager_$971" ,
2018-05-10 11:12:13 +00:00
"typeString" : "contract ModuleManager"
}
}
] ,
"expression" : {
"argumentTypes" : [
{
2018-05-16 13:46:33 +00:00
"typeIdentifier" : "t_contract$_ModuleManager_$971" ,
2018-05-10 11:12:13 +00:00
"typeString" : "contract ModuleManager"
}
] ,
2018-05-16 13:46:33 +00:00
"id" : 593 ,
2018-05-10 11:12:13 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"lValueRequested" : false ,
"nodeType" : "ElementaryTypeNameExpression" ,
2018-05-16 13:46:33 +00:00
"src" : "351:7:5" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_type$_t_address_$" ,
"typeString" : "type(address)"
} ,
"typeName" : "address"
} ,
2018-05-16 13:46:33 +00:00
"id" : 595 ,
2018-05-10 11:12:13 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "typeConversion" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-05-16 13:46:33 +00:00
"src" : "351:16:5" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
2018-05-16 13:46:33 +00:00
"src" : "337:30:5" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
] ,
2018-05-16 13:46:33 +00:00
"id" : 590 ,
2018-05-10 11:12:13 +00:00
"name" : "require" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [
2018-05-16 13:46:33 +00:00
2399 ,
2400
2018-05-10 11:12:13 +00:00
] ,
2018-05-16 13:46:33 +00:00
"referencedDeclaration" : 2399 ,
"src" : "329:7:5" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_function_require_pure$_t_bool_$returns$__$" ,
"typeString" : "function (bool) pure"
}
} ,
2018-05-16 13:46:33 +00:00
"id" : 597 ,
2018-05-10 11:12:13 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-05-16 13:46:33 +00:00
"src" : "329:39:5" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_tuple$__$" ,
"typeString" : "tuple()"
}
} ,
2018-05-16 13:46:33 +00:00
"id" : 598 ,
2018-05-10 11:12:13 +00:00
"nodeType" : "ExpressionStatement" ,
2018-05-16 13:46:33 +00:00
"src" : "329:39:5"
2018-05-10 11:12:13 +00:00
} ,
{
2018-05-16 13:46:33 +00:00
"id" : 599 ,
2018-05-10 11:12:13 +00:00
"nodeType" : "PlaceholderStatement" ,
2018-05-16 13:46:33 +00:00
"src" : "378:1:5"
2018-05-10 11:12:13 +00:00
}
]
} ,
"documentation" : null ,
2018-05-16 13:46:33 +00:00
"id" : 601 ,
2018-05-10 11:12:13 +00:00
"name" : "authorized" ,
"nodeType" : "ModifierDefinition" ,
"parameters" : {
2018-05-16 13:46:33 +00:00
"id" : 589 ,
2018-05-10 11:12:13 +00:00
"nodeType" : "ParameterList" ,
"parameters" : [ ] ,
2018-05-16 13:46:33 +00:00
"src" : "316:2:5"
2018-05-10 11:12:13 +00:00
} ,
2018-05-16 13:46:33 +00:00
"src" : "297:89:5" ,
2018-05-10 11:12:13 +00:00
"visibility" : "internal"
} ,
{
"body" : {
2018-05-16 13:46:33 +00:00
"id" : 619 ,
2018-05-10 11:12:13 +00:00
"nodeType" : "Block" ,
2018-05-16 13:46:33 +00:00
"src" : "435:225:5" ,
2018-05-10 11:12:13 +00:00
"statements" : [
{
"expression" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
"commonType" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
2018-05-16 13:46:33 +00:00
"id" : 609 ,
2018-05-10 11:12:13 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"leftExpression" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
2018-05-16 13:46:33 +00:00
"id" : 606 ,
2018-05-10 11:12:13 +00:00
"name" : "manager" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 13:46:33 +00:00
"referencedDeclaration" : 588 ,
"src" : "594:7:5" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
2018-05-16 13:46:33 +00:00
"typeIdentifier" : "t_contract$_ModuleManager_$971" ,
2018-05-10 11:12:13 +00:00
"typeString" : "contract ModuleManager"
}
}
] ,
"expression" : {
"argumentTypes" : [
{
2018-05-16 13:46:33 +00:00
"typeIdentifier" : "t_contract$_ModuleManager_$971" ,
2018-05-10 11:12:13 +00:00
"typeString" : "contract ModuleManager"
}
] ,
2018-05-16 13:46:33 +00:00
"id" : 605 ,
2018-05-10 11:12:13 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"lValueRequested" : false ,
"nodeType" : "ElementaryTypeNameExpression" ,
2018-05-16 13:46:33 +00:00
"src" : "586:7:5" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_type$_t_address_$" ,
"typeString" : "type(address)"
} ,
"typeName" : "address"
} ,
2018-05-16 13:46:33 +00:00
"id" : 607 ,
2018-05-10 11:12:13 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "typeConversion" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-05-16 13:46:33 +00:00
"src" : "586:16:5" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"nodeType" : "BinaryOperation" ,
"operator" : "==" ,
"rightExpression" : {
"argumentTypes" : null ,
"hexValue" : "30" ,
2018-05-16 13:46:33 +00:00
"id" : 608 ,
2018-05-10 11:12:13 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "number" ,
"lValueRequested" : false ,
"nodeType" : "Literal" ,
2018-05-16 13:46:33 +00:00
"src" : "606:1:5" ,
2018-05-10 11:12:13 +00:00
"subdenomination" : null ,
"typeDescriptions" : {
"typeIdentifier" : "t_rational_0_by_1" ,
"typeString" : "int_const 0"
} ,
"value" : "0"
} ,
2018-05-16 13:46:33 +00:00
"src" : "586:21:5" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
] ,
2018-05-16 13:46:33 +00:00
"id" : 604 ,
2018-05-10 11:12:13 +00:00
"name" : "require" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [
2018-05-16 13:46:33 +00:00
2399 ,
2400
2018-05-10 11:12:13 +00:00
] ,
2018-05-16 13:46:33 +00:00
"referencedDeclaration" : 2399 ,
"src" : "578:7:5" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_function_require_pure$_t_bool_$returns$__$" ,
"typeString" : "function (bool) pure"
}
} ,
2018-05-16 13:46:33 +00:00
"id" : 610 ,
2018-05-10 11:12:13 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-05-16 13:46:33 +00:00
"src" : "578:30:5" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_tuple$__$" ,
"typeString" : "tuple()"
}
} ,
2018-05-16 13:46:33 +00:00
"id" : 611 ,
2018-05-10 11:12:13 +00:00
"nodeType" : "ExpressionStatement" ,
2018-05-16 13:46:33 +00:00
"src" : "578:30:5"
2018-05-10 11:12:13 +00:00
} ,
{
"expression" : {
"argumentTypes" : null ,
2018-05-16 13:46:33 +00:00
"id" : 617 ,
2018-05-10 11:12:13 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"leftHandSide" : {
"argumentTypes" : null ,
2018-05-16 13:46:33 +00:00
"id" : 612 ,
2018-05-10 11:12:13 +00:00
"name" : "manager" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 13:46:33 +00:00
"referencedDeclaration" : 588 ,
"src" : "618:7:5" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
2018-05-16 13:46:33 +00:00
"typeIdentifier" : "t_contract$_ModuleManager_$971" ,
2018-05-10 11:12:13 +00:00
"typeString" : "contract ModuleManager"
}
} ,
"nodeType" : "Assignment" ,
"operator" : "=" ,
"rightHandSide" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
"expression" : {
"argumentTypes" : null ,
2018-05-16 13:46:33 +00:00
"id" : 614 ,
2018-05-10 11:12:13 +00:00
"name" : "msg" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 13:46:33 +00:00
"referencedDeclaration" : 2396 ,
"src" : "642:3:5" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_magic_message" ,
"typeString" : "msg"
}
} ,
2018-05-16 13:46:33 +00:00
"id" : 615 ,
2018-05-10 11:12:13 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"memberName" : "sender" ,
"nodeType" : "MemberAccess" ,
"referencedDeclaration" : null ,
2018-05-16 13:46:33 +00:00
"src" : "642:10:5" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
] ,
2018-05-16 13:46:33 +00:00
"id" : 613 ,
2018-05-10 11:12:13 +00:00
"name" : "ModuleManager" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 13:46:33 +00:00
"referencedDeclaration" : 971 ,
"src" : "628:13:5" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
2018-05-16 13:46:33 +00:00
"typeIdentifier" : "t_type$_t_contract$_ModuleManager_$971_$" ,
2018-05-10 11:12:13 +00:00
"typeString" : "type(contract ModuleManager)"
}
} ,
2018-05-16 13:46:33 +00:00
"id" : 616 ,
2018-05-10 11:12:13 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "typeConversion" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-05-16 13:46:33 +00:00
"src" : "628:25:5" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
2018-05-16 13:46:33 +00:00
"typeIdentifier" : "t_contract$_ModuleManager_$971" ,
2018-05-10 11:12:13 +00:00
"typeString" : "contract ModuleManager"
}
} ,
2018-05-16 13:46:33 +00:00
"src" : "618:35:5" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
2018-05-16 13:46:33 +00:00
"typeIdentifier" : "t_contract$_ModuleManager_$971" ,
2018-05-10 11:12:13 +00:00
"typeString" : "contract ModuleManager"
}
} ,
2018-05-16 13:46:33 +00:00
"id" : 618 ,
2018-05-10 11:12:13 +00:00
"nodeType" : "ExpressionStatement" ,
2018-05-16 13:46:33 +00:00
"src" : "618:35:5"
2018-05-10 11:12:13 +00:00
}
]
} ,
"documentation" : null ,
2018-05-16 13:46:33 +00:00
"id" : 620 ,
2018-05-10 11:12:13 +00:00
"implemented" : true ,
"isConstructor" : false ,
"isDeclaredConst" : false ,
"modifiers" : [ ] ,
"name" : "setManager" ,
"nodeType" : "FunctionDefinition" ,
"parameters" : {
2018-05-16 13:46:33 +00:00
"id" : 602 ,
2018-05-10 11:12:13 +00:00
"nodeType" : "ParameterList" ,
"parameters" : [ ] ,
2018-05-16 13:46:33 +00:00
"src" : "411:2:5"
2018-05-10 11:12:13 +00:00
} ,
"payable" : false ,
"returnParameters" : {
2018-05-16 13:46:33 +00:00
"id" : 603 ,
2018-05-10 11:12:13 +00:00
"nodeType" : "ParameterList" ,
"parameters" : [ ] ,
2018-05-16 13:46:33 +00:00
"src" : "435:0:5"
2018-05-10 11:12:13 +00:00
} ,
2018-05-16 13:46:33 +00:00
"scope" : 621 ,
"src" : "392:268:5" ,
2018-05-10 11:12:13 +00:00
"stateMutability" : "nonpayable" ,
"superFunction" : null ,
"visibility" : "internal"
}
] ,
2018-05-16 13:46:33 +00:00
"scope" : 622 ,
"src" : "225:437:5"
2018-05-10 11:12:13 +00:00
}
] ,
2018-05-16 13:46:33 +00:00
"src" : "0:663:5"
2018-05-10 11:12:13 +00:00
} ,
"legacyAST" : {
"absolutePath" : "/Users/apanizo/git/gnosis/safe-contracts/contracts/Module.sol" ,
"exportedSymbols" : {
"Module" : [
2018-05-16 13:46:33 +00:00
621
2018-05-10 11:12:13 +00:00
]
} ,
2018-05-16 13:46:33 +00:00
"id" : 622 ,
2018-05-10 11:12:13 +00:00
"nodeType" : "SourceUnit" ,
"nodes" : [
{
2018-05-16 13:46:33 +00:00
"id" : 582 ,
2018-05-10 11:12:13 +00:00
"literals" : [
"solidity" ,
"0.4" ,
".23"
] ,
"nodeType" : "PragmaDirective" ,
2018-05-16 13:46:33 +00:00
"src" : "0:23:5"
2018-05-10 11:12:13 +00:00
} ,
{
"absolutePath" : "/Users/apanizo/git/gnosis/safe-contracts/contracts/MasterCopy.sol" ,
"file" : "./MasterCopy.sol" ,
2018-05-16 13:46:33 +00:00
"id" : 583 ,
2018-05-10 11:12:13 +00:00
"nodeType" : "ImportDirective" ,
2018-05-16 13:46:33 +00:00
"scope" : 622 ,
"sourceUnit" : 581 ,
"src" : "24:26:5" ,
2018-05-10 11:12:13 +00:00
"symbolAliases" : [ ] ,
"unitAlias" : ""
} ,
{
"absolutePath" : "/Users/apanizo/git/gnosis/safe-contracts/contracts/ModuleManager.sol" ,
"file" : "./ModuleManager.sol" ,
2018-05-16 13:46:33 +00:00
"id" : 584 ,
2018-05-10 11:12:13 +00:00
"nodeType" : "ImportDirective" ,
2018-05-16 13:46:33 +00:00
"scope" : 622 ,
"sourceUnit" : 972 ,
"src" : "51:29:5" ,
2018-05-10 11:12:13 +00:00
"symbolAliases" : [ ] ,
"unitAlias" : ""
} ,
{
"baseContracts" : [
{
"arguments" : null ,
"baseName" : {
"contractScope" : null ,
2018-05-16 13:46:33 +00:00
"id" : 585 ,
2018-05-10 11:12:13 +00:00
"name" : "MasterCopy" ,
"nodeType" : "UserDefinedTypeName" ,
2018-05-16 13:46:33 +00:00
"referencedDeclaration" : 580 ,
"src" : "244:10:5" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
2018-05-16 13:46:33 +00:00
"typeIdentifier" : "t_contract$_MasterCopy_$580" ,
2018-05-10 11:12:13 +00:00
"typeString" : "contract MasterCopy"
}
} ,
2018-05-16 13:46:33 +00:00
"id" : 586 ,
2018-05-10 11:12:13 +00:00
"nodeType" : "InheritanceSpecifier" ,
2018-05-16 13:46:33 +00:00
"src" : "244:10:5"
2018-05-10 11:12:13 +00:00
}
] ,
"contractDependencies" : [
2018-05-16 13:46:33 +00:00
580 ,
1359
2018-05-10 11:12:13 +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-05-16 13:46:33 +00:00
"id" : 621 ,
2018-05-10 11:12:13 +00:00
"linearizedBaseContracts" : [
2018-05-16 13:46:33 +00:00
621 ,
580 ,
1359
2018-05-10 11:12:13 +00:00
] ,
"name" : "Module" ,
"nodeType" : "ContractDefinition" ,
"nodes" : [
{
"constant" : false ,
2018-05-16 13:46:33 +00:00
"id" : 588 ,
2018-05-10 11:12:13 +00:00
"name" : "manager" ,
"nodeType" : "VariableDeclaration" ,
2018-05-16 13:46:33 +00:00
"scope" : 621 ,
"src" : "262:28:5" ,
2018-05-10 11:12:13 +00:00
"stateVariable" : true ,
"storageLocation" : "default" ,
"typeDescriptions" : {
2018-05-16 13:46:33 +00:00
"typeIdentifier" : "t_contract$_ModuleManager_$971" ,
2018-05-10 11:12:13 +00:00
"typeString" : "contract ModuleManager"
} ,
"typeName" : {
"contractScope" : null ,
2018-05-16 13:46:33 +00:00
"id" : 587 ,
2018-05-10 11:12:13 +00:00
"name" : "ModuleManager" ,
"nodeType" : "UserDefinedTypeName" ,
2018-05-16 13:46:33 +00:00
"referencedDeclaration" : 971 ,
"src" : "262:13:5" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
2018-05-16 13:46:33 +00:00
"typeIdentifier" : "t_contract$_ModuleManager_$971" ,
2018-05-10 11:12:13 +00:00
"typeString" : "contract ModuleManager"
}
} ,
"value" : null ,
"visibility" : "public"
} ,
{
"body" : {
2018-05-16 13:46:33 +00:00
"id" : 600 ,
2018-05-10 11:12:13 +00:00
"nodeType" : "Block" ,
2018-05-16 13:46:33 +00:00
"src" : "319:67:5" ,
2018-05-10 11:12:13 +00:00
"statements" : [
{
"expression" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
"commonType" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
2018-05-16 13:46:33 +00:00
"id" : 596 ,
2018-05-10 11:12:13 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"leftExpression" : {
"argumentTypes" : null ,
"expression" : {
"argumentTypes" : null ,
2018-05-16 13:46:33 +00:00
"id" : 591 ,
2018-05-10 11:12:13 +00:00
"name" : "msg" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 13:46:33 +00:00
"referencedDeclaration" : 2396 ,
"src" : "337:3:5" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_magic_message" ,
"typeString" : "msg"
}
} ,
2018-05-16 13:46:33 +00:00
"id" : 592 ,
2018-05-10 11:12:13 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"memberName" : "sender" ,
"nodeType" : "MemberAccess" ,
"referencedDeclaration" : null ,
2018-05-16 13:46:33 +00:00
"src" : "337:10:5" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"nodeType" : "BinaryOperation" ,
"operator" : "==" ,
"rightExpression" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
2018-05-16 13:46:33 +00:00
"id" : 594 ,
2018-05-10 11:12:13 +00:00
"name" : "manager" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 13:46:33 +00:00
"referencedDeclaration" : 588 ,
"src" : "359:7:5" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
2018-05-16 13:46:33 +00:00
"typeIdentifier" : "t_contract$_ModuleManager_$971" ,
2018-05-10 11:12:13 +00:00
"typeString" : "contract ModuleManager"
}
}
] ,
"expression" : {
"argumentTypes" : [
{
2018-05-16 13:46:33 +00:00
"typeIdentifier" : "t_contract$_ModuleManager_$971" ,
2018-05-10 11:12:13 +00:00
"typeString" : "contract ModuleManager"
}
] ,
2018-05-16 13:46:33 +00:00
"id" : 593 ,
2018-05-10 11:12:13 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"lValueRequested" : false ,
"nodeType" : "ElementaryTypeNameExpression" ,
2018-05-16 13:46:33 +00:00
"src" : "351:7:5" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_type$_t_address_$" ,
"typeString" : "type(address)"
} ,
"typeName" : "address"
} ,
2018-05-16 13:46:33 +00:00
"id" : 595 ,
2018-05-10 11:12:13 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "typeConversion" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-05-16 13:46:33 +00:00
"src" : "351:16:5" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
2018-05-16 13:46:33 +00:00
"src" : "337:30:5" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
] ,
2018-05-16 13:46:33 +00:00
"id" : 590 ,
2018-05-10 11:12:13 +00:00
"name" : "require" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [
2018-05-16 13:46:33 +00:00
2399 ,
2400
2018-05-10 11:12:13 +00:00
] ,
2018-05-16 13:46:33 +00:00
"referencedDeclaration" : 2399 ,
"src" : "329:7:5" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_function_require_pure$_t_bool_$returns$__$" ,
"typeString" : "function (bool) pure"
}
} ,
2018-05-16 13:46:33 +00:00
"id" : 597 ,
2018-05-10 11:12:13 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-05-16 13:46:33 +00:00
"src" : "329:39:5" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_tuple$__$" ,
"typeString" : "tuple()"
}
} ,
2018-05-16 13:46:33 +00:00
"id" : 598 ,
2018-05-10 11:12:13 +00:00
"nodeType" : "ExpressionStatement" ,
2018-05-16 13:46:33 +00:00
"src" : "329:39:5"
2018-05-10 11:12:13 +00:00
} ,
{
2018-05-16 13:46:33 +00:00
"id" : 599 ,
2018-05-10 11:12:13 +00:00
"nodeType" : "PlaceholderStatement" ,
2018-05-16 13:46:33 +00:00
"src" : "378:1:5"
2018-05-10 11:12:13 +00:00
}
]
} ,
"documentation" : null ,
2018-05-16 13:46:33 +00:00
"id" : 601 ,
2018-05-10 11:12:13 +00:00
"name" : "authorized" ,
"nodeType" : "ModifierDefinition" ,
"parameters" : {
2018-05-16 13:46:33 +00:00
"id" : 589 ,
2018-05-10 11:12:13 +00:00
"nodeType" : "ParameterList" ,
"parameters" : [ ] ,
2018-05-16 13:46:33 +00:00
"src" : "316:2:5"
2018-05-10 11:12:13 +00:00
} ,
2018-05-16 13:46:33 +00:00
"src" : "297:89:5" ,
2018-05-10 11:12:13 +00:00
"visibility" : "internal"
} ,
{
"body" : {
2018-05-16 13:46:33 +00:00
"id" : 619 ,
2018-05-10 11:12:13 +00:00
"nodeType" : "Block" ,
2018-05-16 13:46:33 +00:00
"src" : "435:225:5" ,
2018-05-10 11:12:13 +00:00
"statements" : [
{
"expression" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
"commonType" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
} ,
2018-05-16 13:46:33 +00:00
"id" : 609 ,
2018-05-10 11:12:13 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"leftExpression" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
2018-05-16 13:46:33 +00:00
"id" : 606 ,
2018-05-10 11:12:13 +00:00
"name" : "manager" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 13:46:33 +00:00
"referencedDeclaration" : 588 ,
"src" : "594:7:5" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
2018-05-16 13:46:33 +00:00
"typeIdentifier" : "t_contract$_ModuleManager_$971" ,
2018-05-10 11:12:13 +00:00
"typeString" : "contract ModuleManager"
}
}
] ,
"expression" : {
"argumentTypes" : [
{
2018-05-16 13:46:33 +00:00
"typeIdentifier" : "t_contract$_ModuleManager_$971" ,
2018-05-10 11:12:13 +00:00
"typeString" : "contract ModuleManager"
}
] ,
2018-05-16 13:46:33 +00:00
"id" : 605 ,
2018-05-10 11:12:13 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"lValueRequested" : false ,
"nodeType" : "ElementaryTypeNameExpression" ,
2018-05-16 13:46:33 +00:00
"src" : "586:7:5" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_type$_t_address_$" ,
"typeString" : "type(address)"
} ,
"typeName" : "address"
} ,
2018-05-16 13:46:33 +00:00
"id" : 607 ,
2018-05-10 11:12:13 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "typeConversion" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-05-16 13:46:33 +00:00
"src" : "586:16:5" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
} ,
"nodeType" : "BinaryOperation" ,
"operator" : "==" ,
"rightExpression" : {
"argumentTypes" : null ,
"hexValue" : "30" ,
2018-05-16 13:46:33 +00:00
"id" : 608 ,
2018-05-10 11:12:13 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : true ,
"kind" : "number" ,
"lValueRequested" : false ,
"nodeType" : "Literal" ,
2018-05-16 13:46:33 +00:00
"src" : "606:1:5" ,
2018-05-10 11:12:13 +00:00
"subdenomination" : null ,
"typeDescriptions" : {
"typeIdentifier" : "t_rational_0_by_1" ,
"typeString" : "int_const 0"
} ,
"value" : "0"
} ,
2018-05-16 13:46:33 +00:00
"src" : "586:21:5" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_bool" ,
"typeString" : "bool"
}
] ,
2018-05-16 13:46:33 +00:00
"id" : 604 ,
2018-05-10 11:12:13 +00:00
"name" : "require" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [
2018-05-16 13:46:33 +00:00
2399 ,
2400
2018-05-10 11:12:13 +00:00
] ,
2018-05-16 13:46:33 +00:00
"referencedDeclaration" : 2399 ,
"src" : "578:7:5" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_function_require_pure$_t_bool_$returns$__$" ,
"typeString" : "function (bool) pure"
}
} ,
2018-05-16 13:46:33 +00:00
"id" : 610 ,
2018-05-10 11:12:13 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "functionCall" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-05-16 13:46:33 +00:00
"src" : "578:30:5" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_tuple$__$" ,
"typeString" : "tuple()"
}
} ,
2018-05-16 13:46:33 +00:00
"id" : 611 ,
2018-05-10 11:12:13 +00:00
"nodeType" : "ExpressionStatement" ,
2018-05-16 13:46:33 +00:00
"src" : "578:30:5"
2018-05-10 11:12:13 +00:00
} ,
{
"expression" : {
"argumentTypes" : null ,
2018-05-16 13:46:33 +00:00
"id" : 617 ,
2018-05-10 11:12:13 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"leftHandSide" : {
"argumentTypes" : null ,
2018-05-16 13:46:33 +00:00
"id" : 612 ,
2018-05-10 11:12:13 +00:00
"name" : "manager" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 13:46:33 +00:00
"referencedDeclaration" : 588 ,
"src" : "618:7:5" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
2018-05-16 13:46:33 +00:00
"typeIdentifier" : "t_contract$_ModuleManager_$971" ,
2018-05-10 11:12:13 +00:00
"typeString" : "contract ModuleManager"
}
} ,
"nodeType" : "Assignment" ,
"operator" : "=" ,
"rightHandSide" : {
"argumentTypes" : null ,
"arguments" : [
{
"argumentTypes" : null ,
"expression" : {
"argumentTypes" : null ,
2018-05-16 13:46:33 +00:00
"id" : 614 ,
2018-05-10 11:12:13 +00:00
"name" : "msg" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 13:46:33 +00:00
"referencedDeclaration" : 2396 ,
"src" : "642:3:5" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_magic_message" ,
"typeString" : "msg"
}
} ,
2018-05-16 13:46:33 +00:00
"id" : 615 ,
2018-05-10 11:12:13 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"lValueRequested" : false ,
"memberName" : "sender" ,
"nodeType" : "MemberAccess" ,
"referencedDeclaration" : null ,
2018-05-16 13:46:33 +00:00
"src" : "642:10:5" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
}
] ,
"expression" : {
"argumentTypes" : [
{
"typeIdentifier" : "t_address" ,
"typeString" : "address"
}
] ,
2018-05-16 13:46:33 +00:00
"id" : 613 ,
2018-05-10 11:12:13 +00:00
"name" : "ModuleManager" ,
"nodeType" : "Identifier" ,
"overloadedDeclarations" : [ ] ,
2018-05-16 13:46:33 +00:00
"referencedDeclaration" : 971 ,
"src" : "628:13:5" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
2018-05-16 13:46:33 +00:00
"typeIdentifier" : "t_type$_t_contract$_ModuleManager_$971_$" ,
2018-05-10 11:12:13 +00:00
"typeString" : "type(contract ModuleManager)"
}
} ,
2018-05-16 13:46:33 +00:00
"id" : 616 ,
2018-05-10 11:12:13 +00:00
"isConstant" : false ,
"isLValue" : false ,
"isPure" : false ,
"kind" : "typeConversion" ,
"lValueRequested" : false ,
"names" : [ ] ,
"nodeType" : "FunctionCall" ,
2018-05-16 13:46:33 +00:00
"src" : "628:25:5" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
2018-05-16 13:46:33 +00:00
"typeIdentifier" : "t_contract$_ModuleManager_$971" ,
2018-05-10 11:12:13 +00:00
"typeString" : "contract ModuleManager"
}
} ,
2018-05-16 13:46:33 +00:00
"src" : "618:35:5" ,
2018-05-10 11:12:13 +00:00
"typeDescriptions" : {
2018-05-16 13:46:33 +00:00
"typeIdentifier" : "t_contract$_ModuleManager_$971" ,
2018-05-10 11:12:13 +00:00
"typeString" : "contract ModuleManager"
}
} ,
2018-05-16 13:46:33 +00:00
"id" : 618 ,
2018-05-10 11:12:13 +00:00
"nodeType" : "ExpressionStatement" ,
2018-05-16 13:46:33 +00:00
"src" : "618:35:5"
2018-05-10 11:12:13 +00:00
}
]
} ,
"documentation" : null ,
2018-05-16 13:46:33 +00:00
"id" : 620 ,
2018-05-10 11:12:13 +00:00
"implemented" : true ,
"isConstructor" : false ,
"isDeclaredConst" : false ,
"modifiers" : [ ] ,
"name" : "setManager" ,
"nodeType" : "FunctionDefinition" ,
"parameters" : {
2018-05-16 13:46:33 +00:00
"id" : 602 ,
2018-05-10 11:12:13 +00:00
"nodeType" : "ParameterList" ,
"parameters" : [ ] ,
2018-05-16 13:46:33 +00:00
"src" : "411:2:5"
2018-05-10 11:12:13 +00:00
} ,
"payable" : false ,
"returnParameters" : {
2018-05-16 13:46:33 +00:00
"id" : 603 ,
2018-05-10 11:12:13 +00:00
"nodeType" : "ParameterList" ,
"parameters" : [ ] ,
2018-05-16 13:46:33 +00:00
"src" : "435:0:5"
2018-05-10 11:12:13 +00:00
} ,
2018-05-16 13:46:33 +00:00
"scope" : 621 ,
"src" : "392:268:5" ,
2018-05-10 11:12:13 +00:00
"stateMutability" : "nonpayable" ,
"superFunction" : null ,
"visibility" : "internal"
}
] ,
2018-05-16 13:46:33 +00:00
"scope" : 622 ,
"src" : "225:437:5"
2018-05-10 11:12:13 +00:00
}
] ,
2018-05-16 13:46:33 +00:00
"src" : "0:663:5"
2018-05-10 11:12:13 +00:00
} ,
"compiler" : {
"name" : "solc" ,
"version" : "0.4.23+commit.124ca40d.Emscripten.clang"
} ,
"networks" : { } ,
"schemaVersion" : "2.0.0" ,
2018-05-16 13:46:33 +00:00
"updatedAt" : "2018-05-16T10:51:14.746Z"
2018-05-10 11:12:13 +00:00
}