fix: history calls an execute or multicall a Swap only when sent to a router (closes #580) #643

Merged
clawbot merged 1 commits from issue-580-swap-label-router-only into next 2026-10-20 17:19:43 +02:00
1 Commits
Author SHA1 Message Date
sneak d34fb1976f fix: history calls an execute or multicall a Swap only when sent to a router (closes #580)
check / check (push) Waiting to run
e2e / e2e-chrome (push) Waiting to run
e2e / e2e-firefox (push) Waiting to run
The history labelled any call named execute or multicall a Swap, whatever
contract it went to, so a multisig or smart account call showed as a Swap
in the list and on TransactionDetail's Type line. Such a call is now a Swap
only when sent to a Universal Router address listed for the network the
transaction is on, the list the approval screen uses (routerRelease(), now
exported from uniswap.js). Any other is labelled by its method name and its
Type line reads Contract Call. The named router swap methods keep their
label.

Model: opus-5-5
2026-10-20 14:10:18 +00:00