Skip to content

Commit 9079dcd

Browse files
committed
wip
1 parent 8cf7e53 commit 9079dcd

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/contracts/core/ReleaseManagerStorage.sol

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,21 @@ abstract contract ReleaseManagerStorage is IReleaseManager {
1313

1414
// Mutables
1515

16+
/// @notice Maps operator set keys to their version history.
17+
/// @param operatorSetKey The key identifying the operator set.
18+
/// @return versions The set of version keys for this operator set.
1619
mapping(bytes32 operatorSetKey => EnumerableSet.Bytes32Set versions) internal _versions;
1720

21+
/// @notice Maps operator set and version keys to their release details.
22+
/// @param operatorSetKey The key identifying the operator set.
23+
/// @param versionKey The key identifying the version.
24+
/// @return release The release details including artifacts and deprecation time.
1825
mapping(bytes32 operatorSetKey => mapping(bytes32 versionKey => Release release)) internal _releases;
1926

27+
/// @notice Maps operator set keys and major versions to their upgrade deadlines.
28+
/// @param operatorSetKey The key identifying the operator set.
29+
/// @param major The major version number.
30+
/// @return upgradeByTime The timestamp by which operators must upgrade to this major version.
2031
mapping(bytes32 operatorSetKey => mapping(uint16 major => uint32 upgradeByTime)) internal _upgradeByTimes;
2132

2233
constructor(

0 commit comments

Comments
 (0)