Correct statescan external links (#8975)

This commit is contained in:
Yongfeng LI 2023-02-08 18:55:22 +08:00 committed by GitHub
parent c987af7e5f
commit e5624007a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,15 +10,16 @@ export const Statescan: ExternalDef = {
chains: {
Litentry: 'litentry',
Statemine: 'statemine',
Statemint: 'statemint',
Westmint: 'westmint'
},
create: (chain: string, path: string, data: BN | number | string): string =>
`https://${chain}.statescan.io/${path}/${data.toString()}`,
`https://${chain}.statescan.io/#/${path}/${data.toString()}`,
homepage: 'https://statescan.io/',
isActive: true,
paths: {
address: 'account',
block: 'block'
address: 'accounts',
block: 'blocks'
},
ui: {
logo: externalStatescanSVG