harb/subgraph/base_sepolia
giteadmin c5d94403e1 Rename project from HARB/Harberg to KRAIKEN with KRK token symbol
- 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>
2025-07-11 13:47:00 +02:00
..
abis Rename project from HARB/Harberg to KRAIKEN with KRK token symbol 2025-07-11 13:47:00 +02:00
src Rename project from HARB/Harberg to KRAIKEN with KRK token symbol 2025-07-11 13:47:00 +02:00
tests base-sepolia 2024-09-11 15:03:20 +02:00
.gitignore base-sepolia 2024-09-11 15:03:20 +02:00
deploy.js set inital harbTotalSupply value 2025-02-22 10:19:10 +01:00
package-lock.json Rename project from HARB/Harberg to KRAIKEN with KRK token symbol 2025-07-11 13:47:00 +02:00
package.json Rename project from HARB/Harberg to KRAIKEN with KRK token symbol 2025-07-11 13:47:00 +02:00
README.md base deployment 2025-02-06 21:38:40 +01:00
schema.graphql Rename project from HARB/Harberg to KRAIKEN with KRK token symbol 2025-07-11 13:47:00 +02:00
subgraph.yaml Rename project from HARB/Harberg to KRAIKEN with KRK token symbol 2025-07-11 13:47:00 +02:00
subgraph_template.yaml deploy.js script 2025-01-23 19:32:49 +01:00
subgraphori.yaml deploy.js script 2025-01-23 19:32:49 +01:00
tsconfig.json base-sepolia 2024-09-11 15:03:20 +02:00

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
  }
}