This is a buggy smart contract that handles some simple states. Your job is to make sure that this contract can be compiled by resolving the issues.
As always, you can check if the contract can be compiled with:
forge build
How to submit homework:
- Fork the repo
- Create a PR
NOTE: To ensure an optimal learning experience, PLEASE refrain from using AI to help you solve the bugs. You can instead reach out to the discord channel or find explanations online.
Happy hacking!