GGP: 0008 Scope: Smart Contracts Created: 2021-12-01 GIPs-Repo-Latest-Commit: 4ec06e9357c948829e72c3a4c9ed8bfc1d0d04ba
GIP: 0018 Title: Subgraph ownership transfer Authors: Ariel Barmat ariel@edgeandnode.com Created: 2021-09-25 Stage: Candidate Discussions-To: https://forum.thegraph.com/t/gip-0018-subgraph-ownership-transfer/2589
App developers create subgraphs to index blockchain data. Then, they want indexers to run their subgraphs in the decentralized network. To achieve that, they publish a Subgraph in the GNS that targets a Subgraph Deployment. Once they publish a subgraph, they work to attract curators that delegate signal to the Subgraph so that the app developer can properly incentivize indexers.
For many reasons, the app developer might want to transfer ownership of the subgraph to a different account, a valid use case, not possible with the current implementation.
The proposed implementation involves a number of changes to make it easier to manage a subgraph. In addition to that, it simplifies many of the contract interfaces. The following bullet points provide a summary of the implementation areas:
Details of the implementation are captured in the Implementations link.
Implementations: https://github.com/graphprotocol/contracts/pull/497
This proposal is to upgrade The Graph's protocol smart contracts running on Ethereum mainnet with the changes described in Graph Improvement Proposal (GIP) 0018, including the motivation and scope of the changes described in this proposal.
The code deployed that implements GIP-0018 must correspond to the commit hash included in the front matter of this governance proposal.
Following a successful "yes" vote, the protocol upgrade should be carried out at the earliest convenience using The Graph Council's Gnosis Multisig.