- Renamed core contract from Harberg.sol to Kraiken.sol - Updated token symbol from HARB to KRK - Renamed TypeScript library from harb-lib to kraiken-lib - Updated all contract imports and references across the codebase - Modified subgraph schema and source files for new naming - Updated transaction bot dependencies and service references - Fixed test files to use new contract and token names - Updated documentation in CLAUDE.md and README.md - Regenerated subgraph types and ABI files All components compile successfully and tests pass. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| abis | ||
| src | ||
| tests | ||
| .gitignore | ||
| 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
}
}