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 ORE each bus is allowed to issue per epoch.
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 ORE that can be mined per epoch, in units of nanoORE.
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_ORE
One ORE token, denominated in units of nanoORE.
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 ORE to be mined per epoch, in units of nanoORE. Inflation rate ≈ 1 ORE / epoch (min 0, max 2)
TOKEN_DECIMALS
The decimal precision of the ORE token. Using SI prefixes, the smallest indivisible unit of ORE is a nanoORE. 1 nanoORE = 0.000000001 ORE = one billionth of an ORE
TREASURY
The seed of the treasury account PDA.
TREASURY_ADDRESS
The address of the treasury account.