harb/subgraph/base_sepolia/subgraph.yaml
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

59 lines
2 KiB
YAML

specVersion: 0.0.4
repository: http://gitea.loseyourip.com:4000/dark-meme-society/harb.git
description: Kraiken Token
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: Kraiken
network: base
source:
address: "0x45caa5929f6ee038039984205bdecf968b954820"
abi: Kraiken
startBlock: 26038614
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- Stats
- UbiClaim
abis:
- name: Kraiken
file: ./abis/Kraiken.json
eventHandlers:
- event: Transfer(indexed address,indexed address,uint256)
handler: handleTransfer
blockHandlers:
- handler: handleBlock
file: ./src/kraiken.ts
- kind: ethereum
name: Stake
network: base
source:
address: "0xed70707fab05d973ad41eae8d17e2bcd36192cfc"
abi: Stake
startBlock: 26038614
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- Position
abis:
- name: Stake
file: ./abis/Stake.json
- name: Kraiken
file: ./abis/Kraiken.json
eventHandlers:
- event: PositionCreated(indexed uint256,indexed address,uint256,uint256,uint32)
handler: handlePositionCreated
- event: PositionRemoved(indexed uint256,indexed address,uint256)
handler: handlePositionRemoved
- event: PositionShrunk(indexed uint256,indexed address,uint256,uint256)
handler: handlePositionShrunk
- event: PositionTaxPaid(indexed uint256,indexed address,uint256,uint256,uint256)
handler: handleTaxPaid
- event: PositionRateHiked(indexed uint256,indexed address,uint256)
handler: handlePositionRateHiked
file: ./src/stake.ts