The base daily rewards amount for the payment-based system (before community decay).
This is the maximum daily rewards when community health is struggling.
Maximum merkle proof length for seal proofs (supports ~1M epochs).
This prevents DoS attacks through extremely long proofs.
Each epoch = 1 day, so this supports ~2,700 years of history.
The authority allowed to initialize the program.
The decimal precision of the Miracle token.
There are 10^6 indivisible units per Miracle (called “glows”).
Community Health Targets (now configurable via UpdateTargets instruction)
These constants have been moved to Config.community_targets
Launch defaults: target_weekly_users = 500, target_weekly_activity = 5_000 (2,500 payments × 2), target_retention_rate = 5000
Calculate daily rewards with smooth community decay and time decay.
Calculate daily rewards split between customers and merchants.
This function extends the base daily rewards calculation with customer/merchant allocation.