Skip to content

Commit

Permalink
cleans up leftover helper/query imports
Browse files Browse the repository at this point in the history
  • Loading branch information
aristidesstaffieri committed Nov 8, 2023
1 parent 08bd7d4 commit e14c2d4
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 25 deletions.
10 changes: 0 additions & 10 deletions src/service/mercury/helpers/transformers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,6 @@ interface MercuryAccountBalancesData {
};
}

interface MercuryAllEntryUpdatesData {
allEntryUpdates: {
nodes: {
contractId: string;
nodeId: string;
id: string;
}[];
};
}

interface TokenDetails {
[k: string]: {
name: string;
Expand Down
5 changes: 1 addition & 4 deletions src/service/mercury/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
11 changes: 0 additions & 11 deletions src/service/mercury/queries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -473,15 +473,4 @@ export const query = {
}
`,
getAllEntryUpdates: `
query GetAllEntryUpdates {
allEntryUpdates {
nodes {
contractId
nodeId
id
}
}
}
`,
};

0 comments on commit e14c2d4

Please sign in to comment.