2023-11-06 18:26:33 +00:00
|
|
|
import 'package:stackwallet/wallets/crypto_currency/intermediate/cryptonote_currency.dart';
|
2023-09-14 23:34:01 +00:00
|
|
|
import 'package:stackwallet/wallets/models/tx_data.dart';
|
2023-11-06 18:26:33 +00:00
|
|
|
import 'package:stackwallet/wallets/wallet/mixins/mnemonic_based_wallet.dart';
|
2023-09-14 23:34:01 +00:00
|
|
|
import 'package:stackwallet/wallets/wallet/wallet.dart';
|
|
|
|
|
2023-11-06 18:26:33 +00:00
|
|
|
abstract class CryptonoteWallet<T extends CryptonoteCurrency> extends Wallet<T>
|
|
|
|
with MnemonicBasedWallet<T> {
|
|
|
|
CryptonoteWallet(T currency) : super(currency);
|
2023-09-14 23:34:01 +00:00
|
|
|
|
|
|
|
// ========== Overrides ======================================================
|
|
|
|
|
|
|
|
@override
|
|
|
|
Future<TxData> confirmSend({required TxData txData}) {
|
|
|
|
// TODO: implement confirmSend
|
|
|
|
throw UnimplementedError();
|
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
|
|
|
Future<TxData> prepareSend({required TxData txData}) {
|
|
|
|
// TODO: implement prepareSend
|
|
|
|
throw UnimplementedError();
|
|
|
|
}
|
2023-09-18 21:28:31 +00:00
|
|
|
|
|
|
|
@override
|
|
|
|
Future<void> recover({required bool isRescan}) {
|
|
|
|
// TODO: implement recover
|
|
|
|
throw UnimplementedError();
|
|
|
|
}
|
2023-11-06 21:37:18 +00:00
|
|
|
|
|
|
|
@override
|
|
|
|
Future<void> updateUTXOs() async {
|
|
|
|
// do nothing for now
|
|
|
|
}
|
2023-09-14 23:34:01 +00:00
|
|
|
}
|