forked from bombastictranz/subquery-staking
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject-polimec.yaml
35 lines (34 loc) · 932 Bytes
/
project-polimec.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
specVersion: 1.0.0
name: nova-wallet-staking
version: 0.0.1
runner:
node:
name: "@subql/node"
version: ">=1.0.0"
query:
name: "@subql/query"
version: "*"
description: >-
Project that provides up-to-date information about on-chain staking APY
repository: "[email protected]:nova-wallet/subquery-staking.git"
schema:
file: ./schema.graphql
network:
chainId: "0x7eb9354488318e7549c722669dcbdcdc526f1fef1420e7944667212f3601fdbd"
endpoint: "wss://rpc.polimec.org"
dataSources:
- kind: substrate/Runtime
startBlock: 1
mapping:
file: ./dist/index.js
handlers:
- handler: handlePolimecNewEra
kind: substrate/EventHandler
filter:
module: parachainStaking
method: NewRound
- handler: handlePolimecStakingReward
kind: substrate/EventHandler
filter:
module: parachainStaking
method: Rewarded