-
Notifications
You must be signed in to change notification settings - Fork 5
/
project.yaml
38 lines (35 loc) · 1.06 KB
/
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
30
31
32
33
34
35
36
37
38
specVersion: 0.2.0
name: moonbeam-subquery
version: 1.0.0
description: Subquery for moonbeam blockchain explorer
repository: https://github.com/parascan-xyz/moonbeam-subquery
schema:
file: ./schema.graphql
network:
endpoint: wss://moonbeam.api.onfinality.io/public-ws
genesisHash: "0xfe58ea77779b7abda7da4ec526d14db9b1e9cd40a217c34892af80a9b332b76d"
chaintypes:
file: "./dist/chaintypes.js"
dataSources:
- kind: substrate/Runtime
startBlock: 200_000
mapping:
file: ./dist/index.js
handlers:
- handler: handleBlock
kind: substrate/BlockHandler
- handler: handleEvent
kind: substrate/EventHandler
- handler: handleCall
kind: substrate/CallHandler
- kind: substrate/Moonbeam
startBlock: 200_000
processor:
file: "./node_modules/@subql/contract-processors/dist/moonbeam.js"
mapping:
file: ./dist/index.js
handlers:
- handler: handleMoonbeamEvent
kind: substrate/MoonbeamEvent
- handler: handleMoonbeamCall
kind: substrate/MoonbeamCall