mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-27 05:59:38 +00:00
24 lines
923 B
Dart
24 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;
|
||
|
}
|