-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathproject.yaml
83 lines (83 loc) · 2.53 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
specVersion: 1.0.0
name: stable-asset-subql-v2
version: 0.0.1
runner:
node:
name: '@subql/node'
version: '*'
query:
name: '@subql/query'
version: '*'
description: A basic Karura EVM example
repository: 'https://github.com/subquery/acala-evm-starter'
schema:
file: ./schema.graphql
network:
chainId: '0xbaf5aabe40646d11f0ee8abbdc64f4a4b7674925cba08e4a05ff9ebed6e2126b'
endpoint: 'wss://karura-rpc-3.aca-api.network/ws'
chaintypes:
file: ./dist/chaintypes.js
dataSources:
- kind: substrate/AcalaEvm
startBlock: 2022700
processor:
file: ./dist/acalaEvm.js
options:
abi: merkleDistributor
address: '0x30385059196602A1498F5f8Ef91f3450e3A7B27a'
assets:
merkleDistributor:
file: ./merkleDistributor.abi.json
mapping:
file: ./dist/index.js
handlers:
- handler: handleClaim
kind: substrate/AcalaEvmEvent
filter:
topics:
- 'Claimed(bytes32 indexed user,address userAddress,address indexed token,uint256 amount,uint256 indexed cycle,uint256 timestamp,uint256 blockNumber,address claimer)'
- null
- null
- null
- kind: substrate/AcalaEvm
startBlock: 2027100
processor:
file: ./dist/acalaEvm.js
options:
abi: merkleDistributor
address: '0xf595F4a81B27E5CC1Daca349A69c834f375224F4'
assets:
merkleDistributor:
file: ./merkleDistributor.abi.json
mapping:
file: ./dist/index.js
handlers:
- handler: handleClaim
kind: substrate/AcalaEvmEvent
filter:
topics:
- 'Claimed(bytes32 indexed user,address userAddress,address indexed token,uint256 amount,uint256 indexed cycle,uint256 timestamp,uint256 blockNumber,address claimer)'
- null
- null
- null
- kind: substrate/AcalaEvm
startBlock: 2118800
processor:
file: ./dist/acalaEvm.js
options:
abi: merkleDistributor
address: '0xff066331be693BE721994CF19905b2DC7475C5c9'
assets:
merkleDistributor:
file: ./merkleDistributor.abi.json
mapping:
file: ./dist/index.js
handlers:
- handler: handleClaim
kind: substrate/AcalaEvmEvent
filter:
topics:
- 'Claimed(bytes32 indexed user,address userAddress,address indexed token,uint256 amount,uint256 indexed cycle,uint256 timestamp,uint256 blockNumber,address claimer)'
- null
- null
- null