Skip to content

[maintainer] Pool liquidity + TAO in/out flow ingestion for subnet economics #2552

Description

@JSONbored

24h volume, pool liquidity (alpha+TAO reserves) and TAO in/out flow require pool-state ingestion the explorer does not have — the economics tier carries only alpha_price_tao/total_stake_tao and a subnet_volume_tao passthrough. GraphQL already declares alpha_in_pool/alpha_out_pool fields with no backing indexer. New indexer work tied to the deep-history infra decision (ADR 0013), so maintainer-only.

Deliverables

  • Design pool-state ingestion (alpha_in_pool / alpha_out_pool reserves + TAO flow) and reconcile with the existing GraphQL fields that are declared but unbacked
  • Add schema + a cron/indexer path to populate pool reserves and net TAO flow per subnet
  • Expose pool liquidity + TAO in/out flow in the economics artifact + contracts + OpenAPI, then wire display tiles
  • Resolve the infra dependency (ADR 0013 hybrid deploy / deep-history) before scoping downstream bounties

References

  • repo/src/graphql.mjs:146 (alpha_in_pool / alpha_out_pool declared, unbacked)
  • repo/src/health-serving.mjs:1017 (economics row - no pool/flow fields)
  • assessment/featureGaps.md P3 (pool-liquidity/TAO-flow = maintainer)

size: M · maintainer-only (owner)

Metadata

Metadata

Assignees

Labels

backendmaintainer-onlyOwner-only work — yields no Gittensor points.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions