mirror of
https://github.com/d0zingcat/ore.git
synced 2026-05-14 07:26:51 +00:00
kick and refund
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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,
|
||||
|
||||
|
||||
@@ -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],
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user