5 Indexing Rewards Proportions
Now that we have a list of subgraphs we have synced, we want to figure out which ones offer the best indexing rewards returns. To do this, we want to pull in the number of allocated tokens on each subgraph deployment, as well as the curation signal. From there, we will be able to figure out which ones have the largest amount of signal relative to the allocation sizes, and maximize our returns.
This is the base query we will use:
query = '
query MyQuery($created_at_gt: Int!) {
subgraphDeployments(
first: 1000
orderBy: createdAt
orderDirection: asc
where: {activeSubgraphCount_gt: 0, deniedAt: 0, createdAt_gt: $created_at_gt}
) {
ipfsHash
indexerAllocations(where: {poi: null}) {
allocatedTokens
indexer {
id
}
}
signalledTokens
createdAt
deprecatedSubgraphCount
}
}'
Next we initialize an empty dataset with tibble()
, and initialize created_at_gt
to 0. The GraphQL endpoints are limited to a maximum value of 1,000 rows at a time, so we will want to extract the data in parts and construct a complete dataset. There will never be more than 1,000 subgraphs created in the exact same second provided by createdAt
, so we can use this as a filter to build a full dataset.
At the start, the filter will be set to 0, which will give us the first 1,000 created subgraphs. After that point, we can get the maximum createdAt
value, and use that to only get subgraphs created after the maximum timestamp from the previous batch. This way we build a full dataset without pulling duplicate data.
The implementation isn’t overly important. The only important thing to understand is that we are pulling the signal and allocation sizes for each subgraph that exists in this step:
# initialize empty dataset
rewards_info = tibble()
# set created_at_gt variable to 0 to start before we overwrite it with the new maximum as data is pulled
variables = list(created_at_gt = 0)
# keep repeating the same query until we
repeat {
# Send POST request to the GraphQL API
response = POST(url, body = list(query = query, variables = variables), encode = "json")
# Parse the JSON response
content = content(response, "text", encoding='UTF-8')
json_data = fromJSON(content, flatten = TRUE)
data = json_data$data$subgraphDeployments
# if we are out of rows to collect, break the repetition and move on to the next step
if (length(data) == 0) {
break
}
# Process the data
processed_data = tibble(data) %>%
# calculate and clean up columns needed. Start by calculating count of indexers per subgraph
mutate(unique_indexers = map_int(indexerAllocations, ~length(unique(.x$indexer.id))),
# allocated tokens per subgraph
total_allocated_tokens = map_dbl(indexerAllocations, ~sum(as.numeric(.x$allocatedTokens))) / 10^18,
# signalled tokens per subgraph
signalled_tokens = as.numeric(signalledTokens) / 10^18,
# convert created at timestamp to datetime
created_at = as.POSIXct(as.numeric(createdAt), origin = "1970-01-01"),
# track whether the subgraph is deprecated
deprecated_subgraph_count = deprecatedSubgraphCount) %>%
# rename ipfsHash to deployment and select only the columns needed
select(deployment = ipfsHash, unique_indexers, total_allocated_tokens, signalled_tokens,
created_at, deprecated_subgraph_count)
# union the newly pulled data to the full dataset
rewards_info = bind_rows(rewards_info, processed_data)
# if less than 1,000 rows are collected this means there's no more data to collect and can move on
if (nrow(processed_data) < 1000) {
break
}
# set the new maximum subgraph creation time to use for the next data pull
variables$created_at_gt = max(as.numeric(data$createdAt))
}
# Show and confirm full row count
paste("Fetched indexer counts for", nrow(rewards_info), "subgraphs")
## [1] "Fetched indexer counts for 9169 subgraphs"
# join rewards info to the list of synced subgraphs
synced_subgraphs = synced_subgraphs %>%
left_join(rewards_info, by = 'deployment') %>%
select(deployment, unique_indexers, signalled_tokens, total_allocated_tokens) %>%
mutate(rewards_proportion = signalled_tokens / total_allocated_tokens)
## deployment unique_indexers signalled_tokens total_allocated_tokens
## 1 QmPrUvv9vfDrBoZ2rU6CGeu23FijhHtnKiVFAvarVRHzYx 1 1.000000 0.0
## 2 QmTEQP9HPHsgQiKdNREVHS7F4waxEwCeq32eTU5hCRXgN4 1 1.000000 0.0
## 3 QmV4wyo47CoTejAVW6Cw4EVVc4pL4CWNmFWHwrwTsJrjiK 1 1.000000 0.0
## 4 QmSfzHGKNGRuXMUvqMo3ksoZaB5Go9FpoVHtBToBGyYgf4 11 991.017089 305414.0
## 5 QmcaboaEjatWFRe4fUcxXbajtEVJwr2emvdrA6VdjfXGyT NA NA NA
## 6 QmaRd3T8BTfPMNMrxo9uehkZFuHeqavLxUhAXTnQ3xPbGj 2 68.329451 15040.0
## 7 QmVa4x9Jqhq2b3QbUTfTgeqCvVZtvuZva7CSg8fnKiNT5A 1 1.000000 0.0
## 8 QmcQe363orcX5u5DtLvjGrjwfCR89vfrA9YLjHWZc3zutD 2 18.864201 1000.0
## 9 QmVFGoBvTa2YWE5QCDXFg1EeaYHKvds9voYQGd2PWRPdrZ 13 4901.509931 1334498.0
## 10 Qmc4J3epkBZggHMA3dTSX5TPi4Eq2bn4JtZM17VDihMQiV 11 3246.512401 1065364.0
## 11 QmaoWjQg4gFLV6LH3R9Db7cuppGMNjB4MG6V2gXzqfJWj7 5 144.336969 26500.0
## 12 QmWXhLkz6fRJwLyFmgBKVu2NyMD6MqtGhcrt8bNcm1xpuU 14 6662.607364 2198541.4
## 13 QmRuPq9vmTwDPEQvUaoMGvB3zEPc5S3J1wuJPoW5WMTuVL 10 516.105783 117808.0
## 14 QmPB1fZxWhgMA9u6K7TNzqjU287EtwuPx8nyxAFSLikgRi 1 1.000000 0.0
## 15 QmYk6JtWHXCaRbLkLxFJ5A7oPkKAJ3k61efUxDk5SgTur7 14 1981.077730 530289.9
## 16 QmUSffoxhjXNQjZmfi56EPWtt1dGGcZcGqz98hmQLh8UzG 8 991.000906 297008.8
## 17 QmW8NKJZoYsu8v5KuknpSHdANJ6e97fWy1S9D5qMTPiP5q 14 1980.094654 566669.0
## 18 QmQSNjw39ij4nmjNmpsC6t3fkBvjdfMujK52bkRHExuyM6 1 4.962533 0.0
## 19 QmZPVq8VQWGp6K8WMmExuLEEnekzhG39tJttymoY4CZoAe 9 117.426439 33326.0
## 20 QmeHZcGmj7wrJMHRrPVDGiVaprs7t21n1jjeUHhPUeMRcA 1 3.401435 0.0
## 21 QmZtTFVqw46STD3uwHLD1gQWwn11NS7NaSw1tzZfKCgewG 9 1982.341200 597426.0
## 22 QmY3km7en3EKFN36tGDp1rgpRJ6VicFYsCUEHjSciHvzPR 14 2079.000672 623051.0
## 23 QmWMLVUQCzsqvQjjaAncpRdkjSVnRBJyZ92a3YAUj9Ynm8 1 2.000000 0.0
## 24 QmfNxUwbA6Sx1HoqTaFmLNNhcyjm7QG1qjZu5U7CBx9cdi 1 1.000000 0.0
## 25 QmatbdjawELyy69kyuG7TC8RKebsdgMoRpwX5ZYy9rURbC 1 1.000000 0.0
## 26 QmQTGTovKTt3pni5iRyeWKYkUM2sttEahfDd5yhwqqiBkW 10 326.791728 84395.0
## 27 Qma9bvmT39fCkG5woFkrXLebPUbbXGSBcXQD9Z3vArJyso 1 11.897579 0.0
## 28 QmYodpkEm88nPwAi1QBnS8UVnidGGQTP3cmpB4Fp1y4Aex 9 3036.334127 885555.0
## 29 QmcRTvnRqeyQQeKQEuGAckhvCd431LmqxH8oBrCUHzPcRM 1 1.000000 0.0
## 30 QmZzoueJuv3dWLFgGSCoK5A1UomR61BhhhbtD9nPT6i2cw 2 49.500000 5000.0
## 31 QmcK5HmdqJjhJh18g8cTog2FYP7497T2nz25ESaWdyXk1Z 14 2971.067218 822560.8
## 32 QmbzgPPc7pHwRetjTjGY7tfNG7sfrbkDpbhYFewtisZpvc 11 6214.021429 2088636.0
## 33 Qmaa4sr6PG4agPMTZfpRnALEhVJ5argjQ41UJ5pELnwU7Z 8 1377.840947 417834.0
## 34 QmWdUm7HxFFXysSLGvFB1zjaSeYR8SPiLDo2M4gopdHajK 1 1.000000 0.0
## 35 QmWiGJfHJq3cdPzJrtoiraAJ4CymF5yTW2JZM6pMqGtifd 1 1.000000 0.0
## 36 QmVagvbwFHWGEBUxhXW1DZWFNvvwYAcUvbJGVorGXetsc7 1 1.000000 0.0
## 37 Qmck1XDhZcCYCsdKYXy2DS7CS3kQfEHT67NVan5cfCmLC1 1 27.432854 0.0
## 38 QmfE7XHYSeZ6ptESATYb1FtW4sqtWxiVCjXTbPY98ajqBe 1 1.000000 0.0
## 39 QmbcPkYbBDageNbGCvzGkAggLrmRygabbTKbbvknkoTeuW 9 396.000871 112599.0
## 40 Qmav5jabEyBRv2botzgLK717DJQWokk6kW3AeXxCkPWuSY 1 1.000000 0.0
## 41 QmTiCYux4Jxmn6ur2g7w7R9rUjpftQdRdantexSyzR5peX 2 49.500000 5000.0
## 42 QmVHVUTkiTEdF7SijmwvjaGYcPYgwwBBnPd6f177bqFuhd 11 573.632192 159713.0
## 43 QmUzRg2HHMpbgf6Q4VHKNDbtBEJnyp5JWCh2gUX9AV6jXv 27 54553.905379 21163181.5
## 44 QmYEuY1JBNQDad8W2oPxdQrA58TfD7trVPzkhAjU223baS 1 1.000000 0.0
## 45 QmcZaxZhpJ3HUKxtV1HD29TFf52GprC6HRbJkC8w6soizb 1 3.000000 0.0
## 46 QmccY1R6zSqgkVN37gg3TXGCAoUr1DMhgBg4oPCyrSTcGA 18 19105.836186 6369520.7
## 47 QmeHJ8Wyk7HpAtFLSNNraVkoiqv78MheDJfLpbdGBb8U2L 1 3.000000 0.0
## 48 QmS7wExrveyxpN5g6sfykDUkVHX7oGqvMr8Mw82SueXU8S 1 1.000000 0.0
## 49 QmYNYWiVGHkRFjYMULxyECVgsaYfXDibEhjBx9sWTtsz9c 13 2492.870031 709137.0
## 50 QmTScm43kN2xfdKK9h7nWs3a7c7ypjPjtKJe1NsAsCfnCL 1 9.850500 0.0
## 51 QmcQSBBPpJgDcYrKyGy6oGP9BN7FcczRv32t1cfKbtWuRU 6 397.381610 124878.0
## 52 Qmdv8zRyxPC7cmi5fpTdcViptimbCwaHVdb71sXPdWzUhL 16 780.343047 240981.0
## 53 QmbK8eiivKro8XT9xALjQSbDtcdTBPVYzZeC29gUua7P7F 1 1.000000 0.0
## 54 QmZM8HcNZRZDNTKf4wGZmiSJRX5EQNaZcHrG2BpjqDLkUE 1 1.000000 0.0
## 55 QmaBvS459yzfu5ykA9eL6S8t1J8PeCm8n3112DVWqSNis5 1 1.000000 0.0
## 56 QmT8Y6WqcTD6iR6DbTzfwQUiar5FtuZnqJhT3t28dp4SXD 1 1.000000 0.0
## 57 QmXQw8YADkc9LtcYxBCZq1NHJFNt6whZZn7Q45XEbsTttD 12 2911.535908 753653.0
## 58 QmdorsAVanFXUyFQsfKaTJ6YykhH5PpJc9TG4mSBppPfsU 14 5574.408155 1798863.0
## 59 QmQoJMZT4bLLUNvf9Z15VNub6Wk1oq6VcMm34omrrVZevs 3 1109.014464 401000.0
## 60 QmXoMwNirjRgtJkzGt2PCwQomRqkopTxmB9E5MXz3gGxPD 6 1040.490569 347792.0
## 61 QmaJcXuvGW3GST8UfjTHSXSpmJ4YupCXfyYq6K2L99FX1w 1 1.000000 0.0
## 62 QmQsTaSDMfskRNLcWEzaxufUj1wTxL3MR9af6jtomsQMvr 2 72.289406 10000.0
## 63 QmS9GuSvYWfsh1vJckTt6DSwAnnPxQ8XqWoz6tF6Zh4NLi 1 1.000000 0.0
## 64 QmXX9JNqpsmph2GdgJNHFB1Xm9JSAni3QZZ96vfngXU4KE 1 1.000000 0.0
## 65 QmXYNUvUc9CriaaCfkevhjG8389GqYXPEM7S6zQTq1dB8P 1 1.000000 0.0
## 66 QmNs1YDpRPdHFcXdyZ9nwDQAx74hwuWDyULE74rejd4THP 1 1.000000 0.0
## 67 QmSJpz3ozq7eziF8qCWcSSLobWbcKT8NjwSn79ErFArkFY 1 1.000000 0.0
## 68 QmdVmkErFM4RxYYTeoq786cnYkR41FmjPTpA7QzD8kfhA2 2 17.382444 2000.0
## 69 Qmb27RY3RqP98UMKbTgScf6F7hhokfMuS9fV7VAtPiZHwF 19 8696.140420 2625913.6
## 70 QmfTYPHrWaYkaFzwCwmXXshc3Vb7pp77uiqB7XmBb7g14b 1 1.000000 0.0
## 71 QmaB28b3BMpEnPtqJyuAQNuCzkGgWPXbaYrH7pjDJR7NYL 1 1.000000 0.0
## 72 QmNi1Vyaz6bR6ag3NFBgqWabaQkE2zELvEpB8Xi3qFK9YF 1 1.000000 0.0
## 73 QmVQp9U7L6sF2yzku7qywAhHgd1i762r1nim8c4ATzDYw5 2 1.000000 100.0
## 74 QmfW5ePHUCrQ51fCcbJUvtKd7NRPeHei16cR8m1taHku8U 2 49.500000 5000.0
## 75 Qmap5Ycg96Cb4wikiraf4hQTRMRi2dERKVff9RPruaKnrd 1 11.892536 0.0
## 76 QmSrAHvu1fmiF3D4nraQSqfg8qZEWEPGhGicAY2hMrR8Ld 14 2938.655186 914224.0
## 77 QmVgdHuPrJiWbHDez2M8D6k3WrJ7FN1PK5KHAZt5c2dJE8 1 1.000000 0.0
## 78 Qmer3SqyLUB4BRzvpCWeDLmKQi3Lyh4cBojkBBEFpgrTTC 6 505.094416 109998.0
## 79 QmQJDsmwXbFYmS2z9kqeJq4xdKzXT9DX9ZijBiR9Pd2nDA 6 998.759691 254900.0
## 80 QmeZ9q66wq9nWJjrsadQ3YExLsVoMZqA79zPCtXpCFutX6 1 1.000000 0.0
## 81 QmbNf8kZMDURSwBrsTfoqn3QfowCx2gEhCBFE3qKTTGZAG 1 1.000000 0.0
## 82 QmUjTw5kC7RoTwNuLoGtPsyfRQBioosWDYZCE81RR5T95R 1 1.000000 0.0
## 83 QmdUknu8tyvH1BAE1X2rshXNDBPToYtQ8JypEKTxxcdGem 1 1.000000 0.0
## 84 QmSL65DYNfaaabj4tVeTnAzinpgZsDvEUsTsEu79YykxjW 1 1.000000 0.0
## 85 QmYXL6XeXyGC2DCnoQ45ApG68pi8irCZdRdtFx69FetRDd 16 13939.861643 6605784.0
## 86 QmTsgX4C2sAmvDg6C3pKVxKpHGkF74vrNGJqGCCZ3qJP2f 2 4.450623 1200.0
## 87 QmSfKsoBUHcezd6uhhftvFAjLQm1JvbJLRPPGHRvzTYwna 1 1.000000 0.0
## 88 Qme4i64hYrHrAgwuHXfnMhkyeYRkT89uXDuvHQMxX2woeR 1 1.000000 0.0
## 89 QmbWhGfCrewoQvwJ7GSvAm51AX8Z3rb8q3fsJNvAFB9svz 1 1.000000 0.0
## 90 QmYAafEPam85rVLcDRZqGXUmwrfj34GfZ91WK751LsphrC 10 3175.209655 855879.0
## 91 QmdiykT6LaGCiqPwrpZMsYzXh2PExBbnR3fcLj15q5cdXd 1 1.000000 0.0
## 92 QmQfH6zEaoHns9d3jNwko8QXmb8xVofQKPdCLop6qKMUnn 1 5.900000 0.0
## 93 QmbnwSqo4RSDUuP7Kf5WAtj4DLCWFDhyhTRPM2drthaGVQ 9 4919.804078 1415142.0
## 94 QmVEWdQQTJNoURcdefRQm8JEZo7TFtLA1dwkMRrBs2585Z 1 10.164842 0.0
## 95 QmfUgbmMzMtFZ1ZEjuF9dBKCaFybHj2VkSozNBAT2A6QLZ 1 1.000000 0.0
## 96 QmbrFgsMRiVSFLdpT5NveyioE1L6P5RCgy5eNYQvufhuLp 2 39.813206 5000.0
## 97 QmWjKBaLENbsi2BPzUxpdiX7FUmw1eZqjEfLNv83RNb6YD 1 1.000000 0.0
## 98 QmRAbgoZ2mBpxqj4Z32KFaso8rsDhdm8KcwEQhWMzD8bTN 1 13.878682 0.0
## 99 QmXUTLBibdxWtk37dxJLcchSZfRz7FxKHdqrQwc6y5zwas 1 5.880600 0.0
## 100 Qmej11EGGzNGfbnEKbda3tHJogv9fwt2Rk3GRWNd8kY3Uq 1 1.000000 0.0
## 101 QmSj3cbVeNzXywVHQ1Ary5spgsa6LyrWcnhyRyLBPb4GKz 1 1.000000 0.0
## 102 QmXZiV6S13ha6QXq4dmaM3TB4CHcDxBMvGexSNu9Kc28EH 17 63230.063377 38527277.9
## 103 QmSDPnHzyW8yfnuhB423ssVY5r4bQrr5C1rXT8qMroNgmv 8 1642.879488 422617.0
## 104 QmSdc5FFbLzF436KEqYjCn3BLL5HN69ASNucTFnFqtGUUn 1 1.000000 0.0
## 105 QmXvh2JpDWbxC3hbhzU1UMYYwWCozQobhvpaTPq5HongSP 2 68.919595 17177.0
## 106 QmUS8ekFtGby8TQhxt7i3RoQySb1QVtKW4VBU2CG2pS9Eh 6 911.920913 276362.0
## 107 QmT4t8qY58x1M6wyGrY4DmMsxa6oEYWurP1TULL1Ca3GTc 1 2.970000 0.0
## 108 QmZ3TUhnG2cJxniWhy7zFk7vZCVnmUZagWcvURuhGBp3Nd 1 1.000000 0.0
## 109 QmZqKd3ZvqwWcLsydUdQoW3gEJS9KthEEEqBVKC9qkLXbe 1 1.000000 0.0
## 110 QmSfYVdY2taCQ7DtLYXo19CkCdNWc8HN1oUuVjEJhoKqhz 1 1.000000 0.0
## 111 QmdX1F96DH26zMfyCnp8uVNbbJUJiq7UAjXeVvm2aDvwwr 1 1.000000 0.0
## 112 QmbPUyAyzyVVFpaJCS7T9g6imVwp9LRJLP9ZWumwUjQeKj 1 1.000000 0.0
## 113 Qme5nGiCCDJcDtA5xoJ4iPAtjQgBfLekqRvxXesKCiH8XX 18 1593.844328 457618.0
## 114 Qmb4YEj9qpoZd8iLVLWPdfVMsG3o5qBcFxZHXucGrUnd2w 1 1.000000 0.0
## 115 QmcBbQDQjqg2BJWLGGXmdgsFBMZyQ59KWS42Z9NMcXe1nu 1 1.000000 0.0
## 116 QmPHGCrBbDG2UX4kDxk4mMrC9cFKCYVQFWFoZVPDwuy31m 1 1.000000 0.0
## 117 QmP7KPubjkDA6EDr5rKNUbwzsEdGwNzr1wNRZctkfxix1x 1 1.000000 0.0
## 118 QmXtiD3cPJ51x4cyzCy51Cw8f8V64AwoejRWZyR8EtaGyo 10 2239.776062 645727.0
## 119 QmNeyrYWm2HgmJ1EUToNfacWUaiDmTnV32EJa9TvndVg9f 1 5.940000 0.0
## 120 QmRmzX5YvrpeU1rMH3PfPdgy9X4CCL5ZdLweaCr4XzY8su NA NA NA
## 121 QmYWvmm6rxvAk8E3cA6iXPhC6ETBLJFuEw8maYJ7YV9ATx 10 20458.764706 15394111.3
## 122 Qmb1kpm8RzXRQUD8gBHSuPqd8HAkcQds577cauahwejDp9 1 53.216986 0.0
## 123 QmcN5d7N4Xe6tL9pW9U71jzo9sPSuioaJeCqbbAC1PhWQD 2 20.207914 2000.0
## 124 QmaBwqJfMSksDTGNSGg8HSPwHdsFEq6HMSCAcCBJMrN3Pw 11 267.848924 65422.0
## 125 QmcMk21Jdeng7SWv8yqhskhKbykqgH12vE64cnNhzSbXJ8 14 2046.994385 601213.5
## 126 QmQkayp7TGrYTCbZ5tAz1NNCv2rRfhiFbCacd2yFrtmMZW 6 2852.191752 726952.0
## 127 QmasYjypV6nTLp4iNH4Vjf7fksRNxAkAskqDdKf2DCsQkV 7 9903.165548 477362.0
## 128 QmVwxw75dUgFbMrapJ7WJJFiQbqpKu2YCc8PdLmAVMvJWW 1 1.000000 0.0
## 129 Qmeb33uBPhMDu7AhHHWZcRRAha6WD19sKwpSdXNCitbZZy 1 1.000000 0.0
## 130 QmaS1K3DHUxMvaq8SYYcLuTM5BDwzU2HhTrLdZmS7nz5dG 1 1.000000 0.0
## 131 QmaE9BZUMPpc9mcJPVbG9xnz6xWKDVKJeUyndcLWCi1nKr 2 83.400506 10000.0
## 132 QmfQWmNKDBuZ9xrhk9oe4X9dB8svZSdJAeQEdva4KbaK25 10 1676.640783 500453.0
## 133 QmWZrJghWFFqFaYteYmoFoBaMeancixDhU1qe2ZpSQ9Hir 1 9.571647 0.0
## 134 QmZ9woCuBdvfqn8MSQSe22ivuYFXw1EW5EgSeVd2tETTmy 3 97.055966 22375.0
## 135 QmdGmCh3dL4McHWLzkoLeoHUZZP9c6WcJpwhf7FRCoFxqN 12 2998.027919 780768.0
## 136 QmSxmGgUGwYskjkbzQZEjLC8jHbd1hjdcV8ifAiQRtDwZL 1 11.898762 0.0
## 137 QmRg3LG1pCZB9xWFS6z2iAwDwgSRta7JjCFTfdyVvHg9w1 5 257.694367 29812.0
## 138 QmVeh3KUMBRNTTTZDipWFEdPrxnnnHz3yzyugRvJJwzXrY 2 97.029900 10000.0
## 139 Qmc1mFtNdvykyysPZd8sAMz3tmvyeRWMDxpmggukTx7g1x 1 11.892538 0.0
## 140 QmWNScL6xFVfFConNbNLobijUEGaWofqRewXgriD2QmhGZ 1 1.000000 0.0
## 141 QmPCJRrA1Fwbusu5oCu3zTaDoGzaPq3zc4FnhNdj2XDMFj 1 1.000000 0.0
## 142 QmXHxAEB493jUAcBVhwCd2odCdF2mh96GKndhaeHYGEoKG 1 1.000000 0.0
## 143 QmcBxAXivw8bkNAhqavTzjEtbH8KSeS8NaSUiPU2fSbqWQ 1 4.395600 0.0
## 144 QmNVHQWAUsrjq83SQCD7R8M4HAUyVvsrPcwHisPTfGrw1Z 6 932.066195 233076.0
## 145 Qma4JUhxBgdoMGHs5MNnqWPbk2d3mE1SvqdPjRT8qwooyK 1 1.000000 0.0
## 146 QmcFx1aE7VhWXkQhcZyrzfm8AGkSzSWeid2FjTEkYBfKou 2 1.940612 100.0
## 147 QmfS6pkf3cjcJhas3vvCmXgAJKZb4Jy39haFmBQNFX9HWk 1 1.000000 0.0
## 148 QmevNFrcEkZcb7bji3xYuU5UWP7TZ9kurTJ4mW5VebGc9S 1 1.000000 0.0
## 149 QmPiXvLKgVwTngiFGfi6p4sA75WYsizgbbdNnGw6nyhNMX 2 58.806000 13300.0
## 150 QmZhm7MB9vuPkBeH5yNziz7jsUBZ8eHcAZYDo1n3EXjt9R 1 1.980000 0.0
## 151 Qmduy6o7VkWqJRgBqHUVVuPnowT6kAqWJmQWo5WecgKsV6 11 3433.186067 962298.0
## 152 QmWRpp5fQJLvq83ziAid4pKo6DKUWdFvF5F9o9EZnKuPvP 9 1462.758657 405373.0
## 153 QmPjeesdXSYBstNqJMDjqkpZP1CLtotR2y7Lom75JhBuG9 2 24.837083 4000.0
## 154 QmaTJb3mqt56BpjYzrH6YbQN1v38px64B3DMpXW7V4kVWD 1 1.000000 0.0
## 155 QmQBU2EcWk8X6KuTczQnqtPFyi49XKfvSQSZprn4RWhBZ5 16 12273.645516 4093716.3
## 156 Qma8qWnjNVyYvYYv7mR1baUDDrH3TUcXXUctqNXGYSp6LA 1 1.000000 0.0
## 157 QmQamfGnZ1bwt3Y1EzpSfxSG1HsdwpJfgpJGqdMMoPheFz 10 3191.220538 1009480.0
## 158 QmVgFruqJqEUpY4FaDt39vrWjNGN9YUbdnzkr81izro9DM 10 151.298044 158931.0
## 159 QmeWYQm1r39iZdKTzJYzNYHKmfNSWYEdq8cprPpfz44n88 3 18.887996 3100.0
## 160 QmdZDNidSJ1j8Ka2hQYjdiJZv3jhhqMG28MytKUDV5xwv8 1 1.000000 0.0
## 161 QmQYz9UE3uNhweSS4WQv9gW4HzYMSZZtE6tPuVRsyWLAsz 9 1980.000000 538499.0
## 162 QmSMf99YyUBJuSf2JroPDHDpNuR54esqq3emudg9vaoWKP 13 3235.891720 923215.7
## 163 QmVf3FcBasTsmATxekgL1QQKsK72CR9TG8zHwS1tJ5Tx4p 1 10.902607 0.0
## 164 QmS1nPRvYghS9UBrqFWP3W7XNnrrJCk9PR9CwiP82fiUGY 13 6400.511933 1594297.0
## 165 QmZ119nJYGVhsSSP8cCeBY1YpwoQCKBFhfvoxAy7fWs3Qi 3 65.347475 17017.0
## 166 QmbGxMtiEqy3j6DaPDABApKm9jKQZJQ6oNkbz1UtTDJxmR 1 2.687366 0.0
## 167 QmWSvJECwVS4PTvLJdde3peR5ZiRRN13durPzLd2otzJ6e 2 1.000000 100.0
## 168 QmVUMSVtJ4uAfUBBcgYJ9Ed43j27TZirZd7gzv6cUVqT6x 0 0.000000 0.0
## rewards_proportion
## 1 Inf
## 2 Inf
## 3 Inf
## 4 0.0032448319
## 5 NA
## 6 0.0045431816
## 7 Inf
## 8 0.0188642007
## 9 0.0036729241
## 10 0.0030473269
## 11 0.0054466781
## 12 0.0030304671
## 13 0.0043809061
## 14 Inf
## 15 0.0037358389
## 16 0.0033366043
## 17 0.0034942703
## 18 Inf
## 19 0.0035235684
## 20 Inf
## 21 0.0033181368
## 22 0.0033368066
## 23 Inf
## 24 Inf
## 25 Inf
## 26 0.0038721693
## 27 Inf
## 28 0.0034287358
## 29 Inf
## 30 0.0099000000
## 31 0.0036119728
## 32 0.0029751577
## 33 0.0032975798
## 34 Inf
## 35 Inf
## 36 Inf
## 37 Inf
## 38 Inf
## 39 0.0035169129
## 40 Inf
## 41 0.0099000000
## 42 0.0035916437
## 43 0.0025777743
## 44 Inf
## 45 Inf
## 46 0.0029995720
## 47 Inf
## 48 Inf
## 49 0.0035153574
## 50 Inf
## 51 0.0031821587
## 52 0.0032381932
## 53 Inf
## 54 Inf
## 55 Inf
## 56 Inf
## 57 0.0038632314
## 58 0.0030988509
## 59 0.0027656221
## 60 0.0029917036
## 61 Inf
## 62 0.0072289406
## 63 Inf
## 64 Inf
## 65 Inf
## 66 Inf
## 67 Inf
## 68 0.0086912219
## 69 0.0033116628
## 70 Inf
## 71 Inf
## 72 Inf
## 73 0.0100000000
## 74 0.0099000000
## 75 Inf
## 76 0.0032143711
## 77 Inf
## 78 0.0045918509
## 79 0.0039182412
## 80 Inf
## 81 Inf
## 82 Inf
## 83 Inf
## 84 Inf
## 85 0.0021102509
## 86 0.0037088529
## 87 Inf
## 88 Inf
## 89 Inf
## 90 0.0037098815
## 91 Inf
## 92 Inf
## 93 0.0034765445
## 94 Inf
## 95 Inf
## 96 0.0079626412
## 97 Inf
## 98 Inf
## 99 Inf
## 100 Inf
## 101 Inf
## 102 0.0016411765
## 103 0.0038873957
## 104 Inf
## 105 0.0040123185
## 106 0.0032997334
## 107 Inf
## 108 Inf
## 109 Inf
## 110 Inf
## 111 Inf
## 112 Inf
## 113 0.0034829144
## 114 Inf
## 115 Inf
## 116 Inf
## 117 Inf
## 118 0.0034686114
## 119 Inf
## 120 NA
## 121 0.0013289994
## 122 Inf
## 123 0.0101039572
## 124 0.0040941721
## 125 0.0034047714
## 126 0.0039234939
## 127 0.0207456093
## 128 Inf
## 129 Inf
## 130 Inf
## 131 0.0083400506
## 132 0.0033502462
## 133 Inf
## 134 0.0043376968
## 135 0.0038398448
## 136 Inf
## 137 0.0086439812
## 138 0.0097029900
## 139 Inf
## 140 Inf
## 141 Inf
## 142 Inf
## 143 Inf
## 144 0.0039989797
## 145 Inf
## 146 0.0194061244
## 147 Inf
## 148 Inf
## 149 0.0044215038
## 150 Inf
## 151 0.0035676953
## 152 0.0036084265
## 153 0.0062092707
## 154 Inf
## 155 0.0029981671
## 156 Inf
## 157 0.0031612519
## 158 0.0009519731
## 159 0.0060929019
## 160 Inf
## 161 0.0036768871
## 162 0.0035050223
## 163 Inf
## 164 0.0040146296
## 165 0.0038401290
## 166 Inf
## 167 0.0100000000
## 168 NaN
Nice! Next, we want to also consider how many queries are served on each subgraph before we allocate towards them, which we will do in the next section