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

Request to Add Enums in StarknetByExample #209

Closed
hardiktheprogrammer opened this issue Jun 4, 2024 · 3 comments · Fixed by #212
Closed

Request to Add Enums in StarknetByExample #209

hardiktheprogrammer opened this issue Jun 4, 2024 · 3 comments · Fixed by #212

Comments

@hardiktheprogrammer
Copy link

Description:

This feature request is for adding examples of declaring and importing enums in the starknetbyExample. Enums are a powerful tool in programming, and their usage in StarkNet contracts can enhance code readability and maintainability. Providing clear examples of enum declarations and imports will help developers understand and utilize this feature effectively.

Criteria:

  1. Enum Declaration: Show how to declare enums outside of a contract for reusability and modularity.
  2. Enum Imports: Demonstrate how to import enums into contracts where they are needed.
  3. Example Use Cases: Provide practical examples of how enums can be used in cairo contracts.
  4. Comprehensive Explanation: Include detailed explanations and comments to ensure clarity.
@NueloSE
Copy link
Contributor

NueloSE commented Jun 4, 2024

@hardiktheprogrammer can I be assigned to work on this

@hardiktheprogrammer
Copy link
Author

hardiktheprogrammer commented Jun 4, 2024

@hardiktheprogrammer can I be assigned to work on this

I m not maintainer of this repo
would be great if team will work on this issue

@julio4
Copy link
Member

julio4 commented Jun 4, 2024

Well @hudem1 was fast. Quick and nice add, thank you @hardiktheprogrammer and @hudem1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants