-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsubgraph.private.yaml
44 lines (44 loc) · 1.25 KB
/
subgraph.private.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
specVersion: 0.0.4
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum/contract
name: "Aggregator-0_1_0"
network: "private"
source:
address: "0x4e71920b7330515faf5EA0c690f1aD06a85fB60c"
abi: AggregatorContract_0_1_0
startBlock: 0
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- Aggregator
abis:
- name: AggregatorContract_0_1_0
file: ./abis/AggregatorContract-0_1_0.json
eventHandlers:
- event: AggregatorUpdated(address,address,address)
handler: handleAggregatorUpdated
file: ./src/aggregator.ts
- kind: ethereum/contract
name: "Aggregator-0_2_0"
network: "private"
source:
address: "0x4e71920b7330515faf5EA0c690f1aD06a85fB60c"
abi: AggregatorContract_0_2_0
startBlock: 0
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- Aggregator
abis:
- name: AggregatorContract_0_2_0
file: ./abis/AggregatorContract-0_2_0.json
eventHandlers:
- event: AggregatorUpdated(address,address,address)
handler: handleAggregatorUpdated
file: ./src/aggregator.ts