Skip to content
This repository was archived by the owner on Jun 8, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions codegen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ const config: CodegenConfig = {
theGraphSchema(blocksSubgraph),
theGraphSchema(balancerV2Subgraph),
"https://api.subgraph.ormilabs.com/api/public/396b336b-4ed7-469f-a8f4-468e1e26e9a8/subgraphs/aura-finance-mainnet/v0.0.1/",
"https://backend-v3.beets-ftm-node.com/",
"https://api-v3.balancer.fi/",
],
documents: [
"src/data/blocks/*.gql",
"src/data/balancer/*.gql",
"src/data/aura/*.gql",
"src/data/balancer-api-v3/*.gql",
"src/data/tokens/*gql",
],
hooks: {
Expand Down Expand Up @@ -65,7 +65,7 @@ const config: CodegenConfig = {

// Generates query and mutation documents and types for balancer v3 API
"src/apollo/generated/graphql-balancer-v3-codegen-generated.ts": {
schema: ["https://backend-v3.beets-ftm-node.com/"],
schema: ["https://api-v3.balancer.fi/"],
documents: ["src/data/balancer-api-v3/*.gql"],
plugins: [
{ add: { content: "/* tslint:disable */" } },
Expand Down
2 changes: 1 addition & 1 deletion src/apollo/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,7 @@ export function getAuraNetworkClient(networkId: string): ApolloClient<Normalized
}

export const tokenClient = new ApolloClient({
uri: 'https://backend-v3.beets-ftm-node.com/',
uri: 'https://api-v3.balancer.fi/',
cache: new InMemoryCache(),
queryDeduplication: true,
defaultOptions: {
Expand Down
11 changes: 2 additions & 9 deletions src/apollo/generated/fragmentMetadata.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"possibleTypes": {
"GqlPoolAprValue": ["GqlPoolAprRange", "GqlPoolAprTotal"],
"GqlPoolBase": [
"GqlPoolComposableStable",
"GqlPoolElement",
"GqlPoolFixedPriceLBP",
"GqlPoolFx",
"GqlPoolGyro",
"GqlPoolLiquidityBootstrapping",
Expand All @@ -19,17 +19,10 @@
"GqlPoolSwapEventCowAmm",
"GqlPoolSwapEventV3"
],
"GqlPoolFeaturedPoolGroupItem": [
"GqlFeaturePoolGroupItemExternalLink",
"GqlPoolMinimal"
],
"GqlPoolNestedUnion": ["GqlPoolComposableStableNested"],
"GqlPoolTokenBase": ["GqlPoolToken", "GqlPoolTokenComposableStable"],
"GqlPoolTokenComposableStableNestedUnion": ["GqlPoolToken"],
"GqlPoolTokenUnion": ["GqlPoolToken", "GqlPoolTokenComposableStable"],
"GqlPoolUnion": [
"GqlPoolComposableStable",
"GqlPoolElement",
"GqlPoolFixedPriceLBP",
"GqlPoolFx",
"GqlPoolGyro",
"GqlPoolLiquidityBootstrapping",
Expand Down
Loading