Skip to content

Commit

Permalink
update uniswap-v3 strategy (#1694)
Browse files Browse the repository at this point in the history
* Update README.md

* Add base subgraph

* fix lint

* fix lint
  • Loading branch information
ChaituVR authored Feb 12, 2025
1 parent ac14b1c commit 1b70d24
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
9 changes: 5 additions & 4 deletions src/strategies/uniswap-v3/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
4 changes: 3 additions & 1 deletion src/strategies/uniswap-v3/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down

0 comments on commit 1b70d24

Please sign in to comment.