-
Notifications
You must be signed in to change notification settings - Fork 2
/
project-moonriver.yaml
38 lines (37 loc) · 1.06 KB
/
project-moonriver.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
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: "0x401a1f9dca3da46f5c4091016c8a2f26dcea05865116b286f60f668207d1474b"
endpoint: "wss://wss.api.moonriver.moonbeam.network"
dictionary: "https://api.subquery.network/sq/subquery/moonriver-dictionary"
chaintypes:
file: ./dist/moonbeamChaintypes.js
dataSources:
- kind: substrate/Runtime
startBlock: 390000
mapping:
file: ./dist/index.js
handlers:
- handler: handleMoonriverNewEra
kind: substrate/EventHandler
filter:
module: parachainStaking
method: NewRound
- handler: handleMoonriverStakingReward
kind: substrate/EventHandler
filter:
module: parachainStaking
method: Rewarded