1 | import type { Enum, Option } from '@polkadot/types-codec';
|
2 | import type { ITuple } from '@polkadot/types-codec/types';
|
3 | import type { AccountId, BlockNumber, Hash } from '@polkadot/types/interfaces/runtime';
|
4 |
|
5 | export interface UncleEntryItem extends Enum {
|
6 | readonly isInclusionHeight: boolean;
|
7 | readonly asInclusionHeight: BlockNumber;
|
8 | readonly isUncle: boolean;
|
9 | readonly asUncle: ITuple<[Hash, Option<AccountId>]>;
|
10 | readonly type: 'InclusionHeight' | 'Uncle';
|
11 | }
|
12 | export type PHANTOM_AUTHORSHIP = 'authorship';
|