Hello OpenZeppelin Team,
I’m currently working on a project where I need functionality similar to ERC20VotesUpgradeable.sol
but in Cairo. I noticed that your Cairo contracts have separate upgradable.cairo
and votes.cairo
components, unlike the Solidity version where they’re combined.
Could you advise on the best practice for achieving this? Should I:
- Merge the
upgradable
logic into thevotes
component (similar to Solidity’s approach), or - Keep them separate and compose them differently?
What I want to do is add upgradable votes to an ERC20 token in cairo.
I’d appreciate any guidance on recommended patterns or examples for combining these features while maintaining upgradability.