graphprotocol / indexer

Graph Protocol indexer components and infrastructure
MIT License
238 stars 127 forks source link

Feature request: outstanding queryFee summary via indexer-agent #351

Open cryptovestor21 opened 2 years ago

cryptovestor21 commented 2 years ago

As discussed with @fordN

It would be great to have the agent output a summary of outstanding queryFees per allocationId in a table, so an Indexer can get a visual representation of what they have outstanding in the queryFee pool and make decisions on how they want to set their batch claim thresholds.

hopeyen commented 2 years ago

https://github.com/graphprotocol/indexer/pull/403 This PR creates a table on allocations, one of the column is query fee collected. I think the table is sufficient for making decisions, or we can add a command for filtering (maybe something like get outstanding x_amount)