When Binance’s hot wallets were drained on 29 October, the stablecoin issuers reacted fast: Tether froze the attackers’ main wallet 37 minutes after the stolen USDT arrived there, and Circle froze the USDC three minutes later (Elliptic). It was still a race. Several hundred million dollars of stablecoins had been swapped, sold or pledged as collateral before a freeze reached them.
A freeze by address stops only what is still at that address, and ERC-20 gives an issuer nothing else: a balance is a single number, and once funds are split, forwarded or mixed, nothing on-chain says which units are the stolen ones. ERC-3643 and ERC-7943 also act on accounts, or on amounts within accounts.
This draft gives every smallest unit of a fungible token a serial number, the way a banknote has one, and keeps the token compatible with ERC-20. The theft transactions then name the stolen serials. The issuer freezes those serials, one freeze per slice taken, and the units are frozen wherever they are by then, however often they have been transferred, split or mixed. There are no wallets to chase, and everything else in those addresses stays transferable. An issuer no longer has to choose between freezing a mixed address whole and leaving it alone.
A token can freeze by address and by serial: the first stops everything at the addresses the issuer knows, the second reaches the stolen units at addresses it has not found.
The serials are useful even where nothing is frozen: which units came from a theft is no longer inferred with first-in-first-out or pro-rata conventions that every analyst applies differently, it is read from the transfer events, and an exchange can check a deposit against the stolen serials before crediting it.
How it works
- Serials are issued consecutively and are never reused. A balance is the number of serials an account holds, kept as slices of consecutive serials.
- No ERC-20 function or event is changed.
transferworks as usual; the contract chooses which serials move and reports each slice in aSliceTransferredevent. - Freezing (
freezeSlice(start, amount, reason)), and classes that restrict to whom units can be transferred, are optional extensions.
What it costs
A transfer costs more than a plain ERC-20 transfer, and the cost grows with the number of slices it moves. Accounts that collect many payments accumulate slices, others can add slices by sending dust, and left alone such an account’s transfers eventually do not fit in one transaction.
The draft’s answer is consolidation: a holder exchanges scattered units for one slice of new serials. It is the only operation that renumbers units; the contract records old and new serials, and a freeze follows that record. An exchange is the obvious user: withdrawals add no slices to its hot wallet, only incoming transfers do, so it can consolidate when it sweeps deposits in. Such a wallet holds few slices, and a theft from it takes few freezes.
We replayed every USDC transfer on Ethereum up to 31 May 2026 (290 million payments by amount) through a model of the token. Without consolidation, 0.75% of them move more than 465 slices, the most the reference implementation currently moves in one transaction, and the most fragmented address holds 1.12 million slices. None of the three other selection rules we ran fixes that. Consolidating every account that passes 1,000 slices leaves 91% fewer such payments, or 98.6% fewer with a selection rule the reference implementation does not have. In the model a consolidation is free and takes one step; on-chain it is neither. Details and gas figures will follow in this thread.
Three decisions we would like challenged
- Consolidation renumbers units, and a token can open it to every holder. A freeze then passes through the record, so its cost depends on what holders did before. An implementation may restrict who consolidates and require a minimum number of slices. Is that enough to keep consolidation from making freezes expensive, or should the standard set the bound?
balanceOfcan be more than an account can send. Frozen units and units of a restricted class still count in the balance. Wallets gettransferableBalanceOf(from, to)and on-chain names for freeze reasons and classes. Is that enough to show a correct “Max” and explain the rest without an indexer?- One proposal. Consolidation is in the core; freezing and classes are optional extensions in the same ERC. Would you split them into separate ERCs, and is the core too large with consolidation in it?
Related work
- ERC-8047 (draft) has the same goal and records a lineage graph: every transfer creates a new ERC-1155 token id, so it cannot be used where ERC-20 is expected. In this draft transfers never renumber units.
Status
The specification is complete as a draft. A reference implementation with 887 tests is in the draft’s assets on the same branch. A token with the core alone, consolidation included, has about 17,600 bytes of runtime code, well under the contract size limit of 24,576 bytes. It is the optional extensions that take a token over the limit, the freezing extension most of all; their implementation has not been reduced in size yet, so a token with every extension is for reading and testing, not for deployment as it stands. EIP-7954, scheduled for Glamsterdam, raises the limit to 65,536 bytes, and every combination fits under that. The pull request to the ERCs repository is not open yet. Interface names carry the placeholder prefix ERCXXXX until a number is assigned.