Skip to main content

GRT $0.01972 up 1.06% Market cap $217.6M

Subgraph ownership transfer

GGP-0008 · Council vote #8 on The Graph

Overview

Updated

Approved

Voting ended
Dec 7, 2021
Opened Dec 2, 2021
Submitted
Dec 2, 2021
Dec 2, 17:36 UTC
Members voted
6
One vote each, on Snapshot

Put to the Council by 0x7ebe59…0385

Votes

  • Yes 6 votes
  • No 0 votes

How BitBasic reads the result

  • Approved when more Council members chose Yes than No.
  • Each member has one vote, and Snapshot keeps a member's last.

Description

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.

How the Council voted

In the order they voted. Snapshot knows members by address only, so BitBasic doesn't name them.

Member Vote When
0x7ebe59…0385 Yes Dec 2, 19:57 UTC
0x37bc95…b391 Yes Dec 2, 21:35 UTC
0xb02ce5…80b0 Yes Dec 3, 07:45 UTC
0xd201c9…22aa Yes Dec 3, 13:32 UTC
0x4530af…ba9a Yes Dec 3, 17:33 UTC
0x38fa68…4da8 Yes Dec 6, 23:04 UTC