Skip to content

Feature: Accessibility the mapping for _operatorSets #1161

@gerceboss

Description

@gerceboss

Description

  • The mapping for registered operatorSets for an AVS must be accessible in order to find that if operator is registered for a particular avs.
  • The mapping is declared in AllocationManagerStorage.sol.
/// @dev Lists the operator set ids an AVS has created
    mapping(address avs => EnumerableSet.UintSet) internal _operatorSets;

Action Items

  • Add a function returning all the operatorSets(OperatorSet[] memory) for an avs in AllocationManager.sol
  • Change the interface IALlocationManager.sol accordingly

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions