collateral

This commit is contained in:
Hardhat Chad
2025-06-24 14:37:16 -05:00
parent 8d77aca7c0
commit fdeb2cf82a
13 changed files with 65 additions and 47 deletions

View File

@@ -13,11 +13,11 @@ pub struct Stake {
/// The ID of the block this collateral is associated with.
pub block_id: u64,
/// The amount of ORE this miner can commit to the block.
pub capacity: u64,
/// The amount of ORE this miner has deposited as collateral for trading.
pub collateral: u64,
/// The amount of ORE this miner has committed to the block.
pub utilization: u64,
/// The amount of ORE this miner has spent on hashpower in this market.
pub spend: u64,
}
impl Stake {