{"eip":8113,"title":"Series Accounting for Incentivized Vaults","description":"Series Accounting method for collecting performance fees in ERC-7540 type vaults.","authors":["Yash Saraswat (@0xpanicError)"],"status":"Draft","type":"Standards Track","category":"ERC","created":"2025-12-25","requires":[4626,7540],"discussionsTo":"https://ethereum-magicians.org/t/erc-8113-series-accounting-for-incentivized-vaults/27306","repo":"ERCs","label":"ERC-8113","officialUrl":"https://eips.ethereum.org/EIPS/eip-8113","sourceUrl":"https://github.com/ethereum/ERCs/blob/master/ERCS/erc-8113.md","url":"https://eips.huatuo.xyz/eip-8113/","tldr":{"en":"A vault accounting method that tracks each batch of deposits in its own series with its own high-water mark, so performance fees are charged fairly and late depositors cannot free-ride.","ja":"入金の各バッチを、それぞれ独自のハイウォーターマークを持つ独立したシリーズで管理するボールト会計方式。成果報酬が公平に課され、後から入金した人がフリーライドできなくなる。","ko":"입금 배치마다 자체 하이워터마크를 가진 별도의 시리즈로 추적하는 볼트 회계 방식. 성과 수수료가 공정하게 부과되고 나중에 입금한 사람이 무임승차할 수 없다.","zh":"一种金库会计方法，把每一批存款放入各自独立的系列（series），每个系列有自己的高水位线，从而公平地收取业绩费，后来的存款人也无法搭便车。"},"tags":["vault","defi","fees","rwa","erc4626"],"explainers":{"en":{"lang":"en","tldr":"A vault accounting method that tracks each batch of deposits in its own series with its own high-water mark, so performance fees are charged fairly and late depositors cannot free-ride.","tags":["vault","defi","fees","rwa","erc4626"],"related":[4626,7540,7575],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/eip-8113/","markdown":"## What problem does it solve?\n\nYield vaults that charge a performance fee usually protect users with a **high-water mark**: fees are only taken on gains above the highest price-per-share the vault has reached, so nobody pays twice for recovering a loss.\n\nWith a single vault-wide high-water mark, this creates a **free-rider** problem. Suppose the vault peaked at 1.10, dropped to 1.00, and a new user deposits at 1.00. When the price climbs back to 1.10 and beyond, the new user earned 10 % but pays no fee on it, because the vault as a whole is just recovering. Existing users effectively subsidize them.\n\nThe issue is sharpest in vaults backed by real-world assets or off-chain funds, where price-per-share can jump a lot at each settlement. Traditional funds solve it with **series accounting**; ERC-8113 brings that method to [ERC-4626](/eip-4626/) and [ERC-7540](/eip-7540/) vaults.\n\n## How it works\n\nEach **series** is like a sub-vault with its own `totalAssets`, `totalShares`, per-user shares, user list and high-water mark. Every vault has a default **lead series**.\n\n**Deposits** are settled in batches (all claims at one oracle price, or all deposits in one rebalancing period):\n\n- If the lead series is *below* its high-water mark, the batch goes into a **new series** with a fresh high-water mark at the entry price.\n- Otherwise, the batch goes into the lead series, and any **outstanding series** are **consolidated** into it, since every series has now reached a new high and paid its fair share of fees.\n\nConsolidation keeps the number of series small, avoiding gas-limit problems and cluttered NAV reports.\n\n**Redemptions** are requested in `assets`, not `shares`, because shares are no longer fungible across series. At settlement the vault may redeem first-in-first-out: from the lead series, then from outstanding series in ascending id. Each piece is a \"redeem slice\".\n\n## Sample code\n\nAn illustrative sketch of the deposit settlement rule (not a full vault):\n\n```solidity\n// SPDX-License-Identifier: MIT\npragma solidity ^0.8.20;\n\ncontract SeriesBook {\n    struct Series { uint256 totalAssets; uint256 totalShares; uint256 highwaterMark; }\n\n    uint256 public constant LEAD = 0;\n    mapping(uint256 =\u003e Series) public series;\n    uint256[] public outstanding;      // non-lead series that still hold shares\n    uint256 public nextId = 1;\n\n    function pricePerShare(uint256 id) public view returns (uint256) {\n        Series storage s = series[id];\n        return s.totalShares == 0 ? 1e18 : s.totalAssets * 1e18 / s.totalShares;\n    }\n\n    /// Choose where a batch of pending deposits settles.\n    function _seriesForBatch() internal returns (uint256 id) {\n        if (series[LEAD].highwaterMark \u003e pricePerShare(LEAD)) {\n            id = nextId++;             // below the high-water mark: open a new series\n            outstanding.push(id);\n        } else {\n            id = LEAD;                 // at a new high: settle in lead and consolidate\n            _consolidateAll();\n        }\n    }\n\n    function _consolidateAll() internal { /* move user shares from outstanding into LEAD */ }\n}\n```\n\n## Things to know\n\n- **Status: Draft.** Function names and details may change.\n- It is **not backwards compatible** with ERC-4626 or ERC-7540: `totalAssets`, `convertToShares` and `convertToAssets` need a `seriesId`, and `redeem` / `requestRedeem` take `assets` instead of `shares`. Existing integrations will not work unchanged.\n- The spec defines the accounting rules but not a complete interface or the fee formula itself. Implementations should document every fee carefully, since fixed and variable charges before the performance fee can make results differ from expectations.\n- An oracle sets the price-per-share used for settlement, so the vault's fairness depends on that oracle.\n"},"ja":{"lang":"ja","tldr":"入金の各バッチを、それぞれ独自のハイウォーターマークを持つ独立したシリーズで管理するボールト会計方式。成果報酬が公平に課され、後から入金した人がフリーライドできなくなる。","tags":["vault","defi","fees","rwa","erc4626"],"related":[4626,7540,7575],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/ja/eip-8113/","markdown":"## 何を解決するのか\n\n成果報酬を課すイールドボールトは、通常、**ハイウォーターマーク**でユーザーを保護します。ボールトがこれまでに到達した最高のシェア価格を超える利益に対してのみ手数料を取るので、損失を取り戻すだけで二重に支払う人は出ません。\n\nボールト全体で 1 つのハイウォーターマークを使うと、**フリーライダー**問題が生じます。ボールトが 1.10 でピークを付け、1.00 に下がり、新しいユーザーが 1.00 で入金したとします。価格が 1.10 まで戻り、さらにそれを超えて上昇すると、新しいユーザーは 10 % の利益を得たのに、ボールト全体としては回復しているだけなので、それに対する手数料を払いません。既存のユーザーが実質的に彼らを補助することになります。\n\nこの問題は、実世界資産やオフチェーンのファンドを裏付けとするボールトで特に深刻です。そうしたボールトでは、決済のたびにシェア価格が大きく跳ねることがあります。従来のファンドは**シリーズ会計**でこれを解決してきました。ERC-8113 はその方式を [ERC-4626](/eip-4626/) および [ERC-7540](/eip-7540/) ボールトに持ち込みます。\n\n## 仕組み\n\n各**シリーズ**は、独自の `totalAssets`、`totalShares`、ユーザーごとのシェア、ユーザーリスト、ハイウォーターマークを持つサブボールトのようなものです。どのボールトにも、デフォルトの**リードシリーズ**があります。\n\n**入金**はバッチで決済されます（すべてのクレームを 1 つのオラクル価格で、またはすべての入金を 1 つのリバランス期間で）。\n\n- リードシリーズがハイウォーターマークを*下回って*いる場合、そのバッチは、エントリー価格を新しいハイウォーターマークとする**新しいシリーズ**に入ります。\n- そうでなければ、バッチはリードシリーズに入り、すべての**未決済シリーズ**がそこへ**統合**されます。すべてのシリーズが新高値に達し、公平な分の手数料を支払ったからです。\n\n統合によってシリーズの数が少なく保たれ、gas limit の問題や NAV レポートの煩雑化を避けられます。\n\n**償還**は、シリーズ間でシェアが代替可能ではなくなったため、`shares` ではなく `assets` で申請します。決済時、ボールトは先入れ先出しで償還できます。リードシリーズから、続いて未決済シリーズを ID の昇順で。それぞれの部分を「償還スライス（redeem slice）」と呼びます。\n\n## サンプルコード\n\n入金決済ルールの説明用スケッチ（完全なボールトではありません）:\n\n```solidity\n// SPDX-License-Identifier: MIT\npragma solidity ^0.8.20;\n\ncontract SeriesBook {\n    struct Series { uint256 totalAssets; uint256 totalShares; uint256 highwaterMark; }\n\n    uint256 public constant LEAD = 0;\n    mapping(uint256 =\u003e Series) public series;\n    uint256[] public outstanding;      // non-lead series that still hold shares\n    uint256 public nextId = 1;\n\n    function pricePerShare(uint256 id) public view returns (uint256) {\n        Series storage s = series[id];\n        return s.totalShares == 0 ? 1e18 : s.totalAssets * 1e18 / s.totalShares;\n    }\n\n    /// Choose where a batch of pending deposits settles.\n    function _seriesForBatch() internal returns (uint256 id) {\n        if (series[LEAD].highwaterMark \u003e pricePerShare(LEAD)) {\n            id = nextId++;             // below the high-water mark: open a new series\n            outstanding.push(id);\n        } else {\n            id = LEAD;                 // at a new high: settle in lead and consolidate\n            _consolidateAll();\n        }\n    }\n\n    function _consolidateAll() internal { /* move user shares from outstanding into LEAD */ }\n}\n```\n\n## 知っておくべきこと\n\n- **ステータス: Draft。** 関数名や詳細は変わる可能性があります。\n- ERC-4626 や ERC-7540 とは**後方互換性がありません**。`totalAssets`、`convertToShares`、`convertToAssets` には `seriesId` が必要で、`redeem` / `requestRedeem` は `shares` ではなく `assets` を受け取ります。既存の統合はそのままでは動作しません。\n- 仕様は会計ルールを定義していますが、完全なインターフェースや手数料の計算式そのものは定義していません。成果報酬の前に固定費や変動費があると結果が想定と異なり得るため、実装ではすべての手数料を慎重に文書化してください。\n- 決済に使うシェア価格はオラクルが設定するため、ボールトの公平性はそのオラクルに依存します。\n"},"ko":{"lang":"ko","tldr":"입금 배치마다 자체 하이워터마크를 가진 별도의 시리즈로 추적하는 볼트 회계 방식. 성과 수수료가 공정하게 부과되고 나중에 입금한 사람이 무임승차할 수 없다.","tags":["vault","defi","fees","rwa","erc4626"],"related":[4626,7540,7575],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/ko/eip-8113/","markdown":"## 어떤 문제를 해결하나요?\n\n성과 수수료를 받는 수익형 볼트는 보통 **하이워터마크**로 사용자를 보호합니다. 볼트가 지금까지 도달한 최고 지분당 가격을 넘는 이익에만 수수료를 부과하므로, 손실을 회복하는 것에 대해 두 번 내는 사람이 없습니다.\n\n볼트 전체에 하이워터마크가 하나뿐이면 **무임승차** 문제가 생깁니다. 볼트가 1.10에서 정점을 찍고 1.00으로 떨어졌고, 새 사용자가 1.00에 입금했다고 해 봅시다. 가격이 다시 1.10과 그 이상으로 오르면 새 사용자는 10 %를 벌었지만, 볼트 전체로는 회복하는 중일 뿐이므로 그에 대해 수수료를 내지 않습니다. 기존 사용자가 사실상 그들을 보조하는 셈입니다.\n\n이 문제는 실물 자산이나 오프체인 펀드를 기반으로 하는 볼트에서 가장 두드러집니다. 정산 때마다 지분당 가격이 크게 뛸 수 있기 때문입니다. 전통 펀드는 **시리즈 회계**로 이를 해결합니다. ERC-8113은 그 방식을 [ERC-4626](/eip-4626/) 및 [ERC-7540](/eip-7540/) 볼트에 가져옵니다.\n\n## 어떻게 동작하나요?\n\n각 **시리즈**는 자체 `totalAssets`, `totalShares`, 사용자별 지분, 사용자 목록, 하이워터마크를 가진 하위 볼트와 같습니다. 모든 볼트에는 기본 **리드 시리즈(lead series)**가 있습니다.\n\n**입금**은 배치로 정산됩니다(모든 청구를 하나의 오라클 가격으로, 또는 모든 입금을 하나의 리밸런싱 기간에).\n\n- 리드 시리즈가 하이워터마크 *아래*에 있으면, 배치는 진입 가격을 새 하이워터마크로 하는 **새 시리즈**에 들어갑니다.\n- 그렇지 않으면 배치는 리드 시리즈에 들어가고, 모든 **미결 시리즈(outstanding series)**가 그곳으로 **통합**됩니다. 모든 시리즈가 이제 신고점에 도달했고 공정한 몫의 수수료를 냈기 때문입니다.\n\n통합은 시리즈 수를 적게 유지해 gas limit 문제와 복잡한 NAV 보고서를 피합니다.\n\n**상환**은 지분이 시리즈 간에 더 이상 대체 가능하지 않으므로 `shares`가 아니라 `assets`로 요청합니다. 정산 시 볼트는 선입선출로 상환할 수 있습니다. 리드 시리즈에서, 그다음 미결 시리즈에서 id 오름차순으로 상환합니다. 각 조각을 \"상환 슬라이스(redeem slice)\"라고 합니다.\n\n## 샘플 코드\n\n입금 정산 규칙을 보여주는 예시 스케치(완전한 볼트는 아님):\n\n```solidity\n// SPDX-License-Identifier: MIT\npragma solidity ^0.8.20;\n\ncontract SeriesBook {\n    struct Series { uint256 totalAssets; uint256 totalShares; uint256 highwaterMark; }\n\n    uint256 public constant LEAD = 0;\n    mapping(uint256 =\u003e Series) public series;\n    uint256[] public outstanding;      // non-lead series that still hold shares\n    uint256 public nextId = 1;\n\n    function pricePerShare(uint256 id) public view returns (uint256) {\n        Series storage s = series[id];\n        return s.totalShares == 0 ? 1e18 : s.totalAssets * 1e18 / s.totalShares;\n    }\n\n    /// Choose where a batch of pending deposits settles.\n    function _seriesForBatch() internal returns (uint256 id) {\n        if (series[LEAD].highwaterMark \u003e pricePerShare(LEAD)) {\n            id = nextId++;             // below the high-water mark: open a new series\n            outstanding.push(id);\n        } else {\n            id = LEAD;                 // at a new high: settle in lead and consolidate\n            _consolidateAll();\n        }\n    }\n\n    function _consolidateAll() internal { /* move user shares from outstanding into LEAD */ }\n}\n```\n\n## 알아둘 점\n\n- **상태: Draft.** 함수 이름과 세부 사항은 바뀔 수 있습니다.\n- ERC-4626이나 ERC-7540과 **하위 호환되지 않습니다**. `totalAssets`, `convertToShares`, `convertToAssets`에는 `seriesId`가 필요하고, `redeem` / `requestRedeem`은 `shares` 대신 `assets`를 받습니다. 기존 통합은 그대로는 동작하지 않습니다.\n- 명세는 회계 규칙을 정의하지만 완전한 인터페이스나 수수료 공식 자체는 정의하지 않습니다. 성과 수수료 이전의 고정 및 변동 비용 때문에 결과가 기대와 달라질 수 있으므로, 구현은 모든 수수료를 신중히 문서화해야 합니다.\n- 정산에 쓰이는 지분당 가격은 오라클이 정하므로, 볼트의 공정성은 그 오라클에 달려 있습니다.\n"},"zh":{"lang":"zh","tldr":"一种金库会计方法，把每一批存款放入各自独立的系列（series），每个系列有自己的高水位线，从而公平地收取业绩费，后来的存款人也无法搭便车。","tags":["vault","defi","fees","rwa","erc4626"],"related":[4626,7540,7575],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/zh/eip-8113/","markdown":"## 它解决什么问题？\n\n收取业绩费的收益型金库通常用**高水位线**来保护用户：只对超过金库曾达到的最高每份额价格的收益收费，这样没有人会为弥补亏损而重复付费。\n\n如果整个金库只有一个高水位线，就会产生**搭便车**问题。假设金库曾在 1.10 达到峰值，跌到 1.00，一个新用户在 1.00 存入。当价格回升到 1.10 乃至更高时，这位新用户赚了 10 %，却不需要为此付费，因为就整个金库而言只是在恢复。现有用户实际上是在补贴他们。\n\n这个问题在由现实世界资产或链下基金支持的金库中最为尖锐，因为每次结算时每份额价格可能大幅跳动。传统基金用**系列会计**解决这个问题；ERC-8113 把这种方法引入 [ERC-4626](/eip-4626/) 和 [ERC-7540](/eip-7540/) 金库。\n\n## 它如何运作\n\n每个**系列**就像一个子金库，拥有自己的 `totalAssets`、`totalShares`、每个用户的份额、用户列表和高水位线。每个金库都有一个默认的**主系列（lead series）**。\n\n**存款**按批次结算（所有申领按同一个预言机价格，或所有存款在同一个再平衡周期内）：\n\n- 如果主系列*低于*其高水位线，该批次进入一个**新系列**，其新的高水位线设为入场价格。\n- 否则，该批次进入主系列，并且所有**未结清系列**都会被**合并**进来，因为每个系列现在都已达到新高，并缴纳了应付的费用。\n\n合并让系列数量保持较少，避免 gas limit 问题和杂乱的净值报告。\n\n**赎回**以 `assets` 而非 `shares` 提出申请，因为份额在不同系列之间不再可互换。结算时，金库可以先进先出地赎回：先从主系列，再按 id 升序从未结清系列。每一部分称为一个\"赎回切片（redeem slice）\"。\n\n## 示例代码\n\n存款结算规则的示意性草图（不是完整的金库）：\n\n```solidity\n// SPDX-License-Identifier: MIT\npragma solidity ^0.8.20;\n\ncontract SeriesBook {\n    struct Series { uint256 totalAssets; uint256 totalShares; uint256 highwaterMark; }\n\n    uint256 public constant LEAD = 0;\n    mapping(uint256 =\u003e Series) public series;\n    uint256[] public outstanding;      // non-lead series that still hold shares\n    uint256 public nextId = 1;\n\n    function pricePerShare(uint256 id) public view returns (uint256) {\n        Series storage s = series[id];\n        return s.totalShares == 0 ? 1e18 : s.totalAssets * 1e18 / s.totalShares;\n    }\n\n    /// Choose where a batch of pending deposits settles.\n    function _seriesForBatch() internal returns (uint256 id) {\n        if (series[LEAD].highwaterMark \u003e pricePerShare(LEAD)) {\n            id = nextId++;             // below the high-water mark: open a new series\n            outstanding.push(id);\n        } else {\n            id = LEAD;                 // at a new high: settle in lead and consolidate\n            _consolidateAll();\n        }\n    }\n\n    function _consolidateAll() internal { /* move user shares from outstanding into LEAD */ }\n}\n```\n\n## 需要注意\n\n- **状态：Draft。** 函数名称和细节可能变化。\n- 它与 ERC-4626 或 ERC-7540 **不向后兼容**：`totalAssets`、`convertToShares` 和 `convertToAssets` 需要 `seriesId`，而 `redeem` / `requestRedeem` 接收 `assets` 而不是 `shares`。现有的集成无法原样使用。\n- 规范定义了会计规则，但没有定义完整的接口或费用公式本身。实现应当仔细记录每一项费用，因为业绩费之前的固定和可变收费可能使结果与预期不同。\n- 由预言机设定用于结算的每份额价格，因此金库的公平性取决于该预言机。\n"}}}
