tx · CxTbrkd2oNUH2ko6LurrsKn49E5MVA31EnpiR1oAsp59 3N272hFk6FBTgLM5HqpYVcCVmMcSCrEma9T: -0.01000000 Waves 2023.06.22 20:36 [2634154] smart account 3N272hFk6FBTgLM5HqpYVcCVmMcSCrEma9T > SELF 0.00000000 Waves
{ "type": 13, "id": "CxTbrkd2oNUH2ko6LurrsKn49E5MVA31EnpiR1oAsp59", "fee": 1000000, "feeAssetId": null, "timestamp": 1687455429333, "version": 2, "chainId": 84, "sender": "3N272hFk6FBTgLM5HqpYVcCVmMcSCrEma9T", "senderPublicKey": "97sWz4UZWijkagGprhucQHR7b7nN6FfojMELnzuFEyY1", "proofs": [ "5w4EdYUzxHzMt3RNTzSFyUBkxAyBgW7bYwoNrkVqcPemRFdG4vbmpXZLXQYbymeveivvhcfwT62Xc8vbL8HR1tPb" ], "script": "base64:AAIFAAAAAAAAAAcIAhIDCgEYAAAABAAAAAAJY29sb3JMaXN0CQAETAAAAAICAAAABGFxdWEJAARMAAAAAgIAAAAFYmxhY2sJAARMAAAAAgIAAAAEYmx1ZQkABEwAAAACAgAAAAdmdWNoc2lhCQAETAAAAAICAAAABGdyYXkJAARMAAAAAgIAAAAFZ3JlZW4JAARMAAAAAgIAAAAEbGltZQkABEwAAAACAgAAAAZtYXJvb24JAARMAAAAAgIAAAAEbmF2eQkABEwAAAACAgAAAAVvbGl2ZQkABEwAAAACAgAAAAZwdXJwbGUJAARMAAAAAgIAAAADcmVkCQAETAAAAAICAAAABnNpbHZlcgkABEwAAAACAgAAAAR0ZWFsCQAETAAAAAICAAAABXdoaXRlCQAETAAAAAICAAAABnllbGxvdwUAAAADbmlsAQAAAAttYXBJbnRUb1N1bQAAAAIAAAAFYWNjdW0AAAAEbmV4dAkAASwAAAACBQAAAAVhY2N1bQUAAAAEbmV4dAEAAAAPcGl4ZWxWYWxpZGF0aW9yAAAAAgAAAAVhY2N1bQAAAARuZXh0BAAAAAVhcnJheQkABLUAAAACBQAAAARuZXh0AgAAAAE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KAAAAAAAAAAAKQAAAAAAAAAAKgAAAAAAAAAAKwAAAAAAAAAALAAAAAAAAAAALQAAAAAAAAAALgAAAAAAAAAALwAAAAAAAAAAMAAAAAAAAAAAMQAAAAAAAAAAMgAAAAC7OuUa", "height": 2634154, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: HdTAmC1AYB4CVerVhJ29LGLrHRjYURXiiwgFvFhWnFue Next: 5eaQfpkwGf4MuAfpwDjC7qH5yYPh67GFyzmSrusHmDuM Diff:
Old | New | Differences | |
---|---|---|---|
8 | 8 | ||
9 | 9 | func e (c,d) = { | |
10 | 10 | let f = split(d, "-") | |
11 | - | if (c) | |
11 | + | if (!(c)) | |
12 | 12 | then true | |
13 | 13 | else false | |
14 | 14 | } |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = ["aqua", "black", "blue", "fuchsia", "gray", "green", "lime", "maroon", "navy", "olive", "purple", "red", "silver", "teal", "white", "yellow"] | |
5 | 5 | ||
6 | 6 | func b (c,d) = (c + d) | |
7 | 7 | ||
8 | 8 | ||
9 | 9 | func e (c,d) = { | |
10 | 10 | let f = split(d, "-") | |
11 | - | if (c) | |
11 | + | if (!(c)) | |
12 | 12 | then true | |
13 | 13 | else false | |
14 | 14 | } | |
15 | 15 | ||
16 | 16 | ||
17 | 17 | func g (c,d) = { | |
18 | 18 | let f = split(d, "-") | |
19 | 19 | (c ++ [StringEntry(((f[1] + "-") + f[2]), f[0])]) | |
20 | 20 | } | |
21 | 21 | ||
22 | 22 | ||
23 | 23 | @Callable(h) | |
24 | 24 | func draw (i) = { | |
25 | 25 | let j = ["red-17-67", "blue-18-67", "red-19-67", "green-20-67"] | |
26 | 26 | let k = { | |
27 | 27 | let l = j | |
28 | 28 | let m = size(l) | |
29 | 29 | let n = true | |
30 | 30 | func o (p,q) = if ((q >= m)) | |
31 | 31 | then p | |
32 | 32 | else e(p, l[q]) | |
33 | 33 | ||
34 | 34 | func r (p,q) = if ((q >= m)) | |
35 | 35 | then p | |
36 | 36 | else throw("List size exceeds 10") | |
37 | 37 | ||
38 | 38 | r(o(o(o(o(o(o(o(o(o(o(n, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
39 | 39 | } | |
40 | 40 | if (!(k)) | |
41 | 41 | then throw("Is't walid") | |
42 | 42 | else { | |
43 | 43 | let l = j | |
44 | 44 | let m = size(l) | |
45 | 45 | let n = nil | |
46 | 46 | func s (p,q) = if ((q >= m)) | |
47 | 47 | then p | |
48 | 48 | else g(p, l[q]) | |
49 | 49 | ||
50 | 50 | func t (p,q) = if ((q >= m)) | |
51 | 51 | then p | |
52 | 52 | else throw("List size exceeds 50") | |
53 | 53 | ||
54 | 54 | t(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(n, 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) | |
55 | 55 | } | |
56 | 56 | } | |
57 | 57 | ||
58 | 58 |
github/deemru/w8io/026f985 24.29 ms ◑