/// @param arrayLength Length of the assetIds and useAsCollateral arrays
/// @param useDefaultMarket Whether to use the default market
/// @param assetIds Array of asset ids
/// @param useAsCollateral Array of booleans indicating if the asset should be used as collateral
/// @param market Address of the market to switch collateral for
struct Params {
uint8 arrayLength;
bool useDefaultMarket;
uint16[] assetIds;
bool[] useAsCollateral;
address market;
}