mirror of
https://github.com/pezkuwichain/pezkuwi-apps.git
synced 2026-11-21 21:39:56 +00:00
apps-config: drop the foreign chains' logos, links and identity icons
- 87 chain and all 185 node logos were referenced by nothing once the foreign endpoints went; the images are removed and imgConvert no longer generates a nodes set. Pezkuwi and Zagros logos remain. - External links: none of the 14 services serves a Pezkuwi chain. Most are third-party sites whose chain keys had been renamed by the rebrand (on Zagros they linked to commonwealth, subsquare and others for another chain's data); stats., statescan. and scan.pezkuwichain.io do not resolve, explorer.pezkuwichain.io is a placeholder and treasury./ governance. redirect back to this app. externalLinks is empty until a service indexes a Pezkuwi chain; their logos are removed too. - Identity icons: the centrifuge, joystream, litentry, dicle and paseo entries are removed.
This commit is contained in:
1 parent
7fae8bc279
commit
66e8d6c1be
596 files changed
+7
-5766
No files matched your search
@@ -1,24 +0,0 @@
|
||||
// Copyright 2017-2026 @pezkuwi/apps-config authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { BN } from '@pezkuwi/util';
|
||||
import type { ExternalDef } from './types.js';
|
||||
|
||||
import { externalCerestatsPNG } from '../ui/logos/external/index.js';
|
||||
|
||||
export const CereStats: ExternalDef = {
|
||||
// CereStats is Cere-specific, not applicable to Pezkuwi networks
|
||||
chains: {},
|
||||
create: (_: string, path: string, data: BN | number | string): string =>
|
||||
`https://stats.cere.network/${path}/${data.toString()}`,
|
||||
homepage: 'https://stats.cere.network',
|
||||
isActive: false,
|
||||
paths: {
|
||||
address: 'account',
|
||||
block: 'block',
|
||||
validator: 'validator'
|
||||
},
|
||||
ui: {
|
||||
logo: externalCerestatsPNG
|
||||
}
|
||||
};
|
||||
@@ -1,31 +0,0 @@
|
||||
// Copyright 2017-2026 @pezkuwi/apps-config authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { BN } from '@pezkuwi/util';
|
||||
import type { ExternalDef } from './types.js';
|
||||
|
||||
import { externalCommonwealthPNG } from '../ui/logos/external/index.js';
|
||||
|
||||
const HASH_PATHS = ['proposal/councilmotion'];
|
||||
|
||||
export const Commonwealth: ExternalDef = {
|
||||
// Note: Commonwealth may not support Pezkuwi networks yet. These are placeholder entries.
|
||||
chains: {
|
||||
Dicle: 'dicle',
|
||||
Pezkuwi: 'pezkuwi',
|
||||
Zagros: 'zagros'
|
||||
},
|
||||
create: (chain: string, path: string, data: BN | number | string, hash?: string): string =>
|
||||
`https://commonwealth.im/${chain}/${path}/${HASH_PATHS.includes(path) ? (hash || '') : data.toString()}`,
|
||||
homepage: 'https://commonwealth.im/',
|
||||
isActive: false,
|
||||
paths: {
|
||||
council: 'proposal/councilmotion',
|
||||
democracyProposal: 'proposal/democracyproposal',
|
||||
democracyReferendum: 'proposal/referendum',
|
||||
treasury: 'proposal/treasuryproposal'
|
||||
},
|
||||
ui: {
|
||||
logo: externalCommonwealthPNG
|
||||
}
|
||||
};
|
||||
@@ -1,24 +0,0 @@
|
||||
// Copyright 2017-2026 @pezkuwi/apps-config authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { BN } from '@pezkuwi/util';
|
||||
import type { ExternalDef } from './types.js';
|
||||
|
||||
import { externalEdgscanPNG } from '../ui/logos/external/index.js';
|
||||
|
||||
export const Edgscan: ExternalDef = {
|
||||
// Edgscan is Edgeware-specific, not applicable to Pezkuwi networks
|
||||
chains: {},
|
||||
create: (_chain: string, path: string, data: BN | number | string): string =>
|
||||
`https://edgscan.ink/#/${path}/${data.toString()}`,
|
||||
homepage: 'https://edgscan.ink/',
|
||||
isActive: false,
|
||||
paths: {
|
||||
address: 'accounts',
|
||||
block: 'blocks',
|
||||
extrinsic: 'extrinsics'
|
||||
},
|
||||
ui: {
|
||||
logo: externalEdgscanPNG
|
||||
}
|
||||
};
|
||||
@@ -1,27 +0,0 @@
|
||||
// Copyright 2017-2026 @pezkuwi/apps-config authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { BN } from '@pezkuwi/util';
|
||||
import type { ExternalDef } from './types.js';
|
||||
|
||||
import { externalHeztreasurySVG } from '../ui/logos/external/index.js';
|
||||
|
||||
export const Heztreasury: ExternalDef = {
|
||||
chains: {
|
||||
Dicle: 'dicle',
|
||||
Pezkuwi: 'pezkuwi',
|
||||
Zagros: 'zagros'
|
||||
},
|
||||
create: (chain: string, path: string, data: BN | number | string): string =>
|
||||
`https://treasury.pezkuwichain.io/${chain}/${path}/${data.toString()}`,
|
||||
homepage: 'https://treasury.pezkuwichain.io/',
|
||||
isActive: true,
|
||||
paths: {
|
||||
bounty: 'bounties',
|
||||
tip: 'tips',
|
||||
treasury: 'proposals'
|
||||
},
|
||||
ui: {
|
||||
logo: externalHeztreasurySVG
|
||||
}
|
||||
};
|
||||
@@ -3,29 +3,8 @@
|
||||
|
||||
import type { ExternalDef } from './types.js';
|
||||
|
||||
import { CereStats } from './cerestats.js';
|
||||
import { Commonwealth } from './commonwealth.js';
|
||||
import { Edgscan } from './edgscan.js';
|
||||
import { Heztreasury } from './heztreasury.js';
|
||||
import { KodaDot } from './kodadot.js';
|
||||
import { MoonbeamApps } from './moonbeamApps.js';
|
||||
import { PezkuwiassemblyIo, PezkuwiassemblyNetwork } from './pezkuwiassembly.js';
|
||||
import { Statescan } from './statescan.js';
|
||||
import { SubId } from './subid.js';
|
||||
import { Subscan } from './subscan.js';
|
||||
import { Subsquare } from './subsquare.js';
|
||||
|
||||
export const externalLinks: Record<string, ExternalDef> = {
|
||||
CereStats,
|
||||
Commonwealth,
|
||||
Edgscan,
|
||||
Heztreasury,
|
||||
KodaDot,
|
||||
MoonbeamApps,
|
||||
PezkuwiassemblyIo,
|
||||
PezkuwiassemblyNetwork,
|
||||
Statescan,
|
||||
SubId,
|
||||
Subscan,
|
||||
Subsquare
|
||||
};
|
||||
// External explorers and dashboards by name, each listing the system.chain
|
||||
// names it indexes. None indexes a Pezkuwi chain yet: explorer.pezkuwichain.io
|
||||
// is a placeholder and treasury/governance redirect back to this app. A
|
||||
// service is added here once it serves a Pezkuwi chain.
|
||||
export const externalLinks: Record<string, ExternalDef> = {};
|
||||
@@ -1,36 +0,0 @@
|
||||
// Copyright 2017-2026 @pezkuwi/apps-config authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { BN } from '@pezkuwi/util';
|
||||
import type { ExternalDef } from './types.js';
|
||||
|
||||
import { externalKodadotSVG } from '../ui/logos/external/index.js';
|
||||
|
||||
const getNetwork = (_chain: string) => {
|
||||
const chain = {
|
||||
basilisk: 'bsx',
|
||||
statemine: 'ahk',
|
||||
statemint: 'ahp'
|
||||
}[_chain];
|
||||
|
||||
return `https://kodadot.xyz/${chain}/u/`;
|
||||
};
|
||||
|
||||
export const KodaDot: ExternalDef = {
|
||||
// Note: KodaDot may not support Pezkuwi networks yet. These are placeholder entries.
|
||||
chains: {
|
||||
'Dicle Asset Hub': 'statemine',
|
||||
'Pezkuwi Asset Hub': 'statemint',
|
||||
'Zagros Asset Hub': 'statemint'
|
||||
},
|
||||
create: (_chain: string, _path: string, data: BN | number | string): string =>
|
||||
`${getNetwork(_chain)}${data.toString()}`,
|
||||
homepage: 'https://kodadot.xyz',
|
||||
isActive: false,
|
||||
paths: {
|
||||
address: 'account'
|
||||
},
|
||||
ui: {
|
||||
logo: externalKodadotSVG
|
||||
}
|
||||
};
|
||||
@@ -1,22 +0,0 @@
|
||||
// Copyright 2017-2026 @pezkuwi/apps-config authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { BN } from '@pezkuwi/util';
|
||||
import type { ExternalDef } from './types.js';
|
||||
|
||||
import { externalMoonbeamAppsSVG } from '../ui/logos/external/index.js';
|
||||
|
||||
export const MoonbeamApps: ExternalDef = {
|
||||
// MoonbeamApps is Moonbeam-specific, not applicable to Pezkuwi networks
|
||||
chains: {},
|
||||
create: (chain: string, path: string, data: BN | number | string): string =>
|
||||
`https://apps.moonbeam.network/${chain}/${path}/${data.toString()}`,
|
||||
homepage: 'https://apps.moonbeam.network/',
|
||||
isActive: false,
|
||||
paths: {
|
||||
referenda: 'referendum'
|
||||
},
|
||||
ui: {
|
||||
logo: externalMoonbeamAppsSVG
|
||||
}
|
||||
};
|
||||
@@ -1,55 +0,0 @@
|
||||
// Copyright 2017-2026 @pezkuwi/apps-config authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { BN } from '@pezkuwi/util';
|
||||
import type { ExternalDef } from './types.js';
|
||||
|
||||
import { externalPezkuwiassemblySVG } from '../ui/logos/external/index.js';
|
||||
|
||||
export const PezkuwiassemblyIo: ExternalDef = {
|
||||
chains: {
|
||||
Dicle: 'dicle',
|
||||
'Dicle Asset Hub': 'dicle/assethub',
|
||||
'Dicle Collectives': 'dicle/collectives',
|
||||
'Dicle Coretime': 'dicle/coretime',
|
||||
'Dicle People': 'dicle/people',
|
||||
Pezkuwi: 'pezkuwi',
|
||||
'Pezkuwi Asset Hub': 'pezkuwi/assethub',
|
||||
'Pezkuwi Collectives': 'pezkuwi/collectives',
|
||||
'Pezkuwi Coretime': 'pezkuwi/coretime',
|
||||
'Pezkuwi People': 'pezkuwi/people',
|
||||
Zagros: 'zagros',
|
||||
'Zagros Asset Hub': 'zagros/assethub',
|
||||
'Zagros Collectives': 'zagros/collectives',
|
||||
'Zagros Coretime': 'zagros/coretime',
|
||||
'Zagros People': 'zagros/people'
|
||||
},
|
||||
create: (chain: string, path: string, data: BN | number | string): string =>
|
||||
`https://governance.pezkuwichain.io/${chain}/${path}/${data.toString()}`,
|
||||
homepage: 'https://governance.pezkuwichain.io/',
|
||||
isActive: true,
|
||||
paths: {
|
||||
address: 'address',
|
||||
bounty: 'bounty',
|
||||
council: 'motion',
|
||||
democracyProposal: 'proposal',
|
||||
democracyReferendum: 'referendum',
|
||||
fellowshipReferenda: 'member-referenda',
|
||||
referenda: 'referenda',
|
||||
tip: 'tip',
|
||||
treasury: 'treasury'
|
||||
},
|
||||
ui: {
|
||||
logo: externalPezkuwiassemblySVG
|
||||
}
|
||||
};
|
||||
|
||||
export const PezkuwiassemblyNetwork: ExternalDef = {
|
||||
...PezkuwiassemblyIo,
|
||||
// Secondary governance portal (alias)
|
||||
chains: {},
|
||||
create: (chain: string, path: string, data: BN | number | string): string =>
|
||||
`https://governance.pezkuwichain.io/${chain}/${path}/${data.toString()}`,
|
||||
homepage: 'https://governance.pezkuwichain.io/',
|
||||
isActive: false
|
||||
};
|
||||
@@ -1,47 +0,0 @@
|
||||
// Copyright 2017-2026 @pezkuwi/apps-config authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { BN } from '@pezkuwi/util';
|
||||
import type { ExternalDef } from './types.js';
|
||||
|
||||
import { externalPezkuwiscanSVG } from '../ui/logos/external/index.js';
|
||||
|
||||
export const Pezkuwiscan: ExternalDef = {
|
||||
chains: {
|
||||
Dicle: 'dicle',
|
||||
'Dicle Asset Hub': 'dicle/assethub',
|
||||
'Dicle Bridge Hub': 'dicle/bridgehub',
|
||||
'Dicle Collectives': 'dicle/collectives',
|
||||
'Dicle Coretime': 'dicle/coretime',
|
||||
'Dicle People': 'dicle/people',
|
||||
Pezkuwi: 'pezkuwi',
|
||||
'Pezkuwi Asset Hub': 'pezkuwi/assethub',
|
||||
'Pezkuwi Bridge Hub': 'pezkuwi/bridgehub',
|
||||
'Pezkuwi Collectives': 'pezkuwi/collectives',
|
||||
'Pezkuwi Coretime': 'pezkuwi/coretime',
|
||||
'Pezkuwi People': 'pezkuwi/people',
|
||||
Zagros: 'zagros',
|
||||
'Zagros Asset Hub': 'zagros/assethub',
|
||||
'Zagros Bridge Hub': 'zagros/bridgehub',
|
||||
'Zagros Collectives': 'zagros/collectives',
|
||||
'Zagros Coretime': 'zagros/coretime',
|
||||
'Zagros People': 'zagros/people'
|
||||
},
|
||||
create: (chain: string, path: string, data: BN | number | string): string =>
|
||||
`https://explorer.pezkuwichain.io/${chain}/${path}/${data.toString()}`,
|
||||
homepage: 'https://explorer.pezkuwichain.io/',
|
||||
isActive: true,
|
||||
paths: {
|
||||
address: 'account',
|
||||
block: 'block',
|
||||
council: 'council/motion',
|
||||
democracyProposal: 'democracy/proposal',
|
||||
democracyReferendum: 'democracy/referendum',
|
||||
extrinsic: 'transaction',
|
||||
techcomm: 'techcomm/proposal',
|
||||
treasury: 'treasury/proposal'
|
||||
},
|
||||
ui: {
|
||||
logo: externalPezkuwiscanSVG
|
||||
}
|
||||
};
|
||||
@@ -1,43 +0,0 @@
|
||||
// Copyright 2017-2026 @pezkuwi/apps-config authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { BN } from '@pezkuwi/util';
|
||||
import type { ExternalDef } from './types.js';
|
||||
|
||||
import { externalPezkuwistatsSVG } from '../ui/logos/external/index.js';
|
||||
|
||||
export const Pezkuwistats: ExternalDef = {
|
||||
chains: {
|
||||
Dicle: 'dicle',
|
||||
'Dicle Asset Hub': 'dicle/assethub',
|
||||
'Dicle Bridge Hub': 'dicle/bridgehub',
|
||||
'Dicle Collectives': 'dicle/collectives',
|
||||
'Dicle Coretime': 'dicle/coretime',
|
||||
'Dicle People': 'dicle/people',
|
||||
Pezkuwi: 'pezkuwi',
|
||||
'Pezkuwi Asset Hub': 'pezkuwi/assethub',
|
||||
'Pezkuwi Bridge Hub': 'pezkuwi/bridgehub',
|
||||
'Pezkuwi Collectives': 'pezkuwi/collectives',
|
||||
'Pezkuwi Coretime': 'pezkuwi/coretime',
|
||||
'Pezkuwi People': 'pezkuwi/people',
|
||||
Zagros: 'zagros',
|
||||
'Zagros Asset Hub': 'zagros/assethub',
|
||||
'Zagros Bridge Hub': 'zagros/bridgehub',
|
||||
'Zagros Collectives': 'zagros/collectives',
|
||||
'Zagros Coretime': 'zagros/coretime',
|
||||
'Zagros People': 'zagros/people'
|
||||
},
|
||||
create: (chain: string, path: string, data: BN | number | string): string =>
|
||||
`https://stats.pezkuwichain.io/${chain}/${path}/${data.toString()}`,
|
||||
homepage: 'https://stats.pezkuwichain.io/',
|
||||
isActive: true,
|
||||
paths: {
|
||||
address: 'account',
|
||||
block: 'block',
|
||||
extrinsic: 'extrinsic',
|
||||
validator: 'validator'
|
||||
},
|
||||
ui: {
|
||||
logo: externalPezkuwistatsSVG
|
||||
}
|
||||
};
|
||||
@@ -1,38 +0,0 @@
|
||||
// Copyright 2017-2026 @pezkuwi/apps-config authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { BN } from '@pezkuwi/util';
|
||||
import type { ExternalDef } from './types.js';
|
||||
|
||||
import { externalSingularSVG } from '../ui/logos/external/index.js';
|
||||
|
||||
const getNetwork = (_chain: string) => {
|
||||
switch (_chain) {
|
||||
case 'statemine':
|
||||
return 'statemine/';
|
||||
default:
|
||||
return '';
|
||||
}
|
||||
};
|
||||
|
||||
export const Singular: ExternalDef = {
|
||||
// Note: Singular may not support Pezkuwi networks yet. These are placeholder entries.
|
||||
chains: {
|
||||
Dicle: 'dicle',
|
||||
'Dicle Asset Hub': 'statemine',
|
||||
Pezkuwi: 'pezkuwi',
|
||||
'Pezkuwi Asset Hub': 'statemint',
|
||||
Zagros: 'zagros',
|
||||
'Zagros Asset Hub': 'statemint'
|
||||
},
|
||||
create: (_chain: string, _path: string, data: BN | number | string): string =>
|
||||
`https://singular.app/space/${getNetwork(_chain)}${data.toString()}`,
|
||||
homepage: 'https://singular.app',
|
||||
isActive: false,
|
||||
paths: {
|
||||
address: 'account'
|
||||
},
|
||||
ui: {
|
||||
logo: externalSingularSVG
|
||||
}
|
||||
};
|
||||
@@ -1,41 +0,0 @@
|
||||
// Copyright 2017-2026 @pezkuwi/apps-config authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { BN } from '@pezkuwi/util';
|
||||
import type { ExternalDef } from './types.js';
|
||||
|
||||
import { externalStatescanSVG } from '../ui/logos/external/index.js';
|
||||
|
||||
export const Statescan: ExternalDef = {
|
||||
chains: {
|
||||
Dicle: 'dicle',
|
||||
'Dicle Asset Hub': 'dicle/assethub',
|
||||
'Dicle Bridge Hub': 'dicle/bridgehub',
|
||||
'Dicle Collectives': 'dicle/collectives',
|
||||
'Dicle Coretime': 'dicle/coretime',
|
||||
'Dicle People': 'dicle/people',
|
||||
Pezkuwi: 'pezkuwi',
|
||||
'Pezkuwi Asset Hub': 'pezkuwi/assethub',
|
||||
'Pezkuwi Bridge Hub': 'pezkuwi/bridgehub',
|
||||
'Pezkuwi Collectives': 'pezkuwi/collectives',
|
||||
'Pezkuwi Coretime': 'pezkuwi/coretime',
|
||||
'Pezkuwi People': 'pezkuwi/people',
|
||||
Zagros: 'zagros',
|
||||
'Zagros Asset Hub': 'zagros/assethub',
|
||||
'Zagros Bridge Hub': 'zagros/bridgehub',
|
||||
'Zagros Collectives': 'zagros/collectives',
|
||||
'Zagros Coretime': 'zagros/coretime',
|
||||
'Zagros People': 'zagros/people'
|
||||
},
|
||||
create: (chain: string, path: string, data: BN | number | string): string =>
|
||||
`https://statescan.pezkuwichain.io/${chain}/#/${path}/${data.toString()}`,
|
||||
homepage: 'https://statescan.pezkuwichain.io/',
|
||||
isActive: true,
|
||||
paths: {
|
||||
address: 'accounts',
|
||||
block: 'blocks'
|
||||
},
|
||||
ui: {
|
||||
logo: externalStatescanSVG
|
||||
}
|
||||
};
|
||||
@@ -1,29 +0,0 @@
|
||||
// Copyright 2017-2026 @pezkuwi/apps-config authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { BN } from '@pezkuwi/util';
|
||||
import type { ExternalDef } from './types.js';
|
||||
|
||||
import { externalSubidSVG } from '../ui/logos/external/index.js';
|
||||
|
||||
export const SubId: ExternalDef = {
|
||||
// Note: Sub.ID may not support Pezkuwi networks yet. These are placeholder entries.
|
||||
chains: {
|
||||
Dicle: 'dicle',
|
||||
'Dicle Asset Hub': 'assethub-dicle',
|
||||
Pezkuwi: 'pezkuwi',
|
||||
'Pezkuwi Asset Hub': 'assethub-pezkuwi',
|
||||
Zagros: 'zagros',
|
||||
'Zagros Asset Hub': 'assethub-zagros'
|
||||
},
|
||||
create: (_chain: string, _path: string, data: BN | number | string): string =>
|
||||
`https://sub.id/${data.toString()}`,
|
||||
homepage: 'https://sub.id',
|
||||
isActive: false,
|
||||
paths: {
|
||||
address: 'account'
|
||||
},
|
||||
ui: {
|
||||
logo: externalSubidSVG
|
||||
}
|
||||
};
|
||||
@@ -1,52 +0,0 @@
|
||||
// Copyright 2017-2026 @pezkuwi/apps-config authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { BN } from '@pezkuwi/util';
|
||||
import type { ExternalDef } from './types.js';
|
||||
|
||||
import { externalSubscanPNG } from '../ui/logos/external/index.js';
|
||||
|
||||
export const Subscan: ExternalDef = {
|
||||
chains: {
|
||||
Dicle: 'dicle',
|
||||
'Dicle Asset Hub': 'dicle/assethub',
|
||||
'Dicle Bridge Hub': 'dicle/bridgehub',
|
||||
'Dicle Collectives': 'dicle/collectives',
|
||||
'Dicle Coretime': 'dicle/coretime',
|
||||
'Dicle People': 'dicle/people',
|
||||
Pezkuwi: 'pezkuwi',
|
||||
'Pezkuwi Asset Hub': 'pezkuwi/assethub',
|
||||
'Pezkuwi Bridge Hub': 'pezkuwi/bridgehub',
|
||||
'Pezkuwi Collectives': 'pezkuwi/collectives',
|
||||
'Pezkuwi Coretime': 'pezkuwi/coretime',
|
||||
'Pezkuwi People': 'pezkuwi/people',
|
||||
Zagros: 'zagros',
|
||||
'Zagros Asset Hub': 'zagros/assethub',
|
||||
'Zagros Bridge Hub': 'zagros/bridgehub',
|
||||
'Zagros Collectives': 'zagros/collectives',
|
||||
'Zagros Coretime': 'zagros/coretime',
|
||||
'Zagros People': 'zagros/people'
|
||||
},
|
||||
create: (chain: string, path: string, data: BN | number | string): string =>
|
||||
`https://scan.pezkuwichain.io/${chain}/${path}/${data.toString()}`,
|
||||
homepage: 'https://scan.pezkuwichain.io/',
|
||||
isActive: true,
|
||||
paths: {
|
||||
address: 'account',
|
||||
block: 'block',
|
||||
bounty: 'bounty',
|
||||
council: 'council',
|
||||
democracyProposal: 'democracy_proposal',
|
||||
democracyReferendum: 'referenda',
|
||||
extrinsic: 'extrinsic',
|
||||
fellowshipReferenda: 'fellowship',
|
||||
referenda: 'referenda_v2',
|
||||
techcomm: 'tech',
|
||||
tip: 'treasury_tip',
|
||||
treasury: 'treasury',
|
||||
validator: 'validator'
|
||||
},
|
||||
ui: {
|
||||
logo: externalSubscanPNG
|
||||
}
|
||||
};
|
||||
@@ -1,47 +0,0 @@
|
||||
// Copyright 2017-2026 @pezkuwi/apps-config authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { BN } from '@pezkuwi/util';
|
||||
import type { ExternalDef } from './types.js';
|
||||
|
||||
import { externalSubsquareSVG } from '../ui/logos/external/index.js';
|
||||
|
||||
export const Subsquare: ExternalDef = {
|
||||
// Note: Subsquare may not support Pezkuwi networks yet. These are placeholder entries.
|
||||
chains: {
|
||||
Dicle: 'dicle',
|
||||
'Dicle Asset Hub': 'dicle',
|
||||
'Dicle Collectives': 'dicle',
|
||||
'Dicle Coretime': 'dicle',
|
||||
'Dicle People': 'dicle',
|
||||
Pezkuwi: 'pezkuwi',
|
||||
'Pezkuwi Asset Hub': 'pezkuwi',
|
||||
'Pezkuwi Collectives': 'pezkuwi',
|
||||
'Pezkuwi Coretime': 'pezkuwi',
|
||||
'Pezkuwi People': 'pezkuwi',
|
||||
Zagros: 'zagros',
|
||||
'Zagros Asset Hub': 'zagros',
|
||||
'Zagros Collectives': 'zagros',
|
||||
'Zagros Coretime': 'zagros',
|
||||
'Zagros People': 'zagros'
|
||||
},
|
||||
create: (chain: string, path: string, data: BN | number | string): string =>
|
||||
`https://${chain}.subsquare.io/${path}/${data.toString()}${path === 'user' ? '/votes' : ''}`,
|
||||
homepage: 'https://subsquare.io/',
|
||||
isActive: false,
|
||||
paths: {
|
||||
address: 'user',
|
||||
bounty: 'treasury/bounty',
|
||||
council: 'council/motion',
|
||||
democracyExternal: 'democracy/external',
|
||||
democracyProposal: 'democracy/proposal',
|
||||
democracyReferendum: 'democracy/referendum',
|
||||
fellowshipReferenda: 'fellowship/referendum',
|
||||
referenda: 'referenda/referendum',
|
||||
tip: 'treasury/tip',
|
||||
treasury: 'treasury/proposal'
|
||||
},
|
||||
ui: {
|
||||
logo: externalSubsquareSVG
|
||||
}
|
||||
};
|
||||
Reference in new issue
Block a user