Skip to main content

Overview

The ZKScore Protocol Registry emits events for protocol registration, updates, data provider changes, and user integrations. These events enable real-time monitoring of the protocol ecosystem.
Monitor protocol events to stay updated on new integrations and ecosystem growth.

Protocol Events

ProtocolRegistered

Emitted when a new protocol is registered.
Parameters:
  • protocolId (uint256 indexed): Protocol identifier
  • name (string): Protocol name
  • protocolType (ProtocolType): Protocol type
Example Usage:

ProtocolUpdated

Emitted when protocol configuration is updated.

DataProviderAdded

Emitted when a data provider is added.

UserIntegrated

Emitted when a user integrates with a protocol.

Best Practices

  1. Monitor Registrations: Track new protocol additions
  2. Cache Data: Cache protocol metadata
  3. Filter Events: Use indexed parameters for filtering
  4. Analytics: Build analytics from event data