#[derive(clap::Subcommand, Clone, Debug)]
pub enum Commands {
CheckHotWalletAddress(CheckHotWalletAddress),
CheckGasBalance(CheckGasBalance),
CheckRegistration(CheckRegistration),
Register(Register),
DeepseekFheVote(DeepSeekApiKey),
CheckVoteRewards(CheckVoteRewards),
CheckVote(CheckVote),
CheckRound(CheckRound),
}
#[derive(clap::Args, Clone, Debug)]
pub struct CheckGasBalance {
pub hot_wallet_address: Option<String>,
}
#[derive(clap::Args, Clone, Debug)]
pub struct CheckRegistration {
pub hot_wallet_address: Option<String>,
pub voter_wallet_address: Option<String>,
}
#[derive(clap::Args, Clone, Debug)]
pub struct Register {
pub voter_wallet_address: Option<String>,
}
#[derive(clap::Args, Clone, Debug)]
pub struct DeepSeekApiKey {
pub deepseek_api_key: String,
pub fhe_public_key_fp: String
}
#[derive(clap::Args, Clone, Debug)]
pub struct VoteOnceRandom {}
#[derive(clap::Args, Clone, Debug)]
pub struct VoteLoopRandom {}
#[derive(clap::Args, Clone, Debug)]
pub struct CheckVoteRewards {
pub voter_wallet_address: Option<String>,
}
#[derive(clap::Args, Clone, Debug)]
pub struct CheckVote {}
#[derive(clap::Args, Clone, Debug)]
pub struct CheckRound {}
#[derive(clap::Args, Clone, Debug)]
pub struct CheckHotWalletAddress {}
#[derive(clap::Parser, Clone, Debug)]
#[command(author = "Mind Network", version = "0.1.0", about = "FHE Randgen Voter Node Cli", long_about = None)]
#[command(propagate_version = true)]
pub struct Cli {
#[clap(default_value = "./config/config_randgen.toml")]
#[arg(long)]
pub node_config_file: String,
#[arg(long, value_enum, default_value_t = mind_sdk_cli::CliLogLevel::Info)] pub log_level: mind_sdk_cli::CliLogLevel,
#[arg(long)]
pub hot_wallet_private_key: Option<String>,
#[command(subcommand)]
pub command: Commands,
}