ghost-portal/packages/apps-config/src/api/spec/jupiter.ts
zzcwoshizz b8f22763ab
feat(apps-config): jupiter & jupiter rococo (#4750)
1. add jupiter rococo config
2. update jupiter poa config
2021-03-01 08:39:25 +01:00

39 lines
882 B
TypeScript

// 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: {
LookupSource: 'MultiAddress',
Address: 'MultiAddress',
FullIdentification: 'AccountId',
AuthorityState: {
_enum: [
'Working',
'Waiting'
]
},
EraIndex: 'u32',
ActiveEraInfo: {
index: 'EraIndex',
start: 'Option<u64>'
},
UnappliedSlash: {
validator: 'AccountId',
reporters: 'Vec<AccountId>'
}
}
}
]
};
export default definitions;