test: add V4 swap ERC20→ERC20 decoder regression test
All checks were successful
check / check (push) Successful in 37s

Adds a test that constructs a Uniswap V4 USDT→USDC swap using
SETTLE/SWAP_EXACT_IN_SINGLE/TAKE sub-actions inside a V4_SWAP command.
Without decodeV4Swap(), the output token would be unresolvable and the
swap name would not show 'USDT → USDC'. This test fails on the old code
and passes with the decodeV4Swap() fix.

Refs: #59
This commit is contained in:
clawbot
2026-02-28 11:22:14 -08:00
parent 55346b484b
commit 3c2d553070
3 changed files with 416 additions and 345 deletions

676
yarn.lock

File diff suppressed because it is too large Load Diff