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
- Monitor Registrations: Track new protocol additions
- Cache Data: Cache protocol metadata
- Filter Events: Use indexed parameters for filtering
- Analytics: Build analytics from event data