diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 2b2f7d87..bb3d3388 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -4,9 +4,9 @@ on: types: [closed] branches: - 'v*.*.*' - - master - develop - beta + - release-candidate - stable push: tags: diff --git a/.openzeppelin/mainnet.json b/.openzeppelin/mainnet.json index 86d19e6a..970b97c4 100644 --- a/.openzeppelin/mainnet.json +++ b/.openzeppelin/mainnet.json @@ -25890,6 +25890,2618 @@ } } } + }, + "f3688ce6e02a1306a780a66cc66b54e4d30450e49137a1fddf0b40bb975b1059": { + "address": "0x129555998f5eA79aD08Ce8803A2A5b6EDaCAaeb0", + "txHash": "0xdc5a1870e901e82a4cc47cb25ca601f3b95b95209abd6adea167ae99526d9d9a", + "layout": { + "solcVersion": "0.8.17", + "storage": [ + { + "label": "_initialized", + "offset": 0, + "slot": "0", + "type": "t_uint8", + "contract": "Initializable", + "src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:63", + "retypedFrom": "bool" + }, + { + "label": "_initializing", + "offset": 1, + "slot": "0", + "type": "t_bool", + "contract": "Initializable", + "src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:68" + }, + { + "label": "______gap", + "offset": 0, + "slot": "1", + "type": "t_array(t_uint256)50_storage", + "contract": "InitializableWithGap", + "src": "contracts/thirdparty/openzeppelin/InitializableWithGap.sol:9" + }, + { + "label": "__gap", + "offset": 0, + "slot": "51", + "type": "t_array(t_uint256)50_storage", + "contract": "ContextUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol:36" + }, + { + "label": "_roles", + "offset": 0, + "slot": "101", + "type": "t_mapping(t_bytes32,t_struct(RoleData)36914_storage)", + "contract": "AccessControlUpgradeableLegacy", + "src": "contracts/thirdparty/openzeppelin/AccessControlUpgradeableLegacy.sol:58" + }, + { + "label": "__gap", + "offset": 0, + "slot": "102", + "type": "t_array(t_uint256)49_storage", + "contract": "AccessControlUpgradeableLegacy", + "src": "contracts/thirdparty/openzeppelin/AccessControlUpgradeableLegacy.sol:193" + }, + { + "label": "contractManager", + "offset": 0, + "slot": "151", + "type": "t_contract(IContractManager)6621", + "contract": "Permissions", + "src": "contracts/Permissions.sol:38" + }, + { + "label": "msr", + "offset": 0, + "slot": "152", + "type": "t_uint256", + "contract": "ConstantsHolder", + "src": "contracts/ConstantsHolder.sol:89" + }, + { + "label": "rewardPeriod", + "offset": 0, + "slot": "153", + "type": "t_uint32", + "contract": "ConstantsHolder", + "src": "contracts/ConstantsHolder.sol:92" + }, + { + "label": "allowableLatency", + "offset": 4, + "slot": "153", + "type": "t_uint32", + "contract": "ConstantsHolder", + "src": "contracts/ConstantsHolder.sol:95" + }, + { + "label": "deltaPeriod", + "offset": 8, + "slot": "153", + "type": "t_uint32", + "contract": "ConstantsHolder", + "src": "contracts/ConstantsHolder.sol:102" + }, + { + "label": "checkTime", + "offset": 0, + "slot": "154", + "type": "t_uint256", + "contract": "ConstantsHolder", + "src": "contracts/ConstantsHolder.sol:108" + }, + { + "label": "launchTimestamp", + "offset": 0, + "slot": "155", + "type": "t_uint256", + "contract": "ConstantsHolder", + "src": "contracts/ConstantsHolder.sol:112" + }, + { + "label": "rotationDelay", + "offset": 0, + "slot": "156", + "type": "t_uint256", + "contract": "ConstantsHolder", + "src": "contracts/ConstantsHolder.sol:114" + }, + { + "label": "proofOfUseLockUpPeriodDays", + "offset": 0, + "slot": "157", + "type": "t_uint256", + "contract": "ConstantsHolder", + "src": "contracts/ConstantsHolder.sol:116" + }, + { + "label": "proofOfUseDelegationPercentage", + "offset": 0, + "slot": "158", + "type": "t_uint256", + "contract": "ConstantsHolder", + "src": "contracts/ConstantsHolder.sol:118" + }, + { + "label": "limitValidatorsPerDelegator", + "offset": 0, + "slot": "159", + "type": "t_uint256", + "contract": "ConstantsHolder", + "src": "contracts/ConstantsHolder.sol:120" + }, + { + "label": "firstDelegationsMonth", + "offset": 0, + "slot": "160", + "type": "t_uint256", + "contract": "ConstantsHolder", + "src": "contracts/ConstantsHolder.sol:122" + }, + { + "label": "schainCreationTimeStamp", + "offset": 0, + "slot": "161", + "type": "t_uint256", + "contract": "ConstantsHolder", + "src": "contracts/ConstantsHolder.sol:125" + }, + { + "label": "minimalSchainLifetime", + "offset": 0, + "slot": "162", + "type": "t_uint256", + "contract": "ConstantsHolder", + "src": "contracts/ConstantsHolder.sol:127" + }, + { + "label": "complaintTimeLimit", + "offset": 0, + "slot": "163", + "type": "t_uint256", + "contract": "ConstantsHolder", + "src": "contracts/ConstantsHolder.sol:129" + }, + { + "label": "minNodeBalance", + "offset": 0, + "slot": "164", + "type": "t_uint256", + "contract": "ConstantsHolder", + "src": "contracts/ConstantsHolder.sol:131" + } + ], + "types": { + "t_array(t_bytes32)dyn_storage": { + "label": "bytes32[]", + "numberOfBytes": "32" + }, + "t_array(t_uint256)49_storage": { + "label": "uint256[49]", + "numberOfBytes": "1568" + }, + "t_array(t_uint256)50_storage": { + "label": "uint256[50]", + "numberOfBytes": "1600" + }, + "t_bool": { + "label": "bool", + "numberOfBytes": "1" + }, + "t_bytes32": { + "label": "bytes32", + "numberOfBytes": "32" + }, + "t_contract(IContractManager)6621": { + "label": "contract IContractManager", + "numberOfBytes": "20" + }, + "t_mapping(t_bytes32,t_struct(RoleData)36914_storage)": { + "label": "mapping(bytes32 => struct AccessControlUpgradeableLegacy.RoleData)", + "numberOfBytes": "32" + }, + "t_mapping(t_bytes32,t_uint256)": { + "label": "mapping(bytes32 => uint256)", + "numberOfBytes": "32" + }, + "t_struct(AddressSet)4105_storage": { + "label": "struct EnumerableSetUpgradeable.AddressSet", + "members": [ + { + "label": "_inner", + "type": "t_struct(Set)3790_storage", + "offset": 0, + "slot": "0" + } + ], + "numberOfBytes": "64" + }, + "t_struct(RoleData)36914_storage": { + "label": "struct AccessControlUpgradeableLegacy.RoleData", + "members": [ + { + "label": "members", + "type": "t_struct(AddressSet)4105_storage", + "offset": 0, + "slot": "0" + }, + { + "label": "adminRole", + "type": "t_bytes32", + "offset": 0, + "slot": "2" + } + ], + "numberOfBytes": "96" + }, + "t_struct(Set)3790_storage": { + "label": "struct EnumerableSetUpgradeable.Set", + "members": [ + { + "label": "_values", + "type": "t_array(t_bytes32)dyn_storage", + "offset": 0, + "slot": "0" + }, + { + "label": "_indexes", + "type": "t_mapping(t_bytes32,t_uint256)", + "offset": 0, + "slot": "1" + } + ], + "numberOfBytes": "64" + }, + "t_uint256": { + "label": "uint256", + "numberOfBytes": "32" + }, + "t_uint32": { + "label": "uint32", + "numberOfBytes": "4" + }, + "t_uint8": { + "label": "uint8", + "numberOfBytes": "1" + } + } + } + }, + "ea18697a78e3fe347383d521cfab5e4473a33c0de389b10d96f7536e8894868b": { + "address": "0x348b7FE356aBEd0B85fdB38D460245557aC6d8e0", + "txHash": "0x9c8785eece28a0aa62dea1bbabdf5f9de49a32ca8896d91755fdadaaa0740004", + "layout": { + "solcVersion": "0.8.17", + "storage": [ + { + "label": "_initialized", + "offset": 0, + "slot": "0", + "type": "t_uint8", + "contract": "Initializable", + "src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:63", + "retypedFrom": "bool" + }, + { + "label": "_initializing", + "offset": 1, + "slot": "0", + "type": "t_bool", + "contract": "Initializable", + "src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:68" + }, + { + "label": "______gap", + "offset": 0, + "slot": "1", + "type": "t_array(t_uint256)50_storage", + "contract": "InitializableWithGap", + "src": "contracts/thirdparty/openzeppelin/InitializableWithGap.sol:9" + }, + { + "label": "__gap", + "offset": 0, + "slot": "51", + "type": "t_array(t_uint256)50_storage", + "contract": "ContextUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol:36" + }, + { + "label": "_roles", + "offset": 0, + "slot": "101", + "type": "t_mapping(t_bytes32,t_struct(RoleData)36914_storage)", + "contract": "AccessControlUpgradeableLegacy", + "src": "contracts/thirdparty/openzeppelin/AccessControlUpgradeableLegacy.sol:58" + }, + { + "label": "__gap", + "offset": 0, + "slot": "102", + "type": "t_array(t_uint256)49_storage", + "contract": "AccessControlUpgradeableLegacy", + "src": "contracts/thirdparty/openzeppelin/AccessControlUpgradeableLegacy.sol:193" + }, + { + "label": "contractManager", + "offset": 0, + "slot": "151", + "type": "t_contract(IContractManager)6621", + "contract": "Permissions", + "src": "contracts/Permissions.sol:38" + }, + { + "label": "_rotations", + "offset": 0, + "slot": "152", + "type": "t_mapping(t_bytes32,t_struct(RotationWithPreviousNodes)11970_storage)", + "contract": "NodeRotation", + "src": "contracts/NodeRotation.sol:65" + }, + { + "label": "leavingHistory", + "offset": 0, + "slot": "153", + "type": "t_mapping(t_uint256,t_array(t_struct(LeavingHistory)6733_storage)dyn_storage)", + "contract": "NodeRotation", + "src": "contracts/NodeRotation.sol:67" + }, + { + "label": "waitForNewNode", + "offset": 0, + "slot": "154", + "type": "t_mapping(t_bytes32,t_bool)", + "contract": "NodeRotation", + "src": "contracts/NodeRotation.sol:69" + } + ], + "types": { + "t_array(t_bytes32)dyn_storage": { + "label": "bytes32[]", + "numberOfBytes": "32" + }, + "t_array(t_struct(LeavingHistory)6733_storage)dyn_storage": { + "label": "struct INodeRotation.LeavingHistory[]", + "numberOfBytes": "32" + }, + "t_array(t_uint256)49_storage": { + "label": "uint256[49]", + "numberOfBytes": "1568" + }, + "t_array(t_uint256)50_storage": { + "label": "uint256[50]", + "numberOfBytes": "1600" + }, + "t_bool": { + "label": "bool", + "numberOfBytes": "1" + }, + "t_bytes32": { + "label": "bytes32", + "numberOfBytes": "32" + }, + "t_contract(IContractManager)6621": { + "label": "contract IContractManager", + "numberOfBytes": "20" + }, + "t_mapping(t_bytes32,t_bool)": { + "label": "mapping(bytes32 => bool)", + "numberOfBytes": "32" + }, + "t_mapping(t_bytes32,t_struct(RoleData)36914_storage)": { + "label": "mapping(bytes32 => struct AccessControlUpgradeableLegacy.RoleData)", + "numberOfBytes": "32" + }, + "t_mapping(t_bytes32,t_struct(RotationWithPreviousNodes)11970_storage)": { + "label": "mapping(bytes32 => struct NodeRotation.RotationWithPreviousNodes)", + "numberOfBytes": "32" + }, + "t_mapping(t_bytes32,t_uint256)": { + "label": "mapping(bytes32 => uint256)", + "numberOfBytes": "32" + }, + "t_mapping(t_uint256,t_array(t_struct(LeavingHistory)6733_storage)dyn_storage)": { + "label": "mapping(uint256 => struct INodeRotation.LeavingHistory[])", + "numberOfBytes": "32" + }, + "t_mapping(t_uint256,t_uint256)": { + "label": "mapping(uint256 => uint256)", + "numberOfBytes": "32" + }, + "t_struct(AddressSet)4105_storage": { + "label": "struct EnumerableSetUpgradeable.AddressSet", + "members": [ + { + "label": "_inner", + "type": "t_struct(Set)3790_storage", + "offset": 0, + "slot": "0" + } + ], + "numberOfBytes": "64" + }, + "t_struct(LeavingHistory)6733_storage": { + "label": "struct INodeRotation.LeavingHistory", + "members": [ + { + "label": "schainHash", + "type": "t_bytes32", + "offset": 0, + "slot": "0" + }, + { + "label": "finishedRotation", + "type": "t_uint256", + "offset": 0, + "slot": "1" + } + ], + "numberOfBytes": "64" + }, + "t_struct(RoleData)36914_storage": { + "label": "struct AccessControlUpgradeableLegacy.RoleData", + "members": [ + { + "label": "members", + "type": "t_struct(AddressSet)4105_storage", + "offset": 0, + "slot": "0" + }, + { + "label": "adminRole", + "type": "t_bytes32", + "offset": 0, + "slot": "2" + } + ], + "numberOfBytes": "96" + }, + "t_struct(RotationWithPreviousNodes)11970_storage": { + "label": "struct NodeRotation.RotationWithPreviousNodes", + "members": [ + { + "label": "nodeIndex", + "type": "t_uint256", + "offset": 0, + "slot": "0" + }, + { + "label": "newNodeIndex", + "type": "t_uint256", + "offset": 0, + "slot": "1" + }, + { + "label": "freezeUntil", + "type": "t_uint256", + "offset": 0, + "slot": "2" + }, + { + "label": "rotationCounter", + "type": "t_uint256", + "offset": 0, + "slot": "3" + }, + { + "label": "previousNodes", + "type": "t_mapping(t_uint256,t_uint256)", + "offset": 0, + "slot": "4" + }, + { + "label": "newNodeIndexes", + "type": "t_struct(UintSet)4262_storage", + "offset": 0, + "slot": "5" + }, + { + "label": "indexInLeavingHistory", + "type": "t_mapping(t_uint256,t_uint256)", + "offset": 0, + "slot": "7" + } + ], + "numberOfBytes": "256" + }, + "t_struct(Set)3790_storage": { + "label": "struct EnumerableSetUpgradeable.Set", + "members": [ + { + "label": "_values", + "type": "t_array(t_bytes32)dyn_storage", + "offset": 0, + "slot": "0" + }, + { + "label": "_indexes", + "type": "t_mapping(t_bytes32,t_uint256)", + "offset": 0, + "slot": "1" + } + ], + "numberOfBytes": "64" + }, + "t_struct(UintSet)4262_storage": { + "label": "struct EnumerableSetUpgradeable.UintSet", + "members": [ + { + "label": "_inner", + "type": "t_struct(Set)3790_storage", + "offset": 0, + "slot": "0" + } + ], + "numberOfBytes": "64" + }, + "t_uint256": { + "label": "uint256", + "numberOfBytes": "32" + }, + "t_uint8": { + "label": "uint8", + "numberOfBytes": "1" + } + } + } + }, + "59e5f11240b5eee21dc888ac121909b485e94f575eea569d6cd1b6c2b2407a77": { + "address": "0x76Bff3Ef84aE02030bCA1908bbA8d0521019121c", + "txHash": "0x5677bd3d7a1f9aadf42a3aad05fce7cf1d63ee1048191f261ecb016137ee58ad", + "layout": { + "solcVersion": "0.8.17", + "storage": [ + { + "label": "_initialized", + "offset": 0, + "slot": "0", + "type": "t_uint8", + "contract": "Initializable", + "src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:63", + "retypedFrom": "bool" + }, + { + "label": "_initializing", + "offset": 1, + "slot": "0", + "type": "t_bool", + "contract": "Initializable", + "src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:68" + }, + { + "label": "______gap", + "offset": 0, + "slot": "1", + "type": "t_array(t_uint256)50_storage", + "contract": "InitializableWithGap", + "src": "contracts/thirdparty/openzeppelin/InitializableWithGap.sol:9" + }, + { + "label": "__gap", + "offset": 0, + "slot": "51", + "type": "t_array(t_uint256)50_storage", + "contract": "ContextUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol:36" + }, + { + "label": "_roles", + "offset": 0, + "slot": "101", + "type": "t_mapping(t_bytes32,t_struct(RoleData)36914_storage)", + "contract": "AccessControlUpgradeableLegacy", + "src": "contracts/thirdparty/openzeppelin/AccessControlUpgradeableLegacy.sol:58" + }, + { + "label": "__gap", + "offset": 0, + "slot": "102", + "type": "t_array(t_uint256)49_storage", + "contract": "AccessControlUpgradeableLegacy", + "src": "contracts/thirdparty/openzeppelin/AccessControlUpgradeableLegacy.sol:193" + }, + { + "label": "contractManager", + "offset": 0, + "slot": "151", + "type": "t_contract(IContractManager)6621", + "contract": "Permissions", + "src": "contracts/Permissions.sol:38" + }, + { + "label": "nodes", + "offset": 0, + "slot": "152", + "type": "t_array(t_struct(Node)6850_storage)dyn_storage", + "contract": "Nodes", + "src": "contracts/Nodes.sol:66" + }, + { + "label": "spaceOfNodes", + "offset": 0, + "slot": "153", + "type": "t_array(t_struct(SpaceManaging)6862_storage)dyn_storage", + "contract": "Nodes", + "src": "contracts/Nodes.sol:68" + }, + { + "label": "nodeIndexes", + "offset": 0, + "slot": "154", + "type": "t_mapping(t_address,t_struct(CreatedNodes)6857_storage)", + "contract": "Nodes", + "src": "contracts/Nodes.sol:71" + }, + { + "label": "nodesIPCheck", + "offset": 0, + "slot": "155", + "type": "t_mapping(t_bytes4,t_bool)", + "contract": "Nodes", + "src": "contracts/Nodes.sol:73" + }, + { + "label": "nodesNameCheck", + "offset": 0, + "slot": "156", + "type": "t_mapping(t_bytes32,t_bool)", + "contract": "Nodes", + "src": "contracts/Nodes.sol:75" + }, + { + "label": "nodesNameToIndex", + "offset": 0, + "slot": "157", + "type": "t_mapping(t_bytes32,t_uint256)", + "contract": "Nodes", + "src": "contracts/Nodes.sol:77" + }, + { + "label": "spaceToNodes", + "offset": 0, + "slot": "158", + "type": "t_mapping(t_uint8,t_array(t_uint256)dyn_storage)", + "contract": "Nodes", + "src": "contracts/Nodes.sol:79" + }, + { + "label": "validatorToNodeIndexes", + "offset": 0, + "slot": "159", + "type": "t_mapping(t_uint256,t_array(t_uint256)dyn_storage)", + "contract": "Nodes", + "src": "contracts/Nodes.sol:81" + }, + { + "label": "numberOfActiveNodes", + "offset": 0, + "slot": "160", + "type": "t_uint256", + "contract": "Nodes", + "src": "contracts/Nodes.sol:83" + }, + { + "label": "numberOfLeavingNodes", + "offset": 0, + "slot": "161", + "type": "t_uint256", + "contract": "Nodes", + "src": "contracts/Nodes.sol:84" + }, + { + "label": "numberOfLeftNodes", + "offset": 0, + "slot": "162", + "type": "t_uint256", + "contract": "Nodes", + "src": "contracts/Nodes.sol:85" + }, + { + "label": "domainNames", + "offset": 0, + "slot": "163", + "type": "t_mapping(t_uint256,t_string_storage)", + "contract": "Nodes", + "src": "contracts/Nodes.sol:87" + }, + { + "label": "_invisible", + "offset": 0, + "slot": "164", + "type": "t_mapping(t_uint256,t_bool)", + "contract": "Nodes", + "src": "contracts/Nodes.sol:89" + }, + { + "label": "_nodesAmountBySpace", + "offset": 0, + "slot": "165", + "type": "t_struct(Tree)38994_storage", + "contract": "Nodes", + "src": "contracts/Nodes.sol:91" + }, + { + "label": "incompliant", + "offset": 0, + "slot": "166", + "type": "t_mapping(t_uint256,t_bool)", + "contract": "Nodes", + "src": "contracts/Nodes.sol:93" + }, + { + "label": "nodeExtras", + "offset": 0, + "slot": "167", + "type": "t_mapping(t_uint256,t_struct(NodeExtras)6882_storage)", + "contract": "Nodes", + "src": "contracts/Nodes.sol:95" + } + ], + "types": { + "t_address": { + "label": "address", + "numberOfBytes": "20" + }, + "t_array(t_bytes32)2_storage": { + "label": "bytes32[2]", + "numberOfBytes": "64" + }, + "t_array(t_bytes32)dyn_storage": { + "label": "bytes32[]", + "numberOfBytes": "32" + }, + "t_array(t_struct(Node)6850_storage)dyn_storage": { + "label": "struct INodes.Node[]", + "numberOfBytes": "32" + }, + "t_array(t_struct(SpaceManaging)6862_storage)dyn_storage": { + "label": "struct INodes.SpaceManaging[]", + "numberOfBytes": "32" + }, + "t_array(t_uint256)49_storage": { + "label": "uint256[49]", + "numberOfBytes": "1568" + }, + "t_array(t_uint256)50_storage": { + "label": "uint256[50]", + "numberOfBytes": "1600" + }, + "t_array(t_uint256)dyn_storage": { + "label": "uint256[]", + "numberOfBytes": "32" + }, + "t_bool": { + "label": "bool", + "numberOfBytes": "1" + }, + "t_bytes32": { + "label": "bytes32", + "numberOfBytes": "32" + }, + "t_bytes4": { + "label": "bytes4", + "numberOfBytes": "4" + }, + "t_contract(IContractManager)6621": { + "label": "contract IContractManager", + "numberOfBytes": "20" + }, + "t_enum(NodeStatus)6826": { + "label": "enum INodes.NodeStatus", + "members": [ + "Active", + "Leaving", + "Left", + "In_Maintenance" + ], + "numberOfBytes": "1" + }, + "t_mapping(t_address,t_struct(CreatedNodes)6857_storage)": { + "label": "mapping(address => struct INodes.CreatedNodes)", + "numberOfBytes": "32" + }, + "t_mapping(t_bytes32,t_bool)": { + "label": "mapping(bytes32 => bool)", + "numberOfBytes": "32" + }, + "t_mapping(t_bytes32,t_struct(RoleData)36914_storage)": { + "label": "mapping(bytes32 => struct AccessControlUpgradeableLegacy.RoleData)", + "numberOfBytes": "32" + }, + "t_mapping(t_bytes32,t_uint256)": { + "label": "mapping(bytes32 => uint256)", + "numberOfBytes": "32" + }, + "t_mapping(t_bytes4,t_bool)": { + "label": "mapping(bytes4 => bool)", + "numberOfBytes": "32" + }, + "t_mapping(t_uint256,t_array(t_uint256)dyn_storage)": { + "label": "mapping(uint256 => uint256[])", + "numberOfBytes": "32" + }, + "t_mapping(t_uint256,t_bool)": { + "label": "mapping(uint256 => bool)", + "numberOfBytes": "32" + }, + "t_mapping(t_uint256,t_string_storage)": { + "label": "mapping(uint256 => string)", + "numberOfBytes": "32" + }, + "t_mapping(t_uint256,t_struct(NodeExtras)6882_storage)": { + "label": "mapping(uint256 => struct INodes.NodeExtras)", + "numberOfBytes": "32" + }, + "t_mapping(t_uint8,t_array(t_uint256)dyn_storage)": { + "label": "mapping(uint8 => uint256[])", + "numberOfBytes": "32" + }, + "t_string_storage": { + "label": "string", + "numberOfBytes": "32" + }, + "t_struct(AddressSet)4105_storage": { + "label": "struct EnumerableSetUpgradeable.AddressSet", + "members": [ + { + "label": "_inner", + "type": "t_struct(Set)3790_storage", + "offset": 0, + "slot": "0" + } + ], + "numberOfBytes": "64" + }, + "t_struct(CreatedNodes)6857_storage": { + "label": "struct INodes.CreatedNodes", + "members": [ + { + "label": "isNodeExist", + "type": "t_mapping(t_uint256,t_bool)", + "offset": 0, + "slot": "0" + }, + { + "label": "numberOfNodes", + "type": "t_uint256", + "offset": 0, + "slot": "1" + } + ], + "numberOfBytes": "64" + }, + "t_struct(Node)6850_storage": { + "label": "struct INodes.Node", + "members": [ + { + "label": "name", + "type": "t_string_storage", + "offset": 0, + "slot": "0" + }, + { + "label": "ip", + "type": "t_bytes4", + "offset": 0, + "slot": "1" + }, + { + "label": "publicIP", + "type": "t_bytes4", + "offset": 4, + "slot": "1" + }, + { + "label": "port", + "type": "t_uint16", + "offset": 8, + "slot": "1" + }, + { + "label": "publicKey", + "type": "t_array(t_bytes32)2_storage", + "offset": 0, + "slot": "2" + }, + { + "label": "startBlock", + "type": "t_uint256", + "offset": 0, + "slot": "4" + }, + { + "label": "lastRewardDate", + "type": "t_uint256", + "offset": 0, + "slot": "5" + }, + { + "label": "finishTime", + "type": "t_uint256", + "offset": 0, + "slot": "6" + }, + { + "label": "status", + "type": "t_enum(NodeStatus)6826", + "offset": 0, + "slot": "7" + }, + { + "label": "validatorId", + "type": "t_uint256", + "offset": 0, + "slot": "8" + } + ], + "numberOfBytes": "288" + }, + "t_struct(NodeExtras)6882_storage": { + "label": "struct INodes.NodeExtras", + "members": [ + { + "label": "lastChangeIpTime", + "type": "t_uint256", + "offset": 0, + "slot": "0" + } + ], + "numberOfBytes": "32" + }, + "t_struct(RoleData)36914_storage": { + "label": "struct AccessControlUpgradeableLegacy.RoleData", + "members": [ + { + "label": "members", + "type": "t_struct(AddressSet)4105_storage", + "offset": 0, + "slot": "0" + }, + { + "label": "adminRole", + "type": "t_bytes32", + "offset": 0, + "slot": "2" + } + ], + "numberOfBytes": "96" + }, + "t_struct(Set)3790_storage": { + "label": "struct EnumerableSetUpgradeable.Set", + "members": [ + { + "label": "_values", + "type": "t_array(t_bytes32)dyn_storage", + "offset": 0, + "slot": "0" + }, + { + "label": "_indexes", + "type": "t_mapping(t_bytes32,t_uint256)", + "offset": 0, + "slot": "1" + } + ], + "numberOfBytes": "64" + }, + "t_struct(SpaceManaging)6862_storage": { + "label": "struct INodes.SpaceManaging", + "members": [ + { + "label": "freeSpace", + "type": "t_uint8", + "offset": 0, + "slot": "0" + }, + { + "label": "indexInSpaceMap", + "type": "t_uint256", + "offset": 0, + "slot": "1" + } + ], + "numberOfBytes": "64" + }, + "t_struct(Tree)38994_storage": { + "label": "struct SegmentTree.Tree", + "members": [ + { + "label": "tree", + "type": "t_array(t_uint256)dyn_storage", + "offset": 0, + "slot": "0" + } + ], + "numberOfBytes": "32" + }, + "t_uint16": { + "label": "uint16", + "numberOfBytes": "2" + }, + "t_uint256": { + "label": "uint256", + "numberOfBytes": "32" + }, + "t_uint8": { + "label": "uint8", + "numberOfBytes": "1" + } + } + } + }, + "fb6fe02c6619d1bcb414424d70496d25791a808d7c0ff1ccaeff22ee74aa65bc": { + "address": "0x06be9eB0667dce0619c343ed5d41a6fd0F40f1d0", + "txHash": "0x23fef0c33249958256efa36367528829f8b293204e70665db0a114ca78c1683c", + "layout": { + "solcVersion": "0.8.17", + "storage": [ + { + "label": "_initialized", + "offset": 0, + "slot": "0", + "type": "t_uint8", + "contract": "Initializable", + "src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:63", + "retypedFrom": "bool" + }, + { + "label": "_initializing", + "offset": 1, + "slot": "0", + "type": "t_bool", + "contract": "Initializable", + "src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:68" + }, + { + "label": "______gap", + "offset": 0, + "slot": "1", + "type": "t_array(t_uint256)50_storage", + "contract": "InitializableWithGap", + "src": "contracts/thirdparty/openzeppelin/InitializableWithGap.sol:9" + }, + { + "label": "__gap", + "offset": 0, + "slot": "51", + "type": "t_array(t_uint256)50_storage", + "contract": "ContextUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol:36" + }, + { + "label": "_roles", + "offset": 0, + "slot": "101", + "type": "t_mapping(t_bytes32,t_struct(RoleData)36914_storage)", + "contract": "AccessControlUpgradeableLegacy", + "src": "contracts/thirdparty/openzeppelin/AccessControlUpgradeableLegacy.sol:58" + }, + { + "label": "__gap", + "offset": 0, + "slot": "102", + "type": "t_array(t_uint256)49_storage", + "contract": "AccessControlUpgradeableLegacy", + "src": "contracts/thirdparty/openzeppelin/AccessControlUpgradeableLegacy.sol:193" + }, + { + "label": "contractManager", + "offset": 0, + "slot": "151", + "type": "t_contract(IContractManager)6621", + "contract": "Permissions", + "src": "contracts/Permissions.sol:38" + }, + { + "label": "_optionsIndex", + "offset": 0, + "slot": "152", + "type": "t_mapping(t_bytes32,t_struct(Bytes32Set)3984_storage)", + "contract": "Schains", + "src": "contracts/Schains.sol:59" + }, + { + "label": "_options", + "offset": 0, + "slot": "153", + "type": "t_mapping(t_bytes32,t_mapping(t_bytes32,t_struct(SchainOption)7275_storage))", + "contract": "Schains", + "src": "contracts/Schains.sol:61" + } + ], + "types": { + "t_array(t_bytes32)dyn_storage": { + "label": "bytes32[]", + "numberOfBytes": "32" + }, + "t_array(t_uint256)49_storage": { + "label": "uint256[49]", + "numberOfBytes": "1568" + }, + "t_array(t_uint256)50_storage": { + "label": "uint256[50]", + "numberOfBytes": "1600" + }, + "t_bool": { + "label": "bool", + "numberOfBytes": "1" + }, + "t_bytes32": { + "label": "bytes32", + "numberOfBytes": "32" + }, + "t_bytes_storage": { + "label": "bytes", + "numberOfBytes": "32" + }, + "t_contract(IContractManager)6621": { + "label": "contract IContractManager", + "numberOfBytes": "20" + }, + "t_mapping(t_bytes32,t_mapping(t_bytes32,t_struct(SchainOption)7275_storage))": { + "label": "mapping(bytes32 => mapping(bytes32 => struct ISchains.SchainOption))", + "numberOfBytes": "32" + }, + "t_mapping(t_bytes32,t_struct(Bytes32Set)3984_storage)": { + "label": "mapping(bytes32 => struct EnumerableSetUpgradeable.Bytes32Set)", + "numberOfBytes": "32" + }, + "t_mapping(t_bytes32,t_struct(RoleData)36914_storage)": { + "label": "mapping(bytes32 => struct AccessControlUpgradeableLegacy.RoleData)", + "numberOfBytes": "32" + }, + "t_mapping(t_bytes32,t_struct(SchainOption)7275_storage)": { + "label": "mapping(bytes32 => struct ISchains.SchainOption)", + "numberOfBytes": "32" + }, + "t_mapping(t_bytes32,t_uint256)": { + "label": "mapping(bytes32 => uint256)", + "numberOfBytes": "32" + }, + "t_string_storage": { + "label": "string", + "numberOfBytes": "32" + }, + "t_struct(AddressSet)4105_storage": { + "label": "struct EnumerableSetUpgradeable.AddressSet", + "members": [ + { + "label": "_inner", + "type": "t_struct(Set)3790_storage", + "offset": 0, + "slot": "0" + } + ], + "numberOfBytes": "64" + }, + "t_struct(Bytes32Set)3984_storage": { + "label": "struct EnumerableSetUpgradeable.Bytes32Set", + "members": [ + { + "label": "_inner", + "type": "t_struct(Set)3790_storage", + "offset": 0, + "slot": "0" + } + ], + "numberOfBytes": "64" + }, + "t_struct(RoleData)36914_storage": { + "label": "struct AccessControlUpgradeableLegacy.RoleData", + "members": [ + { + "label": "members", + "type": "t_struct(AddressSet)4105_storage", + "offset": 0, + "slot": "0" + }, + { + "label": "adminRole", + "type": "t_bytes32", + "offset": 0, + "slot": "2" + } + ], + "numberOfBytes": "96" + }, + "t_struct(SchainOption)7275_storage": { + "label": "struct ISchains.SchainOption", + "members": [ + { + "label": "name", + "type": "t_string_storage", + "offset": 0, + "slot": "0" + }, + { + "label": "value", + "type": "t_bytes_storage", + "offset": 0, + "slot": "1" + } + ], + "numberOfBytes": "64" + }, + "t_struct(Set)3790_storage": { + "label": "struct EnumerableSetUpgradeable.Set", + "members": [ + { + "label": "_values", + "type": "t_array(t_bytes32)dyn_storage", + "offset": 0, + "slot": "0" + }, + { + "label": "_indexes", + "type": "t_mapping(t_bytes32,t_uint256)", + "offset": 0, + "slot": "1" + } + ], + "numberOfBytes": "64" + }, + "t_uint256": { + "label": "uint256", + "numberOfBytes": "32" + }, + "t_uint8": { + "label": "uint8", + "numberOfBytes": "1" + } + } + } + }, + "ebf7727e9a7e3238cf0dcc745cfabc9d16da658f6aabacfc708afd5a6da77828": { + "address": "0x0cF9bdB006Bc3911d91B4dF86fB069F3fD7D8599", + "txHash": "0xa3cc81c2d18a7f3ad931a3b211c3b929a3360fe7a67200fe058ace6b0b91f7fd", + "layout": { + "solcVersion": "0.8.17", + "storage": [ + { + "label": "_initialized", + "offset": 0, + "slot": "0", + "type": "t_uint8", + "contract": "Initializable", + "src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:63", + "retypedFrom": "bool" + }, + { + "label": "_initializing", + "offset": 1, + "slot": "0", + "type": "t_bool", + "contract": "Initializable", + "src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:68" + }, + { + "label": "______gap", + "offset": 0, + "slot": "1", + "type": "t_array(t_uint256)50_storage", + "contract": "InitializableWithGap", + "src": "contracts/thirdparty/openzeppelin/InitializableWithGap.sol:9" + }, + { + "label": "__gap", + "offset": 0, + "slot": "51", + "type": "t_array(t_uint256)50_storage", + "contract": "ContextUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol:36" + }, + { + "label": "_roles", + "offset": 0, + "slot": "101", + "type": "t_mapping(t_bytes32,t_struct(RoleData)36914_storage)", + "contract": "AccessControlUpgradeableLegacy", + "src": "contracts/thirdparty/openzeppelin/AccessControlUpgradeableLegacy.sol:58" + }, + { + "label": "__gap", + "offset": 0, + "slot": "102", + "type": "t_array(t_uint256)49_storage", + "contract": "AccessControlUpgradeableLegacy", + "src": "contracts/thirdparty/openzeppelin/AccessControlUpgradeableLegacy.sol:193" + }, + { + "label": "contractManager", + "offset": 0, + "slot": "151", + "type": "t_contract(IContractManager)6621", + "contract": "Permissions", + "src": "contracts/Permissions.sol:38" + }, + { + "label": "schains", + "offset": 0, + "slot": "152", + "type": "t_mapping(t_bytes32,t_struct(Schain)7447_storage)", + "contract": "SchainsInternal", + "src": "contracts/SchainsInternal.sol:47" + }, + { + "label": "isSchainActive", + "offset": 0, + "slot": "153", + "type": "t_mapping(t_bytes32,t_bool)", + "contract": "SchainsInternal", + "src": "contracts/SchainsInternal.sol:49" + }, + { + "label": "schainsGroups", + "offset": 0, + "slot": "154", + "type": "t_mapping(t_bytes32,t_array(t_uint256)dyn_storage)", + "contract": "SchainsInternal", + "src": "contracts/SchainsInternal.sol:51" + }, + { + "label": "_exceptionsForGroups", + "offset": 0, + "slot": "155", + "type": "t_mapping(t_bytes32,t_mapping(t_uint256,t_bool))", + "contract": "SchainsInternal", + "src": "contracts/SchainsInternal.sol:53" + }, + { + "label": "schainIndexes", + "offset": 0, + "slot": "156", + "type": "t_mapping(t_address,t_array(t_bytes32)dyn_storage)", + "contract": "SchainsInternal", + "src": "contracts/SchainsInternal.sol:55" + }, + { + "label": "schainsForNodes", + "offset": 0, + "slot": "157", + "type": "t_mapping(t_uint256,t_array(t_bytes32)dyn_storage)", + "contract": "SchainsInternal", + "src": "contracts/SchainsInternal.sol:57" + }, + { + "label": "holesForNodes", + "offset": 0, + "slot": "158", + "type": "t_mapping(t_uint256,t_array(t_uint256)dyn_storage)", + "contract": "SchainsInternal", + "src": "contracts/SchainsInternal.sol:59" + }, + { + "label": "holesForSchains", + "offset": 0, + "slot": "159", + "type": "t_mapping(t_bytes32,t_array(t_uint256)dyn_storage)", + "contract": "SchainsInternal", + "src": "contracts/SchainsInternal.sol:61" + }, + { + "label": "schainsAtSystem", + "offset": 0, + "slot": "160", + "type": "t_array(t_bytes32)dyn_storage", + "contract": "SchainsInternal", + "src": "contracts/SchainsInternal.sol:64" + }, + { + "label": "numberOfSchains", + "offset": 0, + "slot": "161", + "type": "t_uint64", + "contract": "SchainsInternal", + "src": "contracts/SchainsInternal.sol:66" + }, + { + "label": "sumOfSchainsResources", + "offset": 0, + "slot": "162", + "type": "t_uint256", + "contract": "SchainsInternal", + "src": "contracts/SchainsInternal.sol:68" + }, + { + "label": "usedSchainNames", + "offset": 0, + "slot": "163", + "type": "t_mapping(t_bytes32,t_bool)", + "contract": "SchainsInternal", + "src": "contracts/SchainsInternal.sol:70" + }, + { + "label": "schainTypes", + "offset": 0, + "slot": "164", + "type": "t_mapping(t_uint256,t_struct(SchainType)7452_storage)", + "contract": "SchainsInternal", + "src": "contracts/SchainsInternal.sol:72" + }, + { + "label": "numberOfSchainTypes", + "offset": 0, + "slot": "165", + "type": "t_uint256", + "contract": "SchainsInternal", + "src": "contracts/SchainsInternal.sol:73" + }, + { + "label": "placeOfSchainOnNode", + "offset": 0, + "slot": "166", + "type": "t_mapping(t_bytes32,t_mapping(t_uint256,t_uint256))", + "contract": "SchainsInternal", + "src": "contracts/SchainsInternal.sol:77" + }, + { + "label": "_nodeToLockedSchains", + "offset": 0, + "slot": "167", + "type": "t_mapping(t_uint256,t_array(t_bytes32)dyn_storage)", + "contract": "SchainsInternal", + "src": "contracts/SchainsInternal.sol:79" + }, + { + "label": "_schainToExceptionNodes", + "offset": 0, + "slot": "168", + "type": "t_mapping(t_bytes32,t_array(t_uint256)dyn_storage)", + "contract": "SchainsInternal", + "src": "contracts/SchainsInternal.sol:81" + }, + { + "label": "_keysOfSchainTypes", + "offset": 0, + "slot": "169", + "type": "t_struct(UintSet)4262_storage", + "contract": "SchainsInternal", + "src": "contracts/SchainsInternal.sol:83" + }, + { + "label": "currentGeneration", + "offset": 0, + "slot": "171", + "type": "t_uint256", + "contract": "SchainsInternal", + "src": "contracts/SchainsInternal.sol:85" + }, + { + "label": "_nodeAddressInSchain", + "offset": 0, + "slot": "172", + "type": "t_mapping(t_bytes32,t_struct(AddressSet)4105_storage)", + "contract": "SchainsInternal", + "src": "contracts/SchainsInternal.sol:87" + } + ], + "types": { + "t_address": { + "label": "address", + "numberOfBytes": "20" + }, + "t_array(t_bytes32)dyn_storage": { + "label": "bytes32[]", + "numberOfBytes": "32" + }, + "t_array(t_uint256)49_storage": { + "label": "uint256[49]", + "numberOfBytes": "1568" + }, + "t_array(t_uint256)50_storage": { + "label": "uint256[50]", + "numberOfBytes": "1600" + }, + "t_array(t_uint256)dyn_storage": { + "label": "uint256[]", + "numberOfBytes": "32" + }, + "t_bool": { + "label": "bool", + "numberOfBytes": "1" + }, + "t_bytes32": { + "label": "bytes32", + "numberOfBytes": "32" + }, + "t_contract(IContractManager)6621": { + "label": "contract IContractManager", + "numberOfBytes": "20" + }, + "t_mapping(t_address,t_array(t_bytes32)dyn_storage)": { + "label": "mapping(address => bytes32[])", + "numberOfBytes": "32" + }, + "t_mapping(t_bytes32,t_array(t_uint256)dyn_storage)": { + "label": "mapping(bytes32 => uint256[])", + "numberOfBytes": "32" + }, + "t_mapping(t_bytes32,t_bool)": { + "label": "mapping(bytes32 => bool)", + "numberOfBytes": "32" + }, + "t_mapping(t_bytes32,t_mapping(t_uint256,t_bool))": { + "label": "mapping(bytes32 => mapping(uint256 => bool))", + "numberOfBytes": "32" + }, + "t_mapping(t_bytes32,t_mapping(t_uint256,t_uint256))": { + "label": "mapping(bytes32 => mapping(uint256 => uint256))", + "numberOfBytes": "32" + }, + "t_mapping(t_bytes32,t_struct(AddressSet)4105_storage)": { + "label": "mapping(bytes32 => struct EnumerableSetUpgradeable.AddressSet)", + "numberOfBytes": "32" + }, + "t_mapping(t_bytes32,t_struct(RoleData)36914_storage)": { + "label": "mapping(bytes32 => struct AccessControlUpgradeableLegacy.RoleData)", + "numberOfBytes": "32" + }, + "t_mapping(t_bytes32,t_struct(Schain)7447_storage)": { + "label": "mapping(bytes32 => struct ISchainsInternal.Schain)", + "numberOfBytes": "32" + }, + "t_mapping(t_bytes32,t_uint256)": { + "label": "mapping(bytes32 => uint256)", + "numberOfBytes": "32" + }, + "t_mapping(t_uint256,t_array(t_bytes32)dyn_storage)": { + "label": "mapping(uint256 => bytes32[])", + "numberOfBytes": "32" + }, + "t_mapping(t_uint256,t_array(t_uint256)dyn_storage)": { + "label": "mapping(uint256 => uint256[])", + "numberOfBytes": "32" + }, + "t_mapping(t_uint256,t_bool)": { + "label": "mapping(uint256 => bool)", + "numberOfBytes": "32" + }, + "t_mapping(t_uint256,t_struct(SchainType)7452_storage)": { + "label": "mapping(uint256 => struct ISchainsInternal.SchainType)", + "numberOfBytes": "32" + }, + "t_mapping(t_uint256,t_uint256)": { + "label": "mapping(uint256 => uint256)", + "numberOfBytes": "32" + }, + "t_string_storage": { + "label": "string", + "numberOfBytes": "32" + }, + "t_struct(AddressSet)4105_storage": { + "label": "struct EnumerableSetUpgradeable.AddressSet", + "members": [ + { + "label": "_inner", + "type": "t_struct(Set)3790_storage", + "offset": 0, + "slot": "0" + } + ], + "numberOfBytes": "64" + }, + "t_struct(RoleData)36914_storage": { + "label": "struct AccessControlUpgradeableLegacy.RoleData", + "members": [ + { + "label": "members", + "type": "t_struct(AddressSet)4105_storage", + "offset": 0, + "slot": "0" + }, + { + "label": "adminRole", + "type": "t_bytes32", + "offset": 0, + "slot": "2" + } + ], + "numberOfBytes": "96" + }, + "t_struct(Schain)7447_storage": { + "label": "struct ISchainsInternal.Schain", + "members": [ + { + "label": "name", + "type": "t_string_storage", + "offset": 0, + "slot": "0" + }, + { + "label": "owner", + "type": "t_address", + "offset": 0, + "slot": "1" + }, + { + "label": "indexInOwnerList", + "type": "t_uint256", + "offset": 0, + "slot": "2" + }, + { + "label": "partOfNode", + "type": "t_uint8", + "offset": 0, + "slot": "3" + }, + { + "label": "lifetime", + "type": "t_uint256", + "offset": 0, + "slot": "4" + }, + { + "label": "startDate", + "type": "t_uint256", + "offset": 0, + "slot": "5" + }, + { + "label": "startBlock", + "type": "t_uint256", + "offset": 0, + "slot": "6" + }, + { + "label": "deposit", + "type": "t_uint256", + "offset": 0, + "slot": "7" + }, + { + "label": "index", + "type": "t_uint64", + "offset": 0, + "slot": "8" + }, + { + "label": "generation", + "type": "t_uint256", + "offset": 0, + "slot": "9" + }, + { + "label": "originator", + "type": "t_address", + "offset": 0, + "slot": "10" + } + ], + "numberOfBytes": "352" + }, + "t_struct(SchainType)7452_storage": { + "label": "struct ISchainsInternal.SchainType", + "members": [ + { + "label": "partOfNode", + "type": "t_uint8", + "offset": 0, + "slot": "0" + }, + { + "label": "numberOfNodes", + "type": "t_uint256", + "offset": 0, + "slot": "1" + } + ], + "numberOfBytes": "64" + }, + "t_struct(Set)3790_storage": { + "label": "struct EnumerableSetUpgradeable.Set", + "members": [ + { + "label": "_values", + "type": "t_array(t_bytes32)dyn_storage", + "offset": 0, + "slot": "0" + }, + { + "label": "_indexes", + "type": "t_mapping(t_bytes32,t_uint256)", + "offset": 0, + "slot": "1" + } + ], + "numberOfBytes": "64" + }, + "t_struct(UintSet)4262_storage": { + "label": "struct EnumerableSetUpgradeable.UintSet", + "members": [ + { + "label": "_inner", + "type": "t_struct(Set)3790_storage", + "offset": 0, + "slot": "0" + } + ], + "numberOfBytes": "64" + }, + "t_uint256": { + "label": "uint256", + "numberOfBytes": "32" + }, + "t_uint64": { + "label": "uint64", + "numberOfBytes": "8" + }, + "t_uint8": { + "label": "uint8", + "numberOfBytes": "1" + } + } + } + }, + "d38ab5ac9f2f2d0c67a12dd8d8268b736010e5f46f2a85b873394c8b8605858b": { + "address": "0xDb13ECA2B3C8Fed6Aa605E48F9e25eB5926f1460", + "txHash": "0x3ce41eafbc69c1b925f3afa19d846e88a38f26e69862551a307fddeaf2d1a93f", + "layout": { + "solcVersion": "0.8.17", + "storage": [ + { + "label": "_initialized", + "offset": 0, + "slot": "0", + "type": "t_uint8", + "contract": "Initializable", + "src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:63", + "retypedFrom": "bool" + }, + { + "label": "_initializing", + "offset": 1, + "slot": "0", + "type": "t_bool", + "contract": "Initializable", + "src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:68" + }, + { + "label": "______gap", + "offset": 0, + "slot": "1", + "type": "t_array(t_uint256)50_storage", + "contract": "InitializableWithGap", + "src": "contracts/thirdparty/openzeppelin/InitializableWithGap.sol:9" + }, + { + "label": "__gap", + "offset": 0, + "slot": "51", + "type": "t_array(t_uint256)50_storage", + "contract": "ContextUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol:36" + }, + { + "label": "_roles", + "offset": 0, + "slot": "101", + "type": "t_mapping(t_bytes32,t_struct(RoleData)36914_storage)", + "contract": "AccessControlUpgradeableLegacy", + "src": "contracts/thirdparty/openzeppelin/AccessControlUpgradeableLegacy.sol:58" + }, + { + "label": "__gap", + "offset": 0, + "slot": "102", + "type": "t_array(t_uint256)49_storage", + "contract": "AccessControlUpgradeableLegacy", + "src": "contracts/thirdparty/openzeppelin/AccessControlUpgradeableLegacy.sol:193" + }, + { + "label": "contractManager", + "offset": 0, + "slot": "151", + "type": "t_contract(IContractManager)6621", + "contract": "Permissions", + "src": "contracts/Permissions.sol:38" + }, + { + "label": "nodes", + "offset": 0, + "slot": "152", + "type": "t_array(t_struct(Node)6850_storage)dyn_storage", + "contract": "Nodes", + "src": "contracts/Nodes.sol:66" + }, + { + "label": "spaceOfNodes", + "offset": 0, + "slot": "153", + "type": "t_array(t_struct(SpaceManaging)6862_storage)dyn_storage", + "contract": "Nodes", + "src": "contracts/Nodes.sol:68" + }, + { + "label": "nodeIndexes", + "offset": 0, + "slot": "154", + "type": "t_mapping(t_address,t_struct(CreatedNodes)6857_storage)", + "contract": "Nodes", + "src": "contracts/Nodes.sol:71" + }, + { + "label": "nodesIPCheck", + "offset": 0, + "slot": "155", + "type": "t_mapping(t_bytes4,t_bool)", + "contract": "Nodes", + "src": "contracts/Nodes.sol:73" + }, + { + "label": "nodesNameCheck", + "offset": 0, + "slot": "156", + "type": "t_mapping(t_bytes32,t_bool)", + "contract": "Nodes", + "src": "contracts/Nodes.sol:75" + }, + { + "label": "nodesNameToIndex", + "offset": 0, + "slot": "157", + "type": "t_mapping(t_bytes32,t_uint256)", + "contract": "Nodes", + "src": "contracts/Nodes.sol:77" + }, + { + "label": "spaceToNodes", + "offset": 0, + "slot": "158", + "type": "t_mapping(t_uint8,t_array(t_uint256)dyn_storage)", + "contract": "Nodes", + "src": "contracts/Nodes.sol:79" + }, + { + "label": "validatorToNodeIndexes", + "offset": 0, + "slot": "159", + "type": "t_mapping(t_uint256,t_array(t_uint256)dyn_storage)", + "contract": "Nodes", + "src": "contracts/Nodes.sol:81" + }, + { + "label": "numberOfActiveNodes", + "offset": 0, + "slot": "160", + "type": "t_uint256", + "contract": "Nodes", + "src": "contracts/Nodes.sol:83" + }, + { + "label": "numberOfLeavingNodes", + "offset": 0, + "slot": "161", + "type": "t_uint256", + "contract": "Nodes", + "src": "contracts/Nodes.sol:84" + }, + { + "label": "numberOfLeftNodes", + "offset": 0, + "slot": "162", + "type": "t_uint256", + "contract": "Nodes", + "src": "contracts/Nodes.sol:85" + }, + { + "label": "domainNames", + "offset": 0, + "slot": "163", + "type": "t_mapping(t_uint256,t_string_storage)", + "contract": "Nodes", + "src": "contracts/Nodes.sol:87" + }, + { + "label": "_invisible", + "offset": 0, + "slot": "164", + "type": "t_mapping(t_uint256,t_bool)", + "contract": "Nodes", + "src": "contracts/Nodes.sol:89" + }, + { + "label": "_nodesAmountBySpace", + "offset": 0, + "slot": "165", + "type": "t_struct(Tree)38994_storage", + "contract": "Nodes", + "src": "contracts/Nodes.sol:91" + }, + { + "label": "incompliant", + "offset": 0, + "slot": "166", + "type": "t_mapping(t_uint256,t_bool)", + "contract": "Nodes", + "src": "contracts/Nodes.sol:93" + }, + { + "label": "nodeExtras", + "offset": 0, + "slot": "167", + "type": "t_mapping(t_uint256,t_struct(NodeExtras)6882_storage)", + "contract": "Nodes", + "src": "contracts/Nodes.sol:95" + } + ], + "types": { + "t_address": { + "label": "address", + "numberOfBytes": "20" + }, + "t_array(t_bytes32)2_storage": { + "label": "bytes32[2]", + "numberOfBytes": "64" + }, + "t_array(t_bytes32)dyn_storage": { + "label": "bytes32[]", + "numberOfBytes": "32" + }, + "t_array(t_struct(Node)6850_storage)dyn_storage": { + "label": "struct INodes.Node[]", + "numberOfBytes": "32" + }, + "t_array(t_struct(SpaceManaging)6862_storage)dyn_storage": { + "label": "struct INodes.SpaceManaging[]", + "numberOfBytes": "32" + }, + "t_array(t_uint256)49_storage": { + "label": "uint256[49]", + "numberOfBytes": "1568" + }, + "t_array(t_uint256)50_storage": { + "label": "uint256[50]", + "numberOfBytes": "1600" + }, + "t_array(t_uint256)dyn_storage": { + "label": "uint256[]", + "numberOfBytes": "32" + }, + "t_bool": { + "label": "bool", + "numberOfBytes": "1" + }, + "t_bytes32": { + "label": "bytes32", + "numberOfBytes": "32" + }, + "t_bytes4": { + "label": "bytes4", + "numberOfBytes": "4" + }, + "t_contract(IContractManager)6621": { + "label": "contract IContractManager", + "numberOfBytes": "20" + }, + "t_enum(NodeStatus)6826": { + "label": "enum INodes.NodeStatus", + "members": [ + "Active", + "Leaving", + "Left", + "In_Maintenance" + ], + "numberOfBytes": "1" + }, + "t_mapping(t_address,t_struct(CreatedNodes)6857_storage)": { + "label": "mapping(address => struct INodes.CreatedNodes)", + "numberOfBytes": "32" + }, + "t_mapping(t_bytes32,t_bool)": { + "label": "mapping(bytes32 => bool)", + "numberOfBytes": "32" + }, + "t_mapping(t_bytes32,t_struct(RoleData)36914_storage)": { + "label": "mapping(bytes32 => struct AccessControlUpgradeableLegacy.RoleData)", + "numberOfBytes": "32" + }, + "t_mapping(t_bytes32,t_uint256)": { + "label": "mapping(bytes32 => uint256)", + "numberOfBytes": "32" + }, + "t_mapping(t_bytes4,t_bool)": { + "label": "mapping(bytes4 => bool)", + "numberOfBytes": "32" + }, + "t_mapping(t_uint256,t_array(t_uint256)dyn_storage)": { + "label": "mapping(uint256 => uint256[])", + "numberOfBytes": "32" + }, + "t_mapping(t_uint256,t_bool)": { + "label": "mapping(uint256 => bool)", + "numberOfBytes": "32" + }, + "t_mapping(t_uint256,t_string_storage)": { + "label": "mapping(uint256 => string)", + "numberOfBytes": "32" + }, + "t_mapping(t_uint256,t_struct(NodeExtras)6882_storage)": { + "label": "mapping(uint256 => struct INodes.NodeExtras)", + "numberOfBytes": "32" + }, + "t_mapping(t_uint8,t_array(t_uint256)dyn_storage)": { + "label": "mapping(uint8 => uint256[])", + "numberOfBytes": "32" + }, + "t_string_storage": { + "label": "string", + "numberOfBytes": "32" + }, + "t_struct(AddressSet)4105_storage": { + "label": "struct EnumerableSetUpgradeable.AddressSet", + "members": [ + { + "label": "_inner", + "type": "t_struct(Set)3790_storage", + "offset": 0, + "slot": "0" + } + ], + "numberOfBytes": "64" + }, + "t_struct(CreatedNodes)6857_storage": { + "label": "struct INodes.CreatedNodes", + "members": [ + { + "label": "isNodeExist", + "type": "t_mapping(t_uint256,t_bool)", + "offset": 0, + "slot": "0" + }, + { + "label": "numberOfNodes", + "type": "t_uint256", + "offset": 0, + "slot": "1" + } + ], + "numberOfBytes": "64" + }, + "t_struct(Node)6850_storage": { + "label": "struct INodes.Node", + "members": [ + { + "label": "name", + "type": "t_string_storage", + "offset": 0, + "slot": "0" + }, + { + "label": "ip", + "type": "t_bytes4", + "offset": 0, + "slot": "1" + }, + { + "label": "publicIP", + "type": "t_bytes4", + "offset": 4, + "slot": "1" + }, + { + "label": "port", + "type": "t_uint16", + "offset": 8, + "slot": "1" + }, + { + "label": "publicKey", + "type": "t_array(t_bytes32)2_storage", + "offset": 0, + "slot": "2" + }, + { + "label": "startBlock", + "type": "t_uint256", + "offset": 0, + "slot": "4" + }, + { + "label": "lastRewardDate", + "type": "t_uint256", + "offset": 0, + "slot": "5" + }, + { + "label": "finishTime", + "type": "t_uint256", + "offset": 0, + "slot": "6" + }, + { + "label": "status", + "type": "t_enum(NodeStatus)6826", + "offset": 0, + "slot": "7" + }, + { + "label": "validatorId", + "type": "t_uint256", + "offset": 0, + "slot": "8" + } + ], + "numberOfBytes": "288" + }, + "t_struct(NodeExtras)6882_storage": { + "label": "struct INodes.NodeExtras", + "members": [ + { + "label": "lastChangeIpTime", + "type": "t_uint256", + "offset": 0, + "slot": "0" + } + ], + "numberOfBytes": "32" + }, + "t_struct(RoleData)36914_storage": { + "label": "struct AccessControlUpgradeableLegacy.RoleData", + "members": [ + { + "label": "members", + "type": "t_struct(AddressSet)4105_storage", + "offset": 0, + "slot": "0" + }, + { + "label": "adminRole", + "type": "t_bytes32", + "offset": 0, + "slot": "2" + } + ], + "numberOfBytes": "96" + }, + "t_struct(Set)3790_storage": { + "label": "struct EnumerableSetUpgradeable.Set", + "members": [ + { + "label": "_values", + "type": "t_array(t_bytes32)dyn_storage", + "offset": 0, + "slot": "0" + }, + { + "label": "_indexes", + "type": "t_mapping(t_bytes32,t_uint256)", + "offset": 0, + "slot": "1" + } + ], + "numberOfBytes": "64" + }, + "t_struct(SpaceManaging)6862_storage": { + "label": "struct INodes.SpaceManaging", + "members": [ + { + "label": "freeSpace", + "type": "t_uint8", + "offset": 0, + "slot": "0" + }, + { + "label": "indexInSpaceMap", + "type": "t_uint256", + "offset": 0, + "slot": "1" + } + ], + "numberOfBytes": "64" + }, + "t_struct(Tree)38994_storage": { + "label": "struct SegmentTree.Tree", + "members": [ + { + "label": "tree", + "type": "t_array(t_uint256)dyn_storage", + "offset": 0, + "slot": "0" + } + ], + "numberOfBytes": "32" + }, + "t_uint16": { + "label": "uint16", + "numberOfBytes": "2" + }, + "t_uint256": { + "label": "uint256", + "numberOfBytes": "32" + }, + "t_uint8": { + "label": "uint8", + "numberOfBytes": "1" + } + } + } + }, + "5a61fb7006c8c7c134c749334443988e5a96e74a6529096b093d98a1930bb417": { + "address": "0x6D794AE701F9e4A290a843f66005233a98f2154B", + "txHash": "0xe9df70651c17b4e7f36208bf906c686d6122c41cb93566e6140be093d056e5e4", + "layout": { + "solcVersion": "0.8.17", + "storage": [ + { + "label": "_initialized", + "offset": 0, + "slot": "0", + "type": "t_uint8", + "contract": "Initializable", + "src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:63", + "retypedFrom": "bool" + }, + { + "label": "_initializing", + "offset": 1, + "slot": "0", + "type": "t_bool", + "contract": "Initializable", + "src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:68" + }, + { + "label": "______gap", + "offset": 0, + "slot": "1", + "type": "t_array(t_uint256)50_storage", + "contract": "InitializableWithGap", + "src": "contracts/thirdparty/openzeppelin/InitializableWithGap.sol:9" + }, + { + "label": "__gap", + "offset": 0, + "slot": "51", + "type": "t_array(t_uint256)50_storage", + "contract": "ContextUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol:36" + }, + { + "label": "_roles", + "offset": 0, + "slot": "101", + "type": "t_mapping(t_bytes32,t_struct(RoleData)36914_storage)", + "contract": "AccessControlUpgradeableLegacy", + "src": "contracts/thirdparty/openzeppelin/AccessControlUpgradeableLegacy.sol:58" + }, + { + "label": "__gap", + "offset": 0, + "slot": "102", + "type": "t_array(t_uint256)49_storage", + "contract": "AccessControlUpgradeableLegacy", + "src": "contracts/thirdparty/openzeppelin/AccessControlUpgradeableLegacy.sol:193" + }, + { + "label": "contractManager", + "offset": 0, + "slot": "151", + "type": "t_contract(IContractManager)6621", + "contract": "Permissions", + "src": "contracts/Permissions.sol:38" + }, + { + "label": "channels", + "offset": 0, + "slot": "152", + "type": "t_mapping(t_bytes32,t_struct(Channel)7830_storage)", + "contract": "SkaleDKG", + "src": "contracts/SkaleDKG.sol:60" + }, + { + "label": "lastSuccessfulDKG", + "offset": 0, + "slot": "153", + "type": "t_mapping(t_bytes32,t_uint256)", + "contract": "SkaleDKG", + "src": "contracts/SkaleDKG.sol:62" + }, + { + "label": "dkgProcess", + "offset": 0, + "slot": "154", + "type": "t_mapping(t_bytes32,t_struct(ProcessDKG)7841_storage)", + "contract": "SkaleDKG", + "src": "contracts/SkaleDKG.sol:64" + }, + { + "label": "complaints", + "offset": 0, + "slot": "155", + "type": "t_mapping(t_bytes32,t_struct(ComplaintData)7855_storage)", + "contract": "SkaleDKG", + "src": "contracts/SkaleDKG.sol:66" + }, + { + "label": "startAlrightTimestamp", + "offset": 0, + "slot": "156", + "type": "t_mapping(t_bytes32,t_uint256)", + "contract": "SkaleDKG", + "src": "contracts/SkaleDKG.sol:68" + }, + { + "label": "hashedData", + "offset": 0, + "slot": "157", + "type": "t_mapping(t_bytes32,t_mapping(t_uint256,t_bytes32))", + "contract": "SkaleDKG", + "src": "contracts/SkaleDKG.sol:70" + }, + { + "label": "_badNodes", + "offset": 0, + "slot": "158", + "type": "t_mapping(t_bytes32,t_uint256)", + "contract": "SkaleDKG", + "src": "contracts/SkaleDKG.sol:72" + }, + { + "label": "pendingToBeReplaced", + "offset": 0, + "slot": "159", + "type": "t_mapping(t_bytes32,t_uint256)", + "contract": "SkaleDKG", + "src": "contracts/SkaleDKG.sol:74" + } + ], + "types": { + "t_array(t_bool)dyn_storage": { + "label": "bool[]", + "numberOfBytes": "32" + }, + "t_array(t_bytes32)dyn_storage": { + "label": "bytes32[]", + "numberOfBytes": "32" + }, + "t_array(t_uint256)49_storage": { + "label": "uint256[49]", + "numberOfBytes": "1568" + }, + "t_array(t_uint256)50_storage": { + "label": "uint256[50]", + "numberOfBytes": "1600" + }, + "t_bool": { + "label": "bool", + "numberOfBytes": "1" + }, + "t_bytes32": { + "label": "bytes32", + "numberOfBytes": "32" + }, + "t_contract(IContractManager)6621": { + "label": "contract IContractManager", + "numberOfBytes": "20" + }, + "t_mapping(t_bytes32,t_mapping(t_uint256,t_bytes32))": { + "label": "mapping(bytes32 => mapping(uint256 => bytes32))", + "numberOfBytes": "32" + }, + "t_mapping(t_bytes32,t_struct(Channel)7830_storage)": { + "label": "mapping(bytes32 => struct ISkaleDKG.Channel)", + "numberOfBytes": "32" + }, + "t_mapping(t_bytes32,t_struct(ComplaintData)7855_storage)": { + "label": "mapping(bytes32 => struct ISkaleDKG.ComplaintData)", + "numberOfBytes": "32" + }, + "t_mapping(t_bytes32,t_struct(ProcessDKG)7841_storage)": { + "label": "mapping(bytes32 => struct ISkaleDKG.ProcessDKG)", + "numberOfBytes": "32" + }, + "t_mapping(t_bytes32,t_struct(RoleData)36914_storage)": { + "label": "mapping(bytes32 => struct AccessControlUpgradeableLegacy.RoleData)", + "numberOfBytes": "32" + }, + "t_mapping(t_bytes32,t_uint256)": { + "label": "mapping(bytes32 => uint256)", + "numberOfBytes": "32" + }, + "t_mapping(t_uint256,t_bytes32)": { + "label": "mapping(uint256 => bytes32)", + "numberOfBytes": "32" + }, + "t_struct(AddressSet)4105_storage": { + "label": "struct EnumerableSetUpgradeable.AddressSet", + "members": [ + { + "label": "_inner", + "type": "t_struct(Set)3790_storage", + "offset": 0, + "slot": "0" + } + ], + "numberOfBytes": "64" + }, + "t_struct(Channel)7830_storage": { + "label": "struct ISkaleDKG.Channel", + "members": [ + { + "label": "active", + "type": "t_bool", + "offset": 0, + "slot": "0" + }, + { + "label": "n", + "type": "t_uint256", + "offset": 0, + "slot": "1" + }, + { + "label": "startedBlockTimestamp", + "type": "t_uint256", + "offset": 0, + "slot": "2" + }, + { + "label": "startedBlock", + "type": "t_uint256", + "offset": 0, + "slot": "3" + } + ], + "numberOfBytes": "128" + }, + "t_struct(ComplaintData)7855_storage": { + "label": "struct ISkaleDKG.ComplaintData", + "members": [ + { + "label": "nodeToComplaint", + "type": "t_uint256", + "offset": 0, + "slot": "0" + }, + { + "label": "fromNodeToComplaint", + "type": "t_uint256", + "offset": 0, + "slot": "1" + }, + { + "label": "startComplaintBlockTimestamp", + "type": "t_uint256", + "offset": 0, + "slot": "2" + }, + { + "label": "isResponse", + "type": "t_bool", + "offset": 0, + "slot": "3" + }, + { + "label": "keyShare", + "type": "t_bytes32", + "offset": 0, + "slot": "4" + }, + { + "label": "sumOfVerVec", + "type": "t_struct(G2Point)7821_storage", + "offset": 0, + "slot": "5" + } + ], + "numberOfBytes": "288" + }, + "t_struct(Fp2Point)7814_storage": { + "label": "struct ISkaleDKG.Fp2Point", + "members": [ + { + "label": "a", + "type": "t_uint256", + "offset": 0, + "slot": "0" + }, + { + "label": "b", + "type": "t_uint256", + "offset": 0, + "slot": "1" + } + ], + "numberOfBytes": "64" + }, + "t_struct(G2Point)7821_storage": { + "label": "struct ISkaleDKG.G2Point", + "members": [ + { + "label": "x", + "type": "t_struct(Fp2Point)7814_storage", + "offset": 0, + "slot": "0" + }, + { + "label": "y", + "type": "t_struct(Fp2Point)7814_storage", + "offset": 0, + "slot": "2" + } + ], + "numberOfBytes": "128" + }, + "t_struct(ProcessDKG)7841_storage": { + "label": "struct ISkaleDKG.ProcessDKG", + "members": [ + { + "label": "numberOfBroadcasted", + "type": "t_uint256", + "offset": 0, + "slot": "0" + }, + { + "label": "numberOfCompleted", + "type": "t_uint256", + "offset": 0, + "slot": "1" + }, + { + "label": "broadcasted", + "type": "t_array(t_bool)dyn_storage", + "offset": 0, + "slot": "2" + }, + { + "label": "completed", + "type": "t_array(t_bool)dyn_storage", + "offset": 0, + "slot": "3" + } + ], + "numberOfBytes": "128" + }, + "t_struct(RoleData)36914_storage": { + "label": "struct AccessControlUpgradeableLegacy.RoleData", + "members": [ + { + "label": "members", + "type": "t_struct(AddressSet)4105_storage", + "offset": 0, + "slot": "0" + }, + { + "label": "adminRole", + "type": "t_bytes32", + "offset": 0, + "slot": "2" + } + ], + "numberOfBytes": "96" + }, + "t_struct(Set)3790_storage": { + "label": "struct EnumerableSetUpgradeable.Set", + "members": [ + { + "label": "_values", + "type": "t_array(t_bytes32)dyn_storage", + "offset": 0, + "slot": "0" + }, + { + "label": "_indexes", + "type": "t_mapping(t_bytes32,t_uint256)", + "offset": 0, + "slot": "1" + } + ], + "numberOfBytes": "64" + }, + "t_uint256": { + "label": "uint256", + "numberOfBytes": "32" + }, + "t_uint8": { + "label": "uint8", + "numberOfBytes": "1" + } + } + } } } } diff --git a/DEPLOYED b/DEPLOYED index 75ed4e22..c3ece4ab 100644 --- a/DEPLOYED +++ b/DEPLOYED @@ -1 +1 @@ -1.10.0-stable.0 +1.11.0-stable.0 diff --git a/migrations/upgrade.ts b/migrations/upgrade.ts index b315b321..6fa8a233 100644 --- a/migrations/upgrade.ts +++ b/migrations/upgrade.ts @@ -58,7 +58,7 @@ class SkaleManagerUpgrader extends Upgrader { async function main() { const upgrader = new SkaleManagerUpgrader( - "1.10.0", + "1.11.0", await getSkaleManagerAbiAndAddresses(), contracts, ); diff --git a/package.json b/package.json index 45079720..0072222c 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,7 @@ "@openzeppelin/contracts": "^4.9.3", "@openzeppelin/contracts-upgradeable": "^4.9.6", "@openzeppelin/hardhat-upgrades": "^1.14.0", - "@skalenetwork/skale-manager-interfaces": "^3.0.0-develop.2", + "@skalenetwork/skale-manager-interfaces": "3.1.0", "@skalenetwork/upgrade-tools": "^2.0.1", "@typechain/hardhat": "^7.0.0", "dotenv": "^16.3.1", @@ -54,7 +54,7 @@ }, "devDependencies": { "@nomicfoundation/hardhat-chai-matchers": "<2.0.0", - "@nomiclabs/hardhat-etherscan": "^3.1.0", + "@nomiclabs/hardhat-etherscan": "^3.1.8", "@typechain/ethers-v5": "^11.1.1", "@types/chai": "^4.3.6", "@types/chai-almost": "^1.0.1", @@ -82,7 +82,7 @@ "solidity-docgen": "^0.5.17", "ts-generator": "^0.1.1", "ts-node": "10.9.1", - "typechain": "^8.3.1", + "typechain": "^8.3.2", "typescript": "5.2.2" } } diff --git a/scripts/calculate_version.sh b/scripts/calculate_version.sh old mode 100644 new mode 100755 index 3b4e33fa..dcf8e030 --- a/scripts/calculate_version.sh +++ b/scripts/calculate_version.sh @@ -23,11 +23,29 @@ fi git fetch --tags > /dev/null +KNOWN_BRANCHES=('stable' 'release-candidate' 'beta') +# Everything else will be marked as 'develop' + +declare -A SUFFIXES=( + ['release-candidate']='rc' +) + +if [[ ! "${KNOWN_BRANCHES[@]}" =~ "$BRANCH" ]] +then + BRANCH='develop' +fi + +SUFFIX=$BRANCH +if [[ -n "${SUFFIXES[$BRANCH]}" ]] +then + SUFFIX="${SUFFIXES[$BRANCH]}" +fi + for (( NUMBER=0; ; NUMBER++ )) do - FULL_VERSION="$VERSION-$BRANCH.$NUMBER" + FULL_VERSION="$VERSION-$SUFFIX.$NUMBER" if ! [[ $(git tag -l | grep $FULL_VERSION) ]]; then echo "$FULL_VERSION" | tr / - break fi -done \ No newline at end of file +done diff --git a/yarn.lock b/yarn.lock index b0a384b3..beaedff6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -556,7 +556,7 @@ "@ethersproject/properties" ">=5.0.0-beta.131" "@ethersproject/strings" ">=5.0.0-beta.130" -"@ethersproject/abi@5.7.0", "@ethersproject/abi@^5.0.9", "@ethersproject/abi@^5.6.3", "@ethersproject/abi@^5.7.0": +"@ethersproject/abi@5.7.0", "@ethersproject/abi@^5.0.9", "@ethersproject/abi@^5.1.2", "@ethersproject/abi@^5.5.0", "@ethersproject/abi@^5.6.3", "@ethersproject/abi@^5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/abi/-/abi-5.7.0.tgz#b3f3e045bbbeed1af3947335c247ad625a44e449" integrity sha512-351ktp42TiRcYB3H1OP8yajPeAQstMW/yCFokj/AthP9bLHzQFPlOrxOcwYEDkUAICmOHljvN4K39OMTMUa9RA== @@ -571,21 +571,6 @@ "@ethersproject/properties" "^5.7.0" "@ethersproject/strings" "^5.7.0" -"@ethersproject/abi@^5.1.2", "@ethersproject/abi@^5.5.0": - version "5.5.0" - resolved "https://registry.yarnpkg.com/@ethersproject/abi/-/abi-5.5.0.tgz#fb52820e22e50b854ff15ce1647cc508d6660613" - integrity sha512-loW7I4AohP5KycATvc0MgujU6JyCHPqHdeoo9z3Nr9xEiNioxa65ccdm1+fsoJhkuhdRtfcL8cfyGamz2AxZ5w== - dependencies: - "@ethersproject/address" "^5.5.0" - "@ethersproject/bignumber" "^5.5.0" - "@ethersproject/bytes" "^5.5.0" - "@ethersproject/constants" "^5.5.0" - "@ethersproject/hash" "^5.5.0" - "@ethersproject/keccak256" "^5.5.0" - "@ethersproject/logger" "^5.5.0" - "@ethersproject/properties" "^5.5.0" - "@ethersproject/strings" "^5.5.0" - "@ethersproject/abstract-provider@5.7.0", "@ethersproject/abstract-provider@^5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/abstract-provider/-/abstract-provider-5.7.0.tgz#b0a8550f88b6bf9d51f90e4795d48294630cb9ef" @@ -634,7 +619,7 @@ "@ethersproject/logger" "^5.5.0" "@ethersproject/properties" "^5.5.0" -"@ethersproject/address@5.7.0", "@ethersproject/address@^5.7.0": +"@ethersproject/address@5.7.0", "@ethersproject/address@>=5.0.0-beta.128", "@ethersproject/address@^5.0.2", "@ethersproject/address@^5.5.0", "@ethersproject/address@^5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/address/-/address-5.7.0.tgz#19b56c4d74a3b0a46bfdbb6cfcc0a153fc697f37" integrity sha512-9wYhYt7aghVGo758POM5nqcOMaE168Q6aRLJZwUmiqSrAungkG74gSSeKEIR7ukixesdRZGPgVqme6vmxs1fkA== @@ -645,17 +630,6 @@ "@ethersproject/logger" "^5.7.0" "@ethersproject/rlp" "^5.7.0" -"@ethersproject/address@>=5.0.0-beta.128", "@ethersproject/address@^5.0.2", "@ethersproject/address@^5.5.0": - version "5.5.0" - resolved "https://registry.yarnpkg.com/@ethersproject/address/-/address-5.5.0.tgz#bcc6f576a553f21f3dd7ba17248f81b473c9c78f" - integrity sha512-l4Nj0eWlTUh6ro5IbPTgbpT4wRbdH5l8CQf7icF7sb/SI3Nhd9Y9HzhonTSTi6CefI0necIw7LJqQPopPLZyWw== - dependencies: - "@ethersproject/bignumber" "^5.5.0" - "@ethersproject/bytes" "^5.5.0" - "@ethersproject/keccak256" "^5.5.0" - "@ethersproject/logger" "^5.5.0" - "@ethersproject/rlp" "^5.5.0" - "@ethersproject/base64@5.7.0", "@ethersproject/base64@^5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/base64/-/base64-5.7.0.tgz#ac4ee92aa36c1628173e221d0d01f53692059e1c" @@ -755,7 +729,7 @@ "@ethersproject/properties" "^5.7.0" "@ethersproject/strings" "^5.7.0" -"@ethersproject/hash@>=5.0.0-beta.128", "@ethersproject/hash@^5.5.0": +"@ethersproject/hash@>=5.0.0-beta.128": version "5.5.0" resolved "https://registry.yarnpkg.com/@ethersproject/hash/-/hash-5.5.0.tgz#7cee76d08f88d1873574c849e0207dcb32380cc9" integrity sha512-dnGVpK1WtBjmnp3mUT0PlU2MpapnwWI0PibldQEq1408tQBAbZpPidkWoVVuNMOl/lISO3+4hXZWCL3YV7qzfg== @@ -1369,10 +1343,10 @@ resolved "https://registry.yarnpkg.com/@nomiclabs/hardhat-ethers/-/hardhat-ethers-2.2.3.tgz#b41053e360c31a32c2640c9a45ee981a7e603fe0" integrity sha512-YhzPdzb612X591FOe68q+qXVXGG2ANZRvDo0RRUtimev85rCrAlv/TLMEZw5c+kq9AbzocLTVX/h2jVIFPL9Xg== -"@nomiclabs/hardhat-etherscan@^3.1.0": - version "3.1.7" - resolved "https://registry.yarnpkg.com/@nomiclabs/hardhat-etherscan/-/hardhat-etherscan-3.1.7.tgz#72e3d5bd5d0ceb695e097a7f6f5ff6fcbf062b9a" - integrity sha512-tZ3TvSgpvsQ6B6OGmo1/Au6u8BrAkvs1mIC/eURA3xgIfznUZBhmpne8hv7BXUzw9xNL3fXdpOYgOQlVMTcoHQ== +"@nomiclabs/hardhat-etherscan@^3.1.8": + version "3.1.8" + resolved "https://registry.yarnpkg.com/@nomiclabs/hardhat-etherscan/-/hardhat-etherscan-3.1.8.tgz#3c12ee90b3733e0775e05111146ef9418d4f5a38" + integrity sha512-v5F6IzQhrsjHh6kQz4uNrym49brK9K5bYCq2zQZ729RYRaifI9hHbtmK+KkIVevfhut7huQFEQ77JLRMAzWYjQ== dependencies: "@ethersproject/abi" "^5.1.2" "@ethersproject/address" "^5.0.2" @@ -1755,10 +1729,10 @@ dependencies: "@sinonjs/commons" "^1.7.0" -"@skalenetwork/skale-manager-interfaces@^3.0.0-develop.2": - version "3.0.0-develop.2" - resolved "https://registry.yarnpkg.com/@skalenetwork/skale-manager-interfaces/-/skale-manager-interfaces-3.0.0-develop.2.tgz#100508cda8a675b62a28a76c7e526617240ffd0c" - integrity sha512-ua92l+QAfPymtWn8lLpoFUyZ1t4I5ae1RCHEU96aSfkA6hVqxiXCRXJzbcDJR0HPtvOmbgF/iKc/LXtCEe9rvA== +"@skalenetwork/skale-manager-interfaces@3.1.0": + version "3.1.0" + resolved "https://registry.yarnpkg.com/@skalenetwork/skale-manager-interfaces/-/skale-manager-interfaces-3.1.0.tgz#e97750462b1dafa9eee1c347802d5405afc9474f" + integrity sha512-lVJM6nRfIrlwRy7N009jGCZa5nDJo2/QMrKN0A2nRz/sqT8wWlOQUeDKrJ1mC5Esdbzhya6T6hTiZbN2yNwcRg== "@skalenetwork/upgrade-tools@^2.0.1": version "2.0.1" @@ -2454,6 +2428,15 @@ arraybuffer.prototype.slice@^1.0.1: is-array-buffer "^3.0.2" is-shared-array-buffer "^1.0.2" +asn1.js@^4.10.1: + version "4.10.1" + resolved "https://registry.yarnpkg.com/asn1.js/-/asn1.js-4.10.1.tgz#b9c2bf5805f1e64aadeed6df3a2bfafb5a73f5a0" + integrity sha512-p32cOF5q0Zqs9uBiONKYLm6BClCoBCM5O9JfeUSlnQLBTxYdTK+pW+nXflm8UkKd2UYlEbYz5qEi0JuZR9ckSw== + dependencies: + bn.js "^4.0.0" + inherits "^2.0.1" + minimalistic-assert "^1.0.0" + asn1.js@^5.2.0: version "5.4.1" resolved "https://registry.yarnpkg.com/asn1.js/-/asn1.js-5.4.1.tgz#11a980b84ebb91781ce35b0fdc2ee294e3783f07" @@ -3207,7 +3190,7 @@ bn.js@^4.0.0, bn.js@^4.1.0, bn.js@^4.10.0, bn.js@^4.11.0, bn.js@^4.11.6, bn.js@^ resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.12.0.tgz#775b3f278efbb9718eec7361f483fb36fbbfea88" integrity sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA== -bn.js@^5.0.0, bn.js@^5.1.1, bn.js@^5.1.2, bn.js@^5.2.0: +bn.js@^5.0.0, bn.js@^5.1.2, bn.js@^5.2.0: version "5.2.0" resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-5.2.0.tgz#358860674396c6997771a9d051fcc1b57d4ae002" integrity sha512-D7iWRBvnZE8ecXiLj/9wbxH7Tk79fAh8IHaTNq1RWRixsS02W+5qS+iE9yq6RYl0asXx5tw0bLhmT5pIfbSquw== @@ -3340,7 +3323,7 @@ browserify-des@^1.0.0: inherits "^2.0.1" safe-buffer "^5.1.2" -browserify-rsa@^4.0.0, browserify-rsa@^4.0.1: +browserify-rsa@^4.0.0, browserify-rsa@^4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/browserify-rsa/-/browserify-rsa-4.1.0.tgz#b2fd06b5b75ae297f7ce2dc651f918f5be158c8d" integrity sha512-AdEER0Hkspgno2aR97SAf6vi0y0k8NuOpGnVH3O99rcA5Q6sh8QxcngtHuJ6uXwnfAXNM4Gn1Gb7/MV1+Ymbog== @@ -3349,19 +3332,20 @@ browserify-rsa@^4.0.0, browserify-rsa@^4.0.1: randombytes "^2.0.1" browserify-sign@^4.0.0: - version "4.2.1" - resolved "https://registry.yarnpkg.com/browserify-sign/-/browserify-sign-4.2.1.tgz#eaf4add46dd54be3bb3b36c0cf15abbeba7956c3" - integrity sha512-/vrA5fguVAKKAVTNJjgSm1tRQDHUU6DbwO9IROu/0WAzC8PKhucDSh18J0RMvVeHAn5puMd+QHC2erPRNf8lmg== + version "4.2.3" + resolved "https://registry.yarnpkg.com/browserify-sign/-/browserify-sign-4.2.3.tgz#7afe4c01ec7ee59a89a558a4b75bd85ae62d4208" + integrity sha512-JWCZW6SKhfhjJxO8Tyiiy+XYB7cqd2S5/+WeYHsKdNKFlCBhKbblba1A/HN/90YwtxKc8tCErjffZl++UNmGiw== dependencies: - bn.js "^5.1.1" - browserify-rsa "^4.0.1" + bn.js "^5.2.1" + browserify-rsa "^4.1.0" create-hash "^1.2.0" create-hmac "^1.1.7" - elliptic "^6.5.3" + elliptic "^6.5.5" + hash-base "~3.0" inherits "^2.0.4" - parse-asn1 "^5.1.5" - readable-stream "^3.6.0" - safe-buffer "^5.2.0" + parse-asn1 "^5.1.7" + readable-stream "^2.3.8" + safe-buffer "^5.2.1" browserslist@^3.2.6: version "3.2.8" @@ -4562,9 +4546,9 @@ ee-first@1.1.1: integrity sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0= ejs@^3.1.8: - version "3.1.9" - resolved "https://registry.yarnpkg.com/ejs/-/ejs-3.1.9.tgz#03c9e8777fe12686a9effcef22303ca3d8eeb361" - integrity sha512-rC+QVNMJWv+MtPgkt0y+0rVEIdbtxVADApW9JXrUVlzHetgcyczP/E7DJmWJ4fJCZF2cPcBk0laWO9ZHMG3DmQ== + version "3.1.10" + resolved "https://registry.yarnpkg.com/ejs/-/ejs-3.1.10.tgz#69ab8358b14e896f80cc39e62087b88500c3ac3b" + integrity sha512-UeJmFfOrAQS8OJWPZ4qtgHyWExa088/MtK5UEyoJGFH67cDEXkZSviOiKRCZ4Xij0zxI3JECgYs3oKx+AizQBA== dependencies: jake "^10.8.5" @@ -4586,6 +4570,19 @@ elliptic@6.5.4, elliptic@^6.4.0, elliptic@^6.5.2, elliptic@^6.5.3, elliptic@^6.5 minimalistic-assert "^1.0.1" minimalistic-crypto-utils "^1.0.1" +elliptic@^6.5.5: + version "6.5.5" + resolved "https://registry.yarnpkg.com/elliptic/-/elliptic-6.5.5.tgz#c715e09f78b6923977610d4c2346d6ce22e6dded" + integrity sha512-7EjbcmUm17NQFu4Pmgmq2olYMj8nwMnpcddByChSUjArp8F5DQWcIcpriwO4ZToLNAJig0yiyjswfyGNje/ixw== + dependencies: + bn.js "^4.11.9" + brorand "^1.1.0" + hash.js "^1.0.0" + hmac-drbg "^1.0.1" + inherits "^2.0.4" + minimalistic-assert "^1.0.1" + minimalistic-crypto-utils "^1.0.1" + emoji-regex@^7.0.1: version "7.0.3" resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-7.0.3.tgz#933a04052860c85e83c122479c4748a8e4c72156" @@ -6519,6 +6516,14 @@ hash-base@^3.0.0: readable-stream "^3.6.0" safe-buffer "^5.2.0" +hash-base@~3.0: + version "3.0.4" + resolved "https://registry.yarnpkg.com/hash-base/-/hash-base-3.0.4.tgz#5fc8686847ecd73499403319a6b0a3f3f6ae4918" + integrity sha512-EeeoJKjTyt868liAlVmcv2ZsUfGHlE3Q+BICOXcZiwN3osr5Q/zFGYmTJpoIzuaSTAwndFy+GqhEwlU4L3j4Ow== + dependencies: + inherits "^2.0.1" + safe-buffer "^5.0.1" + hash.js@1.1.7, hash.js@^1.0.0, hash.js@^1.0.3, hash.js@^1.1.7: version "1.1.7" resolved "https://registry.yarnpkg.com/hash.js/-/hash.js-1.1.7.tgz#0babca538e8d4ee4a0f8988d68866537a003cf42" @@ -8771,7 +8776,7 @@ parent-module@^2.0.0: dependencies: callsites "^3.1.0" -parse-asn1@^5.0.0, parse-asn1@^5.1.5: +parse-asn1@^5.0.0: version "5.1.6" resolved "https://registry.yarnpkg.com/parse-asn1/-/parse-asn1-5.1.6.tgz#385080a3ec13cb62a62d39409cb3e88844cdaed4" integrity sha512-RnZRo1EPU6JBnra2vGHj0yhp6ebyjBZpmUCLHWiFhxlzvBCCpAuZ7elsBp1PVAbQN0/04VD/19rfzlBSwLstMw== @@ -8782,6 +8787,18 @@ parse-asn1@^5.0.0, parse-asn1@^5.1.5: pbkdf2 "^3.0.3" safe-buffer "^5.1.1" +parse-asn1@^5.1.7: + version "5.1.7" + resolved "https://registry.yarnpkg.com/parse-asn1/-/parse-asn1-5.1.7.tgz#73cdaaa822125f9647165625eb45f8a051d2df06" + integrity sha512-CTM5kuWR3sx9IFamcl5ErfPl6ea/N8IYwiJ+vpeB2g+1iknv7zBl5uPwbMbRVznRVbrNY6lGuDoE5b30grmbqg== + dependencies: + asn1.js "^4.10.1" + browserify-aes "^1.2.0" + evp_bytestokey "^1.0.3" + hash-base "~3.0" + pbkdf2 "^3.1.2" + safe-buffer "^5.2.1" + parse-headers@^2.0.0: version "2.0.4" resolved "https://registry.yarnpkg.com/parse-headers/-/parse-headers-2.0.4.tgz#9eaf2d02bed2d1eff494331ce3df36d7924760bf" @@ -8930,7 +8947,7 @@ pathval@^1.1.1: resolved "https://registry.yarnpkg.com/pathval/-/pathval-1.1.1.tgz#8534e77a77ce7ac5a2512ea21e0fdb8fcf6c3d8d" integrity sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ== -pbkdf2@^3.0.17, pbkdf2@^3.0.3, pbkdf2@^3.0.9: +pbkdf2@^3.0.17, pbkdf2@^3.0.3, pbkdf2@^3.0.9, pbkdf2@^3.1.2: version "3.1.2" resolved "https://registry.yarnpkg.com/pbkdf2/-/pbkdf2-3.1.2.tgz#dd822aa0887580e52f1a039dc3eda108efae3075" integrity sha512-iuh7L6jA7JEGu2WxDwtQP1ddOpaJNC4KlDEFfdQajSGgGPNi4OyDc2R7QnbY2bR9QjBVGwgvTdNJZoE7RaxUMA== @@ -9013,12 +9030,7 @@ prepend-http@^2.0.0: resolved "https://registry.yarnpkg.com/prepend-http/-/prepend-http-2.0.0.tgz#e92434bfa5ea8c19f41cdfd401d741a3c819d897" integrity sha1-6SQ0v6XqjBn0HN/UAddBo8gZ2Jc= -prettier@^2.1.2: - version "2.5.1" - resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.5.1.tgz#fff75fa9d519c54cf0fce328c1017d94546bc56a" - integrity sha512-vBZcPRUR5MZJwoyi3ZoyQlc1rXeEck8KgeC9AwwOn+exuxLxq5toTRDTSaVrXHxelDMHy9zlicw8u66yxoSUFg== - -prettier@^2.3.1, prettier@^2.8.3: +prettier@^2.1.2, prettier@^2.3.1, prettier@^2.8.3: version "2.8.8" resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.8.tgz#e8c5d7e98a4305ffe3de2e1fc4aca1a71c28b1da" integrity sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q== @@ -9287,6 +9299,19 @@ readable-stream@^2.0.0, readable-stream@^2.0.5, readable-stream@^2.2.2, readable string_decoder "~1.1.1" util-deprecate "~1.0.1" +readable-stream@^2.3.8: + version "2.3.8" + resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.8.tgz#91125e8042bba1b9887f49345f6277027ce8be9b" + integrity sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA== + dependencies: + core-util-is "~1.0.0" + inherits "~2.0.3" + isarray "~1.0.0" + process-nextick-args "~2.0.0" + safe-buffer "~5.1.1" + string_decoder "~1.1.1" + util-deprecate "~1.0.1" + readable-stream@^3.0.6, readable-stream@^3.6.0: version "3.6.0" resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.6.0.tgz#337bbda3adc0706bd3e024426a286d4b4b2c9198" @@ -10792,10 +10817,10 @@ typechain@^3.0.0: ts-essentials "^6.0.3" ts-generator "^0.1.1" -typechain@^8.3.1: - version "8.3.1" - resolved "https://registry.yarnpkg.com/typechain/-/typechain-8.3.1.tgz#dccbc839b94877997536c356380eff7325395cfb" - integrity sha512-fA7clol2IP/56yq6vkMTR+4URF1nGjV82Wx6Rf09EsqD4tkzMAvEaqYxVFCavJm/1xaRga/oD55K+4FtuXwQOQ== +typechain@^8.3.2: + version "8.3.2" + resolved "https://registry.yarnpkg.com/typechain/-/typechain-8.3.2.tgz#1090dd8d9c57b6ef2aed3640a516bdbf01b00d73" + integrity sha512-x/sQYr5w9K7yv3es7jo4KTX05CLxOf7TRWwoHlrjRh8H82G64g+k7VuWPJlgMo6qrjfCulOdfBjiaDtmhFYD/Q== dependencies: "@types/prettier" "^2.1.1" debug "^4.3.1"