harb/subgraph/base_sepolia
2024-10-08 17:46:24 +02:00
..
abis updated subgraph for new deployment 2024-09-17 15:48:14 +02:00
src fix function params 2024-10-08 17:46:24 +02:00
tests base-sepolia 2024-09-11 15:03:20 +02:00
.gitignore base-sepolia 2024-09-11 15:03:20 +02:00
package-lock.json base-sepolia 2024-09-11 15:03:20 +02:00
package.json add contract data to stats 2024-10-05 13:03:34 +02:00
README.md add contract data to stats 2024-10-05 13:03:34 +02:00
schema.graphql add contract data to stats 2024-10-05 13:03:34 +02:00
subgraph.yaml handlepositionhiked update 2024-10-05 13:09:43 +02:00
tsconfig.json base-sepolia 2024-09-11 15:03:20 +02:00

deployment

yarn codegen
yarn build
yarn deploy

queries

for stats

{
  stats(id:"0x01") {
	harbTotalSupply
	stakeTotalSupply
	outstandingStake
	totalMinted
	mintedLastWeek
	mintedLastDay
	mintNextHourProjected
	totalBurned
	burnedLastWeek
	burnedLastDay
	burnNextHourProjected
	totalTaxPaid
	taxPaidLastWeek
	taxPaidLastDay
	taxNextHourProjected
	totalUbiClaimed
	ubiClaimedLastWeek
	ubiClaimedLastDay
	ubiNextHourProjected
  }
}