v3-subgraph
v3-subgraph copied to clipboard
Subgraph for Uniswap V3
The factory schema indicates an owner field ``` # current owner of the factory owner: ID! ``` It's only set to 0x0 on init ``` factory.owner = ADDRESS_ZERO ``` but...
We are fetching the MKR total supply from this node using this query: ``` { token(id: "0x9f8f72aa9304c8b593d555f12ef6589cc3a579a2") { symbol totalSupply } } ``` Which gives us `totalSupply": "18320"`, however when...
First I implemented the [graph node](https://github.com/graphprotocol/graph-node) to update the data source and store them in the DB that can be queried via the GraphQL endpoint (I used Infura's mainnet endpoint...
The subgraph is undocumented.  * What is the unit of the `liquidity` value? * How does `volumeToken0` compare to `totalValueLockedToken0`? * Why is `volumeToken1` value negative? Is this related...
I have noticed that many of the token0Price and token1Price returned from the pools query are inaccurate. I am calling the following query: { pools (first:1000, orderBy:totalValueLockedETH, orderDirection:desc) { id...
These two fields of Position entity are missing in the schema.graphql file of main branch. However, it is used in position-manager.ts file Please include these two entities there in main...
Sorry, if this question is stupid, but should TotalValueLocked of some token to be equal or close to LP token balance? 14 177 942 blocks Query: ```{ pools(where: {id: "0x290a6a7460b308ee3f19023d2d00de604bcf5b42"})...
The `collectedFeesToken0` and `collectedFeesToken1` fields return 0 when fees were collected. ### Example Transaction [0xe168ca7482665665031a527e7fdcfabda163cf70f040c93ed9c6a58c4e1a49b1](https://etherscan.io/tx/0xe168ca7482665665031a527e7fdcfabda163cf70f040c93ed9c6a58c4e1a49b1) Query ``` { positionSnapshots(where:{transaction: "0xe168ca7482665665031a527e7fdcfabda163cf70f040c93ed9c6a58c4e1a49b1"}) { collectedFeesToken0 collectedFeesToken1 } } ``` Response ``` { "data":...