🪄Finalizing Competitions
Given that blockchains cannot 'self-execute' functions after a certain period of time, we had to come up with a solution that was somewhat automated, but also cheap, given that we pay gas to finalize each competition.
Here's what we did.
First, using Gelato Network, we set up a system that calls the finalize function every 10 minutes.
We also have an admin dashboard available for staff members to finalize and manage disputes in competitions manually.
What this means is that even after you win, if the time you won is outside of the 10 minute window for finalizing competitions, your winnings won't be transferred to you immediately, but the next time the function for finalizing is called. If you need the money badly, you can reach out to a mod or team member, and they'll be abe to reach the department in charge of finalizing so that you can get your competition manually finalized.
Last updated