parent
fe0dc2c48f
commit
4059a06529
@ -71,7 +71,6 @@ import parallel from './parallel';
|
||||
import parami from './parami';
|
||||
import phoenix from './phoenix';
|
||||
import plasm from './plasm';
|
||||
import plasmParachain from './plasm-parachain';
|
||||
import polkadex from './polkadex';
|
||||
import polkafoundry from './polkafoundry';
|
||||
import polymesh from './polymesh';
|
||||
@ -80,6 +79,7 @@ import prism from './prism';
|
||||
import realis from './realis';
|
||||
import riochain from './riochain';
|
||||
import robonomics from './robonomics';
|
||||
import shiden from './shiden';
|
||||
import snowbridge from './snowbridge';
|
||||
import soraSubstrate from './soraSubstrate';
|
||||
import spanner from './spanner';
|
||||
@ -198,13 +198,13 @@ const spec: Record<string, OverrideBundleDefinition> = {
|
||||
'phoenix-node': phoenix,
|
||||
'phoenix-parachain': phoenix,
|
||||
plasm,
|
||||
'plasm-parachain': plasmParachain,
|
||||
polymesh,
|
||||
'pontem-node': pontem,
|
||||
prism,
|
||||
realis,
|
||||
'riochain-runtime': riochain,
|
||||
robonomics,
|
||||
shiden,
|
||||
snowbridge,
|
||||
'sora-substrate': soraSubstrate,
|
||||
spanner,
|
||||
|
||||
@ -1,43 +0,0 @@
|
||||
// Copyright 2017-2021 @polkadot/apps-config authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { OverrideBundleDefinition } from '@polkadot/types/types';
|
||||
|
||||
// structs need to be in order
|
||||
/* eslint-disable sort-keys */
|
||||
|
||||
const definitions: OverrideBundleDefinition = {
|
||||
types: [
|
||||
{
|
||||
// on all versions
|
||||
minmax: [0, undefined],
|
||||
types: {
|
||||
Address: 'AccountId',
|
||||
LookupSource: 'AccountId',
|
||||
ChainId: {
|
||||
_enum: {
|
||||
RelayChain: null,
|
||||
Parachain: 'ParaId'
|
||||
}
|
||||
},
|
||||
XCurrencyId: {
|
||||
chain_id: 'ChainId',
|
||||
currency_id: 'Bytes'
|
||||
},
|
||||
CurrencyIdOf: 'CurrencyId',
|
||||
CurrencyId: {
|
||||
_enum: {
|
||||
Token: 'TokenSymbol'
|
||||
}
|
||||
},
|
||||
TokenSymbol: {
|
||||
_enum: ['ACA', 'AUSD', 'DOT', 'XBTC', 'LDOT', 'RENBTC', 'SDN', 'PLM']
|
||||
},
|
||||
AmountOf: 'Amount',
|
||||
Amount: 'i128'
|
||||
}
|
||||
}
|
||||
]
|
||||
};
|
||||
|
||||
export default definitions;
|
||||
21
packages/apps-config/src/api/spec/shiden.ts
Normal file
21
packages/apps-config/src/api/spec/shiden.ts
Normal file
@ -0,0 +1,21 @@
|
||||
// Copyright 2017-2021 @polkadot/apps-config authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { OverrideBundleDefinition } from '@polkadot/types/types';
|
||||
|
||||
// structs need to be in order
|
||||
/* eslint-disable sort-keys */
|
||||
|
||||
const definitions: OverrideBundleDefinition = {
|
||||
types: [
|
||||
{
|
||||
// on all versions
|
||||
minmax: [0, undefined],
|
||||
types: {
|
||||
Keys: 'AccountId'
|
||||
}
|
||||
}
|
||||
]
|
||||
};
|
||||
|
||||
export default definitions;
|
||||
Loading…
Reference in New Issue
Block a user