ghost-portal/packages/apps-config/src/api/spec/polkadex.ts
Gautham 9559eee1c8
Add Polkadex Mainnet (#6210)
* Add Polkadex Mainnet to explorer

* Fix lint
2021-09-28 10:00:18 +03:00

31 lines
755 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: {
BurnTxDetails: {
approvals: 'u32',
approvers: 'Vec<AccountId>'
},
OrmlVestingSchedule: {
start: 'BlockNumber',
period: 'BlockNumber',
periodCount: 'u32',
perPeriod: 'Compact<Balance>'
},
VestingScheduleOf: 'OrmlVestingSchedule'
}
}
]
};
export default definitions;