Function: executeTokenSwap(ExternalTrade[] externalTrades, bytes)
This function is used to execute a series of token swaps by creating orders on the CoWSwap protocol.
Inputs
externalTrades
Control: Fully controlled by the caller.
Constraints: None at this level.
Impact: The external trades to be used for the token swap.
Branches and code coverage
Intended branches
Call
_createOrder
for each external trade.