-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.yaml
29 lines (29 loc) · 870 Bytes
/
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
specVersion: 1.0.0
name: turing-staking-rewards
version: 0.1.0
runner:
node:
name: '@subql/node'
version: '>=1.0.0'
query:
name: '@subql/query'
version: '*'
description: Index and search Turing Network staking rewards
repository: 'https://github.com/nvengal/turing-staking-rewards'
schema:
file: ./schema.graphql
network:
chainId: '0x0f62b701fb12d02237a33b84818c11f621653d2b1614c777973babf4652b535d'
endpoint: 'wss://rpc.turing.oak.tech'
dictionary: 'https://api.subquery.network/sq/subquery/polkadot-dictionary'
dataSources:
- kind: substrate/Runtime
startBlock: 296137 # First round with inflation enabled
mapping:
file: ./dist/index.js
handlers:
- handler: handleParachainStakingReward
kind: substrate/EventHandler
filter:
module: parachainStaking
method: Rewarded