forked from novasamatech/subquery-history
-
Notifications
You must be signed in to change notification settings - Fork 0
/
acala.yaml
50 lines (50 loc) · 1.35 KB
/
acala.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
specVersion: 1.0.0
name: subquery-nova-acala
version: 1.0.0
runner:
node:
name: '@subql/node'
version: '*'
query:
name: '@subql/query'
version: v1.5.0
description: Nova SubQuery project
repository: https://github.com/nova-wallet/subquery-nova
schema:
file: ./schema.graphql
network:
chainId: '0xfc41b9bd8ef8fe53d58c7ea67c794c7ec9a73daf05e6d54b14ff6342c99ba64c'
endpoint: >-
wss://acala.polkawallet.io
dictionary: https://api.subquery.network/sq/subquery/acala-dictionary
chaintypes:
file: ./dist/acalaChaintypes.js
dataSources:
- name: main
kind: substrate/Runtime
startBlock: 1
mapping:
file: ./dist/index.js
handlers:
- handler: handleHistoryElement
kind: substrate/CallHandler
- handler: handleTransfer
kind: substrate/EventHandler
filter:
module: balances
method: Transfer
- handler: handleAssetTransfer
kind: substrate/EventHandler
filter:
module: assets
method: Transferred
- handler: handleTokenTransfer
kind: substrate/EventHandler
filter:
module: tokens
method: Transfer
- handler: handleParachainRewarded
kind: substrate/EventHandler
filter:
module: parachainStaking
method: Rewarded