```\nfunction \_slippageIsValid(Batch storage \_batch, address \_collateral) internal view returns (bool) {\n    uint256 staticPricePPM = \_staticPricePPM(\_batch.supply, \_batch.balance, \_batch.reserveRatio);\n    uint256 maximumSlippage = collaterals[\_collateral].slippage;\n```\n