UNPKG

@zjbtest/contracts

Version:
1,174 lines 41.3 kB
{ "contractName": "IStateRent", "abi": [ { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "contract_address", "type": "address" }, { "indexed": true, "internalType": "address", "name": "new_maintainer", "type": "address" } ], "name": "TransferredMaintainer", "type": "event" }, { "inputs": [], "name": "newContractExtraBytes", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "storageDepositPerByte", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "contract_address", "type": "address" } ], "name": "maintainerOf", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "developerDeposit", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "deploymentFee", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "contract_address", "type": "address" }, { "internalType": "address", "name": "new_maintainer", "type": "address" } ], "name": "transferMaintainer", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" } ], "metadata": "{\"compiler\":{\"version\":\"0.8.0+commit.c7dfd78e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"contract_address\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"new_maintainer\",\"type\":\"address\"}],\"name\":\"TransferredMaintainer\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"deploymentFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"developerDeposit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"contract_address\",\"type\":\"address\"}],\"name\":\"maintainerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"newContractExtraBytes\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"storageDepositPerByte\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"contract_address\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"new_maintainer\",\"type\":\"address\"}],\"name\":\"transferMaintainer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/runner/work/predeploy-contracts/predeploy-contracts/contracts/state_rent/IStateRent.sol\":\"IStateRent\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/runner/work/predeploy-contracts/predeploy-contracts/contracts/state_rent/IStateRent.sol\":{\"keccak256\":\"0x4090f835c79e9b7018a8fe11686052ece8b8cc019655f2e51e66312b4082036d\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://38118d2291be8475d409d5aa139b64565e93b011b6e5978af54aad71dd63ae95\",\"dweb:/ipfs/QmVrSCDMoRvteZgZXb5uuDJdR5UquSNJnqqHX8pAm32r7i\"]}},\"version\":1}", "bytecode": "0x", "deployedBytecode": "0x", "immutableReferences": {}, "generatedSources": [], "deployedGeneratedSources": [], "sourceMap": "", "deployedSourceMap": "", "source": "// SPDX-License-Identifier: GPL-3.0-or-later\n\npragma solidity ^0.8.0;\n\ninterface IStateRent {\n event TransferredMaintainer(address indexed contract_address, address indexed new_maintainer);\n\n // Returns the const of NewContractExtraBytes.\n function newContractExtraBytes() external view returns (uint256);\n\n // Returns the const of StorageDepositPerByte.\n function storageDepositPerByte() external view returns (uint256);\n\n // Returns the maintainer of the contract.\n function maintainerOf(address contract_address) external view returns (address);\n\n // Returns the const of DeveloperDeposit.\n function developerDeposit() external view returns (uint256);\n\n // Returns the const of DeploymentFee.\n function deploymentFee() external view returns (uint256);\n\n // Transfer the maintainer of the contract.\n // Returns a boolean value indicating whether the operation succeeded.\n function transferMaintainer(address contract_address, address new_maintainer) external returns (bool);\n}\n", "sourcePath": "/home/runner/work/predeploy-contracts/predeploy-contracts/contracts/state_rent/IStateRent.sol", "ast": { "absolutePath": "/home/runner/work/predeploy-contracts/predeploy-contracts/contracts/state_rent/IStateRent.sol", "exportedSymbols": { "IStateRent": [ 1138 ] }, "id": 1139, "license": "GPL-3.0-or-later", "nodeType": "SourceUnit", "nodes": [ { "id": 1095, "literals": [ "solidity", "^", "0.8", ".0" ], "nodeType": "PragmaDirective", "src": "46:23:7" }, { "abstract": false, "baseContracts": [], "contractDependencies": [], "contractKind": "interface", "fullyImplemented": false, "id": 1138, "linearizedBaseContracts": [ 1138 ], "name": "IStateRent", "nodeType": "ContractDefinition", "nodes": [ { "anonymous": false, "id": 1101, "name": "TransferredMaintainer", "nodeType": "EventDefinition", "parameters": { "id": 1100, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1097, "indexed": true, "mutability": "mutable", "name": "contract_address", "nodeType": "VariableDeclaration", "scope": 1101, "src": "126:32:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 1096, "name": "address", "nodeType": "ElementaryTypeName", "src": "126:7:7", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" }, { "constant": false, "id": 1099, "indexed": true, "mutability": "mutable", "name": "new_maintainer", "nodeType": "VariableDeclaration", "scope": 1101, "src": "160:30:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 1098, "name": "address", "nodeType": "ElementaryTypeName", "src": "160:7:7", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" } ], "src": "125:66:7" }, "src": "98:94:7" }, { "functionSelector": "a23e8b82", "id": 1106, "implemented": false, "kind": "function", "modifiers": [], "name": "newContractExtraBytes", "nodeType": "FunctionDefinition", "parameters": { "id": 1102, "nodeType": "ParameterList", "parameters": [], "src": "279:2:7" }, "returnParameters": { "id": 1105, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1104, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", "scope": 1106, "src": "305:7:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 1103, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "305:7:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" } ], "src": "304:9:7" }, "scope": 1138, "src": "249:65:7", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "functionSelector": "6e043998", "id": 1111, "implemented": false, "kind": "function", "modifiers": [], "name": "storageDepositPerByte", "nodeType": "FunctionDefinition", "parameters": { "id": 1107, "nodeType": "ParameterList", "parameters": [], "src": "401:2:7" }, "returnParameters": { "id": 1110, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1109, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", "scope": 1111, "src": "427:7:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 1108, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "427:7:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" } ], "src": "426:9:7" }, "scope": 1138, "src": "371:65:7", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "functionSelector": "06ad1355", "id": 1118, "implemented": false, "kind": "function", "modifiers": [], "name": "maintainerOf", "nodeType": "FunctionDefinition", "parameters": { "id": 1114, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1113, "mutability": "mutable", "name": "contract_address", "nodeType": "VariableDeclaration", "scope": 1118, "src": "511:24:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 1112, "name": "address", "nodeType": "ElementaryTypeName", "src": "511:7:7", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" } ], "src": "510:26:7" }, "returnParameters": { "id": 1117, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1116, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", "scope": 1118, "src": "560:7:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 1115, "name": "address", "nodeType": "ElementaryTypeName", "src": "560:7:7", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" } ], "src": "559:9:7" }, "scope": 1138, "src": "489:80:7", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "functionSelector": "68a18855", "id": 1123, "implemented": false, "kind": "function", "modifiers": [], "name": "developerDeposit", "nodeType": "FunctionDefinition", "parameters": { "id": 1119, "nodeType": "ParameterList", "parameters": [], "src": "646:2:7" }, "returnParameters": { "id": 1122, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1121, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", "scope": 1123, "src": "672:7:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 1120, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "672:7:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" } ], "src": "671:9:7" }, "scope": 1138, "src": "621:60:7", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "functionSelector": "f2cff57f", "id": 1128, "implemented": false, "kind": "function", "modifiers": [], "name": "deploymentFee", "nodeType": "FunctionDefinition", "parameters": { "id": 1124, "nodeType": "ParameterList", "parameters": [], "src": "752:2:7" }, "returnParameters": { "id": 1127, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1126, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", "scope": 1128, "src": "778:7:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 1125, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "778:7:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" } ], "src": "777:9:7" }, "scope": 1138, "src": "730:57:7", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "functionSelector": "cfbd33d7", "id": 1137, "implemented": false, "kind": "function", "modifiers": [], "name": "transferMaintainer", "nodeType": "FunctionDefinition", "parameters": { "id": 1133, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1130, "mutability": "mutable", "name": "contract_address", "nodeType": "VariableDeclaration", "scope": 1137, "src": "944:24:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 1129, "name": "address", "nodeType": "ElementaryTypeName", "src": "944:7:7", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" }, { "constant": false, "id": 1132, "mutability": "mutable", "name": "new_maintainer", "nodeType": "VariableDeclaration", "scope": 1137, "src": "970:22:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 1131, "name": "address", "nodeType": "ElementaryTypeName", "src": "970:7:7", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" } ], "src": "943:50:7" }, "returnParameters": { "id": 1136, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1135, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", "scope": 1137, "src": "1012:4:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "typeName": { "id": 1134, "name": "bool", "nodeType": "ElementaryTypeName", "src": "1012:4:7", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "visibility": "internal" } ], "src": "1011:6:7" }, "scope": 1138, "src": "916:102:7", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" } ], "scope": 1139, "src": "71:949:7" } ], "src": "46:975:7" }, "legacyAST": { "absolutePath": "/home/runner/work/predeploy-contracts/predeploy-contracts/contracts/state_rent/IStateRent.sol", "exportedSymbols": { "IStateRent": [ 1138 ] }, "id": 1139, "license": "GPL-3.0-or-later", "nodeType": "SourceUnit", "nodes": [ { "id": 1095, "literals": [ "solidity", "^", "0.8", ".0" ], "nodeType": "PragmaDirective", "src": "46:23:7" }, { "abstract": false, "baseContracts": [], "contractDependencies": [], "contractKind": "interface", "fullyImplemented": false, "id": 1138, "linearizedBaseContracts": [ 1138 ], "name": "IStateRent", "nodeType": "ContractDefinition", "nodes": [ { "anonymous": false, "id": 1101, "name": "TransferredMaintainer", "nodeType": "EventDefinition", "parameters": { "id": 1100, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1097, "indexed": true, "mutability": "mutable", "name": "contract_address", "nodeType": "VariableDeclaration", "scope": 1101, "src": "126:32:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 1096, "name": "address", "nodeType": "ElementaryTypeName", "src": "126:7:7", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" }, { "constant": false, "id": 1099, "indexed": true, "mutability": "mutable", "name": "new_maintainer", "nodeType": "VariableDeclaration", "scope": 1101, "src": "160:30:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 1098, "name": "address", "nodeType": "ElementaryTypeName", "src": "160:7:7", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" } ], "src": "125:66:7" }, "src": "98:94:7" }, { "functionSelector": "a23e8b82", "id": 1106, "implemented": false, "kind": "function", "modifiers": [], "name": "newContractExtraBytes", "nodeType": "FunctionDefinition", "parameters": { "id": 1102, "nodeType": "ParameterList", "parameters": [], "src": "279:2:7" }, "returnParameters": { "id": 1105, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1104, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", "scope": 1106, "src": "305:7:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 1103, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "305:7:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" } ], "src": "304:9:7" }, "scope": 1138, "src": "249:65:7", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "functionSelector": "6e043998", "id": 1111, "implemented": false, "kind": "function", "modifiers": [], "name": "storageDepositPerByte", "nodeType": "FunctionDefinition", "parameters": { "id": 1107, "nodeType": "ParameterList", "parameters": [], "src": "401:2:7" }, "returnParameters": { "id": 1110, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1109, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", "scope": 1111, "src": "427:7:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 1108, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "427:7:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" } ], "src": "426:9:7" }, "scope": 1138, "src": "371:65:7", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "functionSelector": "06ad1355", "id": 1118, "implemented": false, "kind": "function", "modifiers": [], "name": "maintainerOf", "nodeType": "FunctionDefinition", "parameters": { "id": 1114, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1113, "mutability": "mutable", "name": "contract_address", "nodeType": "VariableDeclaration", "scope": 1118, "src": "511:24:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 1112, "name": "address", "nodeType": "ElementaryTypeName", "src": "511:7:7", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" } ], "src": "510:26:7" }, "returnParameters": { "id": 1117, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1116, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", "scope": 1118, "src": "560:7:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 1115, "name": "address", "nodeType": "ElementaryTypeName", "src": "560:7:7", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" } ], "src": "559:9:7" }, "scope": 1138, "src": "489:80:7", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "functionSelector": "68a18855", "id": 1123, "implemented": false, "kind": "function", "modifiers": [], "name": "developerDeposit", "nodeType": "FunctionDefinition", "parameters": { "id": 1119, "nodeType": "ParameterList", "parameters": [], "src": "646:2:7" }, "returnParameters": { "id": 1122, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1121, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", "scope": 1123, "src": "672:7:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 1120, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "672:7:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" } ], "src": "671:9:7" }, "scope": 1138, "src": "621:60:7", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "functionSelector": "f2cff57f", "id": 1128, "implemented": false, "kind": "function", "modifiers": [], "name": "deploymentFee", "nodeType": "FunctionDefinition", "parameters": { "id": 1124, "nodeType": "ParameterList", "parameters": [], "src": "752:2:7" }, "returnParameters": { "id": 1127, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1126, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", "scope": 1128, "src": "778:7:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 1125, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "778:7:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" } ], "src": "777:9:7" }, "scope": 1138, "src": "730:57:7", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "functionSelector": "cfbd33d7", "id": 1137, "implemented": false, "kind": "function", "modifiers": [], "name": "transferMaintainer", "nodeType": "FunctionDefinition", "parameters": { "id": 1133, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1130, "mutability": "mutable", "name": "contract_address", "nodeType": "VariableDeclaration", "scope": 1137, "src": "944:24:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 1129, "name": "address", "nodeType": "ElementaryTypeName", "src": "944:7:7", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" }, { "constant": false, "id": 1132, "mutability": "mutable", "name": "new_maintainer", "nodeType": "VariableDeclaration", "scope": 1137, "src": "970:22:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 1131, "name": "address", "nodeType": "ElementaryTypeName", "src": "970:7:7", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" } ], "src": "943:50:7" }, "returnParameters": { "id": 1136, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1135, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", "scope": 1137, "src": "1012:4:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "typeName": { "id": 1134, "name": "bool", "nodeType": "ElementaryTypeName", "src": "1012:4:7", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "visibility": "internal" } ], "src": "1011:6:7" }, "scope": 1138, "src": "916:102:7", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" } ], "scope": 1139, "src": "71:949:7" } ], "src": "46:975:7" }, "compiler": { "name": "solc", "version": "0.8.0+commit.c7dfd78e.Emscripten.clang" }, "networks": {}, "schemaVersion": "3.3.1", "updatedAt": "2021-11-23T02:17:24.079Z", "devdoc": { "kind": "dev", "methods": {}, "version": 1 }, "userdoc": { "kind": "user", "methods": {}, "version": 1 } }