DefiLlama/dimension-adapters

Polygon fees pulls from stale subgraph

Closed this issue · 2 comments

Wanted to flag that I think Polygon fees are off. Checked it with a few other sources (and an indexer I use) and results from subgraph are less than what I would expect.

https://github.com/DefiLlama/dimension-adapters/blob/master/fees/polygon.ts#L10

This subgraph relies on this Quickswap pool to quote WMATIC-USDC, which seems like it may be quoting stale prices relative to mkt spot w/ more volume.

I reached out to @dmihal, but haven't heard back, figured I would also flag to you all as well.

updated switch to query on chain data

thank you for report