@@ -102,10 +102,10 @@ contract MasterBlueprintServiceManager is RootChainEnabled, AccessControl, Pausa
102102 /// @param operator The operator's preferences.
103103 event OperatorUnregistered (uint64 indexed blueprintId , ServiceOperators.OperatorPreferences operator );
104104
105- /// @dev Emitted when an operator updates their price targets .
105+ /// @dev Emitted when an operator updates their RPC address .
106106 /// @param blueprintId The unique identifier of the blueprint.
107107 /// @param operator The operator's updated preferences.
108- event PriceTargetsUpdated (uint64 indexed blueprintId , ServiceOperators.OperatorPreferences operator );
108+ event RpcAddressUpdated (uint64 indexed blueprintId , ServiceOperators.OperatorPreferences operator );
109109
110110 /// @dev Emitted when a service instance is requested from a blueprint.
111111 /// @param blueprintId The unique identifier of the blueprint.
@@ -301,10 +301,10 @@ contract MasterBlueprintServiceManager is RootChainEnabled, AccessControl, Pausa
301301 emit OperatorUnregistered (blueprintId, operator);
302302 }
303303
304- /// @dev Called when an operator updates their price targets .
305- /// @param blueprintId The blueprint unique identifier.
306- /// @param operator The operator's details with the updated price targets .
307- function onUpdatePriceTargets (
304+ /// @dev Hook to be called upon a new RPC address update on a blueprint .
305+ /// @param blueprintId The unique identifier of the blueprint .
306+ /// @param operator The operator's preferences .
307+ function onUpdateRpcAddress (
308308 uint64 blueprintId ,
309309 ServiceOperators.OperatorPreferences calldata operator
310310 )
@@ -314,8 +314,8 @@ contract MasterBlueprintServiceManager is RootChainEnabled, AccessControl, Pausa
314314 whenNotPaused
315315 {
316316 address manager = blueprints.get (blueprintId);
317- IBlueprintServiceManager (manager).onUpdatePriceTargets (operator);
318- emit PriceTargetsUpdated (blueprintId, operator);
317+ IBlueprintServiceManager (manager).onUpdateRpcAddress (operator);
318+ emit RpcAddressUpdated (blueprintId, operator);
319319 }
320320
321321 /// @dev Called when a user requests a service instance from the blueprint.
0 commit comments