EIPs Explained

ERC-8113 · Draft · ERC · 2025-12-25

ERC-8113: Series Accounting for Incentivized Vaults

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.

What problem does it solve?

Yield 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.

With 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.

The 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 and ERC-7540 vaults.

How it works

Each 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.

Deposits are settled in batches (all claims at one oracle price, or all deposits in one rebalancing period):

  • 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.
  • 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.

Consolidation keeps the number of series small, avoiding gas-limit problems and cluttered NAV reports.

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".

Sample code

An illustrative sketch of the deposit settlement rule (not a full vault):

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;

contract SeriesBook {
    struct Series { uint256 totalAssets; uint256 totalShares; uint256 highwaterMark; }

    uint256 public constant LEAD = 0;
    mapping(uint256 => Series) public series;
    uint256[] public outstanding;      // non-lead series that still hold shares
    uint256 public nextId = 1;

    function pricePerShare(uint256 id) public view returns (uint256) {
        Series storage s = series[id];
        return s.totalShares == 0 ? 1e18 : s.totalAssets * 1e18 / s.totalShares;
    }

    /// Choose where a batch of pending deposits settles.
    function _seriesForBatch() internal returns (uint256 id) {
        if (series[LEAD].highwaterMark > pricePerShare(LEAD)) {
            id = nextId++;             // below the high-water mark: open a new series
            outstanding.push(id);
        } else {
            id = LEAD;                 // at a new high: settle in lead and consolidate
            _consolidateAll();
        }
    }

    function _consolidateAll() internal { /* move user shares from outstanding into LEAD */ }
}

Things to know

  • Status: Draft. Function names and details may change.
  • 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.
  • 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.
  • An oracle sets the price-per-share used for settlement, so the vault's fairness depends on that oracle.

#vault #defi #fees #rwa #erc4626

Details

Authors
Yash Saraswat (@0xpanicError)
Status
Draft
Type
Standards Track / ERC
Created
2025-12-25
Requires

Machine-readable: Markdown · JSON