Module ore_api::state

source ·

Structs§

  • Bus accounts are responsible for distributing mining rewards. There are 8 busses total to minimize write-lock contention and allow for parallel mine operations.
  • Config is a singleton account which manages admin configurable variables.
  • 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 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.

Enums§