Вход на сайт

Просмотр новости

Найдите то, что Вас интересует

ERC-8349: Index-Based Multi-Facet Proxy

Дата публикации: 21-07-2026 19:30:42


Motivation
Over the past several years, the Ethereum ecosystem has shown sustained interest in modular proxy architectures. ERC-2535 (Diamonds) established the first widely adopted standard, and subsequent proposals such as ERC-8109 and ERC-8153 have continued to refine different aspects of the design, particularly around selector management, introspection, and the standardization boundary.
While following these discussions, one architectural question kept recurring:
Should modular routing fundamentally identify implementation modules through function selectors at all?
Function selectors naturally identify externally callable functions. Facets, however, are implementation modules. In existing selector-centric architectures, these two responsibilities become coupled, making selector management a permanent concern throughout deployment, upgrades, and protocol maintenance.
Routing Model
This proposal explores an alternative routing model based on a different principle:
Protocol routing should identify facets, while function selectors should remain dedicated to interface compatibility.
Instead of routing through selector tables, Cento Proxy assigns each facet a compact routing index. Native protocol calls append this routing index to calldata; the router strips it before delegation, and the delegated facet receives the original calldata exactly as if it had been called directly. Existing standard interfaces remain selector-routed to preserve compatibility with current tooling and infrastructure.
This naturally separates two distinct responsibilities:
Protocol routing: index → facet
Interface compatibility: selector → index → facet
As a result, modularity becomes fundamentally facet-centric rather than selector-centric, allowing deployment, upgrades, and observability to operate directly on implementation modules instead of collections of function selectors.
This separation has several practical consequences: native protocol development no longer depends on selector management or selector collision concerns, upgrade costs scale with the number of affected facets rather than functions, and protocol evolution becomes centered around implementation modules instead of selector tables.
Resources
Alongside the proposal, I’ve prepared:
a complete Reference Implementation;
an ERC Proposal describing the routing model;
comprehensive tests, benchmarks, documentation, and deployment tooling.
Thoughts & Feedback
Although the routing model itself is the primary contribution, I’d especially appreciate discussion around the standardization boundary.
The Diamond ecosystem has shown that topics such as mandatory interfaces, introspection, upgrade events, and standardized errors remain open design questions rather than settled conventions.
Since index-based routing approaches modularity from a different architectural perspective, I believe it provides an opportunity to reimagine the modular proxy standard from a fresh start rather than inheriting previous assumptions.
I’d be particularly interested in feedback on:
the routing model itself;
which aspects should belong in the standard versus remain implementation-defined;
whether events, errors, interfaces, and introspection capabilities should be standardized.
Thank you for taking the time to read through the proposal. I look forward to hearing your thoughts and discussing it with the community.
1 post - 1 participant
Read full topic

Схожие новости

#Наименование новостиТональностьИнформативностьДата публикации
1[Idea/Draft] Protocol-Level Smart Contract Invariant Protection via Pre-Mempool Validation (Security Manifests)010.7622-07-2026
2ERC-8354: Confidential Agent Policy Verdicts012.8724-07-2026
3ERC-8343: Contract Deactivation015.6221-07-2026
4Cohort Order Book: an O(1) fully on-chain limit order book via generational fungible liquidity012.8615-07-2026
5ERC-XXXX: NFT-Bound Prediction Markets (LMSR pricing, on-chain state)015.8621-07-2026
6All Core Devs - Execution (ACDE) #242, July 30, 2026012.5320-07-2026
7ERC-TBA: Prediction Market CTF Wrapper011.427-07-2026
8ERC-8346: Translation Files for ERC-7730 Descriptors030.0423-07-2026
9EIP-8341: Partial Execution Payload Commitments018.417-07-2026
10ERC-8338: Token-Bound Executable Skills011.7913-07-2026

Классификация: . Схожих патентов: 0. Схожих новостей: 10. Тональность: 0. Информативность: 10.21. Источник: ethereum-magicians.org.