Skip to content

Commit

Permalink
add data structure
Browse files Browse the repository at this point in the history
  • Loading branch information
mtabasco committed Apr 16, 2024
1 parent 3c12e52 commit 085a3b7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions contracts/libraries/SSVStorage.sol
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ struct StorageData {
IERC20 token;
/// @notice Counter keeping track of the last Operator ID issued
Counters.Counter lastOperatorId;
/// @notice Operators' whitelist: Maps each whitelisted address to a list of operators
/// @notice that are whitelisted for that address using bitmaps
/// @dev The nested mapping's key represents a uint256 slot to handle more than 256 operators per address
mapping(address => mapping(uint256 => uint256)) addressWhitelistedForOperators;
}

library SSVStorage {
Expand Down

0 comments on commit 085a3b7

Please sign in to comment.