Skip to content

Commit 26481c7

Browse files
committed
Edits
1 parent b9d5a1c commit 26481c7

File tree

1 file changed

+69
-27
lines changed

1 file changed

+69
-27
lines changed

website/pages/en/network/delegating.mdx

Lines changed: 69 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,23 @@
22
title: Delegating
33
---
44

5-
Delegators are network participants who delegate (i.e., "stake") GRT to one or more Indexers. Delegators help secure the network without running a Graph Node themselves.
5+
Delegators are network participants who delegate (i.e., "stake") GRT to one or more Indexers.
66

7-
Delegators earn a portion of an Indexer's query fees and rewards by delegating to them. The amount of queries an Indexer can process depends on their own stake, the delegated stake, and the price the Indexer charges for each query. Therefore, the more stake that is allocated to an Indexer, the more potential queries they can process.
7+
- They help secure the network without running a Graph Node themselves.
8+
9+
- They earn a portion of an Indexer's query fees and rewards by delegating to them.
10+
11+
**How does this work?**
12+
13+
- The number of queries an Indexer can process depends on their own stake, **the delegated stake**, and the price the Indexer charges for each query. Therefore, the more stake allocated to an Indexer, the more potential queries an Indexer can process.
814

915
## Delegator Guide
1016

11-
This guide will explain how to be an effective Delegator in the Graph Network. Delegators share the earnings of the protocol alongside all Indexers based on their delegated stake. A Delegator must use their best judgment to choose Indexers based on multiple factors. Please note this guide will not cover steps such as setting up Metamask properly, as that information is widely available on the internet.
17+
Learn how to be an effective Delegator in the Graph Network.
18+
19+
Delegators share the earnings of the protocol alongside all Indexers based on their delegated stake. Therefore, they must use their best judgment to choose Indexers based on multiple factors.
20+
21+
> Please note this guide does not cover steps such as setting up Metamask properly, as that information is widely available online.
1222
1323
There are three sections in this guide:
1424

@@ -24,15 +34,19 @@ Listed below are the main risks of being a Delegator in the protocol.
2434

2535
Delegators cannot be slashed for bad behavior, but there is a tax on Delegators to disincentivize poor decision-making that could harm the integrity of the network.
2636

27-
It is important to understand that every time you delegate, you will be charged 0.5%. This means that if you are delegating 1000 GRT, you will automatically burn 5 GRT.
37+
As a Delegator, it's important to understand the following:
2838

29-
In order to be safe, a Delegator should calculate their potential return when delegating to an Indexer. For example, a Delegator might calculate how many days it will take before they have earned back the 0.5% tax on their delegation.
39+
- You will be charged 0.5% every time you delegate. This means that if you delegate 1000 GRT, you will automatically burn 5 GRT.
40+
41+
- In order to be safe, you should calculate your potential return when delegating to an Indexer. For example, you might calculate how many days it will take before you have earned back the 0.5% tax on your delegation.
3042

3143
### The delegation unbonding period
3244

3345
Whenever a Delegator wants to undelegate, their tokens are subject to a 28-day unbonding period. This means they cannot transfer their tokens or earn any rewards for 28 days.
3446

35-
Another thing to consider is how to choose an Indexer wisely. If you choose an Indexer that is not trustworthy or not doing a good job, you will want to undelegate. This means you will be losing a lot of opportunities to earn rewards, which can be just as bad as burning GRT.
47+
**Why is this important?**
48+
49+
If you choose an Indexer that is not trustworthy or not doing a good job, you will want to undelegate. This means you will be losing a lot of opportunities to earn rewards, which can be just as bad as burning GRT. As a result, it’s recommended that you choose an Indexer wisely.
3650

3751
<div sx={{ mx: 'auto', maxWidth: '400px' }}>
3852
![Delegation unbonding](/img/Delegation-Unbonding.png) _Note the 0.5% fee in the Delegation UI, as well as the 28 day
@@ -41,64 +55,92 @@ Another thing to consider is how to choose an Indexer wisely. If you choose an I
4155

4256
### Choosing a trustworthy Indexer with a fair reward payout for Delegators
4357

44-
This is an important aspect to understand. First, let's discuss three very important values, which are the Delegation Parameters.
58+
In order to understand how to choose a trustworthy Indexer, you need to understand the Delegation Parameters.
59+
60+
#### Delegation Parameters
4561

46-
Indexing Reward Cut - The indexing reward cut is the portion of the rewards that the Indexer will keep for themselves. This means that if an Indexer's rewards are set to 100%, as a Delegator you will get 0 indexing rewards. If you see it set at 80% in the UI, that means as a Delegator, you will receive 20%. An important note - at the beginning of the network, Indexing Rewards will account for the majority of the rewards.
62+
- **Indexing Reward Cut** - The portion of the rewards the Indexer will keep for themselves.
63+
- If an Indexer's rewards are set to 100%, as a Delegator, you will get 0 indexing rewards.
64+
- If you see it set at 80% , as a Delegator, you will receive 20%.
65+
> Note: At the beginning of the network, Indexing Rewards will account for the majority of the rewards.
4766
4867
<div sx={{ mx: 'auto', maxWidth: '700px' }}>
4968
![Indexing Reward Cut](/img/Indexing-Reward-Cut.png) *The top Indexer is giving Delegators 90% of the rewards. The
5069
middle one is giving Delegators 20%. The bottom one is giving Delegators ~83%.*
5170
</div>
5271

53-
- Query Fee Cut - This works exactly like the Indexing Reward Cut. However, this applies explicitly to returns on the query fees the Indexer collects. It should be noted that at the start of the network, returns from query fees will be very small compared to the indexing reward. It is recommended that you pay attention to the network to determine when the query fees in the network will start to be more significant.
72+
- **Query Fee Cut** - This is the same as the Indexing Reward Cut, but it specifically applies to returns on the query fees the Indexer collects.
73+
74+
> Note: At the start of the network, returns from query fees will be very small compared to the indexing reward. It is recommended that you pay attention to the network to determine when the query fees will start to become more significant.
75+
76+
As you can see, in order to choose the right Indexer, you must consider multiple things.
5477

55-
As you can see, in order to choose the right Indexer, you must consider multiple things. This is why we highly recommend exploring [The Graph Discord](https://discord.gg/graphprotocol) to determine which Indexers have the best social and technical reputations and which reward Delegators consistently. Many of the Indexers are very active in Discord and will be happy to answer your questions. Many of them have been Indexing for months on the testnet, and they are doing their best to help Delegators earn a good return, as it improves the health and success of the network.
78+
- It is highly recommend that you explore [The Graph Discord](https://discord.gg/graphprotocol) to determine which Indexers have the best social and technical reputations and which reward Delegators consistently.
79+
- Many Indexers are very active in Discord and will be happy to answer your questions.
80+
- Many of them have been Indexing for month, and they are doing their best to help Delegators earn a good return, as it improves the health and success of the network.
5681

57-
### Calculating Delegators expected return
82+
## Calculating Delegators Expected Return
5883

59-
A Delegator must consider a lot of factors when determining the return. These include:
84+
A Delegator must consider the following factors to determine a return:
6085

61-
- A technical Delegator can also look at the Indexer's ability to use the Delegated tokens available to them. If an Indexer is not allocating all the tokens available, they are not earning the maximum profit they could be for themselves or their Delegators.
62-
- Right now, in the network an Indexer can choose to close an allocation and collect rewards anytime between 1 and 28 days. So, it is possible that an Indexer might have a lot of rewards they still need to collect, and thus, their total rewards are low. This should be taken into consideration in the early days.
86+
- Consider an Indexer's ability to use the Delegated tokens available to them.
87+
- If an Indexer is not allocating all the tokens available, they are not earning the maximum profit they could be for themselves or their Delegators.
88+
- Pay attention to the first few days of delegating.
89+
- An Indexer can choose to close an allocation and collect rewards anytime between 1 and 28 days. It is possible that an Indexer might have a lot of rewards they still need to collect, so their total rewards are low.
6390

6491
### Considering the query fee cut and indexing fee cut
6592

66-
As described in the above sections, you should choose an Indexer that is transparent and honest about setting their Query Fee Cut and Indexing Fee Cuts. A Delegator should also look at the Parameters Cooldown time to see how much of a time buffer they have. After that is done, it is fairly simple to calculate the amount of rewards the Delegators are getting. The formula is:
93+
You should choose an Indexer that is transparent and honest about setting their Query Fee Cut and Indexing Fee Cuts. You should also look at the Parameters Cooldown time to see how much of a time buffer you have. After that is done, it is simple to calculate the amount of rewards you are getting.
94+
95+
The formula is:
6796

6897
![Delegation Image 3](/img/Delegation-Reward-Formula.png)
6998

7099
### Considering the Indexer's delegation pool
71100

72-
Another thing a Delegator has to consider is what proportion of the Delegation Pool they own. All delegation rewards are shared evenly, with a simple rebalancing of the pool determined by the amount the Delegator has deposited into the pool. This gives the Delegator a share of the pool:
101+
Delegators should consider the proportion of the Delegation Pool they own.
73102

74-
![Share formula](/img/Share-Forumla.png)
103+
- All delegation rewards are shared evenly, with a pool rebalancing based on the amount the Delegator deposited into the pool
75104

76-
Using this formula, we can see that it is possible for an Indexer offering only 20% to Delegators to actually provide a better reward than an Indexer giving 90%.
105+
This gives the Delegator a share of the pool:
77106

78-
Therefore, a Delegator can do the math to determine that the Indexer offering 20% to Delegators is offering a better return.
107+
![Share formula](/img/Share-Forumla.png)
108+
109+
> The formula above shows that it is possible for an Indexer offering only 20% to Delegators can provide a better reward than an Indexer giving 90%. Simply do the math to determine the best reward.
79110
80111
### Considering the delegation capacity
81112

82-
Another thing to consider is the delegation capacity. Currently, the Delegation Ratio is set to 16. This means that if an Indexer has staked 1,000,000 GRT, their Delegation Capacity is 16,000,000 GRT of Delegated tokens that they can use in the protocol. Any delegated tokens over this amount will dilute all the Delegator rewards.
113+
Finally, consider the delegation capacity.
114+
115+
- Currently, the Delegation Ratio is set to 16.
83116

84-
Imagine an Indexer with 100,000,000 GRT delegated to them, but their capacity is only 16,000,000 GRT. This means effectively, 84,000,000 GRT tokens are not being used to earn tokens. So, all the Delegators and the Indexer, are earning way less rewards than they could be.
117+
**Why does this matter?**
118+
119+
This means that if an Indexer has staked 1,000,000 GRT, their Delegation Capacity is 16,000,000 GRT of Delegated tokens that they can use in the protocol. Any delegated tokens over this amount will dilute all the Delegator rewards.
120+
121+
Imagine an Indexer with 100,000,000 GRT delegated to them, but their capacity is only 16,000,000 GRT. This means effectively, 84,000,000 GRT tokens are not being used to earn tokens. So, both the Delegators and the Indexers are earning less rewards than they could be.
85122

86123
Therefore, a Delegator should always consider the Delegation Capacity of an Indexer, and factor it into their decision making.
87124

88125
## Delegator FAQs and Bugs
89126

90127
### MetaMask "Pending Transaction" Bug
91128

92-
**When I try to delegate my transaction in MetaMask, it appears as "Pending" or "Queued" for longer than expected. What should I do?**
129+
1. When I try to delegate my transaction in MetaMask, it appears as "Pending" or "Queued" for longer than expected. What should I do?\*\*
130+
131+
At times, attempts to delegate to Indexers via MetaMask can fail and result in prolonged periods of "Pending" or "Queued" transaction attempts.
132+
133+
#### Example
93134

94-
At times, attempts to delegate to indexers via MetaMask can fail and result in prolonged periods of "Pending" or "Queued" transaction attempts.
135+
Let's say you attempt to delegate with an insufficient gas fee relative to the current prices.
95136

96-
For example, a user may attempt to delegate with an insufficient gas fee relative to the current prices, resulting in the transaction attempt displaying as "Pending" in their MetaMask wallet for 15+ minutes. When this occurs, a user can attempt subsequent transactions, but these will only be processed until the initial transaction is mined, as transactions for an address must be processed in order. In such cases, these transactions can be cancelled in MetaMask, but the transactions attempts will accrue gas fees without any guarantee that subsequent attempts will be successful.
137+
- This action can cause the transaction attempt to display as "Pending" in your MetaMask wallet for 15+ minutes. When this happens, you can attempt subsequent transactions, but these will only be processed until the initial transaction is mined because transactions for an address must be processed in order.
138+
- In such cases, these transactions can be cancelled in MetaMask, but the transactions attempts will accrue gas fees without any guarantee that subsequent attempts will be successful.
97139

98-
A simpler resolution to this bug is restarting the browser (e.g., using "abort:restart" in the address bar), which will cancel all previous attempts without gas being subtracted from the wallet. Several users who have encountered this issue have reported successful transactions after restarting their browser and attempting to delegate.
140+
A simple resolution to this bug is to restart the browser (e.g., using "abort:restart" in the address bar), which will cancel all previous attempts without gas being subtracted from the wallet. Several users who have encountered this issue have reported successful transactions after restarting their browser and attempting to delegate.
99141

100-
## Video guide for the network UI
142+
## Video Guide
101143

102-
This video guide fully reviews this document and explains how to consider everything in it while interacting with the UI.
144+
This video guide reviews this page while interacting with the UI.
103145

104146
<VideoEmbed youtube="2G7S2gdURdc" />

0 commit comments

Comments
 (0)