Beispiel #1
0
        public Currency(Guid id, string name, string tokenName, int decimals, double maxAmount, ConversionTable <ICurrency, double> conversionTable = null)
        {
            ID             = id;
            this.name      = name;
            this.tokenName = tokenName;
            this.decimals  = decimals;
            this.maxAmount = maxAmount;

            this.conversionTable = conversionTable ?? new ConversionTable <ICurrency, double>();
        }
Beispiel #2
0
 public UnityCurrency()
 {
     conversionTable = new ConversionTable <ICurrency, double>();
 }