public BigInteger GetTokenSupply(StorageContext storage, string symbol) { if (!TokenExists(symbol)) { throw new ChainException($"Token does not exist ({symbol})"); } var supplies = new SupplySheet(symbol, RootChain, this); return(supplies.GetTotal(storage)); }
public BigInteger GetTokenSupply(StorageContext storage, string symbol) { var supplies = new SupplySheet(symbol, this, Nexus); return(supplies.GetTotal(storage)); }