forked from Detoo/mirror-xyz-subgraph-optimism
-
Notifications
You must be signed in to change notification settings - Fork 0
/
subgraph.yaml
29 lines (29 loc) · 961 Bytes
/
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
specVersion: 0.0.4
description: Subgraph for Mirror.xyz @ Optimism
repository: https://github.com/Detoo/mirror-xyz-subgraph-optimism.git
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum/contract
name: Observability
network: optimism
source:
abi: Observability
address: "0x4C2393AAe4f0aD55dfd4ddCfa192F817d1b28d1F"
startBlock: 8557803
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
file: ./src/mappings/observability.ts
entities:
- Clone
- WritingEditionPurchased
abis:
- name: Observability
file: ./abis/Observability.json
eventHandlers:
- event: CloneDeployed(indexed address,indexed address,indexed address)
handler: handleCloneDeployed
- event: WritingEditionPurchased(indexed address,uint256,indexed address,uint256,string)
handler: handleWritingEditionPurchased