OpenZeppelin / cairo-contracts

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

Feat: Evaluate Mixin impls #812 #835

Closed Cevedale closed 7 months ago

Cevedale commented 7 months ago

Hey! You can create mixin implementations that combine several other implementations. In the example, AccountMixinImpl is introduced, which includes the necessary components for the account.

[abi(embed_v0)]

impl AccountMixinImpl = AccountComponent::MyMixinImpl; // <- THIS ONE HAS ALL YOU NEED

martriay commented 7 months ago

Closing since this seems pretty much LLM-generated content based on #812. Feel free to open a new issue with further details if you think this is an error.