@@ -34,18 +34,27 @@ abstract contract AVSDirectoryStorage is IAVSDirectory {
3434 /// @notice Mapping: avs => operator => OperatorAVSRegistrationStatus struct
3535 mapping (address => mapping (address => OperatorAVSRegistrationStatus)) public avsOperatorStatus;
3636
37- /// @notice Mapping: operator => salt => whether the salt has been used
37+ /// @notice Mapping: operator => salt => Whether the salt has been used or not.
3838 mapping (address => mapping (bytes32 => bool )) public operatorSaltIsSpent;
3939
40- /// @notice Mapping: avs => whether it is a an operator set AVS
40+ /// @notice Mapping: avs => Whether it is a an operator set AVS or not.
4141 mapping (address => bool ) public isOperatorSetAVS;
4242
43- /// @notice Mapping: avs => operatorSetId => whether the operatorSet exists
43+ /// @notice Mapping: avs => operatorSetId => Whether or not an operator set is valid.
4444 mapping (address => mapping (uint32 => bool )) public isOperatorSet;
4545
46- /// @notice Mapping: avs = operator => operatorSetId => whether the operator is a member of the operatorSet
46+ /// @notice Mapping: avs = operator => operatorSetId => Whether or not an operator is a member of an operator set.
4747 mapping (address => mapping (address => mapping (uint32 => bool ))) public isMember;
4848
49+ /// @notice Mapping: avs => operatorSetId => Total operators within the given operator set.
50+ mapping (address => mapping (uint32 => uint256 )) public operatorSetMemberCount;
51+
52+ /// @notice Mapping: avs => Total amount of operator sets created for a given AVS.
53+ mapping (address => uint256 ) public avsOperatorSetCount;
54+
55+ /// @notice Total amount of operators sets created.
56+ uint256 public operatorSetCount;
57+
4958 constructor (IDelegationManager _delegation ) {
5059 delegation = _delegation;
5160 }
@@ -55,5 +64,5 @@ abstract contract AVSDirectoryStorage is IAVSDirectory {
5564 * variables without shifting down storage in the inheritance chain.
5665 * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
5766 */
58- uint256 [43 ] private __gap;
67+ uint256 [40 ] private __gap;
5968}
0 commit comments