mirror of
https://github.com/cerc-io/watcher-ts
synced 2024-11-19 20:36:19 +00:00
b7ffb7c672
* Implement mock bundle query in watcher. * Use chance js for generating mock data. * Add bundles query. * Setup resolvers with uniswap info schema. * Add mock query for Burn entity. * Add mock query for Factory entity. * Add mock queries for entities Mint, Pool and Transaction. * Add mock query for Swap entity. * Add mock queries for day data entities. * Implment mock ticks query. * Add mock tokenHourDatas query. * Add mock queries for uni-info-watcher to readme. Co-authored-by: nikugogoi <95nikass@gmail.com> |
||
---|---|---|
.. | ||
queries | ||
schema | ||
aggregation.md | ||
contract.md | ||
design-notes.md | ||
package.json | ||
README.md |
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.
$ yarn lint:schema schema/frontend.graphql