mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-25 13:09:32 +00:00
30 lines
945 B
Dart
30 lines
945 B
Dart
|
import 'package:cw_core/wallet_credentials.dart';
|
||
|
import 'package:cw_core/wallet_info.dart';
|
||
|
|
||
|
class EVMChainNewWalletCredentials extends WalletCredentials {
|
||
|
EVMChainNewWalletCredentials({required String name, WalletInfo? walletInfo})
|
||
|
: super(name: name, walletInfo: walletInfo);
|
||
|
}
|
||
|
|
||
|
class EVMChainRestoreWalletFromSeedCredentials extends WalletCredentials {
|
||
|
EVMChainRestoreWalletFromSeedCredentials({
|
||
|
required String name,
|
||
|
required String password,
|
||
|
required this.mnemonic,
|
||
|
WalletInfo? walletInfo,
|
||
|
}) : super(name: name, password: password, walletInfo: walletInfo);
|
||
|
|
||
|
final String mnemonic;
|
||
|
}
|
||
|
|
||
|
class EVMChainRestoreWalletFromPrivateKey extends WalletCredentials {
|
||
|
EVMChainRestoreWalletFromPrivateKey({
|
||
|
required String name,
|
||
|
required String password,
|
||
|
required this.privateKey,
|
||
|
WalletInfo? walletInfo,
|
||
|
}) : super(name: name, password: password, walletInfo: walletInfo);
|
||
|
|
||
|
final String privateKey;
|
||
|
}
|