ore_boost_api

Module state

Source

Structs§

Boost
Boost tracks the mining multiplier and stake deposits of a boost account.
Checkpoint
Checkpoint holds the checkpoint state of a particular boost.
Config
Config holds global program config variables.
Directory
Directory holds the list of active boosts.
Reservation
Reservation tracks the current boost that a miner is allowed to use.
Stake
Stake holds onto the deposits and yield of a boost staker.

Enums§

BoostAccount

Functions§

boost_pda
Fetch the PDA of the boost account.
checkpoint_pda
Fetch the PDA of the checkpoint account.
config_pda
Fetch the PDA of the config account.
directory_pda
Fetch the PDA of the directory account.
reservation_pda
Fetch the PDA of the reservation account.
stake_pda
Fetch the PDA of the stake account.