cake_wallet/lib/entities/wallet.dart

62 lines
1.4 KiB
Dart
Raw Normal View History

2021-12-24 12:37:24 +00:00
//import 'package:mobx/mobx.dart';
//import 'package:cw_core/sync_status.dart';
//import 'package:cake_wallet/entities/transaction_history.dart';
//import 'package:cw_core/wallet_type.dart';
//import 'package:cake_wallet/entities/transaction_creation_credentials.dart';
//import 'package:cake_wallet/entities/pending_transaction.dart';
//import 'package:cw_core/balance.dart';
//import 'package:cw_core/node.dart';
2020-01-04 19:31:52 +00:00
2021-12-24 12:37:24 +00:00
//abstract class Wallet {
// WalletType getType();
2020-01-04 19:31:52 +00:00
2021-12-24 12:37:24 +00:00
// WalletType walletType;
2020-01-04 19:31:52 +00:00
2021-12-24 12:37:24 +00:00
// Observable<Balance> onBalanceChange;
2020-01-04 19:31:52 +00:00
2021-12-24 12:37:24 +00:00
// Observable<SyncStatus> syncStatus;
2020-01-04 19:31:52 +00:00
2021-12-24 12:37:24 +00:00
// Observable<String> get onNameChange;
2020-01-04 19:31:52 +00:00
2021-12-24 12:37:24 +00:00
// Observable<String> get onAddressChange;
2020-01-04 19:31:52 +00:00
2021-12-24 12:37:24 +00:00
// String get name;
2020-01-04 19:31:52 +00:00
2021-12-24 12:37:24 +00:00
// String get address;
2020-01-04 19:31:52 +00:00
2021-12-24 12:37:24 +00:00
// Future updateInfo();
2020-01-04 19:31:52 +00:00
2021-12-24 12:37:24 +00:00
// Future<String> getFilename();
2020-01-04 19:31:52 +00:00
2021-12-24 12:37:24 +00:00
// Future<String> getName();
2020-01-04 19:31:52 +00:00
2021-12-24 12:37:24 +00:00
// Future<String> getAddress();
2020-01-04 19:31:52 +00:00
2021-12-24 12:37:24 +00:00
// Future<String> getSeed();
2020-01-04 19:31:52 +00:00
2021-12-24 12:37:24 +00:00
// Future<Map<String, String>> getKeys();
2020-01-04 19:31:52 +00:00
2021-12-24 12:37:24 +00:00
// Future<String> getFullBalance();
2020-01-04 19:31:52 +00:00
2021-12-24 12:37:24 +00:00
// Future<String> getUnlockedBalance();
2020-01-04 19:31:52 +00:00
2021-12-24 12:37:24 +00:00
// Future<int> getCurrentHeight();
2020-01-04 19:31:52 +00:00
2021-12-24 12:37:24 +00:00
// Future<int> getNodeHeight();
2020-01-04 19:31:52 +00:00
2021-12-24 12:37:24 +00:00
// Future<bool> isConnected();
2020-01-04 19:31:52 +00:00
2021-12-24 12:37:24 +00:00
// Future close();
2020-01-04 19:31:52 +00:00
2021-12-24 12:37:24 +00:00
// TransactionHistory getHistory();
2020-01-04 19:31:52 +00:00
2021-12-24 12:37:24 +00:00
// Future connectToNode({Node node, bool useSSL = false, bool isLightWallet = false});
2020-01-04 19:31:52 +00:00
2021-12-24 12:37:24 +00:00
// Future startSync();
2020-01-04 19:31:52 +00:00
2021-12-24 12:37:24 +00:00
// Future<PendingTransaction> createTransaction(
// TransactionCreationCredentials credentials);
2020-01-04 19:31:52 +00:00
2021-12-24 12:37:24 +00:00
// Future rescan({int restoreHeight = 0});
//}