@yoroi/types
Version:
The Yoroi Types package of Yoroi SDK
22 lines (18 loc) • 526 B
text/typescript
import {HWDeviceInfo} from '../hw/hw'
import {WalletAddressMode, WalletImplementation} from './wallet'
export type WalletMeta = {
// identification
readonly version: number // it follows storage version
readonly id: string
readonly plate: string
name: string
avatar: string
// operation
readonly implementation: WalletImplementation
addressMode: WalletAddressMode
isReadOnly: boolean
hwDeviceInfo: HWDeviceInfo | null
// authorization
readonly isHW: boolean
isEasyConfirmationEnabled: boolean
}