-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject.yaml
36 lines (36 loc) · 1.01 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
specVersion: 0.2.0
name: staking-rewards
version: 1.0.0
description: ''
repository: git@github.com:monogot/staking-rewards.git
schema:
file: ./schema.graphql
network:
genesisHash: '0x91b171bb158e2d3848fa23a9f1c25182fb8e20313b2c1eb49219da7a70ce90c3'
endpoint: wss://polkadot.api.onfinality.io/public-ws
dataSources:
- kind: substrate/Runtime
startBlock: 6000000
mapping:
file: ./dist/index.js
handlers:
- handler: handleSumReward
kind: substrate/EventHandler
filter:
module: staking
method: Reward
- handler: handleStakingReward
kind: substrate/EventHandler
filter:
module: staking
method: Reward
- handler: handleSumRewared
kind: substrate/EventHandler
filter:
module: staking
method: Rewarded
- handler: handleStakingRewarded
kind: substrate/EventHandler
filter:
module: staking
method: Rewarded