mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-27 05:59:38 +00:00
23 lines
649 B
Dart
23 lines
649 B
Dart
import 'package:cw_core/wallet_info.dart';
|
|
|
|
enum DerivationType { bip39, nano }
|
|
|
|
class NanoWalletInfo extends WalletInfo {
|
|
DerivationType derivationType;
|
|
|
|
NanoWalletInfo({required WalletInfo walletInfo, required this.derivationType})
|
|
: super(
|
|
walletInfo.id,
|
|
walletInfo.name,
|
|
walletInfo.type,
|
|
walletInfo.isRecovery,
|
|
walletInfo.restoreHeight,
|
|
walletInfo.timestamp,
|
|
walletInfo.dirPath,
|
|
walletInfo.path,
|
|
walletInfo.address,
|
|
walletInfo.yatEid,
|
|
walletInfo.yatLastUsedAddressRaw,
|
|
walletInfo.showIntroCakePayCard,
|
|
);
|
|
}
|