Skip to content

Commit

Permalink
Merge pull request #1958 from DefiLlama/uniswap-v3-base
Browse files Browse the repository at this point in the history
Update: Uniswap-v3 endpoint base
  • Loading branch information
dtmkeng authored Oct 2, 2024
2 parents b16f68b + 4d97ce8 commit ad875e4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions protocols/uniswap/index.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import ADDRESSES from '../../helpers/coreAssets.json'
import * as sdk from "@defillama/sdk";
import { Chain } from "@defillama/sdk/build/general";
import { BreakdownAdapter, FetchResultGeneric, BaseAdapter, FetchOptions } from "../../adapters/types";
import request, { gql } from 'graphql-request';
import { BaseAdapter, BreakdownAdapter, FetchOptions, FetchResultGeneric } from "../../adapters/types";
import { CHAIN } from "../../helpers/chains";
import ADDRESSES from '../../helpers/coreAssets.json';
import { getStartTimestamp } from "../../helpers/getStartTimestamp";
import * as sdk from "@defillama/sdk";
import { DEFAULT_TOTAL_VOLUME_FIELD, getGraphDimensions2 } from "../../helpers/getUniSubgraph"
import request, { gql } from 'graphql-request';
import { DEFAULT_TOTAL_VOLUME_FIELD, getGraphDimensions2 } from "../../helpers/getUniSubgraph";
import { httpPost } from '../../utils/fetchURL';

const v1Endpoints = {
Expand Down Expand Up @@ -65,7 +65,7 @@ const v3Endpoints = {
// [CHAIN.CELO]: sdk.graph.modifyEndpoint('ESdrTJ3twMwWVoQ1hUE2u7PugEHX3QkenudD6aXCkDQ4'),
[CHAIN.BSC]: sdk.graph.modifyEndpoint('F85MNzUGYqgSHSHRGgeVMNsdnW1KtZSVgFULumXRZTw2'),
// [CHAIN.AVAX]: sdk.graph.modifyEndpoint('4gTHdWa9PbqUugt9vsMmpzUowmjb6eRiFRnUSrYLeSJF'),
[CHAIN.BASE]: sdk.graph.modifyEndpoint('43Hwfi3dJSoGpyas9VwNoDAv55yjgGrPpNSmbQZArzMG'),
[CHAIN.BASE]: sdk.graph.modifyEndpoint('GqzP4Xaehti8KSfQmv3ZctFSjnSUYZ4En5NRsiTbvZpz'),
[CHAIN.ERA]: "https://api.thegraph.com/subgraphs/name/freakyfractal/uniswap-v3-zksync-era"
};

Expand Down

0 comments on commit ad875e4

Please sign in to comment.