Merge branch 'main' of https://github.com/cake-tech/cake_wallet into CW2
commit
354f166834
@ -1,61 +0,0 @@
|
||||
//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';
|
||||
|
||||
//abstract class Wallet {
|
||||
// WalletType getType();
|
||||
|
||||
// WalletType walletType;
|
||||
|
||||
// Observable<Balance> onBalanceChange;
|
||||
|
||||
// Observable<SyncStatus> syncStatus;
|
||||
|
||||
// Observable<String> get onNameChange;
|
||||
|
||||
// Observable<String> get onAddressChange;
|
||||
|
||||
// String get name;
|
||||
|
||||
// String get address;
|
||||
|
||||
// Future updateInfo();
|
||||
|
||||
// Future<String> getFilename();
|
||||
|
||||
// Future<String> getName();
|
||||
|
||||
// Future<String> getAddress();
|
||||
|
||||
// Future<String> getSeed();
|
||||
|
||||
// Future<Map<String, String>> getKeys();
|
||||
|
||||
// Future<String> getFullBalance();
|
||||
|
||||
// Future<String> getUnlockedBalance();
|
||||
|
||||
// Future<int> getCurrentHeight();
|
||||
|
||||
// Future<int> getNodeHeight();
|
||||
|
||||
// Future<bool> isConnected();
|
||||
|
||||
// Future close();
|
||||
|
||||
// TransactionHistory getHistory();
|
||||
|
||||
// Future connectToNode({Node node, bool useSSL = false, bool isLightWallet = false});
|
||||
|
||||
// Future startSync();
|
||||
|
||||
// Future<PendingTransaction> createTransaction(
|
||||
// TransactionCreationCredentials credentials);
|
||||
|
||||
// Future rescan({int restoreHeight = 0});
|
||||
//}
|
@ -1,18 +0,0 @@
|
||||
// import 'package:cake_wallet/entities/wallet.dart';
|
||||
// import 'package:cake_wallet/entities/wallet_description.dart';
|
||||
|
||||
// abstract class WalletsManager {
|
||||
// Future<Wallet> create(String name, String password, String language);
|
||||
|
||||
// Future<Wallet> restoreFromSeed(
|
||||
// String name, String password, String seed, int restoreHeight);
|
||||
|
||||
// Future<Wallet> restoreFromKeys(String name, String password, String language,
|
||||
// int restoreHeight, String address, String viewKey, String spendKey);
|
||||
|
||||
// Future<Wallet> openWallet(String name, String password);
|
||||
|
||||
// Future<bool> isWalletExit(String name);
|
||||
|
||||
// Future remove(WalletDescription wallet);
|
||||
// }Remote2434
|
Loading…
Reference in new issue