cake_wallet/lib/exchange
Rafael fd9018bcc4
Cw 598 fixes for electrum based wallets (#1344)
* fix: address book addresses, bch builder, exchange all fee estimation, bch coin control

* feat: new error framework for Electrum messages

* build: cw_bitcoin.dart

* feat: error improvements, localization, fix exchange amount mismatch

* chore: misc comment & print [skip ci]

* feat: refactor & simplify sendAll vs regular tx estimation and creation

- Since there were so many conditions inside a single function to alter its behavior if sendAll or not, it is easier and more readable to have separate sendAll and estimateTx functions that behave separately

* fix: wrong LTC dust

* feat: fee rate confirmation

* fix: wrong createTrade value when isSendAll is enabled

* fix bitcoin cash address parsing [skip ci]

* fix: form no amount validator, address book with multiple entries, exchange all below min error

* fix: improve string, fix sending with dust inputs at the top

* fix: two change outputs when re-estimating

* fix: sendAll with a little dust adds fees

* chore: sanity check [skip ci]

* fix: if the fee is higher than estimated

* Minor enhancement [skip ci]

---------

Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
2024-03-29 20:51:34 +02:00
..
provider Cw 598 fixes for electrum based wallets (#1344) 2024-03-29 20:51:34 +02:00
utils Cw 473 exchange refactoring (#1126) 2023-10-25 23:58:25 +03:00
exchange_pair.dart Cw 473 exchange refactoring (#1126) 2023-10-25 23:58:25 +03:00
exchange_provider_description.dart Cw 537 integrate thor chain swaps (#1280) 2024-03-28 14:41:11 +02:00
exchange_template.dart Re add chatwoot (#1044) 2023-08-15 03:47:25 +03:00
exchange_trade_state.dart Cw 473 exchange refactoring (#1126) 2023-10-25 23:58:25 +03:00
limits.dart Cw 473 exchange refactoring (#1126) 2023-10-25 23:58:25 +03:00
limits_state.dart Cw 473 exchange refactoring (#1126) 2023-10-25 23:58:25 +03:00
trade.dart Cw 598 fixes for electrum based wallets (#1344) 2024-03-29 20:51:34 +02:00
trade_not_created_exception.dart Cw 473 exchange refactoring (#1126) 2023-10-25 23:58:25 +03:00
trade_not_found_exception.dart Cw 473 exchange refactoring (#1126) 2023-10-25 23:58:25 +03:00
trade_request.dart Cw 473 exchange refactoring (#1126) 2023-10-25 23:58:25 +03:00
trade_state.dart Cw 537 integrate thor chain swaps (#1280) 2024-03-28 14:41:11 +02:00