{
  "title": "DN Reserve Cap and Liquidity Worksheet",
  "canonical_url": "https://decentralised.news/defi-supply-borrow-cap-headroom-2027",
  "research_cutoff": "2026-11-27",
  "formula_version": "2026-11-27.1",
  "provenance": "Invented editorial scenario; no live account or transaction verification",
  "inputs": {
    "operation": "borrow",
    "decimals": "6",
    "capWhole": "1000000",
    "scaledTotal": "970000000000",
    "indexRay": "1000000000000000000000000000",
    "treasuryScaled": "0",
    "virtualRaw": "90000000000",
    "physicalRaw": "90000000000",
    "requestRaw": "40000000000",
    "reserveState": "open",
    "accountRules": "unknown",
    "evidence": "synthetic"
  },
  "outputs": {
    "status": "modelled",
    "capUsage": "970000 asset units",
    "capHeadroom": "30000 asset units",
    "postUsage": "1010000 asset units",
    "cashBound": "90000 asset units",
    "requestAssessment": "Request exceeds the cap after the modeled index rounding.",
    "gateAssessment": "Reserve flags are declared open; account and eMode checks remain unresolved.",
    "evidenceAssessment": "Invented fixture only. No wallet, live reserve or executable capacity is verified.",
    "exactRaw": {
      "cap": "1000000000000",
      "usage": "970000000000",
      "post": "1010000000000",
      "headroom": "30000000000",
      "cashBound": "90000000000",
      "scaledRequest": "40000000000"
    }
  },
  "limitations": "Defaults are synthetic, with six token decimals and a one-RAY index. Raw integers preserve token units; never paste a human token amount into a raw-unit field. This reproduces the scoped Aave index-rounding and cap comparison, with treasury accrual supplied separately. It omits other validation, collateral, eMode, transfer behavior, aToken supply checks, permissions, gas, concurrent activity and transaction execution. A zero cap means no configured cap in this model, never infinite capacity. Headroom is not a safe borrowing recommendation."
}
