tx · 73uS6N1QNLAh2SS5UNsNgr2Fz2PYzNpBQZum3kTByVGm 3MygpzbTwRLEmjaPG1rCMDyZ9wHxbScEq8z: -0.01000000 Waves 2020.09.09 11:07 [1169521] smart account 3MygpzbTwRLEmjaPG1rCMDyZ9wHxbScEq8z > SELF 0.00000000 Waves
{ "type": 13, "id": "73uS6N1QNLAh2SS5UNsNgr2Fz2PYzNpBQZum3kTByVGm", "fee": 1000000, "feeAssetId": null, "timestamp": 1599638914801, "version": 1, "sender": "3MygpzbTwRLEmjaPG1rCMDyZ9wHxbScEq8z", "senderPublicKey": "7DBzzLmLZv6hSHYUdYKwXLyjGyEFNJTFdMZtrxbzBkBz", "proofs": [ "Zk4cPou8P7W3N6iHgaKAK3oX3uurp6qwqBK2bemcWZZ9KoXq1974YRwy466bC4ENwL5XuMJdCpGkC9uNJcPJCNP" ], "script": "base64:AAIDAAAAAAAAAAsIARIAEgASAwoBCAAAAD0AAAAAC3BhcmFtUHJlZml4AgAAAAZwYXJhbV8AAAAAC2FkZHJlc3NCb29rCQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFUVoHUeTQTO77iaMaO0CyN+LlydsBXbwHeAAAAABN3aGl0ZWxpc3RBZGRyZXNzS2V5AgAAABB3aGl0ZWxpc3RBZGRyZXNzAAAAABdkQXBwV2hpdGVsaXN0QWRkcmVzc0tleQIAAAAUZEFwcFdoaXRlbGlzdEFkZHJlc3MAAAAAEGJ1cm5lckFkZHJlc3NLZXkCAAAADWJ1cm5lckFkZHJlc3MAAAAAFGV4dHJhY3RlZEFkZHJlc3NCb29rCQEAAAAHZXh0cmFjdAAAAAEFAAAAC2FkZHJlc3NCb29rAQAAAA5nZXRTdHJpbmdQYXJhbQAAAAEAAAADa2V5BAAAAAckbWF0Y2gwCQAEHQAAAAIFAAAABHRoaXMJAAEsAAAAAgUAAAALcGFyYW1QcmVmaXgFAAAAA2tleQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAGU3RyaW5nBAAAAAFhBQ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lc3M3BQAAAAR0eElkAAAAAAAAAAABAAAAAAAAAAAABAAAAAtwS2V5OFNpZ25lZAMJAQAAAAlpc0RlZmluZWQAAAABCQAEGgAAAAIFAAAACXBBZGRyZXNzOAUAAAAEdHhJZAAAAAAAAAAAAQAAAAAAAAAAAAkAAGcAAAACCQAAZAAAAAIJAABkAAAAAgkAAGQAAAACCQAAZAAAAAIJAABkAAAAAgkAAGQAAAACCQAAZAAAAAIFAAAAC3BLZXkxU2lnbmVkBQAAAAtwS2V5MlNpZ25lZAUAAAALcEtleTNTaWduZWQFAAAAC3BLZXk0U2lnbmVkBQAAAAtwS2V5NVNpZ25lZAUAAAALcEtleTZTaWduZWQFAAAAC3BLZXk3U2lnbmVkBQAAAAtwS2V5OFNpZ25lZAAAAAAAAAAAAwc5JN6a", "chainId": 84, "height": 1169521, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: none Full:
Old | New | Differences | |
---|---|---|---|
1 | - | # no script | |
1 | + | {-# STDLIB_VERSION 3 #-} | |
2 | + | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | + | {-# CONTENT_TYPE DAPP #-} | |
4 | + | let a = "param_" | |
5 | + | ||
6 | + | let b = Address(base58'3MwoVRAPfC2NKuuYJKHVAVtUFhq8MyTEfQh') | |
7 | + | ||
8 | + | let c = "whitelistAddress" | |
9 | + | ||
10 | + | let d = "dAppWhitelistAddress" | |
11 | + | ||
12 | + | let e = "burnerAddress" | |
13 | + | ||
14 | + | let f = extract(b) | |
15 | + | ||
16 | + | func g (h) = { | |
17 | + | let i = getString(this, (a + h)) | |
18 | + | if ($isInstanceOf(i, "String")) | |
19 | + | then { | |
20 | + | let j = i | |
21 | + | j | |
22 | + | } | |
23 | + | else throw("no string key") | |
24 | + | } | |
25 | + | ||
26 | + | ||
27 | + | func k (h) = { | |
28 | + | let i = getInteger(this, (a + h)) | |
29 | + | if ($isInstanceOf(i, "Int")) | |
30 | + | then { | |
31 | + | let j = i | |
32 | + | j | |
33 | + | } | |
34 | + | else throw("no int key") | |
35 | + | } | |
36 | + | ||
37 | + | ||
38 | + | func l (h) = { | |
39 | + | let i = getBoolean(this, (a + h)) | |
40 | + | if ($isInstanceOf(i, "Boolean")) | |
41 | + | then { | |
42 | + | let j = i | |
43 | + | j | |
44 | + | } | |
45 | + | else throw("no boolean key") | |
46 | + | } | |
47 | + | ||
48 | + | ||
49 | + | let m = base58'7aMuBwDdQ3677xdHcdbZcqzCZTLEvQAMx2o6oj5FWrE5' | |
50 | + | ||
51 | + | let n = base58'WAVES' | |
52 | + | ||
53 | + | let o = true | |
54 | + | ||
55 | + | let p = g("issuerAccountAddress") | |
56 | + | ||
57 | + | let q = extract(addressFromString(p)) | |
58 | + | ||
59 | + | let r = 1 | |
60 | + | ||
61 | + | let s = k("tokensaleAmount") | |
62 | + | ||
63 | + | let t = k("startTime") | |
64 | + | ||
65 | + | let u = k("endTime") | |
66 | + | ||
67 | + | let v = k("price") | |
68 | + | ||
69 | + | let w = k("softCapAmount") | |
70 | + | ||
71 | + | let x = k("minPayment") | |
72 | + | ||
73 | + | let y = base58'' | |
74 | + | ||
75 | + | let z = k("swapAmount") | |
76 | + | ||
77 | + | let A = k("swapPrice") | |
78 | + | ||
79 | + | let B = k("serviceFee") | |
80 | + | ||
81 | + | let C = g("serviceFeeAddress") | |
82 | + | ||
83 | + | let D = 0 | |
84 | + | ||
85 | + | let E = 0 | |
86 | + | ||
87 | + | let F = 1 | |
88 | + | ||
89 | + | let G = 2 | |
90 | + | ||
91 | + | let H = "swapSumAmount " | |
92 | + | ||
93 | + | let I = "swapSumAssets " | |
94 | + | ||
95 | + | let J = "swapAssets" | |
96 | + | ||
97 | + | let K = "swapAmount" | |
98 | + | ||
99 | + | let L = "sumAmount " | |
100 | + | ||
101 | + | let M = "paidAmount " | |
102 | + | ||
103 | + | let N = "sumAssets " | |
104 | + | ||
105 | + | let O = "allow " | |
106 | + | ||
107 | + | let P = "assets" | |
108 | + | ||
109 | + | let Q = "amount" | |
110 | + | ||
111 | + | let R = "issuer" | |
112 | + | ||
113 | + | let S = "6.0.0" | |
114 | + | ||
115 | + | let T = 1000 | |
116 | + | ||
117 | + | func U (h) = { | |
118 | + | let i = getString(b, h) | |
119 | + | if ($isInstanceOf(i, "String")) | |
120 | + | then { | |
121 | + | let j = i | |
122 | + | Address(fromBase58String(j)) | |
123 | + | } | |
124 | + | else throw("no key") | |
125 | + | } | |
126 | + | ||
127 | + | ||
128 | + | let V = U(c) | |
129 | + | ||
130 | + | let W = U(d) | |
131 | + | ||
132 | + | let X = U(e) | |
133 | + | ||
134 | + | func Y () = if ((D == E)) | |
135 | + | then true | |
136 | + | else (D == G) | |
137 | + | ||
138 | + | ||
139 | + | func Z () = if ((D == F)) | |
140 | + | then true | |
141 | + | else (D == G) | |
142 | + | ||
143 | + | ||
144 | + | func aa () = (B != 0) | |
145 | + | ||
146 | + | ||
147 | + | func ab () = { | |
148 | + | let ac = value(blockInfoByHeight(height)) | |
149 | + | (ac.timestamp / 1000) | |
150 | + | } | |
151 | + | ||
152 | + | ||
153 | + | func ad (ae,af) = if ((ae == false)) | |
154 | + | then af | |
155 | + | else unit | |
156 | + | ||
157 | + | ||
158 | + | func ag () = v | |
159 | + | ||
160 | + | ||
161 | + | func ah (h) = { | |
162 | + | let i = getInteger(this, h) | |
163 | + | if ($isInstanceOf(i, "Int")) | |
164 | + | then { | |
165 | + | let j = i | |
166 | + | j | |
167 | + | } | |
168 | + | else 0 | |
169 | + | } | |
170 | + | ||
171 | + | ||
172 | + | func ai () = (ab() >= t) | |
173 | + | ||
174 | + | ||
175 | + | func aj () = { | |
176 | + | let ak = { | |
177 | + | let i = getInteger(this, P) | |
178 | + | if ($isInstanceOf(i, "Int")) | |
179 | + | then { | |
180 | + | let j = i | |
181 | + | j | |
182 | + | } | |
183 | + | else s | |
184 | + | } | |
185 | + | if ((ab() > u)) | |
186 | + | then true | |
187 | + | else (ak == 0) | |
188 | + | } | |
189 | + | ||
190 | + | ||
191 | + | func al () = { | |
192 | + | let ak = { | |
193 | + | let i = getInteger(this, J) | |
194 | + | if ($isInstanceOf(i, "Int")) | |
195 | + | then { | |
196 | + | let j = i | |
197 | + | j | |
198 | + | } | |
199 | + | else z | |
200 | + | } | |
201 | + | if ((ab() > u)) | |
202 | + | then true | |
203 | + | else (ak == 0) | |
204 | + | } | |
205 | + | ||
206 | + | ||
207 | + | func am () = if (if (Z()) | |
208 | + | then Y() | |
209 | + | else false) | |
210 | + | then if (aj()) | |
211 | + | then al() | |
212 | + | else false | |
213 | + | else if (Y()) | |
214 | + | then aj() | |
215 | + | else if (Z()) | |
216 | + | then al() | |
217 | + | else false | |
218 | + | ||
219 | + | ||
220 | + | func an (ao) = { | |
221 | + | let i = ao.payment | |
222 | + | if ($isInstanceOf(i, "AttachedPayment")) | |
223 | + | then { | |
224 | + | let ap = i | |
225 | + | let aq = { | |
226 | + | let ar = ap.assetId | |
227 | + | if ($isInstanceOf(ar, "ByteVector")) | |
228 | + | then { | |
229 | + | let af = ar | |
230 | + | if (!(o)) | |
231 | + | then (af == n) | |
232 | + | else false | |
233 | + | } | |
234 | + | else (o == true) | |
235 | + | } | |
236 | + | if (aq) | |
237 | + | then if ((r == 1)) | |
238 | + | then if (((ap.amount % v) == 0)) | |
239 | + | then ap.amount | |
240 | + | else throw("#0300 payment amount must be a multiple of token price") | |
241 | + | else ap.amount | |
242 | + | else throw("#0200 Invalid asset ID of investment") | |
243 | + | } | |
244 | + | else throw("#0100 Payment must be attached") | |
245 | + | } | |
246 | + | ||
247 | + | ||
248 | + | func as (ao) = { | |
249 | + | let i = ao.payment | |
250 | + | if ($isInstanceOf(i, "AttachedPayment")) | |
251 | + | then { | |
252 | + | let ap = i | |
253 | + | let aq = { | |
254 | + | let ar = ap.assetId | |
255 | + | if ($isInstanceOf(ar, "ByteVector")) | |
256 | + | then { | |
257 | + | let af = ar | |
258 | + | (af == y) | |
259 | + | } | |
260 | + | else false | |
261 | + | } | |
262 | + | if (aq) | |
263 | + | then if ((r == 1)) | |
264 | + | then if (((ap.amount % A) == 0)) | |
265 | + | then ap.amount | |
266 | + | else throw("payment amount must be a multiple of token price") | |
267 | + | else ap.amount | |
268 | + | else throw("Invalid asset ID of investment") | |
269 | + | } | |
270 | + | else throw("Payment must be attached") | |
271 | + | } | |
272 | + | ||
273 | + | ||
274 | + | func at (au,av) = if ((size(au) > 10)) | |
275 | + | then au | |
276 | + | else av | |
277 | + | ||
278 | + | ||
279 | + | @Callable(ao) | |
280 | + | func deposit () = { | |
281 | + | let aw = ag() | |
282 | + | let ax = ah(Q) | |
283 | + | let ay = { | |
284 | + | let i = getInteger(W, toString(this)) | |
285 | + | if ($isInstanceOf(i, "Int")) | |
286 | + | then { | |
287 | + | let j = i | |
288 | + | j | |
289 | + | } | |
290 | + | else -1000 | |
291 | + | } | |
292 | + | if (!(Y())) | |
293 | + | then throw("#1000 This deposit method is unsopperted for this company") | |
294 | + | else if (!(ai())) | |
295 | + | then throw(((("#0001 The Tokensale works between " + toString(t)) + " and ") + toString(u))) | |
296 | + | else if (aj()) | |
297 | + | then throw("#0002 The required amount has already been accumulated. If you are an investor, you can withdraw your funds.") | |
298 | + | else if ((ay == -1000)) | |
299 | + | then throw("#0010 This company is unsopperted") | |
300 | + | else { | |
301 | + | let az = an(ao) | |
302 | + | let aA = toBase58String(ao.caller.bytes) | |
303 | + | let aB = { | |
304 | + | let i = getInteger(V, aA) | |
305 | + | if ($isInstanceOf(i, "Int")) | |
306 | + | then { | |
307 | + | let j = i | |
308 | + | j | |
309 | + | } | |
310 | + | else -255 | |
311 | + | } | |
312 | + | if ((aA == p)) | |
313 | + | then throw("#0030 The issuer can`t invest in its own company") | |
314 | + | else if ((T > aB)) | |
315 | + | then throw(((("#0020 Your account has no right to send funds. _ " + aA) + " ") + p)) | |
316 | + | else { | |
317 | + | let aC = { | |
318 | + | let i = getInteger(this, P) | |
319 | + | if ($isInstanceOf(i, "Int")) | |
320 | + | then { | |
321 | + | let j = i | |
322 | + | j | |
323 | + | } | |
324 | + | else s | |
325 | + | } | |
326 | + | let aD = fraction(az, r, aw) | |
327 | + | let aE = fraction(x, r, aw) | |
328 | + | if (if (if ((0 > (aC - aD))) | |
329 | + | then true | |
330 | + | else (aE > aD)) | |
331 | + | then true | |
332 | + | else if ((aD != aC)) | |
333 | + | then (aD > (aC - aE)) | |
334 | + | else false) | |
335 | + | then throw("#0400 Incorrect payment amount.") | |
336 | + | else { | |
337 | + | let aF = (ah((L + aA)) + az) | |
338 | + | let aG = (ah((N + aA)) + aD) | |
339 | + | let aH = (aC - aD) | |
340 | + | let aI = (ax + az) | |
341 | + | WriteSet([DataEntry((L + aA), aF), DataEntry((N + aA), aG), DataEntry(P, aH), DataEntry(Q, aI)]) | |
342 | + | } | |
343 | + | } | |
344 | + | } | |
345 | + | } | |
346 | + | ||
347 | + | ||
348 | + | ||
349 | + | @Callable(ao) | |
350 | + | func swapDeposit () = { | |
351 | + | let aw = A | |
352 | + | let ax = ah(K) | |
353 | + | let ay = { | |
354 | + | let i = getInteger(W, toString(this)) | |
355 | + | if ($isInstanceOf(i, "Int")) | |
356 | + | then { | |
357 | + | let j = i | |
358 | + | j | |
359 | + | } | |
360 | + | else -1000 | |
361 | + | } | |
362 | + | if (!(Z())) | |
363 | + | then throw("#2000 This swap-deposit method is unsopperted for this company") | |
364 | + | else if (!(ai())) | |
365 | + | then throw(((("The Tokensale works between " + toString(t)) + " and ") + toString(u))) | |
366 | + | else if (al()) | |
367 | + | then throw("The required amount has already been accumulated. If you are an investor, you can withdraw your funds.") | |
368 | + | else if ((ay == -1000)) | |
369 | + | then throw("#0010 This company is unsupported") | |
370 | + | else { | |
371 | + | let az = as(ao) | |
372 | + | let aA = toBase58String(ao.caller.bytes) | |
373 | + | let aB = { | |
374 | + | let i = getInteger(V, aA) | |
375 | + | if ($isInstanceOf(i, "Int")) | |
376 | + | then { | |
377 | + | let j = i | |
378 | + | j | |
379 | + | } | |
380 | + | else -255 | |
381 | + | } | |
382 | + | if ((T > aB)) | |
383 | + | then throw("#0020 Your account has no right to send funds.") | |
384 | + | else { | |
385 | + | let aC = { | |
386 | + | let i = getInteger(this, J) | |
387 | + | if ($isInstanceOf(i, "Int")) | |
388 | + | then { | |
389 | + | let j = i | |
390 | + | j | |
391 | + | } | |
392 | + | else z | |
393 | + | } | |
394 | + | let aD = fraction(az, r, aw) | |
395 | + | if ((0 > (aC - aD))) | |
396 | + | then throw("Incorrect payment amount.") | |
397 | + | else { | |
398 | + | let aF = (ah((H + aA)) + az) | |
399 | + | let aG = (ah((I + aA)) + aD) | |
400 | + | let aH = (aC - aD) | |
401 | + | let aI = (ax + az) | |
402 | + | WriteSet([DataEntry((H + aA), aF), DataEntry((I + aA), aG), DataEntry(J, aH), DataEntry(K, aI)]) | |
403 | + | } | |
404 | + | } | |
405 | + | } | |
406 | + | } | |
407 | + | ||
408 | + | ||
409 | + | ||
410 | + | @Callable(ao) | |
411 | + | func withdrawal (aJ) = { | |
412 | + | let ay = { | |
413 | + | let i = getInteger(W, toString(this)) | |
414 | + | if ($isInstanceOf(i, "Int")) | |
415 | + | then { | |
416 | + | let j = i | |
417 | + | j | |
418 | + | } | |
419 | + | else 0 | |
420 | + | } | |
421 | + | if ((ay == 0)) | |
422 | + | then throw("#0030 Withdrawals are not available until the issuer passes verification") | |
423 | + | else { | |
424 | + | let aA = at(aJ, toBase58String(ao.caller.bytes)) | |
425 | + | let aK = extract(addressFromString(aA)) | |
426 | + | let aL = ah((N + aA)) | |
427 | + | let aM = ah((L + aA)) | |
428 | + | let aN = ah((I + aA)) | |
429 | + | let aO = ah((H + aA)) | |
430 | + | let aP = ah(K) | |
431 | + | let aQ = ah(J) | |
432 | + | let ax = ah(Q) | |
433 | + | let aC = ah(P) | |
434 | + | let aR = ad(o, n) | |
435 | + | if (!(am())) | |
436 | + | then throw("#0003 The Company is still active") | |
437 | + | else if (if ((aA == p)) | |
438 | + | then (ay == 1) | |
439 | + | else false) | |
440 | + | then { | |
441 | + | let aS = ah(R) | |
442 | + | if ((aS == 0)) | |
443 | + | then if (if (Y()) | |
444 | + | then Z() | |
445 | + | else false) | |
446 | + | then if ((ax >= w)) | |
447 | + | then if (aa()) | |
448 | + | then { | |
449 | + | let aT = fraction(ax, B, 100) | |
450 | + | let aU = (ax - aT) | |
451 | + | let aV = extract(addressFromString(C)) | |
452 | + | ScriptResult(WriteSet([DataEntry(R, 1)]), TransferSet([ScriptTransfer(aV, aT, aR), ScriptTransfer(q, aU, aR), ScriptTransfer(q, aP, y)])) | |
453 | + | } | |
454 | + | else ScriptResult(WriteSet([DataEntry(R, 1)]), TransferSet([ScriptTransfer(q, ax, aR), ScriptTransfer(q, aP, y)])) | |
455 | + | else ScriptResult(WriteSet([DataEntry(R, 1)]), TransferSet([ScriptTransfer(q, aP, y)])) | |
456 | + | else if (Y()) | |
457 | + | then if ((ax >= w)) | |
458 | + | then if (aa()) | |
459 | + | then { | |
460 | + | let aT = fraction(ax, B, 100) | |
461 | + | let aU = (ax - aT) | |
462 | + | let aV = extract(addressFromString(C)) | |
463 | + | ScriptResult(WriteSet([DataEntry(R, 1)]), TransferSet([ScriptTransfer(aV, aT, aR), ScriptTransfer(q, aU, aR)])) | |
464 | + | } | |
465 | + | else ScriptResult(WriteSet([DataEntry(R, 1)]), TransferSet([ScriptTransfer(q, ax, aR)])) | |
466 | + | else throw("#0500 No funds for issuer") | |
467 | + | else ScriptResult(WriteSet([DataEntry(R, 1)]), TransferSet([ScriptTransfer(q, aP, y)])) | |
468 | + | else throw("#0700 The issuer has already taken its share!") | |
469 | + | } | |
470 | + | else if (if ((aM == 0)) | |
471 | + | then (aO == 0) | |
472 | + | else false) | |
473 | + | then throw("#0600 Don't have money") | |
474 | + | else if (if (Y()) | |
475 | + | then Z() | |
476 | + | else false) | |
477 | + | then if (if ((w > ax)) | |
478 | + | then (ay == 1) | |
479 | + | else false) | |
480 | + | then ScriptResult(WriteSet([DataEntry((L + aA), 0), DataEntry((N + aA), 0), DataEntry((H + aA), 0), DataEntry((I + aA), 0)]), TransferSet([ScriptTransfer(aK, aM, aR), ScriptTransfer(aK, aN, m)])) | |
481 | + | else if ((ay == 1)) | |
482 | + | then ScriptResult(WriteSet([DataEntry((L + aA), 0), DataEntry((N + aA), 0), DataEntry((H + aA), 0), DataEntry((I + aA), 0)]), TransferSet([ScriptTransfer(aK, aL, m), ScriptTransfer(aK, aN, m)])) | |
483 | + | else ScriptResult(WriteSet([DataEntry((L + aA), 0), DataEntry((N + aA), 0), DataEntry((H + aA), 0), DataEntry((I + aA), 0)]), TransferSet([ScriptTransfer(aK, aM, aR), ScriptTransfer(aK, aO, y)])) | |
484 | + | else if (Y()) | |
485 | + | then if (if ((ax >= w)) | |
486 | + | then (ay == 1) | |
487 | + | else false) | |
488 | + | then ScriptResult(WriteSet([DataEntry((L + aA), 0), DataEntry((N + aA), 0)]), TransferSet([ScriptTransfer(aK, aL, m)])) | |
489 | + | else ScriptResult(WriteSet([DataEntry((L + aA), 0), DataEntry((N + aA), 0)]), TransferSet([ScriptTransfer(aK, aM, aR)])) | |
490 | + | else if ((ay == 1)) | |
491 | + | then ScriptResult(WriteSet([DataEntry((H + aA), 0), DataEntry((I + aA), 0)]), TransferSet([ScriptTransfer(aK, aN, m)])) | |
492 | + | else ScriptResult(WriteSet([DataEntry((H + aA), 0), DataEntry((I + aA), 0)]), TransferSet([ScriptTransfer(aK, aO, y)])) | |
493 | + | } | |
494 | + | } | |
495 | + | ||
496 | + | ||
497 | + | @Verifier(aW) | |
498 | + | func aX () = { | |
499 | + | let i = aW | |
500 | + | if ($isInstanceOf(i, "BurnTransaction")) | |
501 | + | then { | |
502 | + | let aW = i | |
503 | + | true | |
504 | + | } | |
505 | + | else if ($isInstanceOf(i, "ReissueTransaction")) | |
506 | + | then { | |
507 | + | let aW = i | |
508 | + | false | |
509 | + | } | |
510 | + | else if ($isInstanceOf(i, "TransferTransaction")) | |
511 | + | then { | |
512 | + | let aW = i | |
513 | + | (aW.recipient == X) | |
514 | + | } | |
515 | + | else if (if ($isInstanceOf(i, "DataTransaction")) | |
516 | + | then true | |
517 | + | else if ($isInstanceOf(i, "SetAssetScriptTransaction")) | |
518 | + | then true | |
519 | + | else $isInstanceOf(i, "SetScriptTransaction")) | |
520 | + | then { | |
521 | + | let aW = i | |
522 | + | let aY = toBase58String(aW.id) | |
523 | + | let aZ = U("pAddress1") | |
524 | + | let ba = U("pAddress2") | |
525 | + | let bb = U("pAddress3") | |
526 | + | let bc = U("pAddress4") | |
527 | + | let bd = U("pAddress5") | |
528 | + | let be = U("pAddress6") | |
529 | + | let bf = U("pAddress7") | |
530 | + | let bg = U("pAddress8") | |
531 | + | let bh = if (isDefined(getInteger(aZ, aY))) | |
532 | + | then 1 | |
533 | + | else 0 | |
534 | + | let bi = if (isDefined(getInteger(ba, aY))) | |
535 | + | then 1 | |
536 | + | else 0 | |
537 | + | let bj = if (isDefined(getInteger(bb, aY))) | |
538 | + | then 1 | |
539 | + | else 0 | |
540 | + | let bk = if (isDefined(getInteger(bc, aY))) | |
541 | + | then 1 | |
542 | + | else 0 | |
543 | + | let bl = if (isDefined(getInteger(bd, aY))) | |
544 | + | then 1 | |
545 | + | else 0 | |
546 | + | let bm = if (isDefined(getInteger(be, aY))) | |
547 | + | then 1 | |
548 | + | else 0 | |
549 | + | let bn = if (isDefined(getInteger(bf, aY))) | |
550 | + | then 1 | |
551 | + | else 0 | |
552 | + | let bo = if (isDefined(getInteger(bg, aY))) | |
553 | + | then 1 | |
554 | + | else 0 | |
555 | + | ((((((((bh + bi) + bj) + bk) + bl) + bm) + bn) + bo) >= 3) | |
556 | + | } | |
557 | + | else false | |
558 | + | } | |
559 | + |
github/deemru/w8io/169f3d6 35.48 ms ◑