Skip to main content

Module consts

Module consts 

Source

Constants§

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.
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.
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.
MICRO
The seed of the micro account PDA (per-epoch auction state).
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.
SHARE
The seed of the share account PDA (per-user, per-epoch auction contribution).
SLOT_DURATION_MS
The duration of one slot in milliseconds. Fogo has ~40ms slots (10x faster than Solana’s ~400ms slots)
SOL_MINT
The address of the sol mint account.
SPLIT_ADDRESS
The address to indicate OIL rewards are split between all miners.
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.
WHITELIST
The seed of the whitelist account PDA.