| .. | ||
| abis | ||
| src | ||
| tests | ||
| .gitignore | ||
| CLAUDE.md | ||
| deploy.js | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| schema.graphql | ||
| subgraph.yaml | ||
| subgraph_template.yaml | ||
| subgraphori.yaml | ||
| tsconfig.json | ||
deployment
yarn codegen
yarn build
yarn deploy
deployment-script
networks are defined in deploy.js This solution overwrites the subgraph.yaml with the template and enables the possible to upgrade the same contract on different chains
node deploy.js base
queries
for stats
{
stats(id:"0x01") {
harbTotalSupply
stakeTotalSupply
outstandingStake
totalMinted
mintedLastWeek
mintedLastDay
mintNextHourProjected
totalBurned
burnedLastWeek
burnedLastDay
burnNextHourProjected
}
}