[Subgraph] Remove HMT token contract tracking#3807
Open
Conversation
- Introduced a dedicated subgraph to index HMToken statistics. - Updated network configurations for Ethereum, BSC, Polygon, and Sepolia. - Implemented event handlers for Transfer, Approval, BulkTransfer, and BulkApproval events. - Created entities for HMTokenStatistics, Holder, UniqueSender, UniqueReceiver, and EventDayData. - Added tests to validate statistics calculations and daily metrics. - Included necessary configurations, scripts, and dependencies in package.json. - Set up ESLint and Prettier configurations for code quality. -Updated TS SDK with new Subgraph data
|
The latest updates on your projects. Learn more about Vercel for GitHub.
2 Skipped Deployments
|
5ca7b6d to
543e99b
Compare
portuu3
requested changes
Feb 27, 2026
Collaborator
portuu3
left a comment
There was a problem hiding this comment.
Reestructure the folders to be:
- packages/subgraph/human-protocol
- packages/subgraph/hmt
…n handling in EscrowTemplate
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue tracking
#3577
Context behind the change
subgraph-hmt-statssubgraph to index HMToken statistics (HMTokenStatistics,Holder,UniqueSender,UniqueReceiver,EventDayDatawith HMT fields).hmtSubgraphUrl/hmtSubgraphUrlApiKey) for HMT statistics methods.hmt_subgraph_url/hmt_subgraph_url_api_key) and route HMT statistics calls through the HMT subgraph target incustom_gql_fetch.How has this been tested?
Deployed subgraph in polygon to make sure that the new subgraph contains the right data.
Deployed in Amoy the two new subgraphs and tested with dashboard to make sure requests works.
Release plan
Deploy new subgraphs for all the chains (right now only Amoy is fully deployed)
Deploy new SDK versions
Potential risks; What to monitor; Rollback plan
Check that all stats in dashboard are still the same.