GGP 0008: Subgraph ownership transfer
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
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.
| Voter | Cast Power | Vote & Rationale |
|---|---|---|
0xd201...0722aA | 1 | Yes |
0xB02c...6b80b0 | 1 | Yes |
0x7EbE...280385 | 1 | Yes |
0x4530...7ebA9A | 1 | Yes |
0x38FA...8d4Da8 | 1 | Yes |
VOTE POWER
Proposal Status
- Thu December 02 2021, 11:00 amVoting Period Starts
- Tue December 07 2021, 11:00 amEnd Voting Period
Current Results
1-Yes
6
