File: BasketHandler.sol
260:         for (uint256 i = 0; i < erc20s.length; ++i) {
261:             // This is a nice catch to have, but in general it is possible for
262:             // an ERC20 in the prime basket to have its asset unregistered.
263:             require(assetRegistry.toAsset(erc20s[i]).isCollateral(), "erc20 is not collateral");
264:             require(0 < targetAmts[i] && targetAmts[i] <= MAX_TARGET_AMT, "invalid target amount");
265: 
266:             config.erc20s.push(erc20s[i]);
267:             config.targetAmts[erc20s[i]] = targetAmts[i];
268:             names[i] = assetRegistry.toColl(erc20s[i]).targetName();
269:             config.targetNames[erc20s[i]] = names[i];
270:         }
