mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-26 21:50:27 +00:00
24 lines
851 B
Dart
24 lines
851 B
Dart
|
import 'package:cw_core/wallet_credentials.dart';
|
||
|
import 'package:cw_core/wallet_info.dart';
|
||
|
|
||
|
class BitcoinNewWalletCredentials extends WalletCredentials {
|
||
|
BitcoinNewWalletCredentials({String name, WalletInfo walletInfo})
|
||
|
: super(name: name, walletInfo: walletInfo);
|
||
|
}
|
||
|
|
||
|
class BitcoinRestoreWalletFromSeedCredentials extends WalletCredentials {
|
||
|
BitcoinRestoreWalletFromSeedCredentials(
|
||
|
{String name, String password, this.mnemonic, WalletInfo walletInfo})
|
||
|
: super(name: name, password: password, walletInfo: walletInfo);
|
||
|
|
||
|
final String mnemonic;
|
||
|
}
|
||
|
|
||
|
class BitcoinRestoreWalletFromWIFCredentials extends WalletCredentials {
|
||
|
BitcoinRestoreWalletFromWIFCredentials(
|
||
|
{String name, String password, this.wif, WalletInfo walletInfo})
|
||
|
: super(name: name, password: password, walletInfo: walletInfo);
|
||
|
|
||
|
final String wif;
|
||
|
}
|