Stage 4: Web3 black market spot counter and Ponero desk
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
74f0dac57e
commit
f43cd487e5
11 files changed
+366
-1
No files matched your search
@@ -26,6 +26,7 @@ namespace Decentralized
|
||||
public Wallet Hot = new Wallet { Address = "hot" };
|
||||
public Exchange Exchange = new Exchange();
|
||||
public Mixer Mixer = new Mixer();
|
||||
public BlackMarket Black = new BlackMarket();
|
||||
public List<MarketEvent> ActiveEvents = new List<MarketEvent>();
|
||||
public NightReport LastNight;
|
||||
public bool OpeningNewsShown;
|
||||
@@ -70,6 +71,7 @@ namespace Decentralized
|
||||
{
|
||||
if (asset == Assets.PSC) return Data.Market.Price;
|
||||
var spec = Assets.Get(asset);
|
||||
if (asset == Assets.Ponero) return BlackMarket.PoneroPrice(Data.Market.Price);
|
||||
if (spec != null && spec.Stable) return Data.Stable.Price(asset);
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user