-
Notifications
You must be signed in to change notification settings - Fork 17
/
aleph-zero.yaml
82 lines (82 loc) · 2.26 KB
/
aleph-zero.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
specVersion: 1.0.0
name: subquery-nova-aleph-zero
version: 1.0.0
runner:
node:
name: "@subql/node"
version: ">=4.6.6"
options:
historical: true
query:
name: "@subql/query"
version: "*"
description: Nova SubQuery project
repository: https://github.com/nova-wallet/subquery-nova
schema:
file: ./schema.graphql
network:
chainId: "0x70255b4d28de0fc4e1a193d7e175ad1ccef431598211c55538f1018651a0344e"
endpoint: wss://ws.azero.dev
chaintypes:
file: ./dist/alephZeroChaintypes.js
dataSources:
- name: main
kind: substrate/Runtime
startBlock: 5000
mapping:
file: ./dist/index.js
handlers:
- handler: handleHistoryElement
kind: substrate/CallHandler
filter:
isSigned: true
- handler: handleReward
kind: substrate/EventHandler
filter:
module: staking
method: Reward
- handler: handleRewarded
kind: substrate/EventHandler
filter:
module: staking
method: Rewarded
- handler: handlePoolReward
kind: substrate/EventHandler
filter:
module: nominationPools
method: PaidOut
- handler: handleSlash
kind: substrate/EventHandler
filter:
module: staking
method: Slash
- handler: handleSlashed
kind: substrate/EventHandler
filter:
module: staking
method: Slashed
- handler: handlePoolBondedSlash
kind: substrate/EventHandler
filter:
module: nominationPools
method: PoolSlashed
- handler: handlePoolUnbondingSlash
kind: substrate/EventHandler
filter:
module: nominationPools
method: UnbondingPoolSlashed
- handler: handleTransfer
kind: substrate/EventHandler
filter:
module: balances
method: Transfer
- handler: handleNewEra
kind: substrate/EventHandler
filter:
module: staking
method: StakingElection
- handler: handleStakersElected
kind: substrate/EventHandler
filter:
module: staking
method: StakersElected