mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-09 04:19:36 +00:00
e276181f88
Fix Conflicts with main
29 lines
963 B
Dart
29 lines
963 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, String? password})
|
|
: 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;
|
|
}
|