```\nfunction checkCollateralRatio(\n    VaultConfig memory vaultConfig,\n    VaultState memory vaultState,\n    VaultAccount memory vaultAccount\n) internal view {\n    (int256 collateralRatio, /\* \*/) = calculateCollateralRatio(\n        vaultConfig, vaultState, vaultAccount.account, vaultAccount.vaultShares, vaultAccount.fCash\n```\n