From 7e55a86cffe644de62490a1612ae9024e324f1d3 Mon Sep 17 00:00:00 2001 From: Yongfeng LI Date: Thu, 21 Sep 2023 01:21:33 +0800 Subject: [PATCH] Add subsquare user external link and support vara network (#9890) --- packages/apps-config/src/links/subsquare.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/apps-config/src/links/subsquare.ts b/packages/apps-config/src/links/subsquare.ts index dfe4ef0e0885..5ab818b88fb1 100644 --- a/packages/apps-config/src/links/subsquare.ts +++ b/packages/apps-config/src/links/subsquare.ts @@ -29,15 +29,17 @@ export const Subsquare: ExternalDef = { Polkadot: 'polkadot', Rococo: 'rococo', 'Turing Network': 'turing', + 'Vara Network': 'vara', 'Westend Collectives': 'westend-collectives', Zeitgeist: 'zeitgeist', kintsugi: 'kintsugi' }, create: (chain: string, path: string, data: BN | number | string): string => - `https://${chain}.subsquare.io/${path}/${data.toString()}`, + `https://${chain}.subsquare.io/${path}/${data.toString()}${path === 'user' ? '/votes' : ''}`, homepage: 'https://subsquare.io/', isActive: true, paths: { + address: 'user', bounty: 'treasury/bounty', council: 'council/motion', democracyExternal: 'democracy/external',