Add an interface folder that lists common interfaces#2517
Add an interface folder that lists common interfaces#2517frangio merged 29 commits intoOpenZeppelin:masterfrom
Conversation
|
Since this is not a breaking change we will discuss this after 4.0 or at least after we've finished work on the breaking changes. |
3430cf2 to
9a225ab
Compare
9a225ab to
1dc0141
Compare
|
What should we do with the interface we have elsewhere? Should we deduplicate them? |
We just cannot move them for obvious backward compatibility reasons. Yet, I think they should be in here. So my approach has been to link them using Any preference/opinion ? |
|
Oh sorry I missed that there were Well what are we going to do for future ERCs we implement? Are we going to add two different files for each new ERC interface? It seems like we should instead add all new interfaces in the interfaces directory, and import them from there. |
Yes. This is what I did for ERC1271 in signaturechecker |
|
So given that any future interfaces are going to be added in the interfaces directory, I would move the current interfaces over there for consistency, and place imports in the current locations for backwards compatibility. |
|
@Amxx Please see my comment above. |
…tracts into feature/interfaces
Includes:
Eventually, all of https://eips.ethereum.org/erc should be considered
PR Checklist