-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathastar.yaml
More file actions
53 lines (53 loc) · 1.53 KB
/
astar.yaml
File metadata and controls
53 lines (53 loc) · 1.53 KB
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
53
specVersion: 1.0.0
name: dapps-staking-indexer-astar
version: 0.0.1
runner:
node:
name: '@subql/node'
version: '*'
query:
name: '@subql/query'
version: '*'
description: Astar Network dapps staking indexing service.
repository: 'https://github.com/AstarNetwork/dapps-staking-idnexer'
schema:
file: ./schema.graphql
network:
chainId: '0x9eb76c5184c4ab8679d2d5d819fdf90b9c001403e9e17da2e14b6d8aec4029c6'
endpoint: 'wss://rpc.astar.network'
chaintypes:
file: ./dist/chaintypes.js
dataSources:
- kind: substrate/FrontierEvm
startBlock: 815708 #The first era after all Staking festival dapps were unregistered
processor:
file: ./node_modules/@subql/frontier-evm-processor/dist/bundle.js
mapping:
file: ./dist/index.js
handlers:
- handler: handleFrontierEvmCall
kind: substrate/FrontierEvmCall
- kind: substrate/Wasm
startBlock: 815708
processor:
file: ./node_modules/@subql/substrate-wasm-processor/dist/bundle.js
mapping:
file: ./dist/index.js
handlers:
- handler: handleWasmCall
kind: substrate/WasmCall
- kind: substrate/Runtime
startBlock: 815708 #The first block after all Staking festival dapps were unregistered.
mapping:
file: ./dist/index.js
handlers:
- handler: handleNewContract
kind: substrate/EventHandler
filter:
module: dappsStaking
method: NewContract
- handler: handleContractRemoved
kind: substrate/EventHandler
filter:
module: dappsStaking
method: ContractRemoved