{
 "sources": [
  {
   "url": "https://raw.githubusercontent.com/imdusd/imdusd-v2-audit/ff1c192b3798542997f600091f2dc73ff05e4c40/audit/goal/core-backstop-sleeve.md",
   "quote": "P2 Treasury.retireReserve (governor only) burns at most min(amount, Treasury imdUSD - notes outstanding, reserveBacked) against reserveBacked (through Ledger.retire) and never while core bad debt is booked."
  },
  {
   "url": "https://raw.githubusercontent.com/imdusd/imdusd-v2-audit/ff1c192b3798542997f600091f2dc73ff05e4c40/src/Treasury.sol",
   "quote": "it; nothing here is earmarked for notes, so bad-debt cover keeps first call on the balance."
  },
  {
   "url": "https://raw.githubusercontent.com/imdusd/imdusd-v2-audit/ff1c192b3798542997f600091f2dc73ff05e4c40/src/Treasury.sol",
   "quote": "function retireReserve(uint256 amount) external onlyGovernor {"
  },
  {
   "url": "https://raw.githubusercontent.com/imdusd/imdusd-v2-audit/ff1c192b3798542997f600091f2dc73ff05e4c40/src/Treasury.sol",
   "quote": "else IERC20(asset).safeTransfer(to, amount);"
  },
  {
   "url": "https://raw.githubusercontent.com/imdusd/imdusd-v2-audit/ff1c192b3798542997f600091f2dc73ff05e4c40/src/Governed.sol",
   "quote": "/// @notice Apply the pending change once its delay has run. Callable by anyone."
  },
  {
   "url": "https://raw.githubusercontent.com/imdusd/imdusd-v2-audit/ff1c192b3798542997f600091f2dc73ff05e4c40/src/backstop/Backstop.sol",
   "quote": "if (_stillRetired(tokens[i]) || Math.mulDiv(c, lastHigh[tokens[i]], 1e18) < DUST_VALUE) continue;"
  },
  {
   "url": "https://raw.githubusercontent.com/imdusd/imdusd-v2-audit/ff1c192b3798542997f600091f2dc73ff05e4c40/src/backstop/Backstop.sol",
   "quote": "if (high != 0) revert StillPriced();"
  },
  {
   "url": "https://raw.githubusercontent.com/imdusd/imdusd-v2-audit/ff1c192b3798542997f600091f2dc73ff05e4c40/src/backstop/Backstop.sol",
   "quote": "if (!ok || Math.mulDiv(received, low, 1e18, Math.Rounding.Ceil) < spent) revert BadPrice();"
  },
  {
   "url": "https://raw.githubusercontent.com/imdusd/imdusd-v2-audit/ff1c192b3798542997f600091f2dc73ff05e4c40/src/backstop/PricerOracle.sol",
   "quote": "/// @dev The leg `Pricer.quote` needs for `priced`: the median. A leg that reverts reads as never updated."
  },
  {
   "url": "https://raw.githubusercontent.com/imdusd/imdusd-v2-audit/ff1c192b3798542997f600091f2dc73ff05e4c40/src/Liquidator.sol",
   "quote": "try this.standingBid(id, ilk, q.low, need, sleeve, m.marker) returns (uint256 r_, uint256 s_, uint256 b_, uint256 received) {"
  },
  {
   "url": "https://raw.githubusercontent.com/imdusd/imdusd-v2-audit/ff1c192b3798542997f600091f2dc73ff05e4c40/README.md",
   "quote": "- **Retire residual.** A `RETIRE_SLEEVE_TOKEN` applied at a stale read values that token at 0 for the next conversion:"
  },
  {
   "url": "https://raw.githubusercontent.com/imdusd/imdusd-v2-audit/ff1c192b3798542997f600091f2dc73ff05e4c40/README.md",
   "quote": "- **Backstop conversion moment.** A matured deposit bucket converts at the asset value of the first call after it matures"
  }
 ]
}