-
Notifications
You must be signed in to change notification settings - Fork 1
/
project.yaml
39 lines (39 loc) · 1.11 KB
/
project.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
specVersion: 1.0.0
name: PolkaGate
version: 1.0.0
runner:
node:
name: "@subql/node"
version: ">=1.0.0"
query:
name: "@subql/query"
version: "*"
description: This project can be used to query Westend chain
repository: "https://github.com/Nick-1979/subquery/subql-starter"
schema:
file: ./schema.graphql
network:
chainId: "0xe143f23803ac50e8f6f8e62695d1ce9e4e1d68aa36c1cd2cfd15340213f3423e"
endpoint: "wss://westend.api.onfinality.io/public-ws"
dictionary: "https://api.subquery.network/sq/subquery/westend-dictionary"
dataSources:
- kind: substrate/Runtime
startBlock: 11801246
mapping:
file: ./dist/index.js
handlers:
- handler: handleVouche
kind: substrate/EventHandler
filter:
module: recovery
method: RecoveryVouched
- handler: handleInitiation
kind: substrate/EventHandler
filter:
module: recovery
method: RecoveryInitiated
- handler: handleClose
kind: substrate/EventHandler
filter:
module: recovery
method: RecoveryClosed