@funded-labs/plug-controller
Version:
Internet Computer Plug wallet's controller
19 lines (18 loc) • 476 B
TypeScript
import type PlugWallet from '../PlugWallet';
import { JSONWallet } from '../interfaces/plug_wallet';
export interface PlugState {
password?: string;
currentWalletId?: string;
mnemonicWalletCount: number;
walletIds?: Array<string>;
}
export interface PlugStateStorage extends PlugState {
wallets: {
[key: string]: JSONWallet;
};
}
export interface PlugStateInstance extends PlugState {
wallets: {
[key: string]: PlugWallet;
};
}