Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ERC: Router Proxy #647

Open
wants to merge 19 commits into
base: master
Choose a base branch
from
Open

Conversation

eternauta1337
Copy link

The Router Proxy Standard introduces a streamlined approach to managing multiple implementations behind a single proxy, similar to the Diamond Proxy Standard (ERC-2535). Unlike the latter, this method hardcodes module addresses within the proxy’s implementation contract, offering a simpler, more explicit, and gas-efficient mechanism. This design reduces complexity, making it easier to reason about and improving overall efficiency while retaining the flexibility to manage multiple modules.

@eip-review-bot
Copy link
Collaborator

eip-review-bot commented Sep 19, 2024

File ERCS/erc-7771.md

Requires 1 more reviewers from @axic, @g11tech, @SamWilsn, @xinbenlv

ERCS/erc-9999.md Outdated Show resolved Hide resolved
ERCS/erc-9999.md Outdated Show resolved Hide resolved
ERCS/erc-9999.md Outdated Show resolved Hide resolved
ERCS/erc-9999.md Outdated Show resolved Hide resolved
ERCS/erc-9999.md Outdated Show resolved Hide resolved
ERCS/erc-9999.md Outdated Show resolved Hide resolved
@eternauta1337 eternauta1337 changed the title ERC-XXXX: Router Proxy ERC-7771: Router Proxy Sep 20, 2024
@github-actions github-actions bot removed the w-ci label Sep 20, 2024
@eip-review-bot eip-review-bot changed the title ERC-7771: Router Proxy Add ERC: Router Proxy Sep 20, 2024
@github-actions github-actions bot added the w-ci label Sep 20, 2024
@github-actions github-actions bot added w-ci and removed w-ci labels Sep 24, 2024
@github-actions github-actions bot removed the w-ci label Oct 4, 2024
Copy link

github-actions bot commented Oct 4, 2024

The commit cd1e5de (as a parent of 778ed6a) contains errors.
Please inspect the Run Summary for details.

@github-actions github-actions bot added the w-ci label Oct 4, 2024
@github-actions github-actions bot removed the w-ci label Oct 4, 2024
@mudgen
Copy link
Contributor

mudgen commented Oct 15, 2024

Unlike the latter, this method hardcodes module addresses within the proxy’s implementation contract

I would like to clarify that EIP-2535 Diamond can be implemented with hardcoded module addresses and selectors, and this has been done by the Pendle project. In general I really like this idea and I would like to see a new standard that standardizes this kind of implementation but that also implements EIP-2535 Diamonds, which is not hard to do. An article that covers the minimum things required to comply with the EIP-2535 Diamonds standard is here: https://eip2535diamonds.substack.com/p/compliance-with-eip-2535-diamonds

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants