ghost-portal/packages/apps-config/src/api/spec/clover.ts
pangwa a914410fe5
adopt latest clover types (#4964)
* latest clover types

* adjust session keys

Co-authored-by: superpw <pangwa+clover@gmail.com>
2021-03-29 09:16:07 +02:00

29 lines
653 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: {
Amount: 'i128',
Keys: 'SessionKeys4',
AmountOf: 'Amount',
Balance: 'u128',
Rate: 'FixedU128',
Ratio: 'FixedU128',
EcdsaSignature: '[u8; 65]',
EvmAddress: 'H160'
}
}
]
};
export default definitions;