{
 "sources": [
  {
   "url": "https://raw.githubusercontent.com/morpho-org/vault-v2/bbeda7b27ae80abcf070e0158cb8a31e87bb2286/src/adapters/midnight/README.md",
   "quote": "The vault caps the stored net credit of the adapter, not its amortized net credit."
  },
  {
   "url": "https://raw.githubusercontent.com/morpho-org/vault-v2/bbeda7b27ae80abcf070e0158cb8a31e87bb2286/src/adapters/midnight/README.md",
   "quote": "Bad debt reduces `realAssets` immediately without changing the `netRate` of the affected market."
  },
  {
   "url": "https://raw.githubusercontent.com/morpho-org/vault-v2/bbeda7b27ae80abcf070e0158cb8a31e87bb2286/src/adapters/midnight/MidnightAdapter.sol",
   "quote": "Markets with a zero loss factor use stored net credit; otherwise realAssets reads it from Midnight."
  },
  {
   "url": "https://raw.githubusercontent.com/morpho-org/vault-v2/bbeda7b27ae80abcf070e0158cb8a31e87bb2286/src/adapters/midnight/MidnightAdapter.sol",
   "quote": "Can be called with `withdrawnAssets == 0` to synchronize `marketData` after a loss."
  }
 ]
}