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

[feat] Start a new day #15

Closed
b-j-roberts opened this issue Apr 5, 2024 · 3 comments · Fixed by #23
Closed

[feat] Start a new day #15

b-j-roberts opened this issue Apr 5, 2024 · 3 comments · Fixed by #23
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers onchain Cairo/Starknet related tasks

Comments

@b-j-roberts
Copy link
Contributor

b-j-roberts commented Apr 5, 2024

There are various things like color votes and quests, which reset each day.

Create a function on the ArtPeace contract to increase the dayIdx by 1 if enough time has passed for a day to be completed. Set the new start time for the next day & emit a NewDay event.

References

ArtPeace Contract

@b-j-roberts b-j-roberts added enhancement New feature or request good first issue Good for newcomers onchain Cairo/Starknet related tasks labels Apr 5, 2024
@TAdev0
Copy link
Contributor

TAdev0 commented Apr 9, 2024

Hi @b-j-roberts may I be assigned to this issue?

@b-j-roberts
Copy link
Contributor Author

Yeah, I'll assign you now @TAdev0 . Welcome to the project!

@TAdev0
Copy link
Contributor

TAdev0 commented Apr 9, 2024

Will work on it tomorrow. Thanks !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers onchain Cairo/Starknet related tasks
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants