From d2cf278996dd843c49c5713d2dde6479855173d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torsten=20Stu=CC=88ber?= <15174476+TorstenStueber@users.noreply.github.com> Date: Wed, 3 Jul 2024 07:53:14 +0200 Subject: [PATCH] Enable USDC.axl Nabla prototype for Pendulum --- src/components/Layout/links.tsx | 1 + src/config/apps/nabla.ts | 9 +++++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/components/Layout/links.tsx b/src/components/Layout/links.tsx index 50f6acdf..b5c9b67b 100644 --- a/src/components/Layout/links.tsx +++ b/src/components/Layout/links.tsx @@ -97,6 +97,7 @@ export const links: Links = ({ tenantName }) => [ title: 'Forex AMM', hidden: (nablaConfig.environment && !nablaConfig.environment.includes(config.env)) || + !tenantName || (tenantName && !nablaConfig.tenants.includes(tenantName)), prefix: , props: { diff --git a/src/config/apps/nabla.ts b/src/config/apps/nabla.ts index 47a91634..53858f14 100644 --- a/src/config/apps/nabla.ts +++ b/src/config/apps/nabla.ts @@ -13,11 +13,16 @@ export type NablaConfig = AppConfigBase & >; export const nablaConfig: NablaConfig = { - tenants: [TenantName.Foucoco], - environment: ['staging', 'development'], + tenants: [TenantName.Foucoco, TenantName.Pendulum], + environment: ['staging', 'development', 'production'], foucoco: { indexerUrl: 'https://pendulum.squids.live/foucoco-squid/graphql', router: '6h54SUQjbXjYbYT7p7vDcXSVGAQNgu78jkhErLJoW7EXo3ry', oracle: '6nT6THovpSsTtCCi9Lae1NoAAviLbzULaEo41Yg5eYJrCZXu', }, + pendulum: { + indexerUrl: 'https://pendulum.squids.live/pendulum-squid/graphql', + router: '6dQQoUKQ9LNDCrGMjoZjeHBXsuihSgQiQEgD9Z7VtHR82wfG', + oracle: '6eFMEXfr5cebufroDDPnJrawkuoDeqYwxtwn3vKaKLNjM31W', + }, };