-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject.yaml
65 lines (62 loc) · 2.16 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
specVersion: 1.0.0
name: subql-multisig
version: 0.0.1
runner:
node:
name: "@subql/node"
version: ">=1.0.0"
query:
name: "@subql/query"
version: "*"
description: >-
This project can be used as a starting point for developing your SubQuery
project
repository: "https://github.com/subquery/subql-starter"
schema:
file: ./schema.graphql
network:
# Polkadot
# # The genesis hash of the network (hash of block 0)
# chainId: "0x91b171bb158e2d3848fa23a9f1c25182fb8e20313b2c1eb49219da7a70ce90c3"
# # This endpoint must be a public non-pruned archive node
# # Public nodes may be rate limited, which can affect indexing speed
# # When developing your project we suggest getting a private API key
# # You can get them from OnFinality for free https://app.onfinality.io
# # https://documentation.onfinality.io/support/the-enhanced-api-service
# endpoint: "wss://polkadot.api.onfinality.io/public-ws"
# # Optionally provide the HTTP endpoint of a full chain dictionary to speed up processing
# dictionary: "https://api.subquery.network/sq/subquery/polkadot-dictionary"
# Polkadot
genesisHash: '0x91b171bb158e2d3848fa23a9f1c25182fb8e20313b2c1eb49219da7a70ce90c3'
endpoint: wss://polkadot.api.onfinality.io/public-ws
dictionary: https://api.subquery.network/sq/subquery/polkadot-dictionary
dataSources:
- kind: substrate/Runtime
startBlock: 2036961
mapping:
file: ./dist/index.js
handlers:
# - handler: handleBlock
# kind: substrate/BlockHandler
- handler: handleEvent
kind: substrate/EventHandler
filter:
module: multisig
method: NewMultisig
- handler: handleEvent
kind: substrate/EventHandler
filter:
module: multisig
method: MultisigApproval
- handler: handleEvent
kind: substrate/EventHandler
filter:
module: multisig
method: MultisigExecuted
- handler: handleEvent
kind: substrate/EventHandler
filter:
module: multisig
method: MultisigCancelled
# - handler: handleCall
# kind: substrate/CallHandler