From e14c2d4fa46ddea90bb094e0e978f099c0c78fa9 Mon Sep 17 00:00:00 2001 From: Aristides Staffieri Date: Wed, 8 Nov 2023 08:38:21 -0700 Subject: [PATCH] cleans up leftover helper/query imports --- src/service/mercury/helpers/transformers.ts | 10 ---------- src/service/mercury/index.ts | 5 +---- src/service/mercury/queries.ts | 11 ----------- 3 files changed, 1 insertion(+), 25 deletions(-) diff --git a/src/service/mercury/helpers/transformers.ts b/src/service/mercury/helpers/transformers.ts index c4fcbd4..fd8b609 100644 --- a/src/service/mercury/helpers/transformers.ts +++ b/src/service/mercury/helpers/transformers.ts @@ -12,16 +12,6 @@ interface MercuryAccountBalancesData { }; } -interface MercuryAllEntryUpdatesData { - allEntryUpdates: { - nodes: { - contractId: string; - nodeId: string; - id: string; - }[]; - }; -} - interface TokenDetails { [k: string]: { name: string; diff --git a/src/service/mercury/index.ts b/src/service/mercury/index.ts index fbdb2f4..4c45354 100644 --- a/src/service/mercury/index.ts +++ b/src/service/mercury/index.ts @@ -12,10 +12,7 @@ import { getTokenSymbol, getTxBuilder, } from "../../helper/soroban-rpc"; -import { - transformAccountBalances, - transformEntryUpdates, -} from "./helpers/transformers"; +import { transformAccountBalances } from "./helpers/transformers"; type NetworkNames = keyof typeof Networks; diff --git a/src/service/mercury/queries.ts b/src/service/mercury/queries.ts index 6f3e9e4..103c289 100644 --- a/src/service/mercury/queries.ts +++ b/src/service/mercury/queries.ts @@ -473,15 +473,4 @@ export const query = { } `, - getAllEntryUpdates: ` - query GetAllEntryUpdates { - allEntryUpdates { - nodes { - contractId - nodeId - id - } - } - } - `, };