mirror of
https://github.com/pezkuwichain/pezkuwi-subquery.git
synced 2026-04-22 01:57:58 +00:00
3cc7a7b245
Staking pallet (index 9), FastUnstake (15), and VoterBagsList (100) were removed from the relay chain. The relay indexer now only tracks transfers and signed extrinsics. Added safety try-catch to staking queries in case handlers are accidentally re-enabled.
40 lines
1.0 KiB
YAML
40 lines
1.0 KiB
YAML
specVersion: 1.0.0
|
|
name: subquery-pezkuwi-staking
|
|
version: 1.0.0
|
|
runner:
|
|
node:
|
|
name: "@subql/node"
|
|
version: ">=4.6.6"
|
|
query:
|
|
name: "@subql/query"
|
|
version: "*"
|
|
description: Pezkuwi Relay SubQuery - Indexes transfer history and governance-related data
|
|
repository: https://github.com/pezkuwichain/pezkuwi-subquery
|
|
schema:
|
|
file: ./schema.graphql
|
|
network:
|
|
chainId: "0x1aa94987791a5544e9667ec249d2cef1b8fdd6083c85b93fc37892d54a1156ca"
|
|
endpoint:
|
|
- wss://rpc.pezkuwichain.io
|
|
- wss://mainnet.pezkuwichain.io
|
|
chaintypes:
|
|
file: ./chainTypes/pezkuwi.json
|
|
dataSources:
|
|
- name: main
|
|
kind: substrate/Runtime
|
|
startBlock: 57100
|
|
mapping:
|
|
file: ./dist/index.js
|
|
handlers:
|
|
# Signed extrinsics for history
|
|
- handler: handleHistoryElement
|
|
kind: substrate/CallHandler
|
|
filter:
|
|
isSigned: true
|
|
# Transfers
|
|
- handler: handleTransfer
|
|
kind: substrate/EventHandler
|
|
filter:
|
|
module: balances
|
|
method: Transfer
|