-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsubgraph.yaml
More file actions
42 lines (42 loc) · 1.09 KB
/
subgraph.yaml
File metadata and controls
42 lines (42 loc) · 1.09 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
specVersion: 0.0.2
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: AssetPoolFactory
network: matic
source:
address: "0xb3B2b0fc5ce12aE58EEb13E19547Eb2Dd61A79D5"
abi: AssetPoolFactory
mapping:
kind: ethereum/events
apiVersion: 0.0.5
language: wasm/assemblyscript
entities:
- Factory
abis:
- name: AssetPoolFactory
file: ./abis/AssetPoolFactory.json
eventHandlers:
- event: AssetPoolDeployed(address)
handler: handleAssetPoolDeployed
file: ./src/mappings/AssetPoolFactory.ts
templates:
- name: AssetPool
kind: ethereum/contract
network: matic
source:
abi: IDefaultDiamond
mapping:
kind: ethereum/events
apiVersion: 0.0.5
language: wasm/assemblyscript
file: ./src/mappings/AssetPool.ts
entities:
- AssetPool
abis:
- name: IDefaultDiamond
file: ./abis/AssetPool/IDefaultDiamond.json
eventHandlers:
- event: RegistryUpdated(address,address)
handler: handleRegistryUpdated