kick and refund

This commit is contained in:
Hardhat Chad
2025-09-25 08:53:09 -07:00
parent 83a78bbd77
commit 199d487afa
6 changed files with 130 additions and 57 deletions

View File

@@ -14,6 +14,7 @@ pub struct Config {
pub last_boost: i64,
// The minimum amount of SOL that can be deploy.
#[deprecated(since = "1.0.0", note = "Unused")]
pub min_deploy_amount: u64,
// The address that receives fees.

View File

@@ -17,6 +17,9 @@ pub struct Miner {
#[deprecated(note = "Use automation executor instead")]
pub executor: Pubkey,
/// The amount of SOL this miner has had refunded and may claim.
pub refund_sol: u64,
/// The amount of SOL this miner can claim.
pub rewards_sol: u64,

View File

@@ -10,6 +10,9 @@ pub struct Square {
/// The count of miners on this square.
pub count: [u64; 25],
/// The deployments of all players.
pub deployed: [[u64; 16]; 25],
/// The miners in each square.
pub miners: [[Pubkey; 16]; 25],
}