Constants§
- ADMIN_
ADDRESS - The authority allowed to initialize the program.
- AUCTION
- The seed of the auction account PDA.
- AUCTION_
POOL - The seed of the auction pool account PDA (per-epoch pool contributions).
- AUTOMATION
- The seed of the automation account PDA.
- BID
- The seed of the bid account PDA.
- BOARD
- The seed of the board account PDA.
- 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.
- DRILLER
- The seed of the driller account PDA.
- EMISSION_
DECREASE - EMISSION_
FLOOR - EMISSION_
PER_ ROUND - The fixed emission per round for block-based mining.
- EMISSION_
START - Emission schedule constants Emissions start at 50 OIL per round and decrease by 10 every week until bottoming at 10
- EPOCH
- The seed of the square account PDA (auction state per well).
- INTERMISSION_
SLOTS - The number of slots for breather between rounds.
- MAX_
SUPPLY - The maximum token supply (21 million). Mirrors Bitcoin’s 21M supply, representing a Solana-native store of value.
- 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_OIL
- One OIL 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.
- POOL
- The seed of the pool account PDA.
- REFERRAL
- The seed of the referral account PDA.
- RIG
- The seed of the rig account PDA (auction-based mining).
- 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 OIL rewards are split between all drillers.
- SQUARE
- The seed of the square account PDA.
- STAKE
- The seed of the stake account PDA.
- TIER_
1_ NUMERATOR - Referral tier distribution constants (30/3/2 structure). These are used as numerators, with TIER_DENOMINATOR as the denominator.
- TIER_
2_ NUMERATOR - TIER_
3_ NUMERATOR - TIER_
DENOMINATOR - TOKEN_
DECIMALS - The decimal precision of the OIL token. There are 100 billion indivisible units per OIL (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.
- WELL
- The seed of the well account PDA.