34 lines
1.4 KiB
C#
34 lines
1.4 KiB
C#
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;
|
||
|
|
|
||
|
|
/// <summary>主交易对(信用点一侧)的深度随天数增长。</summary>
|
||
|
|
public static double PoolDepth(int day) => PoolDepth0 * (1 + day / 60.0);
|
||
|
|
}
|
||
|
|
}
|