2024-01-23 20:12:27 +00:00
|
|
|
import 'dart:async';
|
|
|
|
|
2024-05-23 00:37:06 +00:00
|
|
|
import '../../crypto_currency/intermediate/cryptonote_currency.dart';
|
|
|
|
import '../../models/tx_data.dart';
|
|
|
|
import '../wallet.dart';
|
|
|
|
import '../wallet_mixin_interfaces/mnemonic_interface.dart';
|
2023-09-14 23:34:01 +00:00
|
|
|
|
2023-11-06 18:26:33 +00:00
|
|
|
abstract class CryptonoteWallet<T extends CryptonoteCurrency> extends Wallet<T>
|
2023-11-16 22:25:20 +00:00
|
|
|
with MnemonicInterface<T> {
|
2024-05-27 23:56:22 +00:00
|
|
|
CryptonoteWallet(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
|
2024-01-05 00:37:46 +00:00
|
|
|
Future<bool> updateUTXOs() async {
|
2023-11-06 21:37:18 +00:00
|
|
|
// do nothing for now
|
2024-01-05 00:37:46 +00:00
|
|
|
return false;
|
2023-11-06 21:37:18 +00:00
|
|
|
}
|
2023-09-14 23:34:01 +00:00
|
|
|
}
|