mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-06-28 12:29:51 +00:00
* feat(swap-status-monitor): add real-time swap status monitoring and UI updates - Introduce SwapManager for automatic tracking of active-wallet swaps. - Automatically queues new or updated trades from the Hive box. - Periodically fetch and persist swap statuses via the corresponding trade provider. - Implement start(wallet, providers), stop(), and dispose() for lifecycle control. - Apply user's ExchangeApiMode(disabled, tor-only, enabled) when fetching updates. - Remove swaps from the watchlist on any final state (completed, expired, failed). - Dispose SwapManager in AppState.dispose() to cancel polling and the Hive subscription. * refactor(swap-status): replace SwapManager with TradeMonitor for improved trade monitoring. This change improves the flow by simplifying the trade monitoring logic. - Removes SwapManager class and replace with TradeMonitor implementation - Update di and Appstate to register and dispose TradeMonitor - Modify DashboardViewModel to use TradeMonitor instead of SwapManager * fix: Modify trade monitoring logic to ensure trade timers are properly disposed when wallet switching occurs * fix(swap-status): Fix receive amount for exchanges showing as .00 because of null values |
||
---|---|---|
.. | ||
buy | ||
cake_pay | ||
contact_list | ||
dashboard | ||
dev | ||
exchange | ||
hardware_wallet | ||
monero_account_list | ||
nano_account_list | ||
node_list | ||
restore | ||
send | ||
settings | ||
unspent_coins | ||
wallet_address_list | ||
wallet_list | ||
advanced_privacy_settings_view_model.dart | ||
animated_ur_model.dart | ||
anon_invoice_page_view_model.dart | ||
anonpay_details_view_model.dart | ||
auth_state.dart | ||
auth_view_model.dart | ||
backup_view_model.dart | ||
edit_backup_password_view_model.dart | ||
link_view_model.dart | ||
new_wallet_type_view_model.dart | ||
order_details_view_model.dart | ||
payjoin_details_view_model.dart | ||
rescan_view_model.dart | ||
restore_from_backup_view_model.dart | ||
seed_settings_view_model.dart | ||
set_up_2fa_viewmodel.dart | ||
setup_pin_code_view_model.dart | ||
support_view_model.dart | ||
trade_details_view_model.dart | ||
transaction_details_view_model.dart | ||
wallet_creation_vm.dart | ||
wallet_groups_display_view_model.dart | ||
wallet_hardware_restore_view_model.dart | ||
wallet_keys_view_model.dart | ||
wallet_new_vm.dart | ||
wallet_restore_choose_derivation_view_model.dart | ||
wallet_restore_view_model.dart | ||
wallet_seed_view_model.dart | ||
wallet_unlock_loadable_view_model.dart | ||
wallet_unlock_verifiable_view_model.dart | ||
wallet_unlock_view_model.dart |