|
1 | 1 | using System;
|
| 2 | +using System.Collections.Generic; |
2 | 3 | using Newtonsoft.Json;
|
3 | 4 |
|
| 5 | +/** |
| 6 | + [ |
| 7 | + { |
| 8 | + "coin": "AGLD", |
| 9 | + "depositAllEnable": true, |
| 10 | + "withdrawAllEnable": true, |
| 11 | + "name": "Adventure Gold", |
| 12 | + "free": "0", |
| 13 | + "locked": "0", |
| 14 | + "freeze": "0", |
| 15 | + "withdrawing": "0", |
| 16 | + "ipoing": "0", |
| 17 | + "ipoable": "0", |
| 18 | + "storage": "0", |
| 19 | + "isLegalMoney": false, |
| 20 | + "trading": true, |
| 21 | + "networkList": [ |
| 22 | + { |
| 23 | + "network": "ETH", |
| 24 | + "coin": "AGLD", |
| 25 | + "withdrawIntegerMultiple": "0.00000001", |
| 26 | + "isDefault": true, |
| 27 | + "depositEnable": true, |
| 28 | + "withdrawEnable": true, |
| 29 | + "depositDesc": "", |
| 30 | + "withdrawDesc": "", |
| 31 | + "specialTips": "", |
| 32 | + "specialWithdrawTips": "", |
| 33 | + "name": "Ethereum (ERC20)", |
| 34 | + "resetAddressStatus": false, |
| 35 | + "addressRegex": "^(0x)[0-9A-Fa-f]{40}$", |
| 36 | + "memoRegex": "", |
| 37 | + "withdrawFee": "4.67", |
| 38 | + "withdrawMin": "9.34", |
| 39 | + "withdrawMax": "9999999", |
| 40 | + "depositDust": "0.0012", |
| 41 | + "minConfirm": 6, |
| 42 | + "unLockConfirm": 64, |
| 43 | + "sameAddress": false, |
| 44 | + "estimatedArrivalTime": 5, |
| 45 | + "busy": false, |
| 46 | + "contractAddressUrl": "https://etherscan.io/address/", |
| 47 | + "contractAddress": "0x32353a6c91143bfd6c7d363b546e62a9a2489a20" |
| 48 | + } |
| 49 | + ] |
| 50 | + }, |
| 51 | + ... |
| 52 | +] |
| 53 | +*/ |
| 54 | + |
4 | 55 | namespace ExchangeSharp.BinanceGroup
|
5 | 56 | {
|
6 | 57 | public class Currency
|
7 | 58 | {
|
8 |
| - [JsonProperty("id")] |
9 |
| - public long? Id { get; set; } |
10 |
| - |
11 |
| - [JsonProperty("assetCode")] |
12 |
| - public string AssetCode { get; set; } |
13 |
| - |
14 |
| - [JsonProperty("assetName")] |
15 |
| - public string AssetName { get; set; } |
16 |
| - |
17 |
| - [JsonProperty("unit")] |
18 |
| - public string Unit { get; set; } |
19 |
| - |
20 |
| - [JsonProperty("transactionFee")] |
21 |
| - public double? TransactionFee { get; set; } |
| 59 | + [JsonProperty("coin")] |
| 60 | + public string Coin { get; set; } |
22 | 61 |
|
23 |
| - [JsonProperty("commissionRate")] |
24 |
| - public long? CommissionRate { get; set; } |
| 62 | + [JsonProperty("depositAllEnable")] |
| 63 | + public bool? DepositAllEnable { get; set; } |
25 | 64 |
|
26 |
| - [JsonProperty("freeAuditWithdrawAmt")] |
27 |
| - public long? FreeAuditWithdrawAmt { get; set; } |
| 65 | + [JsonProperty("withdrawAllEnable")] |
| 66 | + public bool? WithdrawAllEnable { get; set; } |
28 | 67 |
|
29 |
| - [JsonProperty("freeUserChargeAmount")] |
30 |
| - public long? FreeUserChargeAmount { get; set; } |
| 68 | + [JsonProperty("name")] |
| 69 | + public string Name { get; set; } |
31 | 70 |
|
32 |
| - [JsonProperty("minProductWithdraw")] |
33 |
| - public decimal? MinProductWithdraw { get; set; } |
| 71 | + [JsonProperty("free")] |
| 72 | + public decimal? Free { get; set; } |
34 | 73 |
|
35 |
| - [JsonProperty("withdrawIntegerMultiple")] |
36 |
| - public float? WithdrawIntegerMultiple { get; set; } |
37 |
| - |
38 |
| - [JsonProperty("confirmTimes")] |
39 |
| - public int? ConfirmTimes { get; set; } |
40 |
| - |
41 |
| - [JsonProperty("chargeLockConfirmTimes")] |
42 |
| - public int? ChargeLockConfirmTimes { get; set; } |
| 74 | + [JsonProperty("locked")] |
| 75 | + public decimal? Locked { get; set; } |
43 | 76 |
|
44 |
| - [JsonProperty("createTime")] |
45 |
| - public object CreateTime { get; set; } |
| 77 | + [JsonProperty("freeze")] |
| 78 | + public decimal? Freeze { get; set; } |
46 | 79 |
|
47 |
| - [JsonProperty("test")] |
48 |
| - public long? Test { get; set; } |
| 80 | + [JsonProperty("withdrawing")] |
| 81 | + public decimal? Withdrawing { get; set; } |
49 | 82 |
|
50 |
| - [JsonProperty("url")] |
51 |
| - public Uri Url { get; set; } |
| 83 | + [JsonProperty("ipoing")] |
| 84 | + public decimal? Ipoing { get; set; } |
52 | 85 |
|
53 |
| - [JsonProperty("addressUrl")] |
54 |
| - public Uri AddressUrl { get; set; } |
| 86 | + [JsonProperty("ipoable")] |
| 87 | + public decimal? Ipoable { get; set; } |
55 | 88 |
|
56 |
| - [JsonProperty("blockUrl")] |
57 |
| - public string BlockUrl { get; set; } |
| 89 | + [JsonProperty("storage")] |
| 90 | + public decimal? Storage { get; set; } |
58 | 91 |
|
59 |
| - [JsonProperty("enableCharge")] |
60 |
| - public bool? EnableCharge { get; set; } |
61 |
| - |
62 |
| - [JsonProperty("enableWithdraw")] |
63 |
| - public bool? EnableWithdraw { get; set; } |
| 92 | + [JsonProperty("isLegalMoney")] |
| 93 | + public bool IsLegalMoney { get; set; } |
64 | 94 |
|
65 |
| - [JsonProperty("regEx")] |
66 |
| - public string RegEx { get; set; } |
| 95 | + [JsonProperty("trading")] |
| 96 | + public bool Trading { get; set; } |
67 | 97 |
|
68 |
| - [JsonProperty("regExTag")] |
69 |
| - public string RegExTag { get; set; } |
| 98 | + [JsonProperty("networkList")] |
| 99 | + public List<Network> NetworkList { get; set; } |
| 100 | + } |
70 | 101 |
|
71 |
| - [JsonProperty("gas")] |
72 |
| - public long? Gas { get; set; } |
| 102 | + public class Network |
| 103 | + { |
| 104 | + [JsonProperty("network")] |
| 105 | + public string NetworkName { get; set; } |
73 | 106 |
|
74 |
| - [JsonProperty("parentCode")] |
75 |
| - public string ParentCode { get; set; } |
| 107 | + [JsonProperty("coin")] |
| 108 | + public string Coin { get; set; } |
76 | 109 |
|
77 |
| - [JsonProperty("isLegalMoney")] |
78 |
| - public bool? IsLegalMoney { get; set; } |
| 110 | + [JsonProperty("withdrawIntegerMultiple")] |
| 111 | + public decimal? WithdrawIntegerMultiple { get; set; } |
79 | 112 |
|
80 |
| - [JsonProperty("reconciliationAmount")] |
81 |
| - public long? ReconciliationAmount { get; set; } |
| 113 | + [JsonProperty("isDefault")] |
| 114 | + public bool IsDefault { get; set; } |
82 | 115 |
|
83 |
| - [JsonProperty("seqNum")] |
84 |
| - public long? SeqNum { get; set; } |
| 116 | + [JsonProperty("depositEnable")] |
| 117 | + public bool DepositEnable { get; set; } |
85 | 118 |
|
86 |
| - [JsonProperty("chineseName")] |
87 |
| - public string ChineseName { get; set; } |
| 119 | + [JsonProperty("withdrawEnable")] |
| 120 | + public bool WithdrawEnable { get; set; } |
88 | 121 |
|
89 |
| - [JsonProperty("cnLink")] |
90 |
| - public Uri CnLink { get; set; } |
| 122 | + [JsonProperty("depositDesc")] |
| 123 | + public string DepositDesc { get; set; } |
91 | 124 |
|
92 |
| - [JsonProperty("enLink")] |
93 |
| - public Uri EnLink { get; set; } |
| 125 | + [JsonProperty("withdrawDesc")] |
| 126 | + public string WithdrawDesc { get; set; } |
94 | 127 |
|
95 |
| - [JsonProperty("logoUrl")] |
96 |
| - public string LogoUrl { get; set; } |
| 128 | + [JsonProperty("specialTips")] |
| 129 | + public string SpecialTips { get; set; } |
97 | 130 |
|
98 |
| - [JsonProperty("fullLogoUrl")] |
99 |
| - public Uri FullLogoUrl { get; set; } |
| 131 | + [JsonProperty("specialWithdrawTips")] |
| 132 | + public string SpecialWithdrawTips { get; set; } |
100 | 133 |
|
101 |
| - [JsonProperty("forceStatus")] |
102 |
| - public bool? ForceStatus { get; set; } |
| 134 | + [JsonProperty("name")] |
| 135 | + public string NetworkDisplayName { get; set; } |
103 | 136 |
|
104 | 137 | [JsonProperty("resetAddressStatus")]
|
105 | 138 | public bool? ResetAddressStatus { get; set; }
|
106 | 139 |
|
107 |
| - [JsonProperty("chargeDescCn")] |
108 |
| - public object ChargeDescCn { get; set; } |
| 140 | + [JsonProperty("addressRegex")] |
| 141 | + public string AddressRegex { get; set; } |
109 | 142 |
|
110 |
| - [JsonProperty("chargeDescEn")] |
111 |
| - public object ChargeDescEn { get; set; } |
| 143 | + [JsonProperty("memoRegex")] |
| 144 | + public string MemoRegex { get; set; } |
112 | 145 |
|
113 |
| - [JsonProperty("assetLabel")] |
114 |
| - public object AssetLabel { get; set; } |
| 146 | + [JsonProperty("withdrawFee")] |
| 147 | + public decimal? WithdrawFee { get; set; } |
115 | 148 |
|
116 |
| - [JsonProperty("sameAddress")] |
117 |
| - public bool? SameAddress { get; set; } |
118 |
| - |
119 |
| - [JsonProperty("depositTipStatus")] |
120 |
| - public bool? DepositTipStatus { get; set; } |
| 149 | + [JsonProperty("withdrawMin")] |
| 150 | + public decimal? WithdrawMin { get; set; } |
121 | 151 |
|
122 |
| - [JsonProperty("dynamicFeeStatus")] |
123 |
| - public bool? DynamicFeeStatus { get; set; } |
| 152 | + [JsonProperty("withdrawMax")] |
| 153 | + public decimal? WithdrawMax { get; set; } |
124 | 154 |
|
125 |
| - [JsonProperty("depositTipEn")] |
126 |
| - public object DepositTipEn { get; set; } |
| 155 | + [JsonProperty("depositDust")] |
| 156 | + public decimal? DepositDust { get; set; } |
127 | 157 |
|
128 |
| - [JsonProperty("depositTipCn")] |
129 |
| - public object DepositTipCn { get; set; } |
| 158 | + [JsonProperty("minConfirm")] |
| 159 | + public int? MinConfirm { get; set; } |
130 | 160 |
|
131 |
| - [JsonProperty("assetLabelEn")] |
132 |
| - public object AssetLabelEn { get; set; } |
| 161 | + [JsonProperty("unLockConfirm")] |
| 162 | + public int? UnLockConfirm { get; set; } |
133 | 163 |
|
134 |
| - [JsonProperty("supportMarket")] |
135 |
| - public object SupportMarket { get; set; } |
| 164 | + [JsonProperty("sameAddress")] |
| 165 | + public bool? SameAddress { get; set; } |
136 | 166 |
|
137 |
| - [JsonProperty("feeReferenceAsset")] |
138 |
| - public string FeeReferenceAsset { get; set; } |
| 167 | + [JsonProperty("estimatedArrivalTime")] |
| 168 | + public int? EstimatedArrivalTime { get; set; } |
139 | 169 |
|
140 |
| - [JsonProperty("feeRate")] |
141 |
| - public decimal? FeeRate { get; set; } |
| 170 | + [JsonProperty("busy")] |
| 171 | + public bool? Busy { get; set; } |
142 | 172 |
|
143 |
| - [JsonProperty("feeDigit")] |
144 |
| - public long? FeeDigit { get; set; } |
| 173 | + [JsonProperty("contractAddressUrl")] |
| 174 | + public string ContractAddressUrl { get; set; } |
145 | 175 |
|
146 |
| - [JsonProperty("legalMoney")] |
147 |
| - public bool? LegalMoney { get; set; } |
| 176 | + [JsonProperty("contractAddress")] |
| 177 | + public string ContractAddress { get; set; } |
148 | 178 | }
|
149 | 179 | }
|
0 commit comments