Function: executeTokenSwap(ExternalTrade[] externalTrades, bytes)
This function is used to execute a series of token swaps by creating orders on the CoWSwap protocol.
Inputs
externalTradesControl: 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
_createOrderfor each external trade.