ContractABI/ConsortiumManagementContractVersion.json
{ "contractName": "ConsortiumManagementContractVersion", "abi": [ { "constant": true, "inputs": [], "name": "getAddressToReplace", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function", "signature": "0xe8c757d6" }, { "inputs": [ { "name": "_rootContract", "type": "address" }, { "name": "_updateFrom", "type": "address" } ], "payable": false, "stateMutability": "nonpayable", "type": "constructor", "signature": "constructor" }, { "constant": false, "inputs": [], "name": "activate", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function", "signature": "0x0f15f4c0" }, { "constant": true, "inputs": [], "name": "getMajor", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "pure", "type": "function", "signature": "0xf50bf208" }, { "constant": true, "inputs": [], "name": "getMinor", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "pure", "type": "function", "signature": "0x75494fc7" }, { "constant": true, "inputs": [], "name": "getPatch", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "pure", "type": "function", "signature": "0x21057a1d" } ], "metadata": "{\"compiler\":{\"version\":\"0.4.24+commit.e67f0147\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"constant\":false,\"inputs\":[],\"name\":\"activate\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getPatch\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"pure\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getMinor\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"pure\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getAddressToReplace\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getMajor\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"name\":\"_rootContract\",\"type\":\"address\"},{\"name\":\"_updateFrom\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"}],\"devdoc\":{\"methods\":{}},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"/d/a/1/s/contracts/ConsortiumManagementContractVersion.sol\":\"ConsortiumManagementContractVersion\"},\"evmVersion\":\"byzantium\",\"libraries\":{},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/d/a/1/s/contracts/BaseUpdateable.sol\":{\"keccak256\":\"0x531b2d389f1c5f85c4890c04e7f5c0a7cc2452a50e4ed49d0adb4193703c2154\",\"urls\":[\"bzzr://bed7bc8bb485686610c78a1b8e484b27348fd108eac9ed12d5356db1c6fd1ed7\"]},\"/d/a/1/s/contracts/ConsortiumManagementContractVersion.sol\":{\"keccak256\":\"0x2851d86fd34b93bd9b6002bfa8d0a7c5cf233e730b136dacd6782d79878d0c6c\",\"urls\":[\"bzzr://f4a68a5d1bd44b7b5929107944d75cd56f8218427b7bdfc95446c1797eab0656\"]},\"/d/a/1/s/contracts/Constants.sol\":{\"keccak256\":\"0xb0c311d292c0115c36c1d5c3ed0c83afd594c90dd41d6c7992a1f66dff9a4375\",\"urls\":[\"bzzr://07b29230dbc162d19e3bef6a6217b21ebbac525e003ded9ba374e1d421f5103d\"]},\"/d/a/1/s/contracts/IUpdateable.sol\":{\"keccak256\":\"0xedc79dd0e302081684559ce370108b6e19ea702a03ce74a9cc3e26f9efb8af35\",\"urls\":[\"bzzr://364be739cfaaa27ff9c441f16c8e5012a00d60ac61d0ac1ed22884e37a602856\"]},\"/d/a/1/s/contracts/RootContract.sol\":{\"keccak256\":\"0x8c1cae8fdf5ed0e4ee1271fd3c92ec919ac05ef140bea6ee80198762a7348889\",\"urls\":[\"bzzr://848dee81af651f184a07897de87af9f15dca5ab28bb2518e06ab33f751cee588\"]}},\"version\":1}", "bytecode": "0x608060405234801561001057600080fd5b5060405160408061026983398101604052805160209091015160008054600160a060020a03938416600160a060020a03199182161790915560018054939092169216919091179055610202806100676000396000f30060806040526004361061006c5763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416630f15f4c0811461007157806321057a1d1461008857806375494fc714610088578063e8c757d6146100af578063f50bf208146100ed575b600080fd5b34801561007d57600080fd5b50610086610102565b005b34801561009457600080fd5b5061009d6101b0565b60408051918252519081900360200190f35b3480156100bb57600080fd5b506100c46101b5565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b3480156100f957600080fd5b5061009d6101d1565b60005473ffffffffffffffffffffffffffffffffffffffff1633146101ae57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602f60248201527f4f6e6c7920526f6f74436f6e74726163742063616e20696e766f6b652061637460448201527f69766174652066756e6374696f6e2e0000000000000000000000000000000000606482015290519081900360840190fd5b565b600090565b60015473ffffffffffffffffffffffffffffffffffffffff1690565b6001905600a165627a7a72305820734c61feb340a55df020fed6122b90be4b24adf4e6206eefcf4d8d5e073364850029", "deployedBytecode": "0x60806040526004361061006c5763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416630f15f4c0811461007157806321057a1d1461008857806375494fc714610088578063e8c757d6146100af578063f50bf208146100ed575b600080fd5b34801561007d57600080fd5b50610086610102565b005b34801561009457600080fd5b5061009d6101b0565b60408051918252519081900360200190f35b3480156100bb57600080fd5b506100c46101b5565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b3480156100f957600080fd5b5061009d6101d1565b60005473ffffffffffffffffffffffffffffffffffffffff1633146101ae57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602f60248201527f4f6e6c7920526f6f74436f6e74726163742063616e20696e766f6b652061637460448201527f69766174652066756e6374696f6e2e0000000000000000000000000000000000606482015290519081900360840190fd5b565b600090565b60015473ffffffffffffffffffffffffffffffffffffffff1690565b6001905600a165627a7a72305820734c61feb340a55df020fed6122b90be4b24adf4e6206eefcf4d8d5e073364850029", "sourceMap": "191:746:1:-;;;263:164;8:9:-1;5:2;;;30:1;27;20:12;5:2;263:164:1;;;;;;;;;;;;;;;;;;;574:12:0;:46;;-1:-1:-1;;;;;574:46:0;;;-1:-1:-1;;;;;;574:46:0;;;;;;;;631:24;;;;;;;;;;;;;;191:746:1;;;;;;", "deployedSourceMap": "191:746:1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;435:59;;8:9:-1;5:2;;;30:1;27;20:12;5:2;435:59:1;;;;;;860:74;;8:9:-1;5:2;;;30:1;27;20:12;5:2;860:74:1;;;;;;;;;;;;;;;;;;;;671:99:0;;8:9:-1;5:2;;;30:1;27;20:12;5:2;671:99:0;;;;;;;;;;;;;;;;;;;;;;;569:74:1;;8:9:-1;5:2;;;30:1;27;20:12;5:2;569:74:1;;;;435:59;351:12:0;;;;329:10;:35;307:122;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;435:59:1:o;860:74::-;901:4;860:74;:::o;671:99:0:-;752:10;;;;671:99;:::o;569:74:1:-;634:1;569:74;:::o", "source": "pragma solidity ^0.4.24;\r\n\r\nimport \"./BaseUpdateable.sol\";\r\nimport \"./RootContract.sol\";\r\n\r\n// Place holder contract used to substitue the legacy MemberManager contract in contract registry\r\ncontract ConsortiumManagementContractVersion is BaseUpdateable {\r\n\r\n constructor(RootContract _rootContract, IUpdateable _updateFrom)\r\n BaseUpdateable(address(_rootContract), address(_updateFrom))\r\n public\r\n {\r\n }\r\n\r\n function activate() external activateAccessControl {\r\n }\r\n\r\n // Increase Major for updates with non-compatible abi changes\r\n function getMajor() public pure returns (uint) {\r\n return 1;\r\n }\r\n\r\n // Increase Minor for updates with backward compatible abi changes\r\n function getMinor() public pure returns (uint) {\r\n return 0;\r\n }\r\n\r\n // Increase Patch for updates without abi changes\r\n function getPatch() public pure returns (uint) {\r\n return 0;\r\n }\r\n}", "sourcePath": "d:\\a\\1\\s\\contracts\\ConsortiumManagementContractVersion.sol", "ast": { "absolutePath": "/d/a/1/s/contracts/ConsortiumManagementContractVersion.sol", "exportedSymbols": { "ConsortiumManagementContractVersion": [ 106 ] }, "id": 107, "nodeType": "SourceUnit", "nodes": [ { "id": 55, "literals": [ "solidity", "^", "0.4", ".24" ], "nodeType": "PragmaDirective", "src": "0:24:1" }, { "absolutePath": "/d/a/1/s/contracts/BaseUpdateable.sol", "file": "./BaseUpdateable.sol", "id": 56, "nodeType": "ImportDirective", "scope": 107, "sourceUnit": 54, "src": "28:30:1", "symbolAliases": [], "unitAlias": "" }, { "absolutePath": "/d/a/1/s/contracts/RootContract.sol", "file": "./RootContract.sol", "id": 57, "nodeType": "ImportDirective", "scope": 107, "sourceUnit": 4082, "src": "60:28:1", "symbolAliases": [], "unitAlias": "" }, { "baseContracts": [ { "arguments": null, "baseName": { "contractScope": null, "id": 58, "name": "BaseUpdateable", "nodeType": "UserDefinedTypeName", "referencedDeclaration": 53, "src": "239:14:1", "typeDescriptions": { "typeIdentifier": "t_contract$_BaseUpdateable_$53", "typeString": "contract BaseUpdateable" } }, "id": 59, "nodeType": "InheritanceSpecifier", "src": "239:14:1" } ], "contractDependencies": [ 53, 2535 ], "contractKind": "contract", "documentation": null, "fullyImplemented": true, "id": 106, "linearizedBaseContracts": [ 106, 53, 2535 ], "name": "ConsortiumManagementContractVersion", "nodeType": "ContractDefinition", "nodes": [ { "body": { "id": 74, "nodeType": "Block", "src": "419:8:1", "statements": [] }, "documentation": null, "id": 75, "implemented": true, "isConstructor": true, "isDeclaredConst": false, "modifiers": [ { "arguments": [ { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "id": 67, "name": "_rootContract", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 61, "src": "360:13:1", "typeDescriptions": { "typeIdentifier": "t_contract$_RootContract_$4081", "typeString": "contract RootContract" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_contract$_RootContract_$4081", "typeString": "contract RootContract" } ], "id": 66, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", "src": "352:7:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, "id": 68, "isConstant": false, "isLValue": false, "isPure": false, "kind": "typeConversion", "lValueRequested": false, "names": [], "nodeType": "FunctionCall", "src": "352:22:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "id": 70, "name": "_updateFrom", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 63, "src": "384:11:1", "typeDescriptions": { "typeIdentifier": "t_contract$_IUpdateable_$2535", "typeString": "contract IUpdateable" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_contract$_IUpdateable_$2535", "typeString": "contract IUpdateable" } ], "id": 69, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", "src": "376:7:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, "id": 71, "isConstant": false, "isLValue": false, "isPure": false, "kind": "typeConversion", "lValueRequested": false, "names": [], "nodeType": "FunctionCall", "src": "376:20:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } } ], "id": 72, "modifierName": { "argumentTypes": null, "id": 65, "name": "BaseUpdateable", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 53, "src": "337:14:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_contract$_BaseUpdateable_$53_$", "typeString": "type(contract BaseUpdateable)" } }, "nodeType": "ModifierInvocation", "src": "337:60:1" } ], "name": "", "nodeType": "FunctionDefinition", "parameters": { "id": 64, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 61, "name": "_rootContract", "nodeType": "VariableDeclaration", "scope": 75, "src": "275:26:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_contract$_RootContract_$4081", "typeString": "contract RootContract" }, "typeName": { "contractScope": null, "id": 60, "name": "RootContract", "nodeType": "UserDefinedTypeName", "referencedDeclaration": 4081, "src": "275:12:1", "typeDescriptions": { "typeIdentifier": "t_contract$_RootContract_$4081", "typeString": "contract RootContract" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 63, "name": "_updateFrom", "nodeType": "VariableDeclaration", "scope": 75, "src": "303:23:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_contract$_IUpdateable_$2535", "typeString": "contract IUpdateable" }, "typeName": { "contractScope": null, "id": 62, "name": "IUpdateable", "nodeType": "UserDefinedTypeName", "referencedDeclaration": 2535, "src": "303:11:1", "typeDescriptions": { "typeIdentifier": "t_contract$_IUpdateable_$2535", "typeString": "contract IUpdateable" } }, "value": null, "visibility": "internal" } ], "src": "274:53:1" }, "payable": false, "returnParameters": { "id": 73, "nodeType": "ParameterList", "parameters": [], "src": "419:0:1" }, "scope": 106, "src": "263:164:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { "id": 80, "nodeType": "Block", "src": "486:8:1", "statements": [] }, "documentation": null, "id": 81, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, "id": 78, "modifierName": { "argumentTypes": null, "id": 77, "name": "activateAccessControl", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 23, "src": "464:21:1", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", "src": "464:21:1" } ], "name": "activate", "nodeType": "FunctionDefinition", "parameters": { "id": 76, "nodeType": "ParameterList", "parameters": [], "src": "452:2:1" }, "payable": false, "returnParameters": { "id": 79, "nodeType": "ParameterList", "parameters": [], "src": "486:0:1" }, "scope": 106, "src": "435:59:1", "stateMutability": "nonpayable", "superFunction": 52, "visibility": "external" }, { "body": { "id": 88, "nodeType": "Block", "src": "616:27:1", "statements": [ { "expression": { "argumentTypes": null, "hexValue": "31", "id": 86, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "634:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, "functionReturnParameters": 85, "id": 87, "nodeType": "Return", "src": "627:8:1" } ] }, "documentation": null, "id": 89, "implemented": true, "isConstructor": false, "isDeclaredConst": true, "modifiers": [], "name": "getMajor", "nodeType": "FunctionDefinition", "parameters": { "id": 82, "nodeType": "ParameterList", "parameters": [], "src": "586:2:1" }, "payable": false, "returnParameters": { "id": 85, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 84, "name": "", "nodeType": "VariableDeclaration", "scope": 89, "src": "610:4:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 83, "name": "uint", "nodeType": "ElementaryTypeName", "src": "610:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "609:6:1" }, "scope": 106, "src": "569:74:1", "stateMutability": "pure", "superFunction": null, "visibility": "public" }, { "body": { "id": 96, "nodeType": "Block", "src": "770:27:1", "statements": [ { "expression": { "argumentTypes": null, "hexValue": "30", "id": 94, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "788:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, "functionReturnParameters": 93, "id": 95, "nodeType": "Return", "src": "781:8:1" } ] }, "documentation": null, "id": 97, "implemented": true, "isConstructor": false, "isDeclaredConst": true, "modifiers": [], "name": "getMinor", "nodeType": "FunctionDefinition", "parameters": { "id": 90, "nodeType": "ParameterList", "parameters": [], "src": "740:2:1" }, "payable": false, "returnParameters": { "id": 93, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 92, "name": "", "nodeType": "VariableDeclaration", "scope": 97, "src": "764:4:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 91, "name": "uint", "nodeType": "ElementaryTypeName", "src": "764:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "763:6:1" }, "scope": 106, "src": "723:74:1", "stateMutability": "pure", "superFunction": null, "visibility": "public" }, { "body": { "id": 104, "nodeType": "Block", "src": "907:27:1", "statements": [ { "expression": { "argumentTypes": null, "hexValue": "30", "id": 102, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "925:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, "functionReturnParameters": 101, "id": 103, "nodeType": "Return", "src": "918:8:1" } ] }, "documentation": null, "id": 105, "implemented": true, "isConstructor": false, "isDeclaredConst": true, "modifiers": [], "name": "getPatch", "nodeType": "FunctionDefinition", "parameters": { "id": 98, "nodeType": "ParameterList", "parameters": [], "src": "877:2:1" }, "payable": false, "returnParameters": { "id": 101, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 100, "name": "", "nodeType": "VariableDeclaration", "scope": 105, "src": "901:4:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 99, "name": "uint", "nodeType": "ElementaryTypeName", "src": "901:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "900:6:1" }, "scope": 106, "src": "860:74:1", "stateMutability": "pure", "superFunction": null, "visibility": "public" } ], "scope": 107, "src": "191:746:1" } ], "src": "0:937:1" }, "legacyAST": { "absolutePath": "/d/a/1/s/contracts/ConsortiumManagementContractVersion.sol", "exportedSymbols": { "ConsortiumManagementContractVersion": [ 106 ] }, "id": 107, "nodeType": "SourceUnit", "nodes": [ { "id": 55, "literals": [ "solidity", "^", "0.4", ".24" ], "nodeType": "PragmaDirective", "src": "0:24:1" }, { "absolutePath": "/d/a/1/s/contracts/BaseUpdateable.sol", "file": "./BaseUpdateable.sol", "id": 56, "nodeType": "ImportDirective", "scope": 107, "sourceUnit": 54, "src": "28:30:1", "symbolAliases": [], "unitAlias": "" }, { "absolutePath": "/d/a/1/s/contracts/RootContract.sol", "file": "./RootContract.sol", "id": 57, "nodeType": "ImportDirective", "scope": 107, "sourceUnit": 4082, "src": "60:28:1", "symbolAliases": [], "unitAlias": "" }, { "baseContracts": [ { "arguments": null, "baseName": { "contractScope": null, "id": 58, "name": "BaseUpdateable", "nodeType": "UserDefinedTypeName", "referencedDeclaration": 53, "src": "239:14:1", "typeDescriptions": { "typeIdentifier": "t_contract$_BaseUpdateable_$53", "typeString": "contract BaseUpdateable" } }, "id": 59, "nodeType": "InheritanceSpecifier", "src": "239:14:1" } ], "contractDependencies": [ 53, 2535 ], "contractKind": "contract", "documentation": null, "fullyImplemented": true, "id": 106, "linearizedBaseContracts": [ 106, 53, 2535 ], "name": "ConsortiumManagementContractVersion", "nodeType": "ContractDefinition", "nodes": [ { "body": { "id": 74, "nodeType": "Block", "src": "419:8:1", "statements": [] }, "documentation": null, "id": 75, "implemented": true, "isConstructor": true, "isDeclaredConst": false, "modifiers": [ { "arguments": [ { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "id": 67, "name": "_rootContract", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 61, "src": "360:13:1", "typeDescriptions": { "typeIdentifier": "t_contract$_RootContract_$4081", "typeString": "contract RootContract" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_contract$_RootContract_$4081", "typeString": "contract RootContract" } ], "id": 66, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", "src": "352:7:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, "id": 68, "isConstant": false, "isLValue": false, "isPure": false, "kind": "typeConversion", "lValueRequested": false, "names": [], "nodeType": "FunctionCall", "src": "352:22:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "id": 70, "name": "_updateFrom", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 63, "src": "384:11:1", "typeDescriptions": { "typeIdentifier": "t_contract$_IUpdateable_$2535", "typeString": "contract IUpdateable" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_contract$_IUpdateable_$2535", "typeString": "contract IUpdateable" } ], "id": 69, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", "src": "376:7:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, "id": 71, "isConstant": false, "isLValue": false, "isPure": false, "kind": "typeConversion", "lValueRequested": false, "names": [], "nodeType": "FunctionCall", "src": "376:20:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } } ], "id": 72, "modifierName": { "argumentTypes": null, "id": 65, "name": "BaseUpdateable", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 53, "src": "337:14:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_contract$_BaseUpdateable_$53_$", "typeString": "type(contract BaseUpdateable)" } }, "nodeType": "ModifierInvocation", "src": "337:60:1" } ], "name": "", "nodeType": "FunctionDefinition", "parameters": { "id": 64, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 61, "name": "_rootContract", "nodeType": "VariableDeclaration", "scope": 75, "src": "275:26:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_contract$_RootContract_$4081", "typeString": "contract RootContract" }, "typeName": { "contractScope": null, "id": 60, "name": "RootContract", "nodeType": "UserDefinedTypeName", "referencedDeclaration": 4081, "src": "275:12:1", "typeDescriptions": { "typeIdentifier": "t_contract$_RootContract_$4081", "typeString": "contract RootContract" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 63, "name": "_updateFrom", "nodeType": "VariableDeclaration", "scope": 75, "src": "303:23:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_contract$_IUpdateable_$2535", "typeString": "contract IUpdateable" }, "typeName": { "contractScope": null, "id": 62, "name": "IUpdateable", "nodeType": "UserDefinedTypeName", "referencedDeclaration": 2535, "src": "303:11:1", "typeDescriptions": { "typeIdentifier": "t_contract$_IUpdateable_$2535", "typeString": "contract IUpdateable" } }, "value": null, "visibility": "internal" } ], "src": "274:53:1" }, "payable": false, "returnParameters": { "id": 73, "nodeType": "ParameterList", "parameters": [], "src": "419:0:1" }, "scope": 106, "src": "263:164:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { "id": 80, "nodeType": "Block", "src": "486:8:1", "statements": [] }, "documentation": null, "id": 81, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, "id": 78, "modifierName": { "argumentTypes": null, "id": 77, "name": "activateAccessControl", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 23, "src": "464:21:1", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", "src": "464:21:1" } ], "name": "activate", "nodeType": "FunctionDefinition", "parameters": { "id": 76, "nodeType": "ParameterList", "parameters": [], "src": "452:2:1" }, "payable": false, "returnParameters": { "id": 79, "nodeType": "ParameterList", "parameters": [], "src": "486:0:1" }, "scope": 106, "src": "435:59:1", "stateMutability": "nonpayable", "superFunction": 52, "visibility": "external" }, { "body": { "id": 88, "nodeType": "Block", "src": "616:27:1", "statements": [ { "expression": { "argumentTypes": null, "hexValue": "31", "id": 86, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "634:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, "functionReturnParameters": 85, "id": 87, "nodeType": "Return", "src": "627:8:1" } ] }, "documentation": null, "id": 89, "implemented": true, "isConstructor": false, "isDeclaredConst": true, "modifiers": [], "name": "getMajor", "nodeType": "FunctionDefinition", "parameters": { "id": 82, "nodeType": "ParameterList", "parameters": [], "src": "586:2:1" }, "payable": false, "returnParameters": { "id": 85, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 84, "name": "", "nodeType": "VariableDeclaration", "scope": 89, "src": "610:4:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 83, "name": "uint", "nodeType": "ElementaryTypeName", "src": "610:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "609:6:1" }, "scope": 106, "src": "569:74:1", "stateMutability": "pure", "superFunction": null, "visibility": "public" }, { "body": { "id": 96, "nodeType": "Block", "src": "770:27:1", "statements": [ { "expression": { "argumentTypes": null, "hexValue": "30", "id": 94, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "788:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, "functionReturnParameters": 93, "id": 95, "nodeType": "Return", "src": "781:8:1" } ] }, "documentation": null, "id": 97, "implemented": true, "isConstructor": false, "isDeclaredConst": true, "modifiers": [], "name": "getMinor", "nodeType": "FunctionDefinition", "parameters": { "id": 90, "nodeType": "ParameterList", "parameters": [], "src": "740:2:1" }, "payable": false, "returnParameters": { "id": 93, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 92, "name": "", "nodeType": "VariableDeclaration", "scope": 97, "src": "764:4:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 91, "name": "uint", "nodeType": "ElementaryTypeName", "src": "764:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "763:6:1" }, "scope": 106, "src": "723:74:1", "stateMutability": "pure", "superFunction": null, "visibility": "public" }, { "body": { "id": 104, "nodeType": "Block", "src": "907:27:1", "statements": [ { "expression": { "argumentTypes": null, "hexValue": "30", "id": 102, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "925:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, "functionReturnParameters": 101, "id": 103, "nodeType": "Return", "src": "918:8:1" } ] }, "documentation": null, "id": 105, "implemented": true, "isConstructor": false, "isDeclaredConst": true, "modifiers": [], "name": "getPatch", "nodeType": "FunctionDefinition", "parameters": { "id": 98, "nodeType": "ParameterList", "parameters": [], "src": "877:2:1" }, "payable": false, "returnParameters": { "id": 101, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 100, "name": "", "nodeType": "VariableDeclaration", "scope": 105, "src": "901:4:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 99, "name": "uint", "nodeType": "ElementaryTypeName", "src": "901:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "src": "900:6:1" }, "scope": 106, "src": "860:74:1", "stateMutability": "pure", "superFunction": null, "visibility": "public" } ], "scope": 107, "src": "191:746:1" } ], "src": "0:937:1" }, "compiler": { "name": "solc", "version": "0.4.24+commit.e67f0147.Emscripten.clang" }, "networks": { "1554487835301": { "events": {}, "links": {}, "address": "0x2b9E0FB3e4190c8bA9A3CBD89d7baa5308F3f710", "transactionHash": "0xbd5f9e8319cfe25d9d001a6110966375a212b6ee918013a59f5cc92f4d328b2b" } }, "schemaVersion": "3.0.6", "updatedAt": "2019-04-05T18:10:58.784Z", "devdoc": { "methods": {} }, "userdoc": { "methods": {} } } |