-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathproject-calamari.yaml
38 lines (37 loc) · 1016 Bytes
/
project-calamari.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
specVersion: 1.0.0
name: subquery-nova-calamari
version: 1.0.0
runner:
node:
name: '@subql/node'
version: '*'
query:
name: '@subql/query'
version: v1.5.0
description: Nova SubQuery project
repository: https://github.com/nova-wallet/subquery-nova
schema:
file: ./schema.graphql
network:
chainId: '0x4ac80c99289841dd946ef92765bf659a307d39189b3ce374a92b5f0415ee17a1'
endpoint: wss://calamari.systems
dictionary: https://api.subquery.network/sq/subquery/calamari-dictionary
chaintypes:
file: ./dist/calamariChainTypes.js
dataSources:
- name: main
kind: substrate/Runtime
startBlock: 1
mapping:
file: ./dist/index.js
handlers:
- handler: handleCalamariNewEra
kind: substrate/EventHandler
filter:
module: parachainStaking
method: NewRound
- handler: handleCalamariStakingReward
kind: substrate/EventHandler
filter:
module: parachainStaking
method: Rewarded