Submitted by pkqs90, also found by pkqs90, Centaur (1, 2, 3, 4), and Sparrow
SwapAction is used to swap tokens using Balancer/Uniswap or join/exit a Pendle pool. Pendle accepts native ETH as input token when joining a Pendle pool, and Balancer accepts native ETH during swap.
We can check that the SwapAction contract also supports passing native ETH as input token, because:
However, the issue is that when performing a balancer swap by balancerVault.batchSwap, the msg.value is not passed along.
0xtj24 (LoopFi) confirmed
