Constants§
- ADMIN_
ADDRESS - The authority allowed to initialize the program.
- AUTOMATION
- The seed of the automation account PDA.
- BOARD
- The seed of the board account PDA.
- BOOST_
RESERVE_ TOKEN - The address of the boost reserve token account.
- CHECKPOINT_
FEE - The fee paid to bots if they checkpoint a user.
- CONFIG
- The seed of the config account PDA.
- CONFIG_
ADDRESS - The address of the config account.
- DENOMINATOR_
BPS - Denominator for fee calculations.
- INTERMISSION_
SLOTS - The number of slots for breather between rounds.
- MAX_
SUPPLY - The maximum token supply (5 million).
- MINER
- The seed of the miner account PDA.
- MINT_
ADDRESS - The address of the mint account.
- ONE_DAY
- The duration of one day, in seconds.
- ONE_
DAY_ SLOTS - The number of slots in one day.
- ONE_
HOUR - The duration of one hour, in seconds.
- ONE_
HOUR_ SLOTS - The number of slots in one hour.
- ONE_
MINUTE - The duration of one minute, in seconds.
- ONE_
MINUTE_ SLOTS - The number of slots in one week.
- ONE_ORE
- One ORE token, denominated in indivisible units.
- ONE_
WEEK - The number of seconds for when the winning square expires.
- ONE_
WEEK_ SLOTS - The number of slots in one week.
- ROUND
- The seed of the round account PDA.
- SEEKER
- The seed of the seeker account PDA.
- SOL_
MINT - The address of the sol mint account.
- SPLIT_
ADDRESS - The address to indicate ORE rewards are split between all miners.
- SQUARE
- The seed of the square account PDA.
- STAKE
- The seed of the stake account PDA.
- TOKEN_
DECIMALS - The decimal precision of the ORE token. There are 100 billion indivisible units per ORE (called “grams”).
- TREASURY
- The seed of the treasury account PDA.
- TREASURY_
ADDRESS - The address of the treasury account.
- TREASURY_
BUMP - The address of the treasury account.
- TWELVE_
HOURS_ SLOTS - The number of slots in 12 hours.