sushiswap-watcher-ts/packages/route-processor-watcher/src/gql/subscriptions/index.ts
Prathamesh Musale ffc637f7a4 Generate watcher for sushiswap route-processor subgraph (#5)
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: #5
Co-authored-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
Co-committed-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
2024-06-12 13:10:43 +00:00

5 lines
132 B
TypeScript

import fs from 'fs';
import path from 'path';
export const onEvent = fs.readFileSync(path.join(__dirname, 'onEvent.gql'), 'utf8');