Module consts

Source

Constants§

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 MARS each bus is allowed to issue per epoch.
END_AT
The unix timestamp after which mining will stop.
EPOCH_DURATION
The duration of an epoch, in units of seconds.
INITIAL_DIFFICULTY
The mining difficulty to initialize the program with.
INITIAL_REWARD_RATE
The reward rate to intialize the program with.
MAX_EPOCH_REWARDS
The maximum quantity of MARS that can be mined per epoch, in units of miraMARS.
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.
ONE_MARS
One MARS token, denominated in units of miraMARS.
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.
START_AT
The unix timestamp after which mining can begin.
TARGET_EPOCH_REWARDS
The target quantity of MARS to be mined per epoch, in units of miraMARS. Inflation rate ≈ 10 MARS / epoch (min 0, max 20)
TEN_MARS
Ten MARS token
TOKEN_DECIMALS
The decimal precision of the MARS token. The smallest indivisible unit of MARS is a miraMARS. 1 miraMARS = 0.00000001 MARS
TREASURY
The seed of the treasury account PDA.
TREASURY_ADDRESS
The address of the treasury account.