Submitted by cmichel
The TridentHelper.withdrawFromWETH (used in TridentRouter.unwrapWETH) function performs a low-level call to WETH.withdraw(amount).
It then checks if the return data length is more or equal to 32 bytes, however WETH.withdraw returns void and has a return value of 0.
Thus, the function always reverts even if success == true.
The unwrapWETH function is broken and makes all transactions revert.
Batch calls to the router cannot perform any unwrapping of WETH.
Remove the data.length >= 32 from the require and only check if success is true.
sarangparikh22 (Sushi) confirmed
