-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathproject-mythos.yaml
36 lines (35 loc) · 1007 Bytes
/
project-mythos.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: 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:
# TODO change to Mythos production configuration
chainId: "0x15f6788bcf1d1a3b7e1c36074584e1a3f3d07e0a46e362a102c3c3df1a93669f"
endpoint: "wss://paseo-muse-rpc.polkadot.io"
dataSources:
- kind: substrate/Runtime
startBlock: 2601950
mapping:
file: ./dist/index.js
handlers:
- handler: handleMythosNewSession
kind: substrate/EventHandler
filter:
module: session
method: NewSession
- handler: handleMythosStakingReward
kind: substrate/EventHandler
filter:
module: collatorStaking
method: StakingRewardReceived