|
1
|
import 'package:cake_wallet/core/execution_state.dart'; |
|
2
|
|
|
3
|
abstract class WalletUnlockViewModel { |
|
4
|
String get walletName; |
|
5
|
String get password; |
|
6
|
void setPassword(String password); |
|
7
|
ExecutionState get state; |
|
8
|
Future<void> unlock(); |
|
9
|
void success(); |
|
10
|
void failure(dynamic e); |
|
11
|
} |