-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.yaml
55 lines (55 loc) · 1.5 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
specVersion: 0.2.0
name: subquery-staking-rewards
version: 1.0.0
description: 'Subquery Module 4: Staking rewards'
repository: ''
schema:
file: ./schema.graphql
network:
genesisHash: '0x50dd5d206917bf10502c68fb4d18a59fc8aa31586f4e8856b493e43544aa82aa'
endpoint: wss://mainnet.xxscan.xyz
dataSources:
- kind: substrate/Runtime
startBlock: 1
mapping:
file: ./dist/index.js
handlers:
- handler: handleEvent
kind: substrate/EventHandler
- handler: handleBlock
kind: substrate/BlockHandler
- handler: handleSumRewarded
kind: substrate/EventHandler
filter:
module: staking
method: Rewarded
- handler: handleStakingRewarded
kind: substrate/EventHandler
filter:
module: staking
method: Rewarded
- handler: handleSumDeposit
kind: substrate/EventHandler
filter:
module: balances
method: Deposit
- handler: handleEventDeposit
kind: substrate/EventHandler
filter:
module: balances
method: Deposit
- handler: handleSumWithdraw
kind: substrate/EventHandler
filter:
module: balances
method: Withdraw
- handler: handleEventWithdraw
kind: substrate/EventHandler
filter:
module: balances
method: Withdraw
- handler: handleEventKicked
kind: substrate/EventHandler
filter:
module: staking
method: Kicked