Skip to main content Module consts Copy item path Source ADMIN_ADDRESS The authority allowed to initialize the program. ADMIN_FEE The fee paid to the admin for each transaction. ADMIN_FEE_COLLECTOR The address to receive the admin fee. AUCTION The seed of the auction account PDA. AUCTION_FLOOR_PRICE The floor price for auction wells (in lamports).
Price decays linearly from init_price down to this floor over auction_duration_seconds.
Once price reaches floor, it stays at floor until someone bids. AUTOMATION The seed of the automation account PDA. BID The seed of the bid account PDA. BOARD The seed of the board account PDA. BURY_AUTHORITY The address which can call the bury and wrap instructions. CHECKPOINT_FEE The fee paid to bots if they checkpoint a user. CLAIM_AUCTION_OIL_COOLDOWN_SECONDS The minimum cooldown period (in seconds) between auction OIL claims to prevent spam. CONFIG The seed of the config account PDA. CONFIG_ADDRESS The address of the config account. DENOMINATOR_BPS Denominator for fee calculations. EMISSION_PER_ROUND The fixed emission per round for block-based mining. 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. 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 minute.
Fogo has ~40ms slots, so 60 seconds = 1500 slots (60 / 0.04 = 1500) 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. POOL_ADDRESS The address to indicate the mining pool won the lottery. 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 miners. SQUARE The seed of the square account PDA. STAKE The seed of the stake account PDA. SWAP_PROGRAM The swap program used for buybacks. 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. VAR_ADDRESS The address of the var account. WELL The seed of the well account PDA.