status-go/services/wallet/router
saledjenic f7821cfc3d
fix_: calculating route for erc721 checks one more call if the function doesn't exist on the contract (#5691)
Old ERC721 contracts do not have  `safeTransferFrom` function, because of that we couldn't estimate the gas
and we couldn't resolve the right route. Now we firstly check for `safeTransferFrom` function which is supported
by ERC721A contracts and if the contract doesn't have it then we do `transferFrom` function call.

Example of ERC721A contract:
- https://etherscan.io/address/0x0024bc1035d30ae229a4712189b32131758cb000#code

Example of ERC721 contract:
- https://etherscan.io/address/0x06012c8cf97bead5deae237070f9587f8e7a266d#code
2024-08-13 16:26:20 +01:00
..
pathprocessor fix_: calculating route for erc721 checks one more call if the function doesn't exist on the contract (#5691) 2024-08-13 16:26:20 +01:00
errors.go feat_: added new error which will be returned in case bonder fee is higher than the amount being sent (#5637) 2024-07-31 18:25:07 +01:00
fees.go Added improvements in resolving the best route (#5569) 2024-07-25 08:15:30 -04:00
filter.go Added improvements in resolving the best route (#5569) 2024-07-25 08:15:30 -04:00
filter_test.go Added improvements in resolving the best route (#5569) 2024-07-25 08:15:30 -04:00
router.go feat_: the router - add candidates, as potential paths, by taking the max amount on enabled chains 2024-07-05 14:51:34 +02:00
router_send_type.go fix_: allow sending 0 value transactions 2024-07-23 18:19:10 +02:00
router_v2.go fix_: the last known route with positive balance returned if no route without balance/bonder error (#5648) 2024-08-02 18:57:08 +01:00
router_v2_test.go chore_: CHERRY-PICK Proxy URLs for blockchain providers (#5644) 2024-08-01 10:06:34 +01:00
router_v2_test_data.go feat_: added new error which will be returned in case bonder fee is higher than the amount being sent (#5637) 2024-07-31 18:25:07 +01:00