Reward calculation

If you want to calculate the current reward of Catalyst, you will need the following two code snippets:

Formula

catalystdevelopment/catalyst/blob/development/src/cryptonotecore/Currency.cpp#L202

uint64_t baseReward = (m_moneySupply - alreadyGeneratedCoins) >> emission;

Emission speed

catalyst/blob/development/src/config/CryptoNoteConfig.h

const unsigned EMISSION_SPEED_FACTOR_V2 = 22;

Now that we have the formula and emission speed, we can calculate the current reward amount. See below example:

Reward = (77’000’000 – [current circulating supply]) / 2^22