mirror of
https://github.com/d0zingcat/ore.git
synced 2026-06-06 23:26:46 +00:00
commit
This commit is contained in:
12
README.md
12
README.md
@@ -9,18 +9,18 @@
|
||||
- [`Instruction`](api/src/instruction.rs) – Declared instructions and arguments.
|
||||
|
||||
## Instructions
|
||||
- [`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.
|
||||
- [`Bury`](program/src/bury.rs) - Swap committed tokens into ORE and burns it.
|
||||
- [`Close`](program/src/close.rs) - Close a commit account.
|
||||
- [`Deploy`](program/src/deploy.rs) - Deploy capital to mine the current block.
|
||||
- [`Initialize`](program/src/initialize.rs) - Initialize the program.
|
||||
- [`Payout`](program/src/payout.rs) - Payout the block reward to the winning wager.
|
||||
- [`Payout`](program/src/payout.rs) - Payout the block reward to the winning commit.
|
||||
- [`Reset`](program/src/reset.rs) - Start the next block.
|
||||
|
||||
## State
|
||||
- [`Block`](api/src/state/block.rs) - A singleton account tracking rounds of wagering.
|
||||
- [`Block`](api/src/state/block.rs) - A singleton account tracking rounds of commits.
|
||||
- [`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 mint authority on the ORE token.
|
||||
- [`Wager`](api/src/state/wager.rs) - A bet placed by a user.
|
||||
- [`Commit`](api/src/state/commit.rs) - Capital deployed by a miner in the current block.
|
||||
|
||||
|
||||
## Tests
|
||||
|
||||
Reference in New Issue
Block a user