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 MARSH each bus is allowed to issue per epoch.
CONFIG
The seed of the config account PDA.
CONFIG_ADDRESS
The address of the config account.
END_AT
The unix timestamp after which mining will stop. TODO decide a new date
EPOCH_DURATION
The duration of a program epoch, in seconds.
EPOCH_MINUTES
The number of minutes in a program epoch.
INITIALIZER_ADDRESS
INITIAL_BASE_REWARD_RATE
The authority allowed to initialize the program. 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 MARSH that can be mined per epoch. Inflation rate ≈ 10 MARSH / min (min 0, max 8)
MAX_SUPPLY
The maximum token supply (50 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_NOISE
Noise for deriving the mint pda. Noise for deriving the mint pda.
MINT_V1_ADDRESS
The address of the legacy Mars(h) mint account.
NOOP_PROGRAM_ID
The address of the CU-optimized Solana noop program.
ONE_MARSH
One Marsh token, denominated in indivisible units.
ONE_MINUTE
The duration of one minute, in seconds.
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. TODO decide a new date
TARGET_EPOCH_REWARDS
The target quantity of MARSH to be mined per epoch.
TEN_MARSH
Ten MARSH token
TOKEN_DECIMALS
The decimal precision of the Marsh token. There are 1 billion indivisible units per Marsh (called “raindrops”).
TOKEN_DECIMALS_V1
The decimal precision of the legacy Mars(h) 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.