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

Update ERC-7579: Prefix ERC-7579 interfaces names to avoid conflicts #876

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Amxx
Copy link
Contributor

@Amxx Amxx commented Jan 30, 2025

ERC-7579 defines multiples interfaces (IExecution, IModule, ...), some of which may clash with different interfaces defined in other ERCs. For example, both ERC-6900 and ERC-7579 define a IModule interfaces (and they are not compatibles).

Prefixing all interfaces declared in ERC-7579 with the name of the ERC avoid that kind of conflict.

This is common practice: for example, ERC-721 and ERC-1155 defined ERC721TokenReceiver and ERC1155TokenReceiver respectivelly.

A similar PR is targetting erc-6900.md with similar changes

@eip-review-bot
Copy link
Collaborator

eip-review-bot commented Jan 30, 2025

File ERCS/erc-7579.md

Requires 1 more reviewers from @filmakarov, @kopy-kat, @leekt, @rockmin216, @yaonam, @zeroknots

@eip-review-bot eip-review-bot changed the title Prefix ERC-7579 interfaces names to avoid conflicts Update ERC-7579: Prefix ERC-7579 interfaces names to avoid conflicts Jan 30, 2025
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.

2 participants