The ZKScore Protocol Registry is a central registry that tracks integrated protocols, manages protocol metadata, and coordinates cross-protocol score aggregation. It enables seamless integration of new protocols and standardized data collection across the ZKScore ecosystem.
The Protocol Registry is the central coordination layer for all integrated protocols. Always register your protocol before contributing score data.
enum ProtocolType { DEFI, // Decentralized Finance NFT, // NFT and Digital Collectibles SOCIAL, // Social and Content TRADING, // Trading and Exchange GOVERNANCE, // DAO and Governance GAMING, // Gaming and Metaverse IDENTITY, // Identity and Verification INFRASTRUCTURE // Infrastructure and Tools}
// Role definitionsbytes32 public constant REGISTRAR_ROLE = keccak256("REGISTRAR_ROLE");bytes32 public constant PROVIDER_ROLE = keccak256("PROVIDER_ROLE");bytes32 public constant ADMIN_ROLE = keccak256("ADMIN_ROLE");