tx · DaDfS9SGYxZ9YqB3hE4uQs3GZ4ek7AgsEA8AmwGzz8gY

3Mxkh7f6KwxmC83NvQ71Mcpk7B7tXBCNsLY:  -0.01000000 Waves

2023.06.23 00:52 [2634413] smart account 3Mxkh7f6KwxmC83NvQ71Mcpk7B7tXBCNsLY > SELF 0.00000000 Waves

{ "type": 13, "id": "DaDfS9SGYxZ9YqB3hE4uQs3GZ4ek7AgsEA8AmwGzz8gY", "fee": 1000000, "feeAssetId": null, "timestamp": 1687470768796, "version": 2, "chainId": 84, "sender": "3Mxkh7f6KwxmC83NvQ71Mcpk7B7tXBCNsLY", "senderPublicKey": "8Smk6puynrZ8G4yMSKZVgBuNfK7XUwSyzhSL5RnbZjqP", "proofs": [ "yYx7th5kqjkSzjC6EZH7N6imCbKW5ZpXydkpJBP9MEPqnGBUsnfqQgRBk4SwpMbActCYWgckwE5MkjytL21TM6Z" ], "script": "base64:AAIFAAAAAAAAAAcIAhIDCgEYAAAABgAAAAAJY29sb3JMaXN0CQAETAAAAAICAAAABGFxdWEJAARMAAAAAgIAAAAFYmxhY2sJAARMAAAAAgIAAAAEYmx1ZQkABEwAAAACAgAAAAdmdWNoc2lhCQAETAAAAAICAAAABGdyYXkJAARMAAAAAgIAAAAFZ3JlZW4JAARMAAAAAgIAAAAEbGltZQkABEwAAAACAgAAAAZtYXJvb24JAARMAAAAAgIAAAAEbmF2eQkABEwAAAACAgAAAAVvbGl2ZQkABEwAAAACAgAAAAZwdXJwbGUJAARMAAAAAgIAAAADcmVkCQAETAAAAAICAAAABnNpbHZlcgkABEwAAAACAgAAAAR0ZWFsCQAETAAAAAICAAAABXdoaXRlCQAETAAAAAICAAAABnllbGxvdwUAAAADbmlsAQAAAAttYXBTdHJUb1N0cgAAAAIAAAAFYWNjdW0AAAAEbmV4dAkABEwAAAACBQAAAARuZXh0BQAAAAVhY2N1bQEAAAAJcGFpbnRPdmVyAAAAAgAAAAVhY2N1bQAAAARuZXh0BAAAAAVhcnJheQkABLUAAAAC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AFbG9nSUQFAAAACG5ld0xvZ0lEBQAAAANuaWwAAAAAsEM/pA==", "height": 2634413, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: Do7G3xiPTW7ZDUPY811ex2PwMWHVhZHtyHSrN8CQ5tDD Next: H76z2HMFvRDKjJD8wK7jTGmhvAqPxc8wqCXcBZVJsKXN Diff:
OldNewDifferences
4747
4848 @Callable(i)
4949 func draw (pixels) = {
50+ let timestamp = match blockInfoByHeight(height) {
51+ case block: BlockInfo =>
52+ block.timestamp
53+ case _ =>
54+ 0
55+ }
5056 let newLogID = (getLogID() + 1)
5157 ({
5258 let $l = pixels
6167 else throw("List size exceeds 50")
6268
6369 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 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)
64- } ++ [StringEntry(("log_" + toString(newLogID)), listIntCompressToString(pixels)), IntegerEntry("logID", newLogID)])
70+ } ++ [StringEntry(((("log_" + toString(timestamp)) + "_") + toString(newLogID)), listIntCompressToString(pixels)), IntegerEntry("logID", newLogID)])
6571 }
6672
6773
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let colorList = ["aqua", "black", "blue", "fuchsia", "gray", "green", "lime", "maroon", "navy", "olive", "purple", "red", "silver", "teal", "white", "yellow"]
55
66 func mapStrToStr (accum,next) = next :: accum
77
88
99 func paintOver (accum,next) = {
1010 let array = split(next, "-")
1111 if (if (if (containsElement(colorList, array[0]))
1212 then (100 > parseIntValue(array[1]))
1313 else false)
1414 then (100 > parseIntValue(array[2]))
1515 else false)
1616 then (accum ++ [StringEntry(((array[1] + "-") + array[2]), array[0])])
1717 else throw("Is't walid")
1818 }
1919
2020
2121 func getLogID () = {
2222 let logID = getInteger("logID")
2323 if ((logID != unit))
2424 then getIntegerValue("logID")
2525 else 0
2626 }
2727
2828
2929 func listStringToListString (arr) = {
3030 let $l = arr
3131 let $s = size($l)
3232 let $acc0 = nil
3333 func $f0_1 ($a,$i) = if (($i >= $s))
3434 then $a
3535 else mapStrToStr($a, $l[$i])
3636
3737 func $f0_2 ($a,$i) = if (($i >= $s))
3838 then $a
3939 else throw("List size exceeds 50")
4040
4141 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 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)
4242 }
4343
4444
4545 func listIntCompressToString (arr) = makeString(listStringToListString(arr), "|")
4646
4747
4848 @Callable(i)
4949 func draw (pixels) = {
50+ let timestamp = match blockInfoByHeight(height) {
51+ case block: BlockInfo =>
52+ block.timestamp
53+ case _ =>
54+ 0
55+ }
5056 let newLogID = (getLogID() + 1)
5157 ({
5258 let $l = pixels
5359 let $s = size($l)
5460 let $acc0 = nil
5561 func $f0_1 ($a,$i) = if (($i >= $s))
5662 then $a
5763 else paintOver($a, $l[$i])
5864
5965 func $f0_2 ($a,$i) = if (($i >= $s))
6066 then $a
6167 else throw("List size exceeds 50")
6268
6369 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 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)
64- } ++ [StringEntry(("log_" + toString(newLogID)), listIntCompressToString(pixels)), IntegerEntry("logID", newLogID)])
70+ } ++ [StringEntry(((("log_" + toString(timestamp)) + "_") + toString(newLogID)), listIntCompressToString(pixels)), IntegerEntry("logID", newLogID)])
6571 }
6672
6773

github/deemru/w8io/026f985 
29.97 ms