diff --git a/adapters/secta/src/sdk/config.ts b/adapters/secta/src/sdk/config.ts index 58233af7..a50db2c2 100644 --- a/adapters/secta/src/sdk/config.ts +++ b/adapters/secta/src/sdk/config.ts @@ -14,11 +14,11 @@ export const SUBGRAPH_URLS = { [CHAINS.LINEA]: { [PROTOCOLS.SECTA]: { [AMM_TYPES.SECTAV3]: - "https://api.studio.thegraph.com/query/66239/secta-linea-exchange-v3/version/latest", - // "https://gateway-arbitrum.network.thegraph.com/api/3700f7806f624898da7631bb01f5253f/subgraphs/id/DQz9g5ZRSiprkXXCRwRSTjh6J5gsRMuhr8TymEo1pZe6", + //"https://api.studio.thegraph.com/query/66239/secta-linea-exchange-v3/version/latest", + "https://gateway-arbitrum.network.thegraph.com/api/3700f7806f624898da7631bb01f5253f/subgraphs/id/DQz9g5ZRSiprkXXCRwRSTjh6J5gsRMuhr8TymEo1pZe6", [AMM_TYPES.SECTAV2]: - "https://api.studio.thegraph.com/query/66239/secta-linea-exchange-v2/version/latest", - // "https://gateway-arbitrum.network.thegraph.com/api/3700f7806f624898da7631bb01f5253f/subgraphs/id/4YKqZQ3pH5wZ3seW2ojc1o5HxoJVYQ6UBdunW8ovJCBz", + //"https://api.studio.thegraph.com/query/66239/secta-linea-exchange-v2/version/latest", + "https://gateway-arbitrum.network.thegraph.com/api/3700f7806f624898da7631bb01f5253f/subgraphs/id/4YKqZQ3pH5wZ3seW2ojc1o5HxoJVYQ6UBdunW8ovJCBz", }, }, }; diff --git a/adapters/syncswap/src/sdk/config.ts b/adapters/syncswap/src/sdk/config.ts index c3d4c672..176ffaae 100644 --- a/adapters/syncswap/src/sdk/config.ts +++ b/adapters/syncswap/src/sdk/config.ts @@ -1,7 +1,7 @@ import { createPublicClient, http } from "viem"; import { linea } from "viem/chains" -export const V2_SUBGRAPH_URL = "https://gateway-arbitrum.network.thegraph.com/api/ce0ba3625ebbbd3c4b5a2af394dc8e47/subgraphs/id/3xpZFx5YNWzqemwdtRhyaTXVidKNnjY19XAWoHtvR6Lh" +export const V2_SUBGRAPH_URL = "https://gateway-arbitrum.network.thegraph.com/api/06a21853c18afff683a7ff52c764d434/subgraphs/id/3xpZFx5YNWzqemwdtRhyaTXVidKNnjY19XAWoHtvR6Lh" export const client = createPublicClient({ chain: linea, transport: http("https://rpc.linea.build") diff --git a/adapters/syncswap/src/sdk/lib.ts b/adapters/syncswap/src/sdk/lib.ts index 56e380e2..356efb60 100644 --- a/adapters/syncswap/src/sdk/lib.ts +++ b/adapters/syncswap/src/sdk/lib.ts @@ -84,7 +84,11 @@ export const getV2UserPositionsAtBlock = async (blockNumber: number): Promise { const { reserve0, reserve1 } = getV2PositionReserves(position) return {