mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-25 13:09:32 +00:00
24 lines
649 B
Dart
24 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,
|
||
|
);
|
||
|
}
|