using System.Text.Json.Serialization;

namespace Managing.Domain.Synth.Models;

/// <summary>
/// Represents a miner on the Synth API leaderboard
/// </summary>
public class MinerInfo
{
    [JsonPropertyName("coldkey")]
    public string Coldkey { get; set; }
    
    [JsonPropertyName("emission")]
    public decimal Emission { get; set; }
    
    [JsonPropertyName("incentive")]
    public decimal Incentive { get; set; }
    
    [JsonPropertyName("neuron_uid")]
    public int NeuronUid { get; set; }
    
    [JsonPropertyName("pruning_score")]
    public decimal PruningScore { get; set; }
    
    /// <summary>
    /// Rank value from API (decimal representing the ranking score)
    /// </summary>
    [JsonPropertyName("rank")]
    public decimal Rank { get; set; }
    
    [JsonPropertyName("stake")]
    public decimal Stake { get; set; }
    
    [JsonPropertyName("updated_at")]
    public string UpdatedAt { get; set; }
} 