sushiswap-watcher-ts/packages/blocks-watcher/subgraph-build/subgraph.yaml
Prathamesh Musale 45e4fca670 Generate watcher for sushiswap blocks subgraph (#3)
Part of [Generate watchers for sushiswap subgraphs deployed in graph-node](https://www.notion.so/Generate-watchers-for-sushiswap-subgraphs-deployed-in-graph-node-b3f2e475373d4ab1887d9f8720bd5ae6)

Co-authored-by: neeraj <neeraj.rtly@gmail.com>
Reviewed-on: cerc-io/sushiswap-watcher-ts#3
Co-authored-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
Co-committed-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
2024-06-12 06:35:56 +00:00

26 lines
674 B
YAML

specVersion: 0.0.4
description: Blocks
repository: https://github.com/sushiswap/subgraphs
schema:
file: schema.graphql
dataSources:
- kind: ethereum/contract
name: UniswapV2Factory
network: mainnet
source:
address: "0x719e14fcb364bb05649bd525eb6c4a2d0d4ea2b7"
startBlock: 2867000
abi: UniswapV2Factory
mapping:
kind: ethereun/events
apiVersion: 0.0.6
language: wasm/assemblyscript
file: UniswapV2Factory/UniswapV2Factory.wasm
entities:
- Blocks
abis:
- name: UniswapV2Factory
file: UniswapV2Factory/abis/UniswapV2Factory.json
blockHandlers:
- handler: onBlock