2026-11-03 08:52:32 +08:00
|
|
|
namespace Decentralized.Domain
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 数值(普通难度基准)。改数值只改这里。
|
|
|
|
|
/// </summary>
|
|
|
|
|
public static class Tuning
|
|
|
|
|
{
|
|
|
|
|
// 挖矿
|
|
|
|
|
public const double PscStartPrice = 100;
|
|
|
|
|
public const double BlockReward = 50;
|
|
|
|
|
public const int HalvingDays = 90;
|
|
|
|
|
public const double NpcHash0 = 360;
|
|
|
|
|
public const double NpcKjPerH = 2.4;
|
|
|
|
|
public const double ElecPrice = 1.5;
|
|
|
|
|
public const double NpcTargetRatio = 3.5;
|
|
|
|
|
public const double NpcAdj = 0.05;
|
|
|
|
|
public const double PoolFee = 0.03;
|
|
|
|
|
public const int RigPrice = 400, RigKj = 2, RigSlots = 4;
|
|
|
|
|
public const double OcHash = 1.25, OcKj = 1.40, OcWear = 1.3, OcDeath = 1.2;
|
|
|
|
|
public const double DeathBase = 0.001, DeathWorn = 0.03, FakeDeathFactor = 2;
|
|
|
|
|
public const double RefurbishHealth = 30;
|
|
|
|
|
|
|
|
|
|
// 市场
|
|
|
|
|
public const double PoolDepth0 = 50000;
|
|
|
|
|
public const double DexFee = 0.003, ExchangeFee = 0.002;
|
|
|
|
|
public const double Revert = 0.15;
|
|
|
|
|
public const double PscVol = 0.04;
|
|
|
|
|
public const double SentimentKappa = 0.02, SentimentVol = 0.02;
|
|
|
|
|
public const double PriceFloor = 0.3, PriceCeiling = 3.0;
|
|
|
|
|
|
2026-11-03 08:55:31 +08:00
|
|
|
// 稳定币
|
|
|
|
|
public const double CrcDepegChance = 0.30, CrcDepegMin = 0.88, CrcDepegMax = 0.93;
|
|
|
|
|
public const int CrcDepegDaysMin = 2, CrcDepegDaysMax = 3;
|
|
|
|
|
public const double CrcHaircutChance = 0.15, CrcHaircut = 0.95;
|
|
|
|
|
public const double CrtDepegChance = 0.40, CrtDepegMin = 0.92, CrtDepegMax = 0.96;
|
|
|
|
|
public const int CrtDepegDaysMin = 1, CrtDepegDaysMax = 2;
|
|
|
|
|
public const double CrtFreezeBase = 0.40, CrtFreezePerRep = 0.008, CrtFreezeShare = 0.5;
|
|
|
|
|
public const int CrtUnfreezeAfter = 3;
|
|
|
|
|
public const double CrtSwapFee = 0.02;
|
|
|
|
|
public const double CraRate = 0.005, CraRateLow = 0.002;
|
|
|
|
|
public const int CraUnlockDays = 4;
|
|
|
|
|
public const double CraSubsidy0 = 30000, CraSubsidyWarn = 0.2, CraNpcStake = 20000;
|
|
|
|
|
public const double CraSpiralWeekly = 0.02;
|
|
|
|
|
public const int CraWarnLeadMin = 4, CraWarnLeadMax = 7;
|
|
|
|
|
public static readonly double[] CraSpiralPath = { 0.85, 0.30, 0.02 };
|
|
|
|
|
|
|
|
|
|
// 合规出金与 AML(阈值以当前房租为单位)
|
|
|
|
|
public const double AmlBigRents = 5, AmlCumRents = 15;
|
|
|
|
|
public const int AmlWindowDays = 7;
|
|
|
|
|
public const double AmlTaintRatio = 0.10, AmlHeavyRatio = 0.30, AmlMixerBonus = 0.30, AmlMaxChance = 0.9;
|
|
|
|
|
public const double TaxRate = 0.08;
|
|
|
|
|
/// <summary>单个金融违规事件记入的罪证上限。</summary>
|
|
|
|
|
public const double CrimeEventCap = 400;
|
|
|
|
|
|
2026-11-03 08:52:32 +08:00
|
|
|
/// <summary>主交易对(信用点一侧)的深度随天数增长。</summary>
|
|
|
|
|
public static double PoolDepth(int day) => PoolDepth0 * (1 + day / 60.0);
|
|
|
|
|
}
|
|
|
|
|
}
|