-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathproject.yaml
91 lines (91 loc) · 2.6 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
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 kusama chain
repository: "https://github.com/PolkaGate/subquery-kusama"
schema:
file: ./schema.graphql
network:
chainId: "0xb0a8d493285c2df73290dfb7e61f870f17b41801197a149ca93654499ea3dafe"
endpoint: "wss://kusama.api.onfinality.io/ws?apikey=d8559b6c-501b-4f7b-a804-07b5469d538b"
dictionary: "https://api.subquery.network/sq/subquery/kusama-dictionary"
dataSources:
- kind: substrate/Runtime
startBlock: 13000000
mapping:
file: ./dist/index.js
handlers:
- handler: handleHistoryElement
kind: substrate/CallHandler
- 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
- handler: handleReward
kind: substrate/EventHandler
filter:
module: staking
method: Reward
- handler: handleRewarded
kind: substrate/EventHandler
filter:
module: staking
method: Rewarded
- handler: handleSlash
kind: substrate/EventHandler
filter:
module: staking
method: Slash
- handler: handleSlashed
kind: substrate/EventHandler
filter:
module: staking
method: Slashed
- handler: handleBonded
kind: substrate/EventHandler
filter:
module: staking
method: Bonded
- handler: handleUnbonded
kind: substrate/EventHandler
filter:
module: staking
method: Unbonded
- handler: handleTransfer
kind: substrate/EventHandler
filter:
module: balances
method: Transfer
- handler: handleTransferKeepAlive
kind: substrate/EventHandler
filter:
module: balances
method: transfer_keep_alive
- handler: handleNewEra
kind: substrate/EventHandler
filter:
module: staking
method: StakingElection
- handler: handleStakersElected
kind: substrate/EventHandler
filter:
module: staking
method: StakersElected