export enum SagaStep {
  INIT = 'INIT',                                           // 初始化
  FREEZE_BUYER_PAYMENT = 'FREEZE_BUYER_PAYMENT',           // 冻结买方资金
  LOCK_SELLER_TREES = 'LOCK_SELLER_TREES',                 // 锁定卖方树
  TRANSFER_OWNERSHIP = 'TRANSFER_OWNERSHIP',               // 变更所有权
  ADJUST_CONTRIBUTION = 'ADJUST_CONTRIBUTION',             // 调整算力
  UPDATE_TEAM_STATS = 'UPDATE_TEAM_STATS',                 // 更新团队统计
  SETTLE_PAYMENT = 'SETTLE_PAYMENT',                       // 结算资金
  FINALIZE = 'FINALIZE',                                   // 完成

  // 补偿步骤
  COMPENSATE_UNLOCK_TREES = 'COMPENSATE_UNLOCK_TREES',     // 补偿：解锁树
  COMPENSATE_UNFREEZE = 'COMPENSATE_UNFREEZE',             // 补偿：解冻资金
}
