You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
557 B
25 lines
557 B
import 'package:flutter/foundation.dart';
|
|
import 'package:cake_wallet/core/transaction_history.dart';
|
|
import 'package:cake_wallet/src/domain/common/node.dart';
|
|
import 'package:cake_wallet/src/domain/common/wallet_type.dart';
|
|
|
|
abstract class WalletBase<BalaceType> {
|
|
WalletType type;
|
|
|
|
String get name;
|
|
|
|
String address;
|
|
|
|
BalaceType balance;
|
|
|
|
TransactionHistoryBase transactionHistory;
|
|
|
|
Future<void> connectToNode({@required Node node});
|
|
|
|
Future<void> startSync();
|
|
|
|
Future<void> createTransaction(Object credentials);
|
|
|
|
Future<void> save();
|
|
}
|