cake_wallet/lib/view_model/wallet_unlock_view_model.dart
Rafael Saes 68d3cd49b7 Linux: fixes for wallet rename (#1000)
* fix: missing MarketPlaceViewModel register

* fix: no auth route on wallet list _loadWallet

* fix: fixes for wallet rename with password flow

* fix: missing monero condition

* fix: navigator pop

* fix: going back case
2023-09-07 15:48:10 -03:00

11 lines
281 B
Dart

import 'package:cake_wallet/core/execution_state.dart';
abstract class WalletUnlockViewModel {
String get walletName;
String get password;
void setPassword(String password);
ExecutionState get state;
Future<void> unlock();
void success();
void failure(dynamic e);
}