28 lines
698 B
TypeScript
28 lines
698 B
TypeScript
// Copyright 2017-2021 @polkadot/apps-config authors & contributors
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
import type BN from 'bn.js';
|
|
|
|
import { externalLogos } from '../ui/logos';
|
|
|
|
export default {
|
|
chains: {
|
|
Kusama: 'kusama',
|
|
'Kusama CC3': 'kusama',
|
|
Polkadot: 'polkadot'
|
|
},
|
|
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',
|
|
referendum: 'referendum',
|
|
tip: 'tip',
|
|
treasury: 'treasury'
|
|
},
|
|
url: 'https://polkassembly.io/'
|
|
};
|