// Copyright 2017-2020 @polkadot/apps-config authors & contributors // This software may be modified and distributed under the terms // of the Apache-2.0 license. See the LICENSE file for details. import BN from 'bn.js'; const HASH_PATHS = ['proposal/councilmotion']; export default { chains: { Edgeware: 'edgeware', Kusama: 'kusama', 'Kusama CC3': 'kusama' }, create: (chain: string, path: string, data: BN | number | string, hash?: string): string => `https://commonwealth.im/${chain}/${path}/${HASH_PATHS.includes(path) ? (hash || '') : data.toString()}`, isActive: true, paths: { council: 'proposal/councilmotion', proposal: 'proposal/democracyproposal', referendum: 'proposal/referendum', treasury: 'proposal/treasuryproposal' }, url: 'https://commonwealth.im/' };