mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-25 04:59:33 +00:00
23 lines
923 B
Dart
23 lines
923 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})
|
|
: super(name: name, walletInfo: walletInfo);
|
|
}
|
|
|
|
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;
|
|
}
|