Domain: market, stablecoins, compliant cash-out with AML
Market: PSCoin reference price with sentiment, anchor shifts from game events (blackout, crackdown), daily volatility, NPC whales, a day-average mark price, and side pairs pulled toward the reference by arbitrage. Stablecoins: CRC depeg and haircut, CRT depeg and freeze chance by black market reputation, CRA staking subsidy, warnings and the three-day spiral. Exchange: CRC cash-out at market price, AML hit chance from size, 7-day total, taint ratio and mixer/flag; light hits confiscate the tainted part, heavy hits also report it as fencing; tax only on gains. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
ce3bed1467
commit
efc58888f3
6 files changed
+422
No files matched your search
@@ -28,6 +28,30 @@ namespace Decentralized.Domain
|
||||
public const double SentimentKappa = 0.02, SentimentVol = 0.02;
|
||||
public const double PriceFloor = 0.3, PriceCeiling = 3.0;
|
||||
|
||||
// 稳定币
|
||||
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;
|
||||
|
||||
/// <summary>主交易对(信用点一侧)的深度随天数增长。</summary>
|
||||
public static double PoolDepth(int day) => PoolDepth0 * (1 + day / 60.0);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user