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.
AUTOMATION
The seed of the automation account PDA.
BOARD
The seed of the board account PDA.
BOARD_ADDRESS
The address of the board account.
BOOST_RESERVE_TOKEN
The address of the boost reserve token account.
BURY_AUTHORITY
The address which can call the bury and wrap instructions.
CHECKPOINT_FEE
The fee paid to bots if they checkpoint a user.
COMPOUND_FEE_PER_TRANSACTION
Amount paid to bots per transaction for auto-compounding staking yield, in lamports.
CONFIG
The seed of the config account PDA.
CONFIG_ADDRESS
The address of the config account.
DENOMINATOR_BPS
Denominator for fee calculations.
EXECUTOR_ADDRESS
The address to indicate automation is permissionless.
INTERMISSION_SLOTS
The number of slots for breather between rounds.
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.
ROUND_SLOTS
The number of slots for one round.
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.
STATS
The seed of the stats account PDA.
SWAP_PROGRAM
The swap program used for buybacks.
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.
TWELVE_HOURS_SLOTS
The number of slots in 12 hours.
VAR_ADDRESS
The address of the var account.