mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-23 03:59:23 +00:00
aa7a84afbb
Conflicts: .github/workflows/pr_test_build.yml lib/core/wallet_creation_service.dart lib/di.dart lib/router.dart lib/src/screens/restore/wallet_restore_from_keys_form.dart lib/view_model/wallet_new_vm.dart model_generator.sh tool/configure.dart
23 lines
No EOL
954 B
Dart
23 lines
No EOL
954 B
Dart
import 'package:cw_core/wallet_credentials.dart';
|
|
import 'package:cw_core/wallet_info.dart';
|
|
|
|
class BitcoinNewWalletCredentials extends WalletCredentials {
|
|
BitcoinNewWalletCredentials({required String name, WalletInfo? walletInfo, String? password})
|
|
: super(name: name, walletInfo: walletInfo, password: password);
|
|
}
|
|
|
|
class BitcoinRestoreWalletFromSeedCredentials extends WalletCredentials {
|
|
BitcoinRestoreWalletFromSeedCredentials(
|
|
{required String name, required String password, required this.mnemonic, WalletInfo? walletInfo})
|
|
: super(name: name, password: password, walletInfo: walletInfo);
|
|
|
|
final String mnemonic;
|
|
}
|
|
|
|
class BitcoinRestoreWalletFromWIFCredentials extends WalletCredentials {
|
|
BitcoinRestoreWalletFromWIFCredentials(
|
|
{required String name, required String password, required this.wif, WalletInfo? walletInfo})
|
|
: super(name: name, password: password, walletInfo: walletInfo);
|
|
|
|
final String wif;
|
|
} |