UNPKG

@polkadot/types

Version:
17 lines (16 loc) 596 B
import type { Struct, Vec, u16 } from '@polkadot/types-codec'; import type { AccountId, Balance, BlockNumber } from '@polkadot/types/interfaces/runtime'; /** @name ActiveRecovery */ export interface ActiveRecovery extends Struct { readonly created: BlockNumber; readonly deposit: Balance; readonly friends: Vec<AccountId>; } /** @name RecoveryConfig */ export interface RecoveryConfig extends Struct { readonly delayPeriod: BlockNumber; readonly deposit: Balance; readonly friends: Vec<AccountId>; readonly threshold: u16; } export type PHANTOM_RECOVERY = 'recovery';