@@ -7,13 +7,13 @@ interface IAVSRegistrar {
77 * for one or more operator sets. This method should revert if registration
88 * is unsuccessful.
99 * @param operator the registering operator
10- * @param avsIdentifier the AVS the operator is registering for. This should be the same as IAVSRegistrar.avs()
10+ * @param avs the AVS the operator is registering for. This should be the same as IAVSRegistrar.avs()
1111 * @param operatorSetIds the list of operator set ids being registered for
1212 * @param data arbitrary data the operator can provide as part of registration
1313 */
1414 function registerOperator (
1515 address operator ,
16- address avsIdentifier ,
16+ address avs ,
1717 uint32 [] calldata operatorSetIds ,
1818 bytes calldata data
1919 ) external ;
@@ -22,15 +22,15 @@ interface IAVSRegistrar {
2222 * @notice Called by the AllocationManager when an operator is deregistered from
2323 * one or more operator sets. If this method reverts, it is ignored.
2424 * @param operator the deregistering operator
25- * @param avsIdentifier the AVS the operator is deregistering from. This should be the same as IAVSRegistrar.avs()
25+ * @param avs the AVS the operator is deregistering from. This should be the same as IAVSRegistrar.avs()
2626 * @param operatorSetIds the list of operator set ids being deregistered from
2727 */
28- function deregisterOperator (address operator , address avsIdentifier , uint32 [] calldata operatorSetIds ) external ;
28+ function deregisterOperator (address operator , address avs , uint32 [] calldata operatorSetIds ) external ;
2929
3030 /**
31- * @notice Returns the account identifier address of the AVS. This should be the
32- * the same address as the AVS's UAM account identifier address.
33- * @return address of the AVS
31+ * @notice Returns true if the AVS is supported by the registrar
32+ * @param avs the AVS to check
33+ * @return true if the AVS is supported, false otherwise
3434 */
35- function avs ( ) external view returns (address );
35+ function supportsAVS ( address avs ) external view returns (bool );
3636}
0 commit comments