-
Notifications
You must be signed in to change notification settings - Fork 1
/
shiden.yaml
53 lines (53 loc) · 1.47 KB
/
shiden.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
53
specVersion: 1.0.0
name: dapps-staking-indexer-shiden
version: 0.0.1
runner:
node:
name: '@subql/node'
version: '*'
query:
name: '@subql/query'
version: '*'
description: Shiden Network dapps staking indexing service.
repository: 'https://github.com/AstarNetwork/dapps-staking-idnexer'
schema:
file: ./schema.graphql
network:
chainId: '0xf1cf9022c7ebb34b162d5b5e34e705a5a740b2d0ecc1009fb89023e62a488108'
endpoint: 'wss://rpc.shiden.astar.network'
chaintypes:
file: ./dist/chaintypes.js
dataSources:
- kind: substrate/FrontierEvm
startBlock: 499144 #Dapp staking start
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: 499144 #Dapp staking start
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: 499144 #Dapp staking start
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