-
Notifications
You must be signed in to change notification settings - Fork 0
/
base-project.yaml
68 lines (68 loc) · 2.15 KB
/
base-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
66
67
68
specVersion: 1.0.0
name: metadot-subql
version: 0.0.4
runner:
node:
name: "@subql/node"
version: 1.0.0
query:
name: "@subql/query"
version: 1.0.0
description: subquery indexer for metadot
repository: "https://github.com/ahmedali8/metadot-subql"
schema:
file: ./schema.graphql
network:
# Polkadot
chainId: "0x91b171bb158e2d3848fa23a9f1c25182fb8e20313b2c1eb49219da7a70ce90c3"
endpoint: wss://rpc.polkadot.io
dictionary: https://api.subquery.network/sq/subquery/dictionary-polkadot
chaintypes:
file: ./chaintypes.json
dataSources:
- kind: substrate/Runtime
startBlock: 780104 # Polkadot
mapping:
file: ./dist/index.js
handlers:
- handler: handleBlock
kind: substrate/BlockHandler
- handler: handleEvent
kind: substrate/EventHandler
filter:
module: multisig
# A new multisig operation has begun. [approving, multisig, call_hash]
method: NewMultisig
- handler: handleEvent
kind: substrate/EventHandler
filter:
module: multisig
# A multisig operation has been approved by someone. [approving, timepoint, multisig, call_hash]
method: MultisigApproval
- handler: handleEvent
kind: substrate/EventHandler
filter:
module: multisig
# A multisig operation has been executed. [approving, timepoint, multisig, call_hash]
method: MultisigExecuted
- handler: handleEvent
kind: substrate/EventHandler
filter:
module: multisig
# A multisig operation has been cancelled. [cancelling, timepoint, multisig, call_hash]
method: MultisigCancelled
- handler: handleEvent
kind: substrate/EventHandler
filter:
module: balances
method: Transfer
- handler: handleEvent
kind: substrate/EventHandler
filter:
module: utility
method: BatchCompleted
- handler: handleEvent
kind: substrate/EventHandler
filter:
module: utility
method: BatchInterrupted