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 Solana to process mine instructions in parallel.
Config
Config is a singleton account which manages program global variables.
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 is the mint authority for the ORE token and the authority of the program’s global token account.

Enums§

OreAccount

Functions§

bus_pda
Fetch the PDA of a bus account.
config_pda
Derive the PDA of the config account.
proof_pda
Derive the PDA of a proof account.
treasury_pda
Derive the PDA of the treasury account.