watcher-ts/packages/uniswap
Ashwin Phatak d5608f637a
Aggregation in entities (#109)
* 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>
2021-06-30 17:16:50 +05:30
..
queries Aggregation in entities (#109) 2021-06-30 17:16:50 +05:30
schema Aggregation in entities (#109) 2021-06-30 17:16:50 +05:30
aggregation.md Aggregation in entities (#109) 2021-06-30 17:16:50 +05:30
contract.md Aggregation in entities (#109) 2021-06-30 17:16:50 +05:30
design-notes.md Aggregation in entities (#109) 2021-06-30 17:16:50 +05:30
package.json Aggregation in entities (#109) 2021-06-30 17:16:50 +05:30
README.md Aggregation in entities (#109) 2021-06-30 17:16:50 +05:30

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
    

References