tx · GTL2xHDPwwJYgNaiNU1p2mozUSJ5otV5cD8UYDAeE5MD 3MrGaZVRhknEGfHJ19ttUPNnDRoFqcHhVN7: -0.01500000 Waves 2023.03.19 14:34 [2496841] smart account 3MrGaZVRhknEGfHJ19ttUPNnDRoFqcHhVN7 > SELF 0.00000000 Waves
{ "type": 13, "id": "GTL2xHDPwwJYgNaiNU1p2mozUSJ5otV5cD8UYDAeE5MD", "fee": 1500000, "feeAssetId": null, "timestamp": 1679225707581, "version": 2, "chainId": 84, "sender": "3MrGaZVRhknEGfHJ19ttUPNnDRoFqcHhVN7", "senderPublicKey": "CrHxACS7bWTh8cgmgqstvybmgMqR9KtDryGFt5svZhBW", "proofs": [ "A1tcbB8obg4L4ieiXVb7nHneMhFCZEwzCQeK79pqKWjcEoh9SYuPT6zG99zRzFsWks5eKZmM3GRy6y1EpNKMMxi" ], "script": "base64:BgIkCAISBwoFGBgBAQgSBAoCGBgSBQoDCBgYEgQKAggIEgQKAggIGAAIa0pzb25SZXMCB2pzb25SZXMABXF1b3RlCQCwCQEBASIBCW1ha2VGaWVsZAEJbmV4dFZhbHVlAwcJAKwCAgkArAICCQCsAgIJAKwCAgkArAICBQVxdW90ZQgFCW5leHRWYWx1ZQJfMQUFcXVvdGUCAToIBQluZXh0VmFsdWUCXzICASwJAKwCAgkArAICCQCsAgIJAKwCAgkArAICCQCsAgIJAKwCAgUFcXVvdGUIBQluZXh0VmFsdWUCXzEFBXF1b3RlAgE6BQVxdW90ZQgFCW5leHRWYWx1ZQJfMgUFcXVvdGUCASwBD3JlZHVjZXJNYWtlSlNPTgIFYWNjdW0JbmV4dFZhbHVlCQCsAgIFBWFjY3VtCQEJbWFrZUZpZWxkAQUJbmV4dFZhbHVlAQ9pdGVyYXRlTWFrZUpTT04DBnBhcmFtcwNyZXMGbGVuZ3RoAwkAAAIFBmxlbmd0aAAACQACAQINRW1wdHkgIHBhcmFtcwMJAAACBQZsZW5ndGgAAQoAAiRsBQZwYXJhbXMKAAIkc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gURZGVsZXRlZFZhbHVlQnlLZXkFB25ld0pzb24AQYqAnQ==", "height": 2496841, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: BLcVMsP9hQnpMEU4FEG4U8LA5kVtA4dtvPq3dLN9Hffd Next: 35EQnvvnJSHaLV9z2uNc4UgRNYjPwsR8o47Hid53sXvS Diff:
Old | New | Differences | |
---|---|---|---|
377 | 377 | let aX = split(aW, ",") | |
378 | 378 | let aY = size(aX) | |
379 | 379 | let aZ = if (contains(aV, "{")) | |
380 | - | then ( let k = aX | |
381 | - | let l = size(k) | |
382 | - | let m = $Tuple6("", 0, 0, 0, aY, false) | |
383 | - | func n (o,p) = if ((p >= l)) | |
384 | - | then o | |
385 | - | else aE(o, k[p]) | |
380 | + | then { | |
381 | + | let ba = { | |
382 | + | let k = aX | |
383 | + | let l = size(k) | |
384 | + | let m = $Tuple7(ae, 0, 0, 0, 0, 0, false) | |
385 | + | func n (o,p) = if ((p >= l)) | |
386 | + | then o | |
387 | + | else ai(o, k[p]) | |
386 | 388 | ||
387 | - | func q (o,p) = if ((p >= l)) | |
388 | - | then o | |
389 | - | else throw("List size exceeds 100") | |
389 | + | func q (o,p) = if ((p >= l)) | |
390 | + | then o | |
391 | + | else throw("List size exceeds 100") | |
390 | 392 | ||
391 | - | q(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(m, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100))._1 | |
393 | + | q(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(m, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100) | |
394 | + | } | |
395 | + | let bb = ba._1 | |
396 | + | let al = ba._2 | |
397 | + | let am = ba._3 | |
398 | + | let bc = ba._4 | |
399 | + | let bd = ba._5 | |
400 | + | ( let k = aX | |
401 | + | let l = size(k) | |
402 | + | let m = $Tuple5("", 0, bc, bd, false) | |
403 | + | func be (o,p) = if ((p >= l)) | |
404 | + | then o | |
405 | + | else az(o, k[p]) | |
406 | + | ||
407 | + | func bf (o,p) = if ((p >= l)) | |
408 | + | then o | |
409 | + | else throw("List size exceeds 100") | |
410 | + | ||
411 | + | bf(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(m, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100))._1 | |
412 | + | } | |
392 | 413 | else aV | |
393 | - | let ba = ( let k = aX | |
394 | - | let l = size(k) | |
395 | - | let m = $Tuple5("", 0, 1, 13, false) | |
396 | - | func n (o,p) = if ((p >= l)) | |
397 | - | then o | |
398 | - | else az(o, k[p]) | |
399 | - | ||
400 | - | func q (o,p) = if ((p >= l)) | |
401 | - | then o | |
402 | - | else throw("List size exceeds 100") | |
403 | - | ||
404 | - | q(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(m, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100))._1 | |
405 | - | let bb = if (((size(ad) - ah) == 1)) | |
414 | + | let bg = if (((size(ad) - ah) == 1)) | |
406 | 415 | then (take(ad, (ag - 2)) + drop(ad, ah)) | |
407 | 416 | else (take(ad, (ag - 1)) + drop(ad, (ah + 1))) | |
408 | - | $Tuple2( | |
417 | + | $Tuple2(aZ, bg) | |
409 | 418 | } | |
410 | 419 | ||
411 | 420 | ||
412 | 421 | @Callable(aI) | |
413 | - | func makeJSONInternal ( | |
422 | + | func makeJSONInternal (bh,bi,bj,bk,i) = valueOrElse(N(aI.caller), if ((bj > 0)) | |
414 | 423 | then { | |
415 | - | let | |
416 | - | let aa = | |
417 | - | let | |
418 | - | let | |
419 | - | let ab = | |
420 | - | let | |
424 | + | let bl = r(bh) | |
425 | + | let aa = bl._1 | |
426 | + | let bm = bl._2 | |
427 | + | let bn = r(bi) | |
428 | + | let ab = bn._1 | |
429 | + | let bo = bn._2 | |
421 | 430 | let h = Z(aa, ab, 10) | |
422 | - | let | |
423 | - | let aB = invoke(this, "makeJSONInternal", [ | |
431 | + | let bp = g(h, i, 10) | |
432 | + | let aB = invoke(this, "makeJSONInternal", [bm, bo, (bj - 1), bk, bp], nil) | |
424 | 433 | if ((aB == aB)) | |
425 | 434 | then $Tuple2(nil, aB) | |
426 | 435 | else throw("Strict value is not equal to itself.") | |
427 | 436 | } | |
428 | - | else if (( | |
437 | + | else if ((bk != 0)) | |
429 | 438 | then { | |
430 | - | let h = Z( | |
431 | - | let | |
432 | - | $Tuple2(nil, (("{" + dropRight( | |
439 | + | let h = Z(bh, bi, bk) | |
440 | + | let bp = g(h, i, bk) | |
441 | + | $Tuple2(nil, (("{" + dropRight(bp, 1)) + "}")) | |
433 | 442 | } | |
434 | 443 | else $Tuple2(nil, (("{" + dropRight(i, 1)) + "}"))) | |
435 | 444 | ||
436 | 445 | ||
437 | 446 | ||
438 | 447 | @Callable(aI) | |
439 | - | func makeJSON ( | |
448 | + | func makeJSON (bh,bi) = if ((size(bh) != size(bi))) | |
440 | 449 | then throw("ArrayKeys and ArrayValues length must be equal") | |
441 | 450 | else { | |
442 | - | let | |
443 | - | let | |
444 | - | let | |
445 | - | let i = invoke(this, "makeJSONInternal", [ | |
451 | + | let bq = size(bh) | |
452 | + | let bj = fraction(1, bq, 10) | |
453 | + | let bk = (bq % 10) | |
454 | + | let i = invoke(this, "makeJSONInternal", [bh, bi, bj, bk, ""], nil) | |
446 | 455 | if ((i == i)) | |
447 | 456 | then $Tuple2(nil, i) | |
448 | 457 | else throw("Strict value is not equal to itself.") | |
451 | 460 | ||
452 | 461 | ||
453 | 462 | @Callable(aI) | |
454 | - | func addToJSON (ad, | |
463 | + | func addToJSON (ad,bh,bi) = if ((size(bh) != size(bi))) | |
455 | 464 | then throw("ArrayKeys and ArrayValues length must be equal") | |
456 | 465 | else { | |
457 | - | let | |
458 | - | let | |
459 | - | let | |
460 | - | let i = invoke(this, "makeJSONInternal", [ | |
466 | + | let bq = size(bh) | |
467 | + | let bj = fraction(1, bq, 10) | |
468 | + | let bk = (bq % 10) | |
469 | + | let i = invoke(this, "makeJSONInternal", [bh, bi, bj, bk, (drop(dropRight(ad, 1), 1) + ",")], nil) | |
461 | 470 | if ((i == i)) | |
462 | 471 | then $Tuple2(nil, i) | |
463 | 472 | else throw("Strict value is not equal to itself.") | |
467 | 476 | ||
468 | 477 | @Callable(aI) | |
469 | 478 | func readByJSONKey (ad,ae) = { | |
470 | - | let | |
471 | - | $Tuple2([StringEntry("valueByKey", | |
479 | + | let br = aR(ad, ae) | |
480 | + | $Tuple2([StringEntry("valueByKey", br)], br) | |
472 | 481 | } | |
473 | 482 | ||
474 | 483 | ||
475 | 484 | ||
476 | 485 | @Callable(aI) | |
477 | 486 | func deleteByJSONKey (ad,ae) = { | |
478 | - | let | |
479 | - | let | |
480 | - | let | |
481 | - | $Tuple2([StringEntry("deletedValue", | |
487 | + | let bs = aT(ad, ae) | |
488 | + | let bt = bs._1 | |
489 | + | let bg = bs._2 | |
490 | + | $Tuple2([StringEntry("deletedValue", bt), StringEntry(a, bg)], $Tuple2(bt, bg)) | |
482 | 491 | } | |
483 | 492 | ||
484 | 493 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = "jsonRes" | |
5 | 5 | ||
6 | 6 | let b = toUtf8String(base58'b') | |
7 | 7 | ||
8 | 8 | func c (d) = if (false) | |
9 | 9 | then (((((b + d._1) + b) + ":") + d._2) + ",") | |
10 | 10 | else (((((((b + d._1) + b) + ":") + b) + d._2) + b) + ",") | |
11 | 11 | ||
12 | 12 | ||
13 | 13 | func e (f,d) = (f + c(d)) | |
14 | 14 | ||
15 | 15 | ||
16 | 16 | func g (h,i,j) = if ((j == 0)) | |
17 | 17 | then throw("Empty params") | |
18 | 18 | else if ((j == 1)) | |
19 | 19 | then { | |
20 | 20 | let k = h | |
21 | 21 | let l = size(k) | |
22 | 22 | let m = i | |
23 | 23 | func n (o,p) = if ((p >= l)) | |
24 | 24 | then o | |
25 | 25 | else e(o, k[p]) | |
26 | 26 | ||
27 | 27 | func q (o,p) = if ((p >= l)) | |
28 | 28 | then o | |
29 | 29 | else throw("List size exceeds 1") | |
30 | 30 | ||
31 | 31 | q(n(m, 0), 1) | |
32 | 32 | } | |
33 | 33 | else if ((j == 2)) | |
34 | 34 | then { | |
35 | 35 | let k = h | |
36 | 36 | let l = size(k) | |
37 | 37 | let m = i | |
38 | 38 | func n (o,p) = if ((p >= l)) | |
39 | 39 | then o | |
40 | 40 | else e(o, k[p]) | |
41 | 41 | ||
42 | 42 | func q (o,p) = if ((p >= l)) | |
43 | 43 | then o | |
44 | 44 | else throw("List size exceeds 2") | |
45 | 45 | ||
46 | 46 | q(n(n(m, 0), 1), 2) | |
47 | 47 | } | |
48 | 48 | else if ((j == 3)) | |
49 | 49 | then { | |
50 | 50 | let k = h | |
51 | 51 | let l = size(k) | |
52 | 52 | let m = i | |
53 | 53 | func n (o,p) = if ((p >= l)) | |
54 | 54 | then o | |
55 | 55 | else e(o, k[p]) | |
56 | 56 | ||
57 | 57 | func q (o,p) = if ((p >= l)) | |
58 | 58 | then o | |
59 | 59 | else throw("List size exceeds 3") | |
60 | 60 | ||
61 | 61 | q(n(n(n(m, 0), 1), 2), 3) | |
62 | 62 | } | |
63 | 63 | else if ((j == 4)) | |
64 | 64 | then { | |
65 | 65 | let k = h | |
66 | 66 | let l = size(k) | |
67 | 67 | let m = i | |
68 | 68 | func n (o,p) = if ((p >= l)) | |
69 | 69 | then o | |
70 | 70 | else e(o, k[p]) | |
71 | 71 | ||
72 | 72 | func q (o,p) = if ((p >= l)) | |
73 | 73 | then o | |
74 | 74 | else throw("List size exceeds 4") | |
75 | 75 | ||
76 | 76 | q(n(n(n(n(m, 0), 1), 2), 3), 4) | |
77 | 77 | } | |
78 | 78 | else if ((j == 5)) | |
79 | 79 | then { | |
80 | 80 | let k = h | |
81 | 81 | let l = size(k) | |
82 | 82 | let m = i | |
83 | 83 | func n (o,p) = if ((p >= l)) | |
84 | 84 | then o | |
85 | 85 | else e(o, k[p]) | |
86 | 86 | ||
87 | 87 | func q (o,p) = if ((p >= l)) | |
88 | 88 | then o | |
89 | 89 | else throw("List size exceeds 5") | |
90 | 90 | ||
91 | 91 | q(n(n(n(n(n(m, 0), 1), 2), 3), 4), 5) | |
92 | 92 | } | |
93 | 93 | else if ((j == 6)) | |
94 | 94 | then { | |
95 | 95 | let k = h | |
96 | 96 | let l = size(k) | |
97 | 97 | let m = i | |
98 | 98 | func n (o,p) = if ((p >= l)) | |
99 | 99 | then o | |
100 | 100 | else e(o, k[p]) | |
101 | 101 | ||
102 | 102 | func q (o,p) = if ((p >= l)) | |
103 | 103 | then o | |
104 | 104 | else throw("List size exceeds 6") | |
105 | 105 | ||
106 | 106 | q(n(n(n(n(n(n(m, 0), 1), 2), 3), 4), 5), 6) | |
107 | 107 | } | |
108 | 108 | else if ((j == 7)) | |
109 | 109 | then { | |
110 | 110 | let k = h | |
111 | 111 | let l = size(k) | |
112 | 112 | let m = i | |
113 | 113 | func n (o,p) = if ((p >= l)) | |
114 | 114 | then o | |
115 | 115 | else e(o, k[p]) | |
116 | 116 | ||
117 | 117 | func q (o,p) = if ((p >= l)) | |
118 | 118 | then o | |
119 | 119 | else throw("List size exceeds 7") | |
120 | 120 | ||
121 | 121 | q(n(n(n(n(n(n(n(m, 0), 1), 2), 3), 4), 5), 6), 7) | |
122 | 122 | } | |
123 | 123 | else if ((j == 8)) | |
124 | 124 | then { | |
125 | 125 | let k = h | |
126 | 126 | let l = size(k) | |
127 | 127 | let m = i | |
128 | 128 | func n (o,p) = if ((p >= l)) | |
129 | 129 | then o | |
130 | 130 | else e(o, k[p]) | |
131 | 131 | ||
132 | 132 | func q (o,p) = if ((p >= l)) | |
133 | 133 | then o | |
134 | 134 | else throw("List size exceeds 8") | |
135 | 135 | ||
136 | 136 | q(n(n(n(n(n(n(n(n(m, 0), 1), 2), 3), 4), 5), 6), 7), 8) | |
137 | 137 | } | |
138 | 138 | else if ((j == 9)) | |
139 | 139 | then { | |
140 | 140 | let k = h | |
141 | 141 | let l = size(k) | |
142 | 142 | let m = i | |
143 | 143 | func n (o,p) = if ((p >= l)) | |
144 | 144 | then o | |
145 | 145 | else e(o, k[p]) | |
146 | 146 | ||
147 | 147 | func q (o,p) = if ((p >= l)) | |
148 | 148 | then o | |
149 | 149 | else throw("List size exceeds 9") | |
150 | 150 | ||
151 | 151 | q(n(n(n(n(n(n(n(n(n(m, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9) | |
152 | 152 | } | |
153 | 153 | else if ((j == 10)) | |
154 | 154 | then { | |
155 | 155 | let k = h | |
156 | 156 | let l = size(k) | |
157 | 157 | let m = i | |
158 | 158 | func n (o,p) = if ((p >= l)) | |
159 | 159 | then o | |
160 | 160 | else e(o, k[p]) | |
161 | 161 | ||
162 | 162 | func q (o,p) = if ((p >= l)) | |
163 | 163 | then o | |
164 | 164 | else throw("List size exceeds 10") | |
165 | 165 | ||
166 | 166 | q(n(n(n(n(n(n(n(n(n(n(m, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
167 | 167 | } | |
168 | 168 | else throw("The max number of parameters exceeded") | |
169 | 169 | ||
170 | 170 | ||
171 | 171 | func r (s) = { | |
172 | 172 | let t = s[0] | |
173 | 173 | let u = s[1] | |
174 | 174 | let v = s[2] | |
175 | 175 | let w = s[3] | |
176 | 176 | let x = s[4] | |
177 | 177 | let y = s[5] | |
178 | 178 | let z = s[6] | |
179 | 179 | let A = s[7] | |
180 | 180 | let B = s[8] | |
181 | 181 | let C = s[9] | |
182 | 182 | let D = removeByIndex(s, 0) | |
183 | 183 | let E = removeByIndex(D, 0) | |
184 | 184 | let F = removeByIndex(E, 0) | |
185 | 185 | let G = removeByIndex(F, 0) | |
186 | 186 | let H = removeByIndex(G, 0) | |
187 | 187 | let I = removeByIndex(H, 0) | |
188 | 188 | let J = removeByIndex(I, 0) | |
189 | 189 | let K = removeByIndex(J, 0) | |
190 | 190 | let L = removeByIndex(K, 0) | |
191 | 191 | let M = removeByIndex(L, 0) | |
192 | 192 | $Tuple2([t, u, v, w, x, y, z, A, B, C], M) | |
193 | 193 | } | |
194 | 194 | ||
195 | 195 | ||
196 | 196 | func N (O) = if ((O == this)) | |
197 | 197 | then unit | |
198 | 198 | else throw("Only internal call") | |
199 | 199 | ||
200 | 200 | ||
201 | 201 | func P (s,F) = [$Tuple2(s[0], F[0])] | |
202 | 202 | ||
203 | 203 | ||
204 | 204 | func Q (s,F) = [$Tuple2(s[0], F[0]), $Tuple2(s[1], F[1])] | |
205 | 205 | ||
206 | 206 | ||
207 | 207 | func R (s,F) = [$Tuple2(s[0], F[0]), $Tuple2(s[1], F[1]), $Tuple2(s[2], F[2])] | |
208 | 208 | ||
209 | 209 | ||
210 | 210 | func S (s,F) = [$Tuple2(s[0], F[0]), $Tuple2(s[1], F[1]), $Tuple2(s[2], F[2]), $Tuple2(s[3], F[3])] | |
211 | 211 | ||
212 | 212 | ||
213 | 213 | func T (s,F) = [$Tuple2(s[0], F[0]), $Tuple2(s[1], F[1]), $Tuple2(s[2], F[2]), $Tuple2(s[3], F[3]), $Tuple2(s[4], F[4])] | |
214 | 214 | ||
215 | 215 | ||
216 | 216 | func U (s,F) = [$Tuple2(s[0], F[0]), $Tuple2(s[1], F[1]), $Tuple2(s[2], F[2]), $Tuple2(s[3], F[3]), $Tuple2(s[4], F[4]), $Tuple2(s[5], F[5])] | |
217 | 217 | ||
218 | 218 | ||
219 | 219 | func V (s,F) = [$Tuple2(s[0], F[0]), $Tuple2(s[1], F[1]), $Tuple2(s[2], F[2]), $Tuple2(s[3], F[3]), $Tuple2(s[4], F[4]), $Tuple2(s[5], F[5]), $Tuple2(s[6], F[6])] | |
220 | 220 | ||
221 | 221 | ||
222 | 222 | func W (s,F) = [$Tuple2(s[0], F[0]), $Tuple2(s[1], F[1]), $Tuple2(s[2], F[2]), $Tuple2(s[3], F[3]), $Tuple2(s[4], F[4]), $Tuple2(s[5], F[5]), $Tuple2(s[6], F[6]), $Tuple2(s[7], F[7])] | |
223 | 223 | ||
224 | 224 | ||
225 | 225 | func X (s,F) = [$Tuple2(s[0], F[0]), $Tuple2(s[1], F[1]), $Tuple2(s[2], F[2]), $Tuple2(s[3], F[3]), $Tuple2(s[4], F[4]), $Tuple2(s[5], F[5]), $Tuple2(s[6], F[6]), $Tuple2(s[7], F[7]), $Tuple2(s[8], F[8])] | |
226 | 226 | ||
227 | 227 | ||
228 | 228 | func Y (s,F) = [$Tuple2(s[0], F[0]), $Tuple2(s[1], F[1]), $Tuple2(s[2], F[2]), $Tuple2(s[3], F[3]), $Tuple2(s[4], F[4]), $Tuple2(s[5], F[5]), $Tuple2(s[6], F[6]), $Tuple2(s[7], F[7]), $Tuple2(s[8], F[8]), $Tuple2(s[9], F[9])] | |
229 | 229 | ||
230 | 230 | ||
231 | 231 | func Z (aa,ab,j) = if ((j == 0)) | |
232 | 232 | then throw("Empty params") | |
233 | 233 | else if ((j == 1)) | |
234 | 234 | then P(aa, ab) | |
235 | 235 | else if ((j == 2)) | |
236 | 236 | then Q(aa, ab) | |
237 | 237 | else if ((j == 3)) | |
238 | 238 | then R(aa, ab) | |
239 | 239 | else if ((j == 4)) | |
240 | 240 | then S(aa, ab) | |
241 | 241 | else if ((j == 5)) | |
242 | 242 | then T(aa, ab) | |
243 | 243 | else if ((j == 6)) | |
244 | 244 | then U(aa, ab) | |
245 | 245 | else if ((j == 7)) | |
246 | 246 | then V(aa, ab) | |
247 | 247 | else if ((j == 8)) | |
248 | 248 | then W(aa, ab) | |
249 | 249 | else if ((j == 9)) | |
250 | 250 | then X(aa, ab) | |
251 | 251 | else if ((j == 10)) | |
252 | 252 | then Y(aa, ab) | |
253 | 253 | else throw("Max number of parameters exceeded") | |
254 | 254 | ||
255 | 255 | ||
256 | 256 | func ac (ad,ae) = { | |
257 | 257 | let af = size(ae) | |
258 | 258 | let ag = value(indexOf(ad, ae)) | |
259 | 259 | let ah = valueOrElse(indexOf(ad, ",", ag), value(indexOf(ad, "}", ag))) | |
260 | 260 | $Tuple3(af, ag, ah) | |
261 | 261 | } | |
262 | 262 | ||
263 | 263 | ||
264 | 264 | func ai (f,aj) = { | |
265 | 265 | let ak = f | |
266 | 266 | let ae = ak._1 | |
267 | 267 | let al = ak._2 | |
268 | 268 | let am = ak._3 | |
269 | 269 | let ag = ak._4 | |
270 | 270 | let ah = ak._5 | |
271 | 271 | let an = ak._6 | |
272 | 272 | let ao = ak._7 | |
273 | 273 | if (!(ao)) | |
274 | 274 | then { | |
275 | 275 | let ap = split(aj, ":") | |
276 | 276 | let aq = (size(split(aj, "{")) - 1) | |
277 | 277 | let ar = (size(split(aj, "}")) - 1) | |
278 | 278 | let as = (aq - ar) | |
279 | 279 | let at = if (if ((al == am)) | |
280 | 280 | then (ap[0] == ae) | |
281 | 281 | else false) | |
282 | 282 | then $Tuple2(an, true) | |
283 | 283 | else $Tuple2(0, false) | |
284 | 284 | let au = at._1 | |
285 | 285 | let av = at._2 | |
286 | 286 | let aw = if (if ((al == am)) | |
287 | 287 | then (ap[0] == ae) | |
288 | 288 | else false) | |
289 | 289 | then $Tuple2(an, true) | |
290 | 290 | else $Tuple2(0, false) | |
291 | 291 | let ax = aw._1 | |
292 | 292 | let ay = aw._2 | |
293 | 293 | $Tuple7(ae, al, (am + as), if (av) | |
294 | 294 | then au | |
295 | 295 | else ag, if (ay) | |
296 | 296 | then ax | |
297 | 297 | else ah, (an + 1), if (ay) | |
298 | 298 | then ay | |
299 | 299 | else ao) | |
300 | 300 | } | |
301 | 301 | else f | |
302 | 302 | } | |
303 | 303 | ||
304 | 304 | ||
305 | 305 | func az (f,aj) = { | |
306 | 306 | let aA = f | |
307 | 307 | let aB = aA._1 | |
308 | 308 | let an = aA._2 | |
309 | 309 | let ag = aA._3 | |
310 | 310 | let ah = aA._4 | |
311 | 311 | let ao = aA._5 | |
312 | 312 | if (!(ao)) | |
313 | 313 | then { | |
314 | 314 | let aC = if (if ((an >= ag)) | |
315 | 315 | then (ah >= an) | |
316 | 316 | else false) | |
317 | 317 | then ((aB + ",") + aj) | |
318 | 318 | else aB | |
319 | 319 | let aD = (an > ah) | |
320 | 320 | $Tuple5(aC, (an + 1), ag, ah, aD) | |
321 | 321 | } | |
322 | 322 | else f | |
323 | 323 | } | |
324 | 324 | ||
325 | 325 | ||
326 | 326 | func aE (f,aj) = { | |
327 | 327 | let aF = f | |
328 | 328 | let aB = aF._1 | |
329 | 329 | let aG = aF._2 | |
330 | 330 | let aH = aF._3 | |
331 | 331 | let aI = aF._4 | |
332 | 332 | let aJ = aF._5 | |
333 | 333 | let ao = aF._6 | |
334 | 334 | if (if (!(ao)) | |
335 | 335 | then true | |
336 | 336 | else (aJ > aI)) | |
337 | 337 | then { | |
338 | 338 | let aK = if (contains(aj, "{")) | |
339 | 339 | then { | |
340 | 340 | let aL = (size(split(aj, "{")) - 1) | |
341 | 341 | $Tuple2(aL, 0) | |
342 | 342 | } | |
343 | 343 | else if (contains(aj, "}")) | |
344 | 344 | then { | |
345 | 345 | let aM = (size(split(aj, "}")) - 1) | |
346 | 346 | $Tuple2(0, aM) | |
347 | 347 | } | |
348 | 348 | else $Tuple2(0, 0) | |
349 | 349 | let aN = aK._1 | |
350 | 350 | let aO = aK._2 | |
351 | 351 | let aP = (aG + aN) | |
352 | 352 | let aQ = (aH + aO) | |
353 | 353 | if ((aP == aQ)) | |
354 | 354 | then $Tuple6(aB, aP, aQ, (aI + 1), aJ, true) | |
355 | 355 | else $Tuple6(((aB + ",") + aj), aP, aQ, (aI + 1), aJ, false) | |
356 | 356 | } | |
357 | 357 | else f | |
358 | 358 | } | |
359 | 359 | ||
360 | 360 | ||
361 | 361 | func aR (ad,ae) = { | |
362 | 362 | let aS = ac(ad, ae) | |
363 | 363 | let af = aS._1 | |
364 | 364 | let ag = aS._2 | |
365 | 365 | let ah = aS._3 | |
366 | 366 | drop(take(ad, (ah - 1)), ((ag + af) + 3)) | |
367 | 367 | } | |
368 | 368 | ||
369 | 369 | ||
370 | 370 | func aT (ad,ae) = { | |
371 | 371 | let aU = ac(ad, ae) | |
372 | 372 | let af = aU._1 | |
373 | 373 | let ag = aU._2 | |
374 | 374 | let ah = aU._3 | |
375 | 375 | let aV = drop(take(ad, (ah - 1)), ((ag + af) + 3)) | |
376 | 376 | let aW = dropRight(drop(ad, 2), 2) | |
377 | 377 | let aX = split(aW, ",") | |
378 | 378 | let aY = size(aX) | |
379 | 379 | let aZ = if (contains(aV, "{")) | |
380 | - | then ( let k = aX | |
381 | - | let l = size(k) | |
382 | - | let m = $Tuple6("", 0, 0, 0, aY, false) | |
383 | - | func n (o,p) = if ((p >= l)) | |
384 | - | then o | |
385 | - | else aE(o, k[p]) | |
380 | + | then { | |
381 | + | let ba = { | |
382 | + | let k = aX | |
383 | + | let l = size(k) | |
384 | + | let m = $Tuple7(ae, 0, 0, 0, 0, 0, false) | |
385 | + | func n (o,p) = if ((p >= l)) | |
386 | + | then o | |
387 | + | else ai(o, k[p]) | |
386 | 388 | ||
387 | - | func q (o,p) = if ((p >= l)) | |
388 | - | then o | |
389 | - | else throw("List size exceeds 100") | |
389 | + | func q (o,p) = if ((p >= l)) | |
390 | + | then o | |
391 | + | else throw("List size exceeds 100") | |
390 | 392 | ||
391 | - | q(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(m, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100))._1 | |
393 | + | q(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(m, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100) | |
394 | + | } | |
395 | + | let bb = ba._1 | |
396 | + | let al = ba._2 | |
397 | + | let am = ba._3 | |
398 | + | let bc = ba._4 | |
399 | + | let bd = ba._5 | |
400 | + | ( let k = aX | |
401 | + | let l = size(k) | |
402 | + | let m = $Tuple5("", 0, bc, bd, false) | |
403 | + | func be (o,p) = if ((p >= l)) | |
404 | + | then o | |
405 | + | else az(o, k[p]) | |
406 | + | ||
407 | + | func bf (o,p) = if ((p >= l)) | |
408 | + | then o | |
409 | + | else throw("List size exceeds 100") | |
410 | + | ||
411 | + | bf(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(be(m, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100))._1 | |
412 | + | } | |
392 | 413 | else aV | |
393 | - | let ba = ( let k = aX | |
394 | - | let l = size(k) | |
395 | - | let m = $Tuple5("", 0, 1, 13, false) | |
396 | - | func n (o,p) = if ((p >= l)) | |
397 | - | then o | |
398 | - | else az(o, k[p]) | |
399 | - | ||
400 | - | func q (o,p) = if ((p >= l)) | |
401 | - | then o | |
402 | - | else throw("List size exceeds 100") | |
403 | - | ||
404 | - | q(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(m, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100))._1 | |
405 | - | let bb = if (((size(ad) - ah) == 1)) | |
414 | + | let bg = if (((size(ad) - ah) == 1)) | |
406 | 415 | then (take(ad, (ag - 2)) + drop(ad, ah)) | |
407 | 416 | else (take(ad, (ag - 1)) + drop(ad, (ah + 1))) | |
408 | - | $Tuple2( | |
417 | + | $Tuple2(aZ, bg) | |
409 | 418 | } | |
410 | 419 | ||
411 | 420 | ||
412 | 421 | @Callable(aI) | |
413 | - | func makeJSONInternal ( | |
422 | + | func makeJSONInternal (bh,bi,bj,bk,i) = valueOrElse(N(aI.caller), if ((bj > 0)) | |
414 | 423 | then { | |
415 | - | let | |
416 | - | let aa = | |
417 | - | let | |
418 | - | let | |
419 | - | let ab = | |
420 | - | let | |
424 | + | let bl = r(bh) | |
425 | + | let aa = bl._1 | |
426 | + | let bm = bl._2 | |
427 | + | let bn = r(bi) | |
428 | + | let ab = bn._1 | |
429 | + | let bo = bn._2 | |
421 | 430 | let h = Z(aa, ab, 10) | |
422 | - | let | |
423 | - | let aB = invoke(this, "makeJSONInternal", [ | |
431 | + | let bp = g(h, i, 10) | |
432 | + | let aB = invoke(this, "makeJSONInternal", [bm, bo, (bj - 1), bk, bp], nil) | |
424 | 433 | if ((aB == aB)) | |
425 | 434 | then $Tuple2(nil, aB) | |
426 | 435 | else throw("Strict value is not equal to itself.") | |
427 | 436 | } | |
428 | - | else if (( | |
437 | + | else if ((bk != 0)) | |
429 | 438 | then { | |
430 | - | let h = Z( | |
431 | - | let | |
432 | - | $Tuple2(nil, (("{" + dropRight( | |
439 | + | let h = Z(bh, bi, bk) | |
440 | + | let bp = g(h, i, bk) | |
441 | + | $Tuple2(nil, (("{" + dropRight(bp, 1)) + "}")) | |
433 | 442 | } | |
434 | 443 | else $Tuple2(nil, (("{" + dropRight(i, 1)) + "}"))) | |
435 | 444 | ||
436 | 445 | ||
437 | 446 | ||
438 | 447 | @Callable(aI) | |
439 | - | func makeJSON ( | |
448 | + | func makeJSON (bh,bi) = if ((size(bh) != size(bi))) | |
440 | 449 | then throw("ArrayKeys and ArrayValues length must be equal") | |
441 | 450 | else { | |
442 | - | let | |
443 | - | let | |
444 | - | let | |
445 | - | let i = invoke(this, "makeJSONInternal", [ | |
451 | + | let bq = size(bh) | |
452 | + | let bj = fraction(1, bq, 10) | |
453 | + | let bk = (bq % 10) | |
454 | + | let i = invoke(this, "makeJSONInternal", [bh, bi, bj, bk, ""], nil) | |
446 | 455 | if ((i == i)) | |
447 | 456 | then $Tuple2(nil, i) | |
448 | 457 | else throw("Strict value is not equal to itself.") | |
449 | 458 | } | |
450 | 459 | ||
451 | 460 | ||
452 | 461 | ||
453 | 462 | @Callable(aI) | |
454 | - | func addToJSON (ad, | |
463 | + | func addToJSON (ad,bh,bi) = if ((size(bh) != size(bi))) | |
455 | 464 | then throw("ArrayKeys and ArrayValues length must be equal") | |
456 | 465 | else { | |
457 | - | let | |
458 | - | let | |
459 | - | let | |
460 | - | let i = invoke(this, "makeJSONInternal", [ | |
466 | + | let bq = size(bh) | |
467 | + | let bj = fraction(1, bq, 10) | |
468 | + | let bk = (bq % 10) | |
469 | + | let i = invoke(this, "makeJSONInternal", [bh, bi, bj, bk, (drop(dropRight(ad, 1), 1) + ",")], nil) | |
461 | 470 | if ((i == i)) | |
462 | 471 | then $Tuple2(nil, i) | |
463 | 472 | else throw("Strict value is not equal to itself.") | |
464 | 473 | } | |
465 | 474 | ||
466 | 475 | ||
467 | 476 | ||
468 | 477 | @Callable(aI) | |
469 | 478 | func readByJSONKey (ad,ae) = { | |
470 | - | let | |
471 | - | $Tuple2([StringEntry("valueByKey", | |
479 | + | let br = aR(ad, ae) | |
480 | + | $Tuple2([StringEntry("valueByKey", br)], br) | |
472 | 481 | } | |
473 | 482 | ||
474 | 483 | ||
475 | 484 | ||
476 | 485 | @Callable(aI) | |
477 | 486 | func deleteByJSONKey (ad,ae) = { | |
478 | - | let | |
479 | - | let | |
480 | - | let | |
481 | - | $Tuple2([StringEntry("deletedValue", | |
487 | + | let bs = aT(ad, ae) | |
488 | + | let bt = bs._1 | |
489 | + | let bg = bs._2 | |
490 | + | $Tuple2([StringEntry("deletedValue", bt), StringEntry(a, bg)], $Tuple2(bt, bg)) | |
482 | 491 | } | |
483 | 492 | ||
484 | 493 |
github/deemru/w8io/169f3d6 81.80 ms ◑