-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsubgraph.yaml
executable file
·36 lines (36 loc) · 1.1 KB
/
subgraph.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
specVersion: 0.0.2
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: MetaStorage
network: matic
source:
address: "0xEA24e80e4B7A22C2226F9730465Ca07Bc6d5Ab81"
abi: MetaStorage
startBlock: 30065729
mapping:
kind: ethereum/events
apiVersion: 0.0.5
language: wasm/assemblyscript
entities:
- CreateNewFeature
- HostCreated
- TicketBought
- childCreated
- linkUpdate
abis:
- name: MetaStorage
file: ./abis/MetaStorage.json
eventHandlers:
- event: CreateNewFeature(address)
handler: handleCreateNewFeature
- event: HostCreated(address,string,string,string,string)
handler: handleHostCreated
- event: TicketBought(address,address,uint256)
handler: handleTicketBought
- event: childCreated(string,uint256,uint256,string,address,string,string,string,address,string,address[],string)
handler: handlechildCreated
- event: linkUpdate(address,string)
handler: handleUpdateLink
file: ./src/mapping.ts