Module consts
Source - BASE_REWARD_RATE_MAX_THRESHOLD
- The maximum allowed base reward rate, at which point the min difficulty should be decreased.
- BASE_REWARD_RATE_MIN_THRESHOLD
- The minimum allowed base reward rate, at which point the min difficulty should be increased
- BUS
- The seed of the bus account PDA.
- BUS_ADDRESSES
- The addresses of the bus accounts.
- BUS_COUNT
- The number of bus accounts, for parallelizing mine operations.
- BUS_EPOCH_REWARDS
- The quantity of ORE each bus is allowed to issue per epoch.
- COALS_PER_INGOT
- The amount of COALS per one INGOT
- COAL_MINT_ADDRESS
- CONFIG
- The seed of the config account PDA.
- CONFIG_ADDRESS
- The address of the config account.
- EPOCH_DURATION
- The duration of a program epoch, in seconds.
- EPOCH_MINUTES
- The number of minutes in a program epoch.
- INGOTS_PER_ORE
- The amount of INGOTS per one ORE
- INITIALIZER_ADDRESS
- The authority allowed to initialize the program.
- INITIAL_BASE_REWARD_RATE
- The base reward rate to intialize the program with.
- INITIAL_MIN_DIFFICULTY
- The minimum difficulty to initialize the program with.
- MAX_EFFICIENCY_BONUS_PERCENTAGE
- The maximum discount percentage for staked COAL.
- MAX_EPOCH_REWARDS
- The maximum quantity of ORE that can be mined per epoch.
Inflation target ≈ 1 ORE / min
- MAX_SUPPLY
- The maximum token supply (21 million).
In reality this is limited by the availability of COAL, not the supply of INGOT.
- METADATA
- The seed of the metadata account PDA.
- METADATA_ADDRESS
- The address of the mint metadata account.
- METADATA_NAME
- The name for token metadata.
- METADATA_SYMBOL
- The ticker symbol for token metadata.
- METADATA_URI
- The uri for token metdata.
- MINT
- The seed of the mint account PDA.
- MINT_ADDRESS
- The address of the mint account.
- MINT_NOISE
- Noise for deriving the mint pda
- NOOP_PROGRAM_ID
- The address of the CU-optimized Solana noop program.
- ONE_COAL
- One COAL token, denominated in indivisible units.
- ONE_INGOT
- One INGOT token, denominated in indivisible units.
- ONE_MINUTE
- The duration of one minute, in seconds.
- ONE_ORE
- One ORE token, denominated in indivisible units.
- ORE_MINT_ADDRESS
- PROOF
- The seed of proof account PDAs.
- SMOOTHING_FACTOR
- The smoothing factor for reward rate changes. The reward rate cannot change by more or less
than a factor of this constant from one epoch to the next.
- TARGET_EPOCH_REWARDS
- The target quantity of ORE to be mined per epoch.
- TOKEN_DECIMALS
- The decimal precision of the ORE token.
There are 100 billion indivisible units per ORE (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.
- TREASURY_ORE_TOKENS_ADDRESS
- The address of the treasury ORE token account.
- TREASURY_TOKENS_ADDRESS
- The address of the treasury INGOT token account.