-
Notifications
You must be signed in to change notification settings - Fork 5
/
project.yaml
77 lines (68 loc) · 2.42 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
66
67
68
69
70
71
72
73
74
75
76
77
specVersion: '0.2.0'
name: 'subscan-multisig'
version: '0.0.1'
description: ''
repository: ''
schema:
file: './schema.graphql'
dataSources:
- kind: substrate/Runtime
startBlock: 1
# startBlock: 2036961 # Polkadot
# startBlock: 10340000 # Kusama
# startBlock: 6345000 # Darwinia
# startBlock: 8305000 # Crab
# startBlock: 325770 # Pangolin
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
network:
# Polkadot
# genesisHash: '0x91b171bb158e2d3848fa23a9f1c25182fb8e20313b2c1eb49219da7a70ce90c3'
# endpoint: wss://polkadot.api.onfinality.io/public-ws
# dictionary: https://api.subquery.network/sq/subquery/polkadot-dictionary
# KSM
genesisHash: '0xb0a8d493285c2df73290dfb7e61f870f17b41801197a149ca93654499ea3dafe'
endpoint: wss://kusama.api.onfinality.io/public-ws
dictionary: https://api.subquery.network/sq/subquery/kusama-dictionary
# Darwinia
# genesisHash: '0x729cb8f2cf428adcf81fe69610edda32c5711b2ff17de747e8604a3587021db8'
# endpoint: wss://rpc.darwinia.network
# dictionary: https://api.subquery.network/sq/darwinia-network/darwinia-dictionary
# CRAB
# genesisHash: '0x34f61bfda344b3fad3c3e38832a91448b3c613b199eb23e5110a635d71c13c65'
# endpoint: wss://crab-rpc.darwinia.network
# dictionary: https://api.subquery.network/sq/darwinia-network/crab-dictionary
# pangolin
# genesisHash: '0xce44bd16fc276f9e457b452577b6c2678e57768260012af127479fed806da7e7'
# endpoint: wss://pangolin-rpc.darwinia.network/
# dictionary: https://api.subquery.network/sq/darwinia-network/pangolin-dictionary
chaintypes:
# file: './types_pangolin.yaml'
# file: './types_darwinia.yaml'
# file: './types_crab.yaml'
# file: ./dist/chaintypes.js