{
 "sources": [
  {
   "url": "https://raw.githubusercontent.com/imdusd/imdusd-v2-audit/ff1c192b3798542997f600091f2dc73ff05e4c40/README.md",
   "quote": "An operator's rate change of any size (even 1 wei,"
  },
  {
   "url": "https://raw.githubusercontent.com/imdusd/imdusd-v2-audit/ff1c192b3798542997f600091f2dc73ff05e4c40/README.md",
   "quote": "or none) restarts the 7-day cooldown, and the owner's next change then pays the premium (9.6 imdUSD on 10k measured)."
  },
  {
   "url": "https://raw.githubusercontent.com/imdusd/imdusd-v2-audit/ff1c192b3798542997f600091f2dc73ff05e4c40/src/LedgerSettlement.sol",
   "quote": "else if (!inCooldown) p.premiumRate = 0; // the clock restarts below: a lapsed premium must not come back with it"
  },
  {
   "url": "https://raw.githubusercontent.com/imdusd/imdusd-v2-audit/ff1c192b3798542997f600091f2dc73ff05e4c40/src/LedgerSettlement.sol",
   "quote": "// only the owner may pay a cooldown premium; SET_RATE alone must not be able to add debt."
  },
  {
   "url": "https://raw.githubusercontent.com/imdusd/imdusd-v2-audit/ff1c192b3798542997f600091f2dc73ff05e4c40/src/Ledger.sol",
   "quote": "if (p.premiumRate != 0 && block.timestamp < p.lastRateChange + RATE_COOLDOWN) {"
  },
  {
   "url": "https://raw.githubusercontent.com/imdusd/imdusd-v2-audit/ff1c192b3798542997f600091f2dc73ff05e4c40/src/LedgerBase.sol",
   "quote": "uint256 public constant RATE_COOLDOWN = 7 days;"
  },
  {
   "url": "https://raw.githubusercontent.com/imdusd/imdusd-v2-audit/ff1c192b3798542997f600091f2dc73ff05e4c40/src/managers/RateManager.sol",
   "quote": "if (r == p.rate) return _skip(id, 5);"
  },
  {
   "url": "https://raw.githubusercontent.com/imdusd/imdusd-v2-audit/ff1c192b3798542997f600091f2dc73ff05e4c40/audit/goal/core-ledger-positions.md",
   "quote": "C5 An operator with SET_RATE alone can never add debt (NotOwner on a charged change); show otherwise."
  },
  {
   "url": "https://raw.githubusercontent.com/imdusd/imdusd-v2-audit/ff1c192b3798542997f600091f2dc73ff05e4c40/test/unit/AuditD1Layout.t.sol",
   "quote": "_pair(\"src/Ledger.sol\", \"Ledger\", \"src/LedgerSettlement.sol\", \"LedgerSettlement\", \"LedgerBase\");"
  }
 ]
}