Module consts

Source

Constants§

BASE_COAL_REWARD_RATE_MAX_THRESHOLD
The maximum allowed base reward rate, at which point the min difficulty should be decreased.
BASE_COAL_REWARD_RATE_MIN_THRESHOLD
The minimum allowed base reward rate, at which point the min difficulty should be increased
BASE_WOOD_REWARD_RATE_MAX_THRESHOLD
The maximum allowed base reward rate, at which point the min difficulty should be decreased.
BASE_WOOD_REWARD_RATE_MIN_THRESHOLD
The minimum allowed base reward rate, at which point the min difficulty should be increased
BUS_COAL_EPOCH_REWARDS
The quantity of COAL each bus is allowed to issue per epoch.
BUS_COUNT
The number of bus accounts, for parallelizing mine operations.
CHROMIUM_METADATA_NAME
CHROMIUM_METADATA_SYMBOL
CHROMIUM_METADATA_URI
CHROMIUM_MINT
CHROMIUM_MINT_ADDRESS
The address of the CHROMIUM mint account.
COAL_BUS
The seed of the bus account PDA.
COAL_BUS_ADDRESSES
The addresses of the bus accounts.
COAL_CONFIG
The seed of the config account PDA.
COAL_CONFIG_ADDRESS
The address of the config account.
COAL_EPOCH_DURATION
The duration of a program epoch, in seconds.
COAL_EPOCH_MINUTES
The number of minutes in a program epoch.
COAL_EXTRACTION_MULTIPLIER
The multiplier for the target quantity of COAL to be mined per epoch.
COAL_MAIN_HAND_TOOL
The seed of the tool account PDA.
COAL_MAIN_HAND_TOOL_ADDRESS
COAL_METADATA_ADDRESS
The address of the mint metadata account.
COAL_METADATA_NAME
The name for token metadata.
COAL_METADATA_SYMBOL
The ticker symbol for token metadata.
COAL_METADATA_URI
The uri for token metdata.
COAL_MINT
The seed of the mint account PDA.
COAL_MINT_ADDRESS
The address of the COAL mint account.
COAL_PROOF
The seed of proof account PDAs.
COAL_TREASURY_TOKENS_ADDRESS
The address of the COAL treasury token account.
FORGE_PICKAXE_COLLECTION
Forge collection ids
INITIALIZER_ADDRESS
The authority allowed to initialize the program.
INITIAL_BASE_COAL_REWARD_RATE
The base reward rate to intialize the program with.
INITIAL_BASE_WOOD_REWARD_RATE
INITIAL_MIN_DIFFICULTY
The minimum difficulty to initialize the program with.
INITIAL_WOOD_EPOCH_REWARDS
The initial quantity of WOOD distributed to each bus (1000 WOOD).
MAX_COAL_EPOCH_REWARDS
The maximum quantity of COAL that can be mined per epoch. Inflation rate ≈ 1000 COAL / min (min 0, max 8)
MAX_COAL_SUPPLY
The maximum token supply (21 million).
MAX_WOOD_EPOCH_REWARDS
The maximum rewards a bus can have for each epoch 4000 WOOD
METADATA
The seed of the metadata account PDA.
MINT_NOISE
Noise for deriving the mint pda
MIN_WOOD_EPOCH_REWARDS
The minimum rewards a bus can have for each epoch 0.1 WOOD
NOOP_PROGRAM_ID
The address of the CU-optimized Solana noop program.
ONE_COAL
One COAL token, denominated in indivisible units.
ONE_MINUTE
The duration of one minute, in seconds.
ONE_WOOD
One WOOD token, denominated in indivisible units.
ORE_PROGRAM_ID
ORE program id
ORE_PROGRAM_ID_BYTES
PLUGIN_UPDATE_AUTHORITY
The seed of the plugin update authority PDA.
REPROCESSOR
The seed of the reprocessor PDA.
REPROCESS_FEE
REPROCESS_MAX_MULTIPLIER
REPROCESS_SLOT_BUFFER
REPROCESS_TARGET_SLOT
SMOOTHING_FACTOR
The smoothing factor for reward rate changes. The reward rate cannot change by mCOAL or less than a factor of this constant from one epoch to the next.
TARGET_COAL_EPOCH_REWARDS
The target quantity of COAL to be mined per epoch.
TOKEN_DECIMALS
The decimal precision of the COAL token. There are 100 billion indivisible units per COAL (called “grains”).
TOLERANCE
The spam/liveness tolerance in seconds.
TREASURY
The seed of the treasury account PDA.
TREASURY_ADDRESS
The address of the treasury account.
TREASURY_BUMP
The bump of the treasury account, for cpis.
WOOD_BUS
WOOD_BUS_ADDRESSES
WOOD_CONFIG
WOOD_CONFIG_ADDRESS
WOOD_DECREMENTAL_SMOOTHING_FACTOR
WOOD_EPOCH_DURATION
WOOD_EPOCH_MINUTES
WOOD_EXTRACTION_MULTIPLIER
WOOD_LIVENESS_TOLERANCE
The liveness tolerance for WOOD in seconds.
WOOD_MAIN_HAND_TOOL
WOOD_METADATA_ADDRESS
WOOD_METADATA_NAME
WOOD_METADATA_SYMBOL
WOOD_METADATA_URI
WOOD_MINT
WOOD_MINT_ADDRESS
The address of the WOOD mint account.
WOOD_PROOF
WOOD_PROPOGATION_RATE
WOOD propogation rate is 5% per epoch New bus rewards = remaining + (remaining rewards / WOOD_PROPOGATION_RATE)
WOOD_TREASURY_TOKENS_ADDRESS
The address of the WOOD treasury token account.