58 lines
1.5 KiB
TypeScript
58 lines
1.5 KiB
TypeScript
// Copyright 2017-2022 @polkadot/apps-config authors & contributors
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
import type { BN } from '@polkadot/util';
|
|
|
|
import { externalLogos } from '../ui/logos';
|
|
|
|
export const PolkassemblyIo = {
|
|
chains: {
|
|
Altair: 'Altair',
|
|
Astar: 'astar',
|
|
'Bifrost Polkadot': 'bifrost',
|
|
Calamari: 'calamari',
|
|
'Centrifuge Mainnet': 'centrifuge',
|
|
Khala: 'khala',
|
|
Kusama: 'kusama',
|
|
'Kusama CC3': 'kusama',
|
|
Parallel: 'parallel',
|
|
'Parallel Heiko': 'heiko',
|
|
'Pioneer Network': 'pioneer',
|
|
Polkadex: 'polkadex',
|
|
Polkadot: 'polkadot',
|
|
Robonomics: 'robonomics',
|
|
Shibuya: 'shibuya',
|
|
Shiden: 'shiden'
|
|
},
|
|
create: (chain: string, path: string, data: BN | number | string): string =>
|
|
`https://${chain}.polkassembly.io/${path}/${data.toString()}`,
|
|
isActive: true,
|
|
logo: externalLogos.polkassembly as string,
|
|
paths: {
|
|
bounty: 'bounty',
|
|
council: 'motion',
|
|
proposal: 'proposal',
|
|
referenda: 'referenda',
|
|
referendum: 'referendum',
|
|
tip: 'tip',
|
|
treasury: 'treasury'
|
|
},
|
|
url: 'https://polkassembly.io/'
|
|
};
|
|
|
|
export const PolkassemblyNetwork = {
|
|
...PolkassemblyIo,
|
|
chains: {
|
|
Bifrost: 'bifrost',
|
|
'KILT Spiritnet': 'kilt',
|
|
Karura: 'karura',
|
|
'Khala Network': 'khala',
|
|
Moonbase: 'moonbase',
|
|
Moonbeam: 'moonbeam',
|
|
Moonriver: 'moonriver'
|
|
},
|
|
create: (chain: string, path: string, data: BN | number | string): string =>
|
|
`https://${chain}.polkassembly.network/${path}/${data.toString()}`,
|
|
url: 'https://polkassembly.network/'
|
|
};
|