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.
- 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_
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
- 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.
- TOKEN_
DECIMALS - The decimal precision of the ORE token. There are 100 billion indivisible units per ORE (called “grams”).
- 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.