import 'package:equatable/equatable.dart';

/// 市场概览信息
class MarketOverview extends Equatable {
  /// 当前价格
  final String price;
  /// 积分股池
  final String greenPoints;
  /// 黑洞销毁量
  final String blackHoleAmount;
  /// 流通池（价格公式用，卖出交易产生的积分股）
  final String circulationPool;
  /// 已挖矿产出总量（用户+系统），前端"已分配积分股"展示此值
  final String totalMined;
  /// 全网卖出交易销毁总量
  final String totalSellBurned;
  /// 有效分母
  final String effectiveDenominator;
  /// 销毁倍数
  final String burnMultiplier;
  /// 总积分股
  final String totalShares;
  /// 销毁目标
  final String burnTarget;
  /// 销毁进度
  final String burnProgress;

  const MarketOverview({
    required this.price,
    required this.greenPoints,
    required this.blackHoleAmount,
    required this.circulationPool,
    required this.totalMined,
    required this.totalSellBurned,
    required this.effectiveDenominator,
    required this.burnMultiplier,
    required this.totalShares,
    required this.burnTarget,
    required this.burnProgress,
  });

  @override
  List<Object?> get props => [
        price,
        greenPoints,
        blackHoleAmount,
        circulationPool,
        totalMined,
        totalSellBurned,
        effectiveDenominator,
        burnMultiplier,
        totalShares,
        burnTarget,
        burnProgress,
      ];
}
