Introduce enums and how they can be used inside starknet contracts.
Enum Declaration: Show how to declare enums outside of a contract for reusability and modularity.
Enum Imports: Demonstrate how to import enums into contracts where they are needed.
Example Use Cases: Provide practical examples of how enums can be used in cairo contracts.
Comprehensive Explanation: Include detailed explanations and comments to ensure clarity.
Checklist
[x] CI Verifier: Run ./scripts/cairo_programs_verifier.sh successfully
[ ] Contract Tests: Added tests to cover the changes <-- no test as it is a basic getting-started example (like other getting-started chapters already present)
Issue(s): Close #209
Description
Introduce enums and how they can be used inside starknet contracts.
Checklist
./scripts/cairo_programs_verifier.sh
successfullygetting-started
example (like othergetting-started
chapters already present)