Function: swapAndBridge(uint256 amountIn, address fromToken, address receivedToken, uint16 srcPoolId, uint16 dstPoolId, byte[1] dexId, byte[] swapPayload, byte[] bridgePayload)
The same function as permitSwapAndBridge
but transfers fromToken
with approve from msg.sender
instead of permit.