-
Notifications
You must be signed in to change notification settings - Fork 17
/
polkadot_collectives.yaml
52 lines (52 loc) · 1.43 KB
/
polkadot_collectives.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
specVersion: 1.0.0
name: subquery-nova-polkadot-collectives
version: 1.0.0
runner:
node:
name: "@subql/node"
version: ">=4.6.6"
query:
name: "@subql/query"
version: "*"
description: Nova SubQuery project
repository: https://github.com/nova-wallet/subquery-nova
schema:
file: ./schema.graphql
network:
chainId: "0x46ee89aa2eedd13e988962630ec9fb7565964cf5023bb351f2b6b25c1b68b0b2"
endpoint: >-
wss://collectives.public.curie.radiumblock.co/ws
dataSources:
- name: main
kind: substrate/Runtime
startBlock: 1
mapping:
file: ./dist/index.js
handlers:
- handler: handleHistoryElement
kind: substrate/CallHandler
- handler: handleParachainRewarded
kind: substrate/EventHandler
filter:
module: parachainStaking
method: Rewarded
- handler: handleTransfer
kind: substrate/EventHandler
filter:
module: balances
method: Transfer
- handler: handleAssetTransfer
kind: substrate/EventHandler
filter:
module: assets
method: Transferred
- handler: handleCurrencyTransfer
kind: substrate/EventHandler
filter:
module: currencies
method: Transferred
- handler: handleTokenTransfer
kind: substrate/EventHandler
filter:
module: tokens
method: Transfer