This commit is contained in:
Hardhat Chad
2025-05-26 10:36:55 -07:00
parent 1ce1077c90
commit 1f1a0c95cc

View File

@@ -9,17 +9,17 @@
- [`Instruction`](api/src/instruction.rs)  Declared instructions and arguments.
## Instructions
- [`Bet`](program/src/bet.rs) - Creates a wager on the current block.
- [`Bury`](program/src/bury.rs) - Swaps bets into ORE and burns it.
- [`Close`](program/src/close.rs) - Closes a wager account.
- [`Initialize`](program/src/initialize.rs) - Initializes the program.
- [`Payout`](program/src/payout.rs) - Distributes the block reward to the winner.
- [`Reset`](program/src/reset.rs) - Resets the program for the next block.
- [`Bet`](program/src/bet.rs) - Open a wager.
- [`Bury`](program/src/bury.rs) - Swap wagered tokens into ORE and burns it.
- [`Close`](program/src/close.rs) - Close a wager account.
- [`Initialize`](program/src/initialize.rs) - Initialize the program.
- [`Payout`](program/src/payout.rs) - Payout the block reward to the winning wager.
- [`Reset`](program/src/reset.rs) - Start the next block.
## State
- [`Block`](api/src/state/block.rs) - A singleton account tracking rounds of wagering.
- [`Proof`](api/src/state/proof.rs) - (Deprecated) An account which tracks a miner's current hash and current stake.
- [`Treasury`](api/src/state/treasury.rs) The ORE mint authority.
- [`Treasury`](api/src/state/treasury.rs) The mint authority on the ORE token.
- [`Wager`](api/src/state/wager.rs) - A bet placed by a user.