tx · ArC4qAxdoZEvnSL2dUtxgLw1iiJJ1MhzUVLFiM4N19cU

3MrWNTqFcHBqb58Za1A5crQrMV5KJ5DYhtA:  -0.01000000 Waves

2021.08.06 16:21 [1646521] smart account 3MrWNTqFcHBqb58Za1A5crQrMV5KJ5DYhtA > SELF 0.00000000 Waves

{ "type": 13, "id": "ArC4qAxdoZEvnSL2dUtxgLw1iiJJ1MhzUVLFiM4N19cU", "fee": 1000000, "feeAssetId": null, "timestamp": 1628256095148, "version": 2, "chainId": 84, "sender": "3MrWNTqFcHBqb58Za1A5crQrMV5KJ5DYhtA", "senderPublicKey": "9abKuN1XmLjjire2feZH26PmcEWhEXxiHToWSmii3Gn2", "proofs": [ "27ekKzRYjk4je1UU5auEw4E73TLXAXWraQFCHS9kkYt4tGMHQzZMdfZQTRLHjAmcutV1besYGHXuQku47c97vBn9" ], "script": "base64:AAIFAAAAAAAACggIAhIICgYICAgICAgSCAoGCAEBCAgBEgQKAggIEgMKAQgSBAoCCAgSBgoECAgICBIFCgMICAgaDgoCYTESCHVuaXRUZXN0Gg8KAmEyEglvcmFjbGVGZWUaEQoCYTMSC2ZlZVJlY2VpdmVyGg4KAmE0Egh1c2VyRGFwcBoTCgJhNRINd2hpdGVsaXN0RGFwcBoTCgJhNhINc2NvbmV4QXNzZXRJZBoLCgJhNxIFb3duZXIaDwoCYTgSCXNjb25leEN1dBoRCgJhORILZGFwcFJ1bm5pbmcaFAoCYjESDm1haW50ZW5hbmNlTVNHGhMKAmIyEg11c2VyU3VzcGVuZGVkGhEKAmIzEgt1c2VyUmVtb3ZlZBoWCgJiNBIQdXNlclVucmVnaXN0ZXJlZBoRCgJiNRILdXNlckFsbG93ZWQaEgoCYjYSDGF1Y3Rpb25UeXBlMRoSCgJiNxIMYXVjdGlvblR5cGUyGhQKAmI4Eg5nZXRTdHJpbmdCeUtleRoJCgJiORIDa2V5Gh8KAmMxEhlnZXRJbnRlZ2VyQnlLZXlGcm9tT3JhY2xlGhUKAmMyEg9n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FAAAAAmk4AgAAAAFfBQAAAAJjNgIAAAABXwUAAAACajEEAAAAAmkyCQEAAAACYjgAAAABCQABLAAAAAIFAAAAAmkxAgAAAAVfT1BFTgMJAAAAAAAAAgUAAAACaTICAAAAAAkAAAIAAAABAgAAAA1CaWQgbm90IGZvdW5kBAAAAAJpMwkABLUAAAACBQAAAAJpMgIAAAABXwQAAAACZzgJAQAAAAJoOAAAAAEJAAGRAAAAAgUAAAACaTMAAAAAAAAAAAAEAAAAAnAyAgAAAAhDQU5DRUxFRAkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABCQABLAAAAAIFAAAAAmkxAgAAAAVfT1BFTgkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACCQABLAAAAAIJAAEsAAAAAgUAAAACaTECAAAAAV8FAAAAAnAyCQABLAAAAAIJAAEsAAAAAgUAAAACaTICAAAAAV8JAAGkAAAAAQUAAAACbDcJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAIJAAEsAAAAAgIAAAASY3VycmVudF9iaWRhbW91bnRfBQAAAAJjOAkAAGUAAAACBQAAAAJvNgAAAAAAAAAAAQkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCQEAAAAHQWRkcmVzcwAAAAEJAAJZAAAAAQUAAAACYzYJAQAAAA1wYXJzZUludFZhbHVlAAAAAQkAAZEAAAACBQAAAAJpMwAAAAAAAAAAAQUAAAACZzgFAAAAA25pbAAAAADjheYW", "height": 1646521, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: AmUd1jZiA5mjCRknAC2JREW6mvosmKU3bKDoqUTRnbyn Next: 8J3izonnqC4qPvjRCdPPxh4YFohpE6cxL6Wvv4Q9B6Ex Diff:
OldNewDifferences
403403 if ((bv != ""))
404404 then throw("You already added it")
405405 else {
406- let bw = q(O(Y))
406+ let bw = q(O(P))
407407 if ((bw != ""))
408408 then throw("Hash already registered")
409409 else [StringEntry(O(P), x), StringEntry(Q(P, x), z), IntegerEntry(y(x, z), bb), StringEntry(A(x, z), Z), StringEntry(B(x, z), aa), StringEntry(C(x, z), Y), StringEntry(J(x, z), br), StringEntry(I(x, z), ab), IntegerEntry(D(x, z), 0), IntegerEntry(G(x, z), 0), BooleanEntry(H(x, z), false), StringEntry(M(x, z), P), ScriptTransfer(Address(fromBase58String(c)), ag, aj)]
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = false
55
66 let b = value(addressFromString("3MpZQjzGogmifcEKe8mDd6ribL7nxT9ACye"))
77
88 let c = "3N65xLq8JcCeaEiR1TJQ7dBqXBvEy6E48Wz"
99
1010 let d = value(addressFromString("3N9cQgZFPHHVu8wqsn2DkQFehg3h8CNiooA"))
1111
1212 let e = value(addressFromString("3N9xZYGpzMFDXvXuctmU6zV8qSzm2ZfF31f"))
1313
1414 let f = base58'DZ8ALmuLeSZ2ocsYLAcL9MiXBFDbMNQG9LtitREyU5ZC'
1515
1616 let g = "3N1Dhq5ZZyoojQisuTLusYjnGisqrxDwGLy"
1717
1818 let h = 7
1919
2020 let i = valueOrElse(getBoolean(d, "conf_dapp_is_running"), true)
2121
2222 let j = valueOrElse(getString(d, "conf_maintenance_msg"), "")
2323
2424 let k = "SUSPENDED"
2525
2626 let l = "REMOVED"
2727
2828 let m = "UNREGISTERED"
2929
3030 let n = "ALLOWED"
3131
3232 let o = "BIDTYPE"
3333
3434 let p = "TRADITIONAL"
3535
3636 func q (r) = valueOrElse(getString(this, r), "")
3737
3838
3939 func s (r) = valueOrErrorMessage(getInteger(b, r), "Integer undefine or 0 in oracle")
4040
4141
4242 func t (r) = valueOrElse(getInteger(this, r), 0)
4343
4444
4545 func u (r) = valueOrElse(getInteger(e, r), 0)
4646
4747
4848 func v (r) = valueOrElse(getBoolean(this, r), false)
4949
5050
5151 func w (x) = ("user_status_" + x)
5252
5353
5454 func y (x,z) = ((("art_date_" + z) + "_") + x)
5555
5656
5757 func A (x,z) = ((("art_name_" + z) + "_") + x)
5858
5959
6060 func B (x,z) = ((("art_desc_" + z) + "_") + x)
6161
6262
6363 func C (x,z) = ((("art_display_cid_" + z) + "_") + x)
6464
6565
6666 func D (x,z) = ((("art_maxmint_" + z) + "_") + x)
6767
6868
6969 func E (x,z) = ((("art_minprice_" + z) + "_") + x)
7070
7171
7272 func F (x,z) = ((("art_auctiontype_" + z) + "_") + x)
7373
7474
7575 func G (x,z) = ((("art_issued_" + z) + "_") + x)
7676
7777
7878 func H (x,z) = ((("art_onsale_" + z) + "_") + x)
7979
8080
8181 func I (x,z) = ((("art_tags_" + z) + "_") + x)
8282
8383
8484 func J (x,z) = ((("art_type_" + z) + "_") + x)
8585
8686
8787 func K (x,z) = ((("art_price_" + z) + "_") + x)
8888
8989
9090 func L (x,z) = ((("art_assetAccepted_" + z) + "_") + x)
9191
9292
9393 func M (x,N) = ((("get_hashbytxidaddr_" + N) + "_") + x)
9494
9595
9696 func O (P) = ("get_owner_by_hash_" + P)
9797
9898
9999 func Q (P,x) = ("get_txid_by_hash_owner_" + toBase58String(sha256_16Kb(toBytes((P + x)))))
100100
101101
102102 let R = s(("certification_fee_" + toBase58String(f)))
103103
104104 func S (T,U) = if ((size(T) == 0))
105105 then throw("Field cannot be is empty")
106106 else if ((size(T) > U))
107107 then throw((T + " is too long"))
108108 else true
109109
110110
111111 func V (x) = {
112112 let W = valueOrElse(getString(d, w(x)), m)
113113 if (if ((W == m))
114114 then true
115115 else (W == n))
116116 then "Register this account first with 'Account' tab"
117117 else if ((W == k))
118118 then "Account suspended"
119119 else if ((W == l))
120120 then "Account removed"
121121 else ""
122122 }
123123
124124
125125 func X (x,Y,Z,aa,ab) = {
126126 let ac = V(x)
127127 if ((ac != ""))
128128 then throw(ac)
129129 else if ((size(Y) == 0))
130130 then throw("Display CID cannot be empty")
131131 else if (!(S(Z, 100)))
132132 then throw("100 Char. max name")
133133 else if (!(S(aa, 1000)))
134134 then throw("1000 Char. max description")
135135 else if ((size(split(ab, ",")) > 5))
136136 then throw("5 tags max.")
137137 else ""
138138 }
139139
140140
141141 func ad (ae) = if ((size(ae.payments) == 0))
142142 then throw("No payment attached")
143143 else {
144144 let af = value(ae.payments[0])
145145 let ag = value(af.amount)
146146 $Tuple2(af, ag)
147147 }
148148
149149
150150 func ah (ae) = {
151151 let ai = ad(ae)
152152 let af = ai._1
153153 let ag = ai._2
154154 let aj = if (if (isDefined(af.assetId))
155155 then (af.assetId == f)
156156 else false)
157157 then af.assetId
158158 else throw("Only Sconex token accepted as transaction fee")
159159 if ((ag != R))
160160 then throw(("Payment amount should be " + toString(R)))
161161 else $Tuple2(ag, aj)
162162 }
163163
164164
165165 func ak (ae,al,am) = {
166166 let an = ad(ae)
167167 let af = an._1
168168 let ag = an._2
169169 let aj = if (!(isDefined(af.assetId)))
170170 then throw("Wrong asset id")
171171 else if (if ((size(al) > 0))
172172 then (toBase58String(value(af.assetId)) == al)
173173 else false)
174174 then af.assetId
175175 else throw("Wrong asset id")
176176 if (if ((aj == unit))
177177 then (al != "")
178178 else false)
179179 then throw("Wrong asset id")
180180 else if ((am != ag))
181181 then throw("Payment don't match")
182182 else $Tuple2(ag, aj)
183183 }
184184
185185
186186 func ao (aj) = if ((aj != toBase58String(f)))
187187 then throw("Only Sconex accepted")
188188 else true
189189
190190
191191 func ap (aj,aq) = {
192192 let ar = if (a)
193193 then 1
194194 else (R * 2)
195195 if (if (if ((aj == toBase58String(f)))
196196 then (ar > aq)
197197 else false)
198198 then (aq != 0)
199199 else false)
200200 then throw("Wrong minimum sell price")
201201 else true
202202 }
203203
204204
205205 func as (aj) = if ((aj == "WAVES"))
206206 then throw("Only sconex is accepted!")
207207 else fromBase58String(aj)
208208
209209
210210 func at (au) = {
211211 let av = q((au + "_OPEN"))
212212 if ((av == ""))
213213 then throw("Bid not found")
214214 else {
215215 let aw = split(av, "_")
216216 let ax = parseIntValue(aw[1])
217217 let ay = as(aw[0])
218218 if ((0 >= ax))
219219 then throw("Wrong amount")
220220 else $Tuple2(ax, ay)
221221 }
222222 }
223223
224224
225225 func az (ae) = if (!(i))
226226 then throw(j)
227227 else $Tuple3(toBase58String(ae.transactionId), toBase58String(ae.caller.bytes), lastBlock.timestamp)
228228
229229
230230 func aA (ae,aB,aC,aD) = if (if (if ((toBase58String(ae.caller.bytes) == aB))
231231 then (aC != "")
232232 else false)
233233 then (aD != "")
234234 else false)
235235 then true
236236 else false
237237
238238
239239 func aE (ae,aB,z,aF) = {
240240 let aG = (toBase58String(ae.caller.bytes) == aB)
241241 let aH = t("total_nft_issued")
242242 let aI = q(A(aB, z))
243243 if ((aI == ""))
244244 then throw("Art doesn't exist")
245245 else {
246246 let aJ = v(H(aB, z))
247247 let aK = t(G(aB, z))
248248 let am = if (aG)
249249 then (R * 2)
250250 else t(K(aB, z))
251251 let al = if (aG)
252252 then toBase58String(f)
253253 else q(L(aB, z))
254254 let aL = t(D(aB, z))
255255 if (if (if (!(aF))
256256 then !(aG)
257257 else false)
258258 then if (if ((0 >= am))
259259 then true
260260 else !(aJ))
261261 then true
262262 else (0 >= aL)
263263 else false)
264264 then throw("Art not for sale")
265265 else if (if (if (!(aF))
266266 then aG
267267 else false)
268268 then (0 >= aL)
269269 else false)
270270 then throw("Max issuable not set")
271271 else $Tuple7(aH, aI, aK, am, al, aL, aJ)
272272 }
273273 }
274274
275275
276276 func aM (ae,x,aB,z,aC,aD,al,am,aF) = {
277277 let ac = V(aB)
278278 if (if (aF)
279279 then (ac != "")
280280 else false)
281281 then throw(ac)
282282 else {
283283 let au = ((((((("bid_" + z) + "_") + aB) + "_") + aC) + "_") + aD)
284284 let aN = if (aF)
285285 then at(au)
286286 else ak(ae, al, am)
287287 let ag = aN._1
288288 let aj = aN._2
289289 $Tuple3(au, ag, aj)
290290 }
291291 }
292292
293293
294294 func aO (aB,aj,ag,aK,aL) = {
295295 let aP = u(aB)
296296 let aQ = if ((aP > height))
297297 then 0
298298 else if ((aj == f))
299299 then h
300300 else throw("Only Sconex is accepted!")
301301 let aR = fraction(ag, aQ, 100)
302302 let aS = (ag - aR)
303303 if ((aK == aL))
304304 then throw("Art sold out")
305305 else {
306306 let aT = (aK + 1)
307307 $Tuple3(aR, aS, aT)
308308 }
309309 }
310310
311311
312312 func aU (aB,z,aI,aT,aL,aH,x,aC,aD,ae,aJ) = {
313313 let aV = ((((((((("Creator: " + aB) + ",ArtID: ") + z) + ",Artwork name: ") + aI) + ",Issue: ") + toString(aT)) + "/") + toString(aL))
314314 let aW = Issue(("SA_" + toString((aH + 1))), aV, 1, 0, false)
315315 let aX = calculateAssetId(aW)
316316 let aY = if (if ((aT == aL))
317317 then true
318318 else !(aJ))
319319 then false
320320 else true
321321 let aZ = if (if (if ((x == aB))
322322 then (aC != "")
323323 else false)
324324 then (aD != "")
325325 else false)
326326 then addressFromStringValue(aC)
327327 else ae.caller
328328 $Tuple4(aW, aX, aY, aZ)
329329 }
330330
331331
332332 func ba (aj,au,bb) = {
333333 let bc = if (!(isDefined(aj)))
334334 then throw("Only sconex is accepted")
335335 else toBase58String(value(aj))
336336 let av = q((au + "_OPEN"))
337337 let bd = DeleteEntry((au + "_OPEN"))
338338 let be = StringEntry((au + "_CLOSED"), ((av + "_") + toString(bb)))
339339 $Tuple3(bc, bd, be)
340340 }
341341
342342
343343 func bf (ae,z,aB,aD,aC) = {
344344 let bg = az(ae)
345345 let bh = bg._1
346346 let x = bg._2
347347 let bb = bg._3
348348 let aF = aA(ae, aB, aC, aD)
349349 let bi = aE(ae, aB, z, aF)
350350 let aH = bi._1
351351 let aI = bi._2
352352 let aK = bi._3
353353 let am = bi._4
354354 let al = bi._5
355355 let aL = bi._6
356356 let aJ = bi._7
357357 let bj = aM(ae, x, aB, z, aC, aD, al, am, aF)
358358 let au = bj._1
359359 let ag = bj._2
360360 let aj = bj._3
361361 let bk = aO(aB, value(aj), ag, aK, aL)
362362 let aR = bk._1
363363 let aS = bk._2
364364 let aT = bk._3
365365 let bl = aU(aB, z, aI, aT, aL, aH, x, aC, aD, ae, aJ)
366366 let aW = bl._1
367367 let aX = bl._2
368368 let aY = bl._3
369369 let aZ = bl._4
370370 let bm = ba(aj, au, bb)
371371 let bc = bm._1
372372 let bd = bm._2
373373 let be = bm._3
374374 let bn = ((((((("art_sold_" + toString(aT)) + "_of_") + toString(aL)) + "_") + z) + "_") + aB)
375375 let bo = if (!(aF))
376376 then ((((((((((x + "_") + toString(bb)) + "_") + bh) + "_") + toString(am)) + "_") + al) + "_") + toBase58String(aX))
377377 else ((((((((((toString(aZ) + "_") + toString(bb)) + "_") + bh) + "_") + toString(ag)) + "_") + bc) + "_") + toBase58String(aX))
378378 let bp = StringEntry(bn, bo)
379379 let bq = [IntegerEntry(G(aB, z), aT), StringEntry(("nft_" + toBase58String(aX)), bn), IntegerEntry("total_nft_issued", (aH + 1)), BooleanEntry(H(aB, z), aY), aW, ScriptTransfer(Address(fromBase58String(aB)), aS, aj), ScriptTransfer(Address(fromBase58String(c)), aR, aj), ScriptTransfer(aZ, 1, aX)]
380380 if (aF)
381381 then (((bq :+ bp) :+ be) :+ bd)
382382 else bp :: bq
383383 }
384384
385385
386386 @Callable(ae)
387387 func addArtwork (P,Z,aa,ab,br,Y) = {
388388 let bs = az(ae)
389389 let z = bs._1
390390 let x = bs._2
391391 let bb = bs._3
392392 let bt = X(x, Y, Z, aa, ab)
393393 if ((bt != ""))
394394 then throw("Something went wrong!")
395395 else {
396396 let bu = ah(ae)
397397 let ag = bu._1
398398 let aj = bu._2
399399 if (!(isDefined(ag)))
400400 then throw("Something went wrong")
401401 else {
402402 let bv = q(Q(P, x))
403403 if ((bv != ""))
404404 then throw("You already added it")
405405 else {
406- let bw = q(O(Y))
406+ let bw = q(O(P))
407407 if ((bw != ""))
408408 then throw("Hash already registered")
409409 else [StringEntry(O(P), x), StringEntry(Q(P, x), z), IntegerEntry(y(x, z), bb), StringEntry(A(x, z), Z), StringEntry(B(x, z), aa), StringEntry(C(x, z), Y), StringEntry(J(x, z), br), StringEntry(I(x, z), ab), IntegerEntry(D(x, z), 0), IntegerEntry(G(x, z), 0), BooleanEntry(H(x, z), false), StringEntry(M(x, z), P), ScriptTransfer(Address(fromBase58String(c)), ag, aj)]
410410 }
411411 }
412412 }
413413 }
414414
415415
416416
417417 @Callable(ae)
418418 func sellArtwork (z,aq,bx,aj,by,bz) = {
419419 let bA = az(ae)
420420 let bh = bA._1
421421 let x = bA._2
422422 let aI = q(A(x, z))
423423 if (containsElement([o, p], by))
424424 then throw("We dont know this auction type")
425425 else if (containsElement([o, p], by))
426426 then throw("We didnt implement this auction type yet")
427427 else if ((aI == ""))
428428 then throw("This art doesn't match your account")
429429 else {
430430 let bB = t(("current_bidamount_" + z))
431431 if (!(ao(aj)))
432432 then throw("Something went wrong!")
433433 else if (!(ap(aj, aq)))
434434 then throw("Something went wrong!")
435435 else {
436436 let ac = V(x)
437437 if ((ac != ""))
438438 then throw(ac)
439439 else {
440440 let aK = t(G(x, z))
441441 let aL = t(D(x, z))
442442 if ((bx > 10))
443443 then throw("10 editions max per artwork")
444444 else if (if ((aK != 0))
445445 then (aK == aL)
446446 else false)
447447 then throw("Max edition reached.")
448448 else if (if ((aK > 0))
449449 then (aL != bx)
450450 else false)
451451 then throw("Cannot change maximum issuable anymore")
452452 else if (if ((bB > 0))
453453 then (aL != bx)
454454 else false)
455455 then throw("Cannot change maximum issuable with active orders")
456456 else {
457457 let aY = if (if ((aq > 0))
458458 then (bx > 0)
459459 else false)
460460 then true
461461 else false
462462 [BooleanEntry(H(x, z), aY), IntegerEntry(K(x, z), aq), IntegerEntry(D(x, z), bx), IntegerEntry(E(x, z), bz), StringEntry(L(x, z), aj), StringEntry(F(x, z), by)]
463463 }
464464 }
465465 }
466466 }
467467 }
468468
469469
470470
471471 @Callable(ae)
472472 func buyArtwork (z,aB) = bf(ae, z, aB, "", "")
473473
474474
475475
476476 @Callable(ae)
477477 func deleteEntry (bC) = {
478478 let x = toString(addressFromPublicKey(ae.callerPublicKey))
479479 if ((x == g))
480480 then [DeleteEntry(bC)]
481481 else throw("no")
482482 }
483483
484484
485485
486486 @Callable(ae)
487487 func setBid (z,aB) = {
488488 let bD = az(ae)
489489 let bh = bD._1
490490 let x = bD._2
491491 let bb = bD._3
492492 let bE = ad(ae)
493493 let af = bE._1
494494 let ag = bE._2
495495 let aj = if (!(isDefined(af.assetId)))
496496 then throw("Only sconex is accepted!")
497497 else toBase58String(value(af.assetId))
498498 let bB = t(("current_bidamount_" + z))
499499 if (!(ao(aj)))
500500 then throw("asset not accepted")
501501 else if (!(ap(aj, ag)))
502502 then throw("Wrong min sell")
503503 else {
504504 let aK = t(G(aB, z))
505505 let aL = t(D(aB, z))
506506 if ((0 >= aL))
507507 then throw("No max edition set for this artwork")
508508 else if ((aK >= aL))
509509 then throw("Sold out, you cannot bid")
510510 else [StringEntry((((((((("bid_" + z) + "_") + aB) + "_") + x) + "_") + bh) + "_OPEN"), ((((aj + "_") + toString(ag)) + "_") + toString(bb))), IntegerEntry(("current_bidamount_" + z), (bB + 1))]
511511 }
512512 }
513513
514514
515515
516516 @Callable(ae)
517517 func acceptBid (z,aB,aD,aC) = {
518518 let x = toBase58String(ae.caller.bytes)
519519 if ((x != aB))
520520 then throw("You cannot do this action")
521521 else bf(ae, z, aB, aD, aC)
522522 }
523523
524524
525525
526526 @Callable(ae)
527527 func cancelBid (z,aB,aD) = {
528528 let bF = az(ae)
529529 let bh = bF._1
530530 let x = bF._2
531531 let bb = bF._3
532532 let bB = t(("current_bidamount_" + z))
533533 let au = ((((((("bid_" + z) + "_") + aB) + "_") + x) + "_") + aD)
534534 let av = q((au + "_OPEN"))
535535 if ((av == ""))
536536 then throw("Bid not found")
537537 else {
538538 let aw = split(av, "_")
539539 let aj = as(aw[0])
540540 let bG = "CANCELED"
541541 [DeleteEntry((au + "_OPEN")), StringEntry(((au + "_") + bG), ((av + "_") + toString(bb))), IntegerEntry(("current_bidamount_" + z), (bB - 1)), ScriptTransfer(Address(fromBase58String(x)), parseIntValue(aw[1]), aj)]
542542 }
543543 }
544544
545545

github/deemru/w8io/026f985 
53.74 ms