1 | import type { Metadata } from '@polkadot/types';
|
2 | import type { RuntimeVersionPartial } from '@polkadot/types/interfaces';
|
3 | import type { DecoratedMeta } from '@polkadot/types/metadata/decorate/types';
|
4 | import type { Registry } from '@polkadot/types/types';
|
5 | import type { ApiDecoration, ApiTypes } from '../types/index.js';
|
6 | export interface VersionedRegistry<ApiType extends ApiTypes> {
|
7 | counter: number;
|
8 | decoratedApi?: ApiDecoration<ApiType>;
|
9 | decoratedMeta?: DecoratedMeta;
|
10 | isDefault?: boolean;
|
11 | lastBlockHash?: Uint8Array | null;
|
12 | metadata: Metadata;
|
13 | registry: Registry;
|
14 | runtimeVersion: RuntimeVersionPartial;
|
15 | }
|