- Tracking the number of holders of a particular token
- Tracking the balances of particular token and holder combinations
- Calculating daily balances within a subgraph is currently prohibitively slow, so this is outsourced to the Google Cloud Function deployed by the token-holder-balances repo.
- The subgraph should need minimal maintenance
- The subgraph entities should enable users to calculate the metrics they need (i.e. don't try too hard to anticipate the metrics needed)
Indexing takes place in the following circumstances:
- Transfer function call
- When the
transfer
function is called on any of the tokens, aTokenHolderTransaction
record is created for each of the sender and receiver.
- When the