{
  "title": "DN LP Fee and Principal Ledger",
  "canonical_url": "https://decentralised.news/dex-lp-fee-principal-collection-ledger-2027",
  "research_cutoff": "2026-11-27",
  "formula_version": "2026-11-27.1",
  "provenance": "Invented editorial scenario; no live account or transaction verification",
  "inputs": {
    "decimals": "6",
    "liquidity": "1000000",
    "growthLast": "0",
    "growthNow": "1020847100762815390390123822295304634368",
    "storedOwed": "5000000",
    "knownStoredFees": "2000000",
    "knownStoredPrincipal": "3000000",
    "releasedPrincipal": "4000000",
    "owedDebit": "10000000",
    "received": "9999999",
    "reinvested": "6000000",
    "historicalDeposits": "100000000",
    "closingPrincipal": "87000000",
    "principalBasis": "included",
    "evidence": "synthetic"
  },
  "outputs": {
    "status": "modelled",
    "newFees": "3 token units",
    "owedBeforeCollection": "12 token units",
    "unclassifiedStored": "0 token units",
    "remainingOwed": "2 token units",
    "debitReceiptGap": "0.000001 token units",
    "receivedFeeRange": "2.999999 token units to 5 token units; no collection-order rule is assumed",
    "retainedReceipt": "3.999999 token units",
    "accountedInventory": "92.999999 token units",
    "recordAssessment": "Invented fixture, not a funded position or account observation. Debit exceeds receipt; inspect the difference. Its cause is not established by this tool.",
    "exactRaw": {
      "growthDelta": "1020847100762815390390123822295304634368",
      "incrementalFees": "3000000",
      "owedBefore": "12000000",
      "unclassified": "0",
      "remainingOwed": "2000000",
      "receiptGap": "1",
      "possibleReceivedFeesMin": "2999999",
      "possibleReceivedFeesMax": "5000000",
      "retainedReceipt": "3999999",
      "historicalDeposits": "100000000",
      "closingPrincipal": "87000000",
      "accountedInventory": "92999999"
    }
  },
  "limitations": "One token side at a time, six decimals in the invented defaults. Fee growth uses uint256 modular subtraction, Q128 division and floor rounding, with unchanged NFT liquidity between checkpoints. Segment history at every liquidity change. Stored tokensOwed may contain principal. Blank classification stays unclassified; blank receipt stays unknown. The owed debit is distinct from actual receipt. Reinvestment is an actual consumed amount funded only by this collection, already included in the separately supplied closing principal. Historical deposits are not added to closing inventory. No price valuation, return, tax treatment, APR, gas expense, swap, rebasing token, transfer-tax token or executable collect quote is calculated."
}
