@polkadot/types
Version:
Implementation of the Parity codec
16 lines (15 loc) • 555 B
TypeScript
import type { Struct, bool, u8 } from '@polkadot/types-codec';
import type { ITuple } from '@polkadot/types-codec/types';
import type { Balance, BlockNumber } from '@polkadot/types/interfaces/runtime';
/** @name CallIndex */
export interface CallIndex extends ITuple<[u8, u8]> {
}
/** @name LotteryConfig */
export interface LotteryConfig extends Struct {
readonly price: Balance;
readonly start: BlockNumber;
readonly length: BlockNumber;
readonly delay: BlockNumber;
readonly repeat: bool;
}
export type PHANTOM_LOTTERY = 'lottery';