From 1b70d24588f16e68d771d2330d97b1573a7410c0 Mon Sep 17 00:00:00 2001 From: Chaitanya Date: Wed, 12 Feb 2025 15:08:19 +0530 Subject: [PATCH] update uniswap-v3 strategy (#1694) * Update README.md * Add base subgraph * fix lint * fix lint --- src/strategies/uniswap-v3/README.md | 9 +++++---- src/strategies/uniswap-v3/index.ts | 4 +++- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/src/strategies/uniswap-v3/README.md b/src/strategies/uniswap-v3/README.md index 0389e98eb..34530c48f 100644 --- a/src/strategies/uniswap-v3/README.md +++ b/src/strategies/uniswap-v3/README.md @@ -4,7 +4,8 @@ This strategy fetches the reserves of the user's positions in Uniswap V3. ## Params -|| **name** || **description** || **default** || -|| tokenReserve || Token reserve to consider for scoring || || -|| poolAddress || Pool address to fetch the positions from. || || -|| subgraph || Subgraph URL to fetch the data from. || uniswap-v3 subgraph URL || +| **name** | **description** | **default** | +| ---- | ---- | ---- | +| tokenReserve | Token reserve to consider for scoring | - | +| poolAddress | Pool address to fetch the positions from. | - | +| subgraph | Subgraph URL to fetch the data from. | uniswap-v3 subgraph URL | diff --git a/src/strategies/uniswap-v3/index.ts b/src/strategies/uniswap-v3/index.ts index 2224dacdf..ba4b52630 100644 --- a/src/strategies/uniswap-v3/index.ts +++ b/src/strategies/uniswap-v3/index.ts @@ -2,7 +2,9 @@ import { subgraphRequest } from '../../utils'; import { getAllReserves } from './helper'; const UNISWAP_V3_SUBGRAPH_URL = { - '1': 'https://subgrapher.snapshot.org/subgraph/arbitrum/5zvR82QoaXYFyDEKLZ9t6v9adgnptxYpKpSbxtgVENFV' + '1': 'https://subgrapher.snapshot.org/subgraph/arbitrum/5zvR82QoaXYFyDEKLZ9t6v9adgnptxYpKpSbxtgVENFV', + '8453': + 'https://subgrapher.snapshot.org/subgraph/arbitrum/43Hwfi3dJSoGpyas9VwNoDAv55yjgGrPpNSmbQZArzMG' }; export const author = 'anassohail99';