tx · 9ARFJNDMavXo5RvijK54hh1UczwnHWehMtnyAQXCz114

3N272hFk6FBTgLM5HqpYVcCVmMcSCrEma9T:  -0.01000000 Waves

2023.06.22 20:34 [2634150] smart account 3N272hFk6FBTgLM5HqpYVcCVmMcSCrEma9T > SELF 0.00000000 Waves

{ "type": 13, "id": "9ARFJNDMavXo5RvijK54hh1UczwnHWehMtnyAQXCz114", "fee": 1000000, "feeAssetId": null, "timestamp": 1687455307509, "version": 2, "chainId": 84, "sender": "3N272hFk6FBTgLM5HqpYVcCVmMcSCrEma9T", "senderPublicKey": "97sWz4UZWijkagGprhucQHR7b7nN6FfojMELnzuFEyY1", "proofs": [ "2exnzpxgQC1LjvRxpA2SDABVAiu16jh95wU2BNxs5gWwMT56p2D5cHei2aziv64MhjnYDoYHjKBQq3gzuRqetp1k" ], "script": "base64:AAIFAAAAAAAAAAcIAhIDCgEYAAAABAAAAAAJY29sb3JMaXN0CQAETAAAAAICAAAABGFxdWEJAARMAAAAAgIAAAAFYmxhY2sJAARMAAAAAgIAAAAEYmx1ZQkABEwAAAACAgAAAAdmdWNoc2lhCQAETAAAAAICAAAABGdyYXkJAARMAAAAAgIAAAAFZ3JlZW4JAARMAAAAAgIAAAAEbGltZQkABEwAAAACAgAAAAZtYXJvb24JAARMAAAAAgIAAAAEbmF2eQkABEwAAAACAgAAAAVvbGl2ZQkABEwAAAACAgAAAAZwdXJwbGUJAARMAAAAAgIAAAADcmVkCQAETAAAAAICAAAABnNpbHZlcgkABEwAAAACAgAAAAR0ZWFsCQAETAAAAAICAAAABXdoaXRlCQAETAAAAAICAAAABnllbGxvdwUAAAADbmlsAQAAAAttYXBJbnRUb1N1bQAAAAIAAAAFYWNjdW0AAAAEbmV4dAkAASwAAAACBQAAAAVhY2N1bQUAAAAEbmV4dAEAAAAPcGl4ZWxWYWxpZGF0aW9yAAAAAgAAAAVhY2N1bQAAAARuZXh0BAAAAAVhcnJheQkABLUAAAACBQAAAARuZXh0AgAAAAEtAwMFAAAAB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AAAAAACUAAAAAAAAAACYAAAAAAAAAACcAAAAAAAAAACgAAAAAAAAAACkAAAAAAAAAACoAAAAAAAAAACsAAAAAAAAAACwAAAAAAAAAAC0AAAAAAAAAAC4AAAAAAAAAAC8AAAAAAAAAADAAAAAAAAAAADEAAAAAAAAAADIAAAAAsH915g==", "height": 2634150, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: ADFEEsnMVXA7jPEGjtXaAFRvZNfNdNtZBJZCf79QWSXL Next: ENub1ErKmrXmeB44akZzCUM6jTwQNp9uGz9nDPwCjmxP Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = ["aqua", "black", "blue", "fuchsia", "gray", "green", "lime", "maroon", "navy", "olive", "purple", "red", "silver", "teal", "white", "yellow"]
55
66 func b (c,d) = (c + d)
77
88
99 func e (c,d) = {
1010 let f = split(d, "-")
1111 if (if (c)
1212 then containsElement(a, f[0])
1313 else false)
1414 then true
1515 else false
1616 }
1717
1818
1919 func g (c,d) = {
2020 let f = split(d, "-")
2121 (c ++ [StringEntry(((f[1] + "-") + f[2]), f[0])])
2222 }
2323
2424
2525 @Callable(h)
2626 func draw (i) = {
2727 let j = ["red-17-67", "blue-18-67", "red-19-67", "green-20-67"]
2828 let k = {
2929 let l = j
3030 let m = size(l)
3131 let n = true
3232 func o (p,q) = if ((q >= m))
3333 then p
3434 else e(p, l[q])
3535
3636 func r (p,q) = if ((q >= m))
3737 then p
3838 else throw("List size exceeds 10")
3939
4040 r(o(o(o(o(o(o(o(o(o(o(n, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
4141 }
4242 if (k)
4343 then throw("Is't walid")
4444 else {
4545 let l = j
4646 let m = size(l)
4747 let n = nil
4848 func s (p,q) = if ((q >= m))
4949 then p
5050 else g(p, l[q])
5151
5252 func t (p,q) = if ((q >= m))
5353 then p
5454 else throw("List size exceeds 50")
5555
5656 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)
5757 }
5858 }
5959
6060

github/deemru/w8io/026f985 
28.87 ms