@polkadot/types
Version:
Implementation of the Parity codec
29 lines (28 loc) • 999 B
TypeScript
import type { Bytes, Struct, U8aFixed, Vec } from '@polkadot/types-codec';
import type { ITuple } from '@polkadot/types-codec/types';
import type { AccountId, Hash, Perbill } from '@polkadot/types/interfaces/runtime';
import type { IdentificationTuple, SessionIndex } from '@polkadot/types/interfaces/session';
/** @name DeferredOffenceOf */
export interface DeferredOffenceOf extends ITuple<[Vec<OffenceDetails>, Vec<Perbill>, SessionIndex]> {
}
/** @name Kind */
export interface Kind extends U8aFixed {
}
/** @name OffenceDetails */
export interface OffenceDetails extends Struct {
readonly offender: Offender;
readonly reporters: Vec<Reporter>;
}
/** @name Offender */
export interface Offender extends IdentificationTuple {
}
/** @name OpaqueTimeSlot */
export interface OpaqueTimeSlot extends Bytes {
}
/** @name Reporter */
export interface Reporter extends AccountId {
}
/** @name ReportIdOf */
export interface ReportIdOf extends Hash {
}
export type PHANTOM_OFFENCES = 'offences';