status-go/services/wallet/router/pathprocessor
saledjenic 2bbdb35f6c
Added improvements in resolving the best route (#5569)
* fix_: filtering out routes which do not match the amount in

* fix_: finding the best route logic updated

* fix_: "to" chains being used in sending bridge tx via hop are more explicit

Using `ChainIDTo` depicts better an intention which chain should be used.

* chore_: checking for required balance improved

An error contains now more details, for which token on which chain there is not enough balance for
executing a tx. Also check for required balance now calculates in fees for all tx that possibly can be
sent from the same chain.
2024-07-25 08:15:30 -04:00
..
cbridge chore_: `Bridge` interface renamed to `PathProcessor` interface and necessary changes applied due to that change 2024-06-07 15:50:38 +02:00
mock_pathprocessor chore_: tests for router candidates added 2024-06-26 11:02:13 +01:00
proto_cbridge chore_: `Bridge` interface renamed to `PathProcessor` interface and necessary changes applied due to that change 2024-06-07 15:50:38 +02:00
common.go chore_: calculating multi tx candidates improvements 2024-06-26 11:02:13 +01:00
constants.go chore_: calculating multi tx candidates improvements 2024-06-26 11:02:13 +01:00
errors.go feat(router)_: return processor error when no routes are found 2024-07-19 17:44:08 +02:00
errors_test.go feat(router)_: return processor error when no routes are found 2024-07-19 17:44:08 +02:00
multipath_processor.go chore_: use the old name for backward compatibility 2024-06-11 10:30:34 +02:00
processor.go chore_: tests for router candidates added 2024-06-26 11:02:13 +01:00
processor_bridge_celar.go feat(router)_: return processor error when no routes are found 2024-07-19 17:44:08 +02:00
processor_bridge_hop.go Added improvements in resolving the best route (#5569) 2024-07-25 08:15:30 -04:00
processor_ens_public_key.go feat(router)_: return processor error when no routes are found 2024-07-19 17:44:08 +02:00
processor_ens_register.go feat(router)_: return processor error when no routes are found 2024-07-19 17:44:08 +02:00
processor_ens_release.go feat(router)_: return processor error when no routes are found 2024-07-19 17:44:08 +02:00
processor_erc721.go feat(router)_: return processor error when no routes are found 2024-07-19 17:44:08 +02:00
processor_erc1155.go feat(router)_: return processor error when no routes are found 2024-07-19 17:44:08 +02:00
processor_stickers_buy.go feat(router)_: return processor error when no routes are found 2024-07-19 17:44:08 +02:00
processor_swap_paraswap.go feat(wallet)_: incorporate partner fees for L1 paraswap swaps 2024-07-23 15:27:43 -03:00
processor_swap_paraswap_test.go feat(wallet)_: incorporate partner fees for L1 paraswap swaps 2024-07-23 15:27:43 -03:00
processor_test.go test(wallet)_: add unit tests for balance fetcher 2024-07-04 09:29:49 +02:00
processor_transfer.go feat(router)_: return processor error when no routes are found 2024-07-19 17:44:08 +02:00