26 lines
648 B
C#
26 lines
648 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace WpfApp1TRC20.Data
|
|
{
|
|
|
|
public class TokenCreationParams
|
|
{
|
|
[Required]
|
|
public string Name { get; set; }
|
|
[Required]
|
|
public string Symbol { get; set; }
|
|
[Range(0, 18)]
|
|
public int Decimals { get; set; } = 18;
|
|
[Range(1, double.MaxValue)]
|
|
public decimal TotalSupply { get; set; }
|
|
[Range(10, 90)]
|
|
public int ExpiryDays { get; set; } = 30;
|
|
public string OwnerAddress { get; set; }
|
|
}
|
|
}
|