* adding Manta logo * manta blue * update logo * fix linter * update manta parachain ID * Add types definition for manta runtime (#1) LGTM * fix linter and paraid flag Co-authored-by: stechu <shumo.chu@gmail.com> Co-authored-by: Jianping Deng <djptux@gmail.com>
34 lines
722 B
TypeScript
34 lines
722 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: {
|
|
Address: 'AccountId',
|
|
LookupSource: 'AccountId',
|
|
CurrencyId: {
|
|
_enum: [
|
|
'Native',
|
|
'DOT',
|
|
'KSM',
|
|
'BTC'
|
|
]
|
|
},
|
|
CurrencyIdOf: 'CurrencyId',
|
|
AmountOf: 'Amount',
|
|
Amount: 'i128'
|
|
}
|
|
}
|
|
]
|
|
};
|
|
|
|
export default definitions;
|