Skip to content

Commit acb71ff

Browse files
committed
Updates
1 parent 3ba7f52 commit acb71ff

File tree

1 file changed

+25
-7
lines changed

1 file changed

+25
-7
lines changed

website/pages/en/managing/deprecate-a-subgraph.mdx

Lines changed: 25 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,37 @@
22
title: Deprecate a Subgraph
33
---
44

5-
Although you cannot delete a subgraph, you can deprecate it on Graph Explorer.
5+
Delete and deprecate your subgraphs using [Subgraph Studio](https://thegraph.com/studio/).
66

7-
## Step-by-Step
7+
## Deleting Your Subgraph
88

9-
To deprecate your subgraph, do the following:
9+
> Deleting your subgraph will remove all published versions from The Graph Network. However, it will still be visible on Graph Explorer and Subgraph Studio for users who have signaled on it.
1010
11-
1. Visit the contract address for Arbitrum One subgraphs [here](https://arbiscan.io/address/0xec9A7fb6CbC2E41926127929c2dcE6e9c5D33Bec#writeProxyContract).
12-
2. Call `deprecateSubgraph` with your `SubgraphID` as your argument.
13-
3. Your subgraph will no longer appear in searches on Graph Explorer.
11+
### Step-by-Step
12+
13+
1. Visit your subgraph's page on Subgraph Studio.[insert image]
14+
2. Click on the three-dots to the right of the "publish" button. [insert image]
15+
3. Click on the option to "delete" your subgraph.[insert image]
16+
4. Depending on the subgraph's status, you will be prompted with various options.
17+
18+
- If the subgraph is not published, simply click “delete” and confirm.
19+
- If the subgraph is published, you will need to confirm on your wallet before the subgraph can be deleted from Studio. If a subgraph is published to multiple networks, such as testnet and mainnet, additional steps may be required.
20+
21+
> If the owner of the subgraph has signal on it, the signaled GRT will be returned to the owner.
22+
23+
Once you delete the subgraph, it will **not** be visible on Graph Explorer's homepage. However, it will be visible on the profile pages of users who have signaled on it, allowing them to remove their signal.
24+
25+
## Deprecating Your Subgraph
26+
27+
### Step-by-Step
28+
29+
1. Visit your subgraph's page on Subgraph Studio.
30+
2. Click on the three-dots to the right of the "publish" button.
31+
3. Click on the option to "deprecate" your subgraph.
32+
4. Your subgraph will no longer appear in searches on Graph Explorer.
1433

1534
## Reminders
1635

17-
- The owner's wallet should call the `deprecateSubgraph` function.
1836
- Curators will not be able to signal on the subgraph anymore.
1937
- Curators that already signaled on the subgraph can withdraw their signal at an average share price.
2038
- Deprecated subgraphs will show an error message.

0 commit comments

Comments
 (0)