1 |
|
2 | import type { Metadata } from '@polkadot/types/metadata';
|
3 | import type { DecoratedMeta } from '@polkadot/types/metadata/decorate/types';
|
4 | import type { Text } from '@polkadot/types/primitive';
|
5 | import type { Registry } from '@polkadot/types/types';
|
6 | import type { BN } from '@polkadot/util';
|
7 | import type { ApiDecoration, ApiTypes } from '../types';
|
8 | export interface VersionedRegistry<ApiType extends ApiTypes> {
|
9 | decoratedApi?: ApiDecoration<ApiType>;
|
10 | decoratedMeta?: DecoratedMeta;
|
11 | isDefault?: boolean;
|
12 | lastBlockHash?: Uint8Array | null;
|
13 | metadata: Metadata;
|
14 | registry: Registry;
|
15 | specName: Text;
|
16 | specVersion: BN;
|
17 | }
|