Gud Guess
  • Intro to Gud Guess
    • Positive Feedback Loop
  • Tokenomics
  • GG Game Mechanics & Jackpot
    • Purchasing Tickets to Guess Weekly Close
    • Price Precision
    • BTC/USD Close Price Calc
    • Triggering Weekly Close
  • Real Yield
  • Disclaimer
Powered by GitBook
On this page
  1. GG Game Mechanics & Jackpot

Triggering Weekly Close

Since every aspect of GG exists on-chain which requires on-chain transactions for events to occur, a transaction is required to trigger the locking and storing of the weekly close each week. Therefore the weekly close price could be retrieved and locked several seconds to minutes after the exact weekly close.

Locking and storing the weekly close price happens one of two ways, whichever happens first after Sunday night 23:59:59:

  1. Any buy/sell/transfer transaction of GG that happens on or after Sunday night 23:59:59 will trigger the weekly close to be locked.

  2. Anyone can manually execute the `submitClose()` contract function after the weekly close time to trigger.

PreviousBTC/USD Close Price CalcNextReal Yield

Last updated 2 years ago