tx · Dd7iHAJMijiDB39Hp4gYRxPZnVSZkMU9ZDPtEdvxKhAZ 3N6D1fPBTu4QuZenU7hKNuxEKsxd13USum8: -0.01400000 Waves 2020.08.26 15:57 [1149706] smart account 3N6D1fPBTu4QuZenU7hKNuxEKsxd13USum8 > SELF 0.00000000 Waves
{ "type": 13, "id": "Dd7iHAJMijiDB39Hp4gYRxPZnVSZkMU9ZDPtEdvxKhAZ", "fee": 1400000, "feeAssetId": null, "timestamp": 1598446616884, "version": 1, "sender": "3N6D1fPBTu4QuZenU7hKNuxEKsxd13USum8", "senderPublicKey": "8xCH82jKi2DM7HXXD45fmftPUDjr3TJpjanUATKMK37U", "proofs": [ "2oTPDdrQ56bDL1ZdhqWaB1prtx9ZHQYm4Ao4iggNmwCj8zypa9RXCEoVyTmkhVS23w3LURfNcZuLQ6VXVayZdgAd" ], "script": "base64:AAIDAAAAAAAAACwIARIECgIICBIECgIICBIHCgUICAgIARIHCgUICAgIARIECgIIARIECgIIAQAAADMAAAAAB3lCaXRDTzIBAAAAIGmM1P/bTQF96Mt4t9+zj8FcPDlb6Qx5aA0hjmfpm0utAAAAAARndHMxAQAAACDDxYMO3SsdGFMCSZ4E3p59+bOpZEBHwTUZ+0J8yxIGZwAAAAAIc3RhcnRRdHkAAAAAALY1DNAAAAAADEZpcnN0RmFzZVF0eQAAAAAAEpeskAAAAAANU2Vjb25kRmFzZVF0eQAAAAAAo51gQAAAAAALc3RhcnRRdHlHVFMAAAAAAAHSc1QAAAAAD0ZpcnN0RmFzZVF0eUdUUwAAAAAAAC+YxAAAAAAQU2Vjb25kRmFzZVF0eUdUUwAAAAAAAaLakAAAAAAIbm9tUHJpY2UAAAAAAAAAAAEAAAAAA3d2cwAAAAAABfXhAAAAAAAQc3VwcGxpZXJEaXNjb3VudAAAAAAAAAAADAAAAAAETk9ORQIAAAAEbm9uZQAAAAALT3duZXJQdWJLZXkBAAAAIHYlgUf22Lk37u4at3MrCWteEN5n68yQc4q5Um14SA8PAAAAAA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b24GCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAElJlaXNzdWVUcmFuc2FjdGlvbgQAAAABZAUAAAAHJG1hdGNoMAYDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE1RyYW5zZmVyVHJhbnNhY3Rpb24EAAAAAnR4BQAAAAckbWF0Y2gwBgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATRXhjaGFuZ2VUcmFuc2FjdGlvbgQAAAACdHgFAAAAByRtYXRjaDAEAAAAC3dpdGh5Qml0Q28yAwkBAAAAASEAAAABCQEAAAAJaXNEZWZpbmVkAAAAAQgICAUAAAACdHgAAAAJc2VsbE9yZGVyAAAACWFzc2V0UGFpcgAAAApwcmljZUFzc2V0BgkBAAAAASEAAAABCQEAAAAJaXNEZWZpbmVkAAAAAQgICAUAAAACdHgAAAAJc2VsbE9yZGVyAAAACWFzc2V0UGFpcgAAAAthbW91bnRBc3NldAUAAAALd2l0aHlCaXRDbzIHQulDPQ==", "chainId": 84, "height": 1149706, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 95a3WfaL7e9diQEbZcb91AEJuJWk89zmuZU3eJYau9SY Next: HXyyNPtLbJXndgiyDuefpDmb437gK8KW8vddrvs7GWT5 Diff:
Old | New | Differences | |
---|---|---|---|
255 | 255 | let aw = (aq - ((q * aq) / 100)) | |
256 | 256 | let ax = ((88 * s) / 100) | |
257 | 257 | let ay = ((aw * t) / 100) | |
258 | - | let az = (( | |
258 | + | let az = ((ay / ax) * 2000) | |
259 | 259 | let aA = ((aw * u) / 100) | |
260 | 260 | let aB = ((aw * v) / 100) | |
261 | 261 | let aC = 10 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 3 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = base58'872MvpMoQx7SnV58HMcR9hd6vBWDtQvqmt5javCmYwpx' | |
5 | 5 | ||
6 | 6 | let b = base58'EBDBY14t3xuduZ2GCNqEUpoLoy9eAAYfyQZA5ryVJxzS' | |
7 | 7 | ||
8 | 8 | let c = 3056930000 | |
9 | 9 | ||
10 | 10 | let d = 311930000 | |
11 | 11 | ||
12 | 12 | let e = 2745000000 | |
13 | 13 | ||
14 | 14 | let f = 30569300 | |
15 | 15 | ||
16 | 16 | let g = 3119300 | |
17 | 17 | ||
18 | 18 | let h = 27450000 | |
19 | 19 | ||
20 | 20 | let i = 1 | |
21 | 21 | ||
22 | 22 | let j = 100000000 | |
23 | 23 | ||
24 | 24 | let k = 12 | |
25 | 25 | ||
26 | 26 | let l = "none" | |
27 | 27 | ||
28 | 28 | let m = base58'8xCH82jKi2DM7HXXD45fmftPUDjr3TJpjanUATKMK37U' | |
29 | 29 | ||
30 | 30 | let n = Address(base58'3N67GoXrZo4iwmEjLhS9iNUCbzpPEjoYgNW') | |
31 | 31 | ||
32 | 32 | let o = Address(base58'3N3uf7RK8Aed4v5ufGB8xV2Wsz4WNoHj21c') | |
33 | 33 | ||
34 | 34 | let p = Address(base58'3Mv5mXTRhpWZxZxstmnsBhckWNgErMTFEaD') | |
35 | 35 | ||
36 | 36 | let q = 18 | |
37 | 37 | ||
38 | 38 | let r = 10000 | |
39 | 39 | ||
40 | 40 | let s = 100000 | |
41 | 41 | ||
42 | 42 | let t = 7 | |
43 | 43 | ||
44 | 44 | let u = 10 | |
45 | 45 | ||
46 | 46 | let v = 1 | |
47 | 47 | ||
48 | 48 | let w = 2 | |
49 | 49 | ||
50 | 50 | let x = 2 | |
51 | 51 | ||
52 | 52 | let y = 2 | |
53 | 53 | ||
54 | 54 | let z = 2 | |
55 | 55 | ||
56 | 56 | func A (B) = { | |
57 | 57 | let C = { | |
58 | 58 | let D = getInteger(this, B) | |
59 | 59 | if ($isInstanceOf(D, "Int")) | |
60 | 60 | then { | |
61 | 61 | let E = D | |
62 | 62 | E | |
63 | 63 | } | |
64 | 64 | else 0 | |
65 | 65 | } | |
66 | 66 | C | |
67 | 67 | } | |
68 | 68 | ||
69 | 69 | ||
70 | 70 | func F (B) = { | |
71 | 71 | let G = { | |
72 | 72 | let D = getString(this, B) | |
73 | 73 | if ($isInstanceOf(D, "String")) | |
74 | 74 | then { | |
75 | 75 | let E = D | |
76 | 76 | E | |
77 | 77 | } | |
78 | 78 | else l | |
79 | 79 | } | |
80 | 80 | G | |
81 | 81 | } | |
82 | 82 | ||
83 | 83 | ||
84 | 84 | func H (I) = (I + "Bit-CO2 Shop, Lima-Perú") | |
85 | 85 | ||
86 | 86 | ||
87 | 87 | func J (I,K) = (("Producto-GTS: " + " ") + toBase58String(sha256(toBytes((I + K))))) | |
88 | 88 | ||
89 | 89 | ||
90 | 90 | func L (K) = "Project" | |
91 | 91 | ||
92 | 92 | ||
93 | 93 | func M (K) = "Nodo del Ecosistema" | |
94 | 94 | ||
95 | 95 | ||
96 | 96 | func N (K) = "GTStable" | |
97 | 97 | ||
98 | 98 | ||
99 | 99 | func O (P,K) = "Order_№:" | |
100 | 100 | ||
101 | 101 | ||
102 | 102 | func Q (P,K) = A(O(P, K)) | |
103 | 103 | ||
104 | 104 | ||
105 | 105 | func R (K) = "Categoría del Producto:" | |
106 | 106 | ||
107 | 107 | ||
108 | 108 | func S (K) = F(R(K)) | |
109 | 109 | ||
110 | 110 | ||
111 | 111 | func T (K) = "Nombre del Usuario:" | |
112 | 112 | ||
113 | 113 | ||
114 | 114 | func U (K) = F(T(K)) | |
115 | 115 | ||
116 | 116 | ||
117 | 117 | func V (K) = "№ de Documento / DNI del Usuario:" | |
118 | 118 | ||
119 | 119 | ||
120 | 120 | func W (K) = F(V(K)) | |
121 | 121 | ||
122 | 122 | ||
123 | 123 | func X (K) = "Balance/Saldo GTS, gts-tokens:" | |
124 | 124 | ||
125 | 125 | ||
126 | 126 | func Y (K) = A(X(K)) | |
127 | 127 | ||
128 | 128 | ||
129 | 129 | func Z (I) = "Monto Bruto por VentaGTS, wvls:" | |
130 | 130 | ||
131 | 131 | ||
132 | 132 | func aa (I) = A(Z(I)) | |
133 | 133 | ||
134 | 134 | ||
135 | 135 | func ab (K) = "UI,_wvls:" | |
136 | 136 | ||
137 | 137 | ||
138 | 138 | func ac (K) = A(ab(K)) | |
139 | 139 | ||
140 | 140 | ||
141 | 141 | func ad (K) = "PI,_wvls:" | |
142 | 142 | ||
143 | 143 | ||
144 | 144 | func ae (K) = A(ad(K)) | |
145 | 145 | ||
146 | 146 | ||
147 | 147 | func af (K) = "SI,_wvls:" | |
148 | 148 | ||
149 | 149 | ||
150 | 150 | func ag (K) = A(af(K)) | |
151 | 151 | ||
152 | 152 | ||
153 | 153 | @Callable(ah) | |
154 | 154 | func depositGTS (ai,aj) = { | |
155 | 155 | let ak = extract(ah.payment) | |
156 | 156 | if ((ak.assetId != b)) | |
157 | 157 | then throw("deposito permitido solo en gts1 tokens") | |
158 | 158 | else { | |
159 | 159 | let I = toBase58String(ah.caller.bytes) | |
160 | 160 | let al = { | |
161 | 161 | let D = getInteger(this, I) | |
162 | 162 | if ($isInstanceOf(D, "Int")) | |
163 | 163 | then { | |
164 | 164 | let E = D | |
165 | 165 | E | |
166 | 166 | } | |
167 | 167 | else f | |
168 | 168 | } | |
169 | 169 | let am = (al + ak.amount) | |
170 | 170 | if ((0 >= am)) | |
171 | 171 | then throw("No hay gts1 en su balance") | |
172 | 172 | else WriteSet([DataEntry(I, am)]) | |
173 | 173 | } | |
174 | 174 | } | |
175 | 175 | ||
176 | 176 | ||
177 | 177 | ||
178 | 178 | @Callable(ah) | |
179 | 179 | func deposit (ai,aj) = { | |
180 | 180 | let ak = extract(ah.payment) | |
181 | 181 | if ((ak.assetId != a)) | |
182 | 182 | then throw("deposito permitido solo en yBitCO2 tokens") | |
183 | 183 | else { | |
184 | 184 | let I = toBase58String(ah.caller.bytes) | |
185 | 185 | let al = { | |
186 | 186 | let D = getInteger(this, I) | |
187 | 187 | if ($isInstanceOf(D, "Int")) | |
188 | 188 | then { | |
189 | 189 | let E = D | |
190 | 190 | E | |
191 | 191 | } | |
192 | 192 | else c | |
193 | 193 | } | |
194 | 194 | let am = (al + ak.amount) | |
195 | 195 | if ((0 >= am)) | |
196 | 196 | then throw("No hay yBitCO2 en su balance") | |
197 | 197 | else WriteSet([DataEntry(I, am)]) | |
198 | 198 | } | |
199 | 199 | } | |
200 | 200 | ||
201 | 201 | ||
202 | 202 | ||
203 | 203 | @Callable(ah) | |
204 | 204 | func purchaseGTS (K,an,ao,ap,aq) = { | |
205 | 205 | let ak = extract(ah.payment) | |
206 | 206 | if ((ak.assetId != a)) | |
207 | 207 | then throw("Use yBitCO2 tokens para adquirir ProductosGTS") | |
208 | 208 | else { | |
209 | 209 | let I = { | |
210 | 210 | let D = getString(this, H(K)) | |
211 | 211 | if ($isInstanceOf(D, "String")) | |
212 | 212 | then { | |
213 | 213 | let E = D | |
214 | 214 | E | |
215 | 215 | } | |
216 | 216 | else l | |
217 | 217 | } | |
218 | 218 | let ar = { | |
219 | 219 | let D = getString(this, L(K)) | |
220 | 220 | if ($isInstanceOf(D, "String")) | |
221 | 221 | then { | |
222 | 222 | let E = D | |
223 | 223 | l | |
224 | 224 | } | |
225 | 225 | else p | |
226 | 226 | } | |
227 | 227 | let as = { | |
228 | 228 | let D = getString(this, M(K)) | |
229 | 229 | if ($isInstanceOf(D, "String")) | |
230 | 230 | then { | |
231 | 231 | let E = D | |
232 | 232 | l | |
233 | 233 | } | |
234 | 234 | else o | |
235 | 235 | } | |
236 | 236 | let at = { | |
237 | 237 | let D = getInteger(this, X(K)) | |
238 | 238 | if ($isInstanceOf(D, "Int")) | |
239 | 239 | then { | |
240 | 240 | let E = D | |
241 | 241 | E | |
242 | 242 | } | |
243 | 243 | else h | |
244 | 244 | } | |
245 | 245 | let au = { | |
246 | 246 | let D = getInteger(this, Z(I)) | |
247 | 247 | if ($isInstanceOf(D, "Int")) | |
248 | 248 | then { | |
249 | 249 | let E = D | |
250 | 250 | E | |
251 | 251 | } | |
252 | 252 | else 0 | |
253 | 253 | } | |
254 | 254 | let av = toBase58String(ah.caller.bytes) | |
255 | 255 | let aw = (aq - ((q * aq) / 100)) | |
256 | 256 | let ax = ((88 * s) / 100) | |
257 | 257 | let ay = ((aw * t) / 100) | |
258 | - | let az = (( | |
258 | + | let az = ((ay / ax) * 2000) | |
259 | 259 | let aA = ((aw * u) / 100) | |
260 | 260 | let aB = ((aw * v) / 100) | |
261 | 261 | let aC = 10 | |
262 | 262 | let aD = ((aq - aA) - aB) | |
263 | 263 | let aE = 11 | |
264 | 264 | let aF = (((aw * 11) / (ax * 100)) * 1) | |
265 | 265 | if ((aq > ak.amount)) | |
266 | 266 | then throw("Payment Amount can't be less than item Purchase Order") | |
267 | 267 | else if ((ak.amount > aq)) | |
268 | 268 | then throw("Payment Amount can't be higher than item Purchase Order") | |
269 | 269 | else ScriptResult(WriteSet([DataEntry(O(av, K), (Q(av, K) + 1)), DataEntry(J(I, K), K), DataEntry(R(K), an), DataEntry(T(K), ao), DataEntry(V(K), ap), DataEntry("Payment_amount,_yBitCO2cents", aq), DataEntry("Imp, %", q), DataEntry("STtl, yBitCO2cents", aw), DataEntry("CP 1GTS, yBitCO2cents", (ax * 1)), DataEntry(ab(K), ay), DataEntry("UGI, 10e-4 gts1", az), DataEntry(ad(K), aA), DataEntry("EcSys, yBitCO2cents", aB), DataEntry("EcSys, 10e-4 gts1", aC), DataEntry(af(K), aD), DataEntry("SGI, 10e-4 gts1", aE), DataEntry(("Order_Status:_" + av), "Adquisición Confirmada!"), DataEntry("QporVentasGTS, 10e-4 gts1", aF), DataEntry(X(K), (at - aF)), DataEntry(Z(I), (au + ak.amount))]), TransferSet([ScriptTransfer(ah.caller, az, b), ScriptTransfer(p, aA, a), ScriptTransfer(o, aB, a), ScriptTransfer(o, aC, b), ScriptTransfer(n, aD, a)])) | |
270 | 270 | } | |
271 | 271 | } | |
272 | 272 | ||
273 | 273 | ||
274 | 274 | ||
275 | 275 | @Callable(ah) | |
276 | 276 | func purchaseGTS2 (K,an,ao,ap,aq) = { | |
277 | 277 | let ak = extract(ah.payment) | |
278 | 278 | if (isDefined(ak.assetId)) | |
279 | 279 | then throw("El Precio en waves.") | |
280 | 280 | else { | |
281 | 281 | let I = { | |
282 | 282 | let D = getString(this, H(K)) | |
283 | 283 | if ($isInstanceOf(D, "String")) | |
284 | 284 | then { | |
285 | 285 | let E = D | |
286 | 286 | E | |
287 | 287 | } | |
288 | 288 | else l | |
289 | 289 | } | |
290 | 290 | let ar = { | |
291 | 291 | let D = getString(this, L(K)) | |
292 | 292 | if ($isInstanceOf(D, "String")) | |
293 | 293 | then { | |
294 | 294 | let E = D | |
295 | 295 | l | |
296 | 296 | } | |
297 | 297 | else p | |
298 | 298 | } | |
299 | 299 | let as = { | |
300 | 300 | let D = getString(this, M(K)) | |
301 | 301 | if ($isInstanceOf(D, "String")) | |
302 | 302 | then { | |
303 | 303 | let E = D | |
304 | 304 | l | |
305 | 305 | } | |
306 | 306 | else o | |
307 | 307 | } | |
308 | 308 | let at = { | |
309 | 309 | let D = getInteger(this, X(K)) | |
310 | 310 | if ($isInstanceOf(D, "Int")) | |
311 | 311 | then { | |
312 | 312 | let E = D | |
313 | 313 | E | |
314 | 314 | } | |
315 | 315 | else e | |
316 | 316 | } | |
317 | 317 | let au = { | |
318 | 318 | let D = getInteger(this, Z(I)) | |
319 | 319 | if ($isInstanceOf(D, "Int")) | |
320 | 320 | then { | |
321 | 321 | let E = D | |
322 | 322 | E | |
323 | 323 | } | |
324 | 324 | else 0 | |
325 | 325 | } | |
326 | 326 | let av = toBase58String(ah.caller.bytes) | |
327 | 327 | let aw = (aq - ((q * aq) / 100)) | |
328 | 328 | let aG = ((88 * r) / 100) | |
329 | 329 | let ay = ((aw * t) / 100) | |
330 | 330 | let aH = ((ay / aG) * 1) | |
331 | 331 | let aA = ((aw * u) / 100) | |
332 | 332 | let aB = ((aw * v) / 100) | |
333 | 333 | let aI = (((aw * x) / (100 * aG)) * 1) | |
334 | 334 | let aD = ((aq - aA) - aB) | |
335 | 335 | let aJ = (((aw * w) / (100 * aG)) * 1) | |
336 | 336 | let aF = (((aw * 11) / (aG * 100)) * 1) | |
337 | 337 | if ((aq > ak.amount)) | |
338 | 338 | then throw("Payment Amount can't be less than item Purchase Order") | |
339 | 339 | else if ((ak.amount > aq)) | |
340 | 340 | then throw("Payment Amount can't be higher than item Purchase Order") | |
341 | 341 | else ScriptResult(WriteSet([DataEntry(O(av, K), (Q(av, K) + 1)), DataEntry(J(I, K), K), DataEntry(R(K), an), DataEntry(T(K), ao), DataEntry(V(K), ap), DataEntry("Payment_amount,_wvls", aq), DataEntry("Imp, %", q), DataEntry("STtl, wvls", aw), DataEntry("CP 1 B, wvls", (aG * 10000)), DataEntry(ab(K), ay), DataEntry("UBI, 10e-4 ybitco2", aH), DataEntry(ad(K), aA), DataEntry("EcSys, wvls", aB), DataEntry("EcSys, 10e-4 ybitco2", aI), DataEntry(af(K), aD), DataEntry("SBI, 10e-4 ybitco2", aJ), DataEntry(("Order_Status:_" + av), "Adquisición Confirmada!"), DataEntry("QporVentasGTS, 10e-4 ybitco2", aF), DataEntry(X(K), (at - (aF / 1))), DataEntry(Z(I), (au + ak.amount))]), TransferSet([ScriptTransfer(ah.caller, aH, a), ScriptTransfer(p, aA, unit), ScriptTransfer(o, aB, unit), ScriptTransfer(o, aI, a), ScriptTransfer(n, aD, unit), ScriptTransfer(n, aJ, a)])) | |
342 | 342 | } | |
343 | 343 | } | |
344 | 344 | ||
345 | 345 | ||
346 | 346 | ||
347 | 347 | @Callable(ah) | |
348 | 348 | func withdrawGTS (K,aK) = { | |
349 | 349 | let av = toBase58String(ah.caller.bytes) | |
350 | 350 | let I = { | |
351 | 351 | let D = getString(this, H(K)) | |
352 | 352 | if ($isInstanceOf(D, "String")) | |
353 | 353 | then { | |
354 | 354 | let E = D | |
355 | 355 | E | |
356 | 356 | } | |
357 | 357 | else l | |
358 | 358 | } | |
359 | 359 | let aL = { | |
360 | 360 | let D = getInteger(this, X(K)) | |
361 | 361 | if ($isInstanceOf(D, "Int")) | |
362 | 362 | then { | |
363 | 363 | let E = D | |
364 | 364 | E | |
365 | 365 | } | |
366 | 366 | else f | |
367 | 367 | } | |
368 | 368 | let am = (aL - aK) | |
369 | 369 | if ((0 > aK)) | |
370 | 370 | then throw("El balance de retiro no puede ser negativo!") | |
371 | 371 | else if ((0 >= am)) | |
372 | 372 | then throw("Ooppss.. Insuficiente balance!") | |
373 | 373 | else ScriptResult(WriteSet([DataEntry(K, am)]), TransferSet([ScriptTransfer(ah.caller, aK, b)])) | |
374 | 374 | } | |
375 | 375 | ||
376 | 376 | ||
377 | 377 | ||
378 | 378 | @Callable(ah) | |
379 | 379 | func withdraw (K,aK) = { | |
380 | 380 | let av = toBase58String(ah.caller.bytes) | |
381 | 381 | let I = { | |
382 | 382 | let D = getString(this, H(K)) | |
383 | 383 | if ($isInstanceOf(D, "String")) | |
384 | 384 | then { | |
385 | 385 | let E = D | |
386 | 386 | E | |
387 | 387 | } | |
388 | 388 | else l | |
389 | 389 | } | |
390 | 390 | let aL = { | |
391 | 391 | let D = getInteger(this, X(K)) | |
392 | 392 | if ($isInstanceOf(D, "Int")) | |
393 | 393 | then { | |
394 | 394 | let E = D | |
395 | 395 | E | |
396 | 396 | } | |
397 | 397 | else c | |
398 | 398 | } | |
399 | 399 | let am = (aL - aK) | |
400 | 400 | if ((0 > aK)) | |
401 | 401 | then throw("El balance de retiro no puede ser negativo!") | |
402 | 402 | else if ((0 >= am)) | |
403 | 403 | then throw("Ooppss.. Insuficiente balance!") | |
404 | 404 | else ScriptResult(WriteSet([DataEntry(K, am)]), TransferSet([ScriptTransfer(ah.caller, aK, a)])) | |
405 | 405 | } | |
406 | 406 | ||
407 | 407 | ||
408 | 408 | @Verifier(aM) | |
409 | 409 | func aN () = { | |
410 | 410 | let D = aM | |
411 | 411 | if ($isInstanceOf(D, "SetScriptTransaction")) | |
412 | 412 | then { | |
413 | 413 | let aO = D | |
414 | 414 | sigVerify(aM.bodyBytes, aM.proofs[0], m) | |
415 | 415 | } | |
416 | 416 | else if (if ($isInstanceOf(D, "DataTransaction")) | |
417 | 417 | then true | |
418 | 418 | else $isInstanceOf(D, "ReissueTransaction")) | |
419 | 419 | then { | |
420 | 420 | let aP = D | |
421 | 421 | true | |
422 | 422 | } | |
423 | 423 | else if ($isInstanceOf(D, "TransferTransaction")) | |
424 | 424 | then { | |
425 | 425 | let aM = D | |
426 | 426 | true | |
427 | 427 | } | |
428 | 428 | else if ($isInstanceOf(D, "ExchangeTransaction")) | |
429 | 429 | then { | |
430 | 430 | let aM = D | |
431 | 431 | let aQ = if (!(isDefined(aM.sellOrder.assetPair.priceAsset))) | |
432 | 432 | then true | |
433 | 433 | else !(isDefined(aM.sellOrder.assetPair.amountAsset)) | |
434 | 434 | aQ | |
435 | 435 | } | |
436 | 436 | else false | |
437 | 437 | } | |
438 | 438 |
github/deemru/w8io/169f3d6 83.31 ms ◑