sushiswap-subgraph
sushiswap-subgraph copied to clipboard
Sushiswap Subgraph
- Added Aurora config - Added constant for NEAR's decimals(24) - Added scripts for prepare config and deploy for Aurora
https://api.thegraph.com/subgraphs/name/sushiswap/exchange/graphql?query=query+MyQuery+%7B%0A++swaps%28%0A++++first%3A+100%0A++++orderBy%3A+timestamp%0A++++orderDirection%3A+desc%0A++++where%3A+%7Bpair_in%3A+%5B%220x69b81152c5a8d35a67b32a4d3772795d96cae4da%22%5D%7D%0A++%29+%7B%0A++++pair+%7B%0A++++++reserve0%0A++++++reserve1%0A++++%7D%0A++++timestamp%0A++%7D%0A%7D reserve0, reserve1 are the same values over multiple swap data which is wrong
Load subgraph from subgraph.yaml Compile data source: Factory => build\Factory\Factory.wasm × Failed to compile subgraph: Failed to compile data source mapping: Import file '~lib/const.ts' not found. Error: Failed to compile...
Hi, I face this issue when I try to build the exchange subgraph. ``` $ yarn run codegen yarn run v1.22.10 graph codegen subgraph.yaml The current version of graph-cli can't...
https://github.com/sushiswap/sushiswap-subgraph/blob/ee7afb21040d22c588e5df6da4817a5f7cc97c58/src/exchange/pricing.ts#L93 Ive added a logger here and it always seems to return zero. Like, always always. This function seems to only be called in 2 places. https://github.com/sushiswap/sushiswap-subgraph/blob/master/src/exchange/mappings/pair.ts#L338 and https://github.com/sushiswap/sushiswap-subgraph/blob/master/src/exchange/mappings/pair.ts#L339 So...
Hi there, I have a reference swap transaction on sushiswap matic exchange that can be found here: https://polygonscan.com/tx/0x27ca6dce7210626ab2c1fe8496b0619e1ae4c43ca70ae3d28675e863721e8a2f Query url: https://api.thegraph.com/subgraphs/name/sushiswap/matic-exchange When I try to query that transaction using the...
This problem seems to have started a few days ago, the deployed subgraph seems to be missing pools on the MATIC network. For example, trying to query for the USDC-WETH...
```pnpm run prepare``` to prepare all subgraphs