Skip to main content

Module state

Module state 

Source

Structs§

Config
Global program configuration (“config” PDA, singleton).
Miner
Miner account (“miner” PDA + authority).
Round
One distribution round (“round” PDA + LE index). A round is open when index == config.current_round; settleable when index < config.current_round; closable (rent recovery) after ROUND_RETENTION.

Constants§

CONFIG_DISCRIMINATOR
Account discriminators.
MINER_DISCRIMINATOR
ROUND_DISCRIMINATOR