[feat] Start a new day #15
Labels
enhancement
New feature or request
good first issue
Good for newcomers
onchain
Cairo/Starknet related tasks
There are various things like color votes and quests, which reset each day.
Create a function on the
ArtPeace
contract to increase thedayIdx
by 1 if enough time has passed for a day to be completed. Set the new start time for the next day & emit aNewDay
event.References
ArtPeace Contract
The text was updated successfully, but these errors were encountered: