Structs§
- Config
- Globalna konfiguracja programu (PDA “config”, singleton).
- Miner
- Konto minera (PDA “miner” + authority).
- Round
- Jedna runda dystrybucji (PDA “round” + index LE). Runda jest otwarta gdy index == config.current_round; rozliczalna gdy index < config.current_round; zamykalna (odzysk rentu) po ROUND_RETENTION.
Constants§
- CONFIG_
DISCRIMINATOR - Dyskryminatory kont.
- MINER_
DISCRIMINATOR - ROUND_
DISCRIMINATOR