-
Notifications
You must be signed in to change notification settings - Fork 17
/
dock.yaml
56 lines (56 loc) · 1.45 KB
/
dock.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
specVersion: 1.0.0
name: subquery-nova-dock
version: 1.0.0
runner:
node:
name: "@subql/node"
version: ">=4.6.6"
options:
historical: true
query:
name: "@subql/query"
version: "*"
description: Nova SubQuery project
repository: https://github.com/nova-wallet/subquery-nova
schema:
file: ./schema.graphql
network:
chainId: "0x6bfe24dca2a3be10f22212678ac13a6446ec764103c0f3471c71609eac384aae"
endpoint: >-
wss://mainnet-node.dock.io
chaintypes:
file: ./dist/dockChaintypes.js
dataSources:
- name: main
kind: substrate/Runtime
startBlock: 1
mapping:
file: ./dist/index.js
handlers:
- handler: handleHistoryElement
kind: substrate/CallHandler
- handler: handleRewarded
kind: substrate/EventHandler
filter:
module: staking
method: Rewarded
- handler: handleSlashed
kind: substrate/EventHandler
filter:
module: staking
method: Slashed
- handler: handleTransfer
kind: substrate/EventHandler
filter:
module: balances
method: Transfer
- handler: handleNewEra
kind: substrate/EventHandler
filter:
module: staking
method: StakingElection
- handler: handleStakersElected
kind: substrate/EventHandler
filter:
module: staking
method: StakersElected