OpenZeppelin / cairo-contracts

OpenZeppelin Contracts written in Cairo for Starknet, a decentralized ZK Rollup
https://docs.openzeppelin.com/contracts-cairo
MIT License
797 stars 320 forks source link

ERC6909 Implementation in Cairo #1018

Open swan-of-bodom opened 1 week ago

swan-of-bodom commented 1 week ago

🧐 Motivation

ERC6909 is a new multi-token standard which will most likely be used by UniswapV4. It's similar to ERC1155 somewhat with some modifications/simplifications.

📝 Details I've been working on a small implementation following OZ tests, can be found here. Is anyone working on this? If not and you think it would be a good addition to the OZ Cairo library, I can open a PR. I have a few more edits to make before it's finalized.

ericnordelo commented 1 week ago

Hey @swan-of-bodom, 6909 is not part of our roadmap short term, but I think it could be a great addition. Happy to review and support a PR for including it in our library. I'm letting these potential extensions as a reference in the issue, since we may want to include them in the implementation for better UX and security.