UNPKG

552 BTypeScriptView Raw
1import type { Enum, Option } from '@polkadot/types-codec';
2import type { ITuple } from '@polkadot/types-codec/types';
3import type { AccountId, BlockNumber, Hash } from '@polkadot/types/interfaces/runtime';
4/** @name UncleEntryItem */
5export 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}
12export type PHANTOM_AUTHORSHIP = 'authorship';