Module consts

Source

Constants§

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.
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.
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_EPOCH_REWARDS
The maximum quantity of ORE that can be mined per epoch. Inflation target ≈ 1 ORE / min
MAX_SUPPLY
The maximum token supply (5 million).
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_BUMP
The bump of the mint account.
MINT_NOISE
Noise for deriving the mint pda
MINT_V1_ADDRESSDeprecated
The address of the v1 mint account.
NOOP_PROGRAM_ID
The address of the CU-optimized Solana noop program.
ONE_MINUTE
The duration of one minute, in seconds.
ONE_ORE
One ORE token, denominated in indivisible units.
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”).
TOKEN_DECIMALS_V1
The decimal precision of the ORE v1 token.
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_TOKENS_ADDRESS
The address of the treasury token account.