mirror of
https://github.com/cerc-io/watcher-ts
synced 2025-01-09 21:08:06 +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>
2.9 KiB
2.9 KiB
Summary of Queries in Uniswap Info App
Actual queries are listed in queries file.
-
uniswap-v3 endpoint (https://api.thegraph.com/subgraphs/name/ianlapham/uniswap-v3-alt)
-
PoolDayData
-
Pool
- pools
- https://github.com/Uniswap/uniswap-v3-info/blob/master/src/data/pools/poolData.ts
- https://github.com/Uniswap/uniswap-v3-info/blob/master/src/data/pools/topPools.ts
- https://github.com/Uniswap/uniswap-v3-info/blob/master/src/data/search/index.ts
- https://github.com/Uniswap/uniswap-v3-info/blob/master/src/data/tokens/poolsForToken.ts
- pool
- pools
-
Tick
-
Mint
-
UniswapDayData
-
Factory
-
Transaction
-
Token
- tokens
- token queried by block (https://github.com/Uniswap/uniswap-v3-info/blob/master/src/data/tokens/priceData.ts)
-
TokenDayData
-
Bundle
-
TokenHourData
-
Swap
-
Burn
-
-
ethereum-blocks endpoint (https://api.thegraph.com/subgraphs/name/blocklytics/ethereum-blocks)
t${timestamp}:blocks (https://github.com/Uniswap/uniswap-v3-info/blob/master/src/hooks/useBlocksFromTimestamps.ts)
-
Checking subgraph health (https://thegraph.com/docs/deploy-a-subgraph#checking-subgraph-health)
https://github.com/Uniswap/uniswap-v3-info/blob/master/src/data/application/index.ts#L5