-
Notifications
You must be signed in to change notification settings - Fork 43
/
Copy pathmanifest.yml
44 lines (43 loc) · 1.07 KB
/
manifest.yml
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
version: '5.0'
description: Sample manifest
repository: https://github.com/
## reserved but unused fields
hydraVersion: '5'
dataSource:
kind: substrate
chain: node-template
####
entities:
- mappings/lib/generated/**/*.model.js
typegen:
metadata:
source: wss://rpc.polkadot.io
blockHash: '0xab5c9230a7dde8bb90a6728ba4a0165423294dac14336b1443f865b796ff682c'
events:
- balances.Transfer
calls:
- timestamp.set
outDir: ./mappings/generated/types
customTypes:
# lib is the location from where
# the custom types are impored in generated sources:
# `import { MyCustomType } from ${lib}`
# lib: ....
typedefsLoc: typedefs.json
mappings:
mappingsModule: mappings/lib/mappings
imports:
- mappings/lib/mappings/generated/types
range: '[100000, )'
eventHandlers:
- event: balances.Transfer
handler: balancesTransfer
filter:
specVersion: '[0,)'
extrinsicHandlers:
- extrinsic: timestamp.set
handler: timestampCall
preBlockHooks:
- handler: preHook
postBlockHooks:
- handler: postHook