mirror of
https://github.com/cerc-io/watcher-ts
synced 2025-01-25 12:30:33 +00:00
d5608f637a
* Analyse entity aggregations in uniswap subgraph. * Analyse entity aggregation for Day data and Hour data entities. * Design notes. * Reorg, split analysis files. Co-authored-by: nikugogoi <95nikass@gmail.com>
19 lines
477 B
Markdown
19 lines
477 B
Markdown
# Uniswap
|
|
|
|
## Scripts
|
|
|
|
* **generate:schema**
|
|
|
|
Generate schema for uniswap subgraph in graphql format. The `get-graphql-schema` tool is used to generate the schema (https://github.com/prisma-labs/get-graphql-schema). The uniswap subgraph graphql endpoint is provided in the script to generate the schema.
|
|
|
|
* **lint:schema**
|
|
|
|
Lint schema graphql files.
|
|
```bash
|
|
$ yarn lint:schema schema/frontend.graphql
|
|
```
|
|
|
|
## References
|
|
|
|
* https://github.com/Uniswap/uniswap-v3-core
|