Remove "pre" in polkascan URLs (#2831)
* Remove "pre" in polkascan URLs * Update with new link locations * Kusama -> #000
This commit is contained in:
parent
9541d85e79
commit
3bb0561a72
@ -10,16 +10,17 @@ export default {
|
||||
Kulupu: 'kulupu',
|
||||
Kusama: 'kusama',
|
||||
'Kusama CC3': 'kusama',
|
||||
'Polkadot CC1': 'polkadot-cc1',
|
||||
Westend: 'westend'
|
||||
},
|
||||
create: (chain: string, path: string, data: BN | number | string): string =>
|
||||
`https://polkascan.io/pre/${chain}/${path}/${data.toString()}`,
|
||||
`https://polkascan.io/${chain}/${path}/${data.toString()}`,
|
||||
isActive: true,
|
||||
paths: {
|
||||
address: 'module/account',
|
||||
block: 'system/block',
|
||||
address: 'account',
|
||||
block: 'block',
|
||||
council: 'council/motion',
|
||||
extrinsic: 'system/extrinsic',
|
||||
extrinsic: 'transaction',
|
||||
proposal: 'democracy/proposal',
|
||||
referendum: 'democracy/referendum',
|
||||
techcomm: 'techcomm/proposal',
|
||||
|
||||
@ -7,7 +7,8 @@ import BN from 'bn.js';
|
||||
export default {
|
||||
chains: {
|
||||
Kusama: 'kusama',
|
||||
'Kusama CC3': 'kusama'
|
||||
'Kusama CC3': 'kusama',
|
||||
'Polkadot CC1': 'polkadot-cc1'
|
||||
},
|
||||
create: (chain: string, path: string, data: BN | number | string): string =>
|
||||
`https://${chain}.subscan.io/${path}/${data.toString()}`,
|
||||
|
||||
@ -7,7 +7,7 @@ const emptyColor = '#999';
|
||||
|
||||
const chainKulupu = '#003366';
|
||||
const chainPolkadot = '#e6007a';
|
||||
const chainKusama = '#d32e79';
|
||||
const chainKusama = '#000'; // '#d32e79';
|
||||
const chainWestend = '#da68a7';
|
||||
|
||||
const nodeCentrifuge = '#fcc367';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user