Module state

Source

Structs§

Bus
Bus accounts are responsible for distributing mining rewards. There are 8 busses total to minimize write-lock contention and allow for parallel mine operations. Every epoch, the bus account rewards counters are topped up to 0.25 ORE each (2 ORE split amongst 8 busses).
Hash
Hash is an equivalent type to solana_program::keccak::Hash which supports bytemuck serialization.
Proof
Proof accounts track a miner’s current hash, claimable rewards, and lifetime stats. Every miner is allowed one proof account which is required by the program to mine or claim rewards.
Treasury
Treasury is a singleton account which manages all program wide variables. It is the mint authority for the Ore token and also the authority of the program-owned token account.