• © Goverland Inc. 2026
  • v1.0.5
  • Privacy Policy
  • Terms of Use
The Graph CouncilThe Graph Councilby0x7EbE5983FDA73749f94E39A215Cc80263A2803850x7EbE…0385

GGP 0008: Subgraph ownership transfer

Voting ended about 4 years agoSucceeded

GGP: 0008 Scope: Smart Contracts Created: 2021-12-01 GIPs-Repo-Latest-Commit: 4ec06e9357c948829e72c3a4c9ed8bfc1d0d04ba

GIPs

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

Motivation

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.

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:

  • Subgraph Primary Key
  • NFT-based Ownership
  • Interface Simplification
  • Remove Unused Functionality
  • Migration Facilities

Details of the implementation are captured in the Implementations link.

References

Implementations: https://github.com/graphprotocol/contracts/pull/497

Audit: https://github.com/graphprotocol/contracts/blob/4ec06e9357c948829e72c3a4c9ed8bfc1d0d04ba/audits/OpenZeppelin/2021-11-graph-gns-transferrable-owner.pdf


Graph Governance Proposal-0008

Subgraph ownership transfer

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.

Off-Chain Vote

Yes
6 100%
No
0 0%
Download mobile app to vote

Timeline

Dec 02, 2021Proposal created
Dec 02, 2021Proposal vote started
Dec 07, 2021Proposal vote ended
Oct 26, 2023Proposal updated