Poinbase 只收 PSC、CRC、SPARK,新增 SPARK/CRC;DEX 稳定币对改为 StableSwap
- 钱包拦下往 Poinbase 充值地址转 CRT、CRA;资金页按上架币种列出 - 现货交易对跟着行情图选中的币(PSC/CRC、SPARK/CRC) - CRT/CRC、CRA/CRC 用 StableSwap:手续费 0.04%、A=200;脱锚 A=20,崩盘 A=1 且深度四分之一 - 旧存档读档时补 SPARK/CRC、升级稳定币池 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
6d8b05215c
commit
fe82395d32
19 files changed
+192
-26
No files matched your search
@@ -224,11 +224,18 @@ namespace Decentralized
|
||||
b.AddLabel(L.T(threshold > 0 ? "chart.legend.thr" : "chart.legend"), "chart_legend_dim");
|
||||
}
|
||||
|
||||
/// <summary>带币种切换的图:上面一排币种按钮(选中项带准星角标),切换后重画。</summary>
|
||||
public static void AddPicker(CustomUIBuilder b, string key, string fallback, Action refresh, ICollection<GameObject> picked = null)
|
||||
/// <summary>某张图当前选中的币(没选过或不在列表里时是 fallback)。</summary>
|
||||
public static string Selected(string key, string fallback, IList<string> assets = null)
|
||||
{
|
||||
var list = ChartAssets.Where(a => a != Assets.Ponero || Unlock.BlackUnlocked).ToList();
|
||||
if (!Picked.TryGetValue(key, out var cur) || !list.Contains(cur)) cur = fallback;
|
||||
var list = assets ?? ChartAssets.Where(a => a != Assets.Ponero || Unlock.BlackUnlocked).ToList();
|
||||
return Picked.TryGetValue(key, out var cur) && list.Contains(cur) ? cur : fallback;
|
||||
}
|
||||
|
||||
/// <summary>带币种切换的图:上面一排币种按钮(选中项带准星角标),切换后重画。assets 为空时是全部币种。</summary>
|
||||
public static void AddPicker(CustomUIBuilder b, string key, string fallback, Action refresh, ICollection<GameObject> picked = null, IList<string> assets = null)
|
||||
{
|
||||
var list = (assets ?? ChartAssets.Where(a => a != Assets.Ponero || Unlock.BlackUnlocked)).ToList();
|
||||
string cur = Selected(key, fallback, list);
|
||||
b.BeginRow(4f);
|
||||
foreach (var a in list)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user