mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-09 12:29:31 +00:00
5ce1fbb1e4
Fix conflicts with main
23 lines
961 B
Dart
23 lines
961 B
Dart
import 'package:cw_core/wallet_credentials.dart';
|
|
import 'package:cw_core/wallet_info.dart';
|
|
|
|
class EthereumNewWalletCredentials extends WalletCredentials {
|
|
EthereumNewWalletCredentials({required String name, WalletInfo? walletInfo, String? password})
|
|
: super(name: name, walletInfo: walletInfo, password: password);
|
|
}
|
|
|
|
class EthereumRestoreWalletFromSeedCredentials extends WalletCredentials {
|
|
EthereumRestoreWalletFromSeedCredentials(
|
|
{required String name, required String password, required this.mnemonic, WalletInfo? walletInfo})
|
|
: super(name: name, password: password, walletInfo: walletInfo);
|
|
|
|
final String mnemonic;
|
|
}
|
|
|
|
class EthereumRestoreWalletFromWIFCredentials extends WalletCredentials {
|
|
EthereumRestoreWalletFromWIFCredentials(
|
|
{required String name, required String password, required this.wif, WalletInfo? walletInfo})
|
|
: super(name: name, password: password, walletInfo: walletInfo);
|
|
|
|
final String wif;
|
|
}
|