This document is the technical specification for the Subgraph Service on the Graph Horizon protocol, it describes the main functionality of each contract and provides some implementation guidelines. Worth noting that this document describes the end state for the protocol, intermediate stages like the transition period during the Horizon upgrade are not considered here.
The following is a list of all Subgraph Service contracts:
SubgraphService
: the main contract implementing subgraph data service functionality. It follows the Data Service framework. Delegates slashing capabilities to DisputeManager
DisputeManager
: used to manage dispute resolution. Delegates decision making to a permissioned arbitrator role.Additionally, the following contracts from the current version of the protocol will continue to be used. These are not described in this specification:
L2Curation
GNS
SubgraphNFT
RewardsManager
SubgraphService
contractDisputeManager
contract