mirror of
https://github.com/d0zingcat/ore.git
synced 2026-05-24 23:16:49 +00:00
readme
This commit is contained in:
14
README.md
14
README.md
@@ -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.
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user