tx · HdcAd1TUHb9rqRr3LCqWqprLidQRkzUKmus2ALQRaAJ1

3Mr97MBt1TwRZHBK8R1EFDz8S8mxui5U4zB:  -0.01400000 Waves

2021.06.03 06:08 [1553621] smart account 3Mr97MBt1TwRZHBK8R1EFDz8S8mxui5U4zB > SELF 0.00000000 Waves

{ "type": 13, "id": "HdcAd1TUHb9rqRr3LCqWqprLidQRkzUKmus2ALQRaAJ1", "fee": 1400000, "feeAssetId": null, "timestamp": 1622689720278, "version": 2, "chainId": 84, "sender": "3Mr97MBt1TwRZHBK8R1EFDz8S8mxui5U4zB", "senderPublicKey": "CQ7vntBAYh2QZcKcqiiyEnQWWXsr98ysDptD23Wgxmvb", "proofs": [ "2npcxn3dTGZ3xvZSwjqEARFsE6Vgbr91FocEujTgRWszRQnZURSLLA1t4vLyZe4Fh27dJgRxTrwmbtkCkgozosYz" ], "script": "base64:AAIEAAAAAAAAAAQIAhIAAAAAAQEAAAAQbGlzdFRvU3RyaW5nRnVuYwAAAAEAAAALSW50ZWdlckxpc3QKAQAAAAxsaXN0VG9TdHJpbmcAAAACAAAAB3N0ckxpc3QAAAABaQkABE0AAAACBQAAAAdzdHJMaXN0CQABpAAAAAEJAAGRAAAAAgUAAAALSW50ZWdlckxpc3QFAAAAAWkEAAAACyRsaXN0MjQ5Mjg3BQAAAAtJbnRlZ2VyTGlzdAQAAAALJHNpemUyNDkyODcJAAGQAAAAAQUAAAALJGxpc3QyNDkyODcEAAAACyRhY2MwMjQ5Mjg3BQAAAANuaWwDCQAAAAAAAAIFAAAACyRzaXplMjQ5Mjg3AAAAAAAAAAAABQAAAAskYWNjMDI0OTI4NwQAAAALJGFjYzEyNDkyODcJAQAAAAxsaXN0VG9TdHJpbmcAAAACBQAAAAskYWNjMDI0OTI4NwkAAZEAAAACBQAAAAskbGlzdDI0OTI4NwAAAAAAAAAAAAMJAAAAAAAAAgUAAAALJHNpemUyNDkyODcAAAAAAAAAAAEFAAAACyRhY2MxMjQ5Mjg3BAAAAAsk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uAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXnF1kRY", "height": 1553621, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: HukkxP9SGBGLdk7pYSCdWRwKzaeoJv4sAxpW3QzDXnTH Next: dyUwNk5dBFgJiV8Cz1NqChRgJaHLnvxcTyMmg5QvgDj Diff:
OldNewDifferences
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func listToStringFunc (IntegerList) = {
5- func listToString (acc,i) = (acc :+ toString(IntegerList[i]))
5+ func listToString (strList,i) = (strList :+ toString(IntegerList[i]))
66
7- let $list232270 = IntegerList
8- let $size232270 = size($list232270)
9- let $acc0232270 = nil
10- if (($size232270 == 0))
11- then $acc0232270
7+ let $list249287 = IntegerList
8+ let $size249287 = size($list249287)
9+ let $acc0249287 = nil
10+ if (($size249287 == 0))
11+ then $acc0249287
1212 else {
13- let $acc1232270 = listToString($acc0232270, $list232270[0])
14- if (($size232270 == 1))
15- then $acc1232270
13+ let $acc1249287 = listToString($acc0249287, $list249287[0])
14+ if (($size249287 == 1))
15+ then $acc1249287
1616 else {
17- let $acc2232270 = listToString($acc1232270, $list232270[1])
18- if (($size232270 == 2))
19- then $acc2232270
17+ let $acc2249287 = listToString($acc1249287, $list249287[1])
18+ if (($size249287 == 2))
19+ then $acc2249287
2020 else {
21- let $acc3232270 = listToString($acc2232270, $list232270[2])
22- if (($size232270 == 3))
23- then $acc3232270
21+ let $acc3249287 = listToString($acc2249287, $list249287[2])
22+ if (($size249287 == 3))
23+ then $acc3249287
2424 else {
25- let $acc4232270 = listToString($acc3232270, $list232270[3])
25+ let $acc4249287 = listToString($acc3249287, $list249287[3])
2626 throw("List size exceed 3")
27- }
28- }
29- }
30- }
31- }
32-
33-
34-func filterStepFunc (IntegerList) = {
35- func filterStep (accumulated,a) = if (((a % 2) == 0))
36- then a :: accumulated
37- else accumulated
38-
39- let arr = IntegerList
40- let $list452480 = arr
41- let $size452480 = size($list452480)
42- let $acc0452480 = nil
43- if (($size452480 == 0))
44- then $acc0452480
45- else {
46- let $acc1452480 = filterStep($acc0452480, $list452480[0])
47- if (($size452480 == 1))
48- then $acc1452480
49- else {
50- let $acc2452480 = filterStep($acc1452480, $list452480[1])
51- if (($size452480 == 2))
52- then $acc2452480
53- else {
54- let $acc3452480 = filterStep($acc2452480, $list452480[2])
55- if (($size452480 == 3))
56- then $acc3452480
57- else {
58- let $acc4452480 = filterStep($acc3452480, $list452480[3])
59- if (($size452480 == 4))
60- then $acc4452480
61- else {
62- let $acc5452480 = filterStep($acc4452480, $list452480[4])
63- if (($size452480 == 5))
64- then $acc5452480
65- else {
66- let $acc6452480 = filterStep($acc5452480, $list452480[5])
67- throw("List size exceed 5")
68- }
69- }
7027 }
7128 }
7229 }
7936 let count = 1
8037 let asset = Issue("Asset", "", 1, 0, true, unit, 0)
8138 let assetId = calculateAssetId(asset)
82- let list = filterStepFunc([2, 3, 4])
39+ let list = listToStringFunc([2, 3, 4])
8340 if ((list == list))
8441 then if ((count == 1))
85- then throw(("list_1==>" + toString(list[0])))
42+ then throw(("list_1==>" + list[0]))
8643 else [asset]
8744 else throw("Strict value is not equal to itself.")
8845 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func listToStringFunc (IntegerList) = {
5- func listToString (acc,i) = (acc :+ toString(IntegerList[i]))
5+ func listToString (strList,i) = (strList :+ toString(IntegerList[i]))
66
7- let $list232270 = IntegerList
8- let $size232270 = size($list232270)
9- let $acc0232270 = nil
10- if (($size232270 == 0))
11- then $acc0232270
7+ let $list249287 = IntegerList
8+ let $size249287 = size($list249287)
9+ let $acc0249287 = nil
10+ if (($size249287 == 0))
11+ then $acc0249287
1212 else {
13- let $acc1232270 = listToString($acc0232270, $list232270[0])
14- if (($size232270 == 1))
15- then $acc1232270
13+ let $acc1249287 = listToString($acc0249287, $list249287[0])
14+ if (($size249287 == 1))
15+ then $acc1249287
1616 else {
17- let $acc2232270 = listToString($acc1232270, $list232270[1])
18- if (($size232270 == 2))
19- then $acc2232270
17+ let $acc2249287 = listToString($acc1249287, $list249287[1])
18+ if (($size249287 == 2))
19+ then $acc2249287
2020 else {
21- let $acc3232270 = listToString($acc2232270, $list232270[2])
22- if (($size232270 == 3))
23- then $acc3232270
21+ let $acc3249287 = listToString($acc2249287, $list249287[2])
22+ if (($size249287 == 3))
23+ then $acc3249287
2424 else {
25- let $acc4232270 = listToString($acc3232270, $list232270[3])
25+ let $acc4249287 = listToString($acc3249287, $list249287[3])
2626 throw("List size exceed 3")
27- }
28- }
29- }
30- }
31- }
32-
33-
34-func filterStepFunc (IntegerList) = {
35- func filterStep (accumulated,a) = if (((a % 2) == 0))
36- then a :: accumulated
37- else accumulated
38-
39- let arr = IntegerList
40- let $list452480 = arr
41- let $size452480 = size($list452480)
42- let $acc0452480 = nil
43- if (($size452480 == 0))
44- then $acc0452480
45- else {
46- let $acc1452480 = filterStep($acc0452480, $list452480[0])
47- if (($size452480 == 1))
48- then $acc1452480
49- else {
50- let $acc2452480 = filterStep($acc1452480, $list452480[1])
51- if (($size452480 == 2))
52- then $acc2452480
53- else {
54- let $acc3452480 = filterStep($acc2452480, $list452480[2])
55- if (($size452480 == 3))
56- then $acc3452480
57- else {
58- let $acc4452480 = filterStep($acc3452480, $list452480[3])
59- if (($size452480 == 4))
60- then $acc4452480
61- else {
62- let $acc5452480 = filterStep($acc4452480, $list452480[4])
63- if (($size452480 == 5))
64- then $acc5452480
65- else {
66- let $acc6452480 = filterStep($acc5452480, $list452480[5])
67- throw("List size exceed 5")
68- }
69- }
7027 }
7128 }
7229 }
7330 }
7431 }
7532
7633
7734 @Callable(i)
7835 func call () = {
7936 let count = 1
8037 let asset = Issue("Asset", "", 1, 0, true, unit, 0)
8138 let assetId = calculateAssetId(asset)
82- let list = filterStepFunc([2, 3, 4])
39+ let list = listToStringFunc([2, 3, 4])
8340 if ((list == list))
8441 then if ((count == 1))
85- then throw(("list_1==>" + toString(list[0])))
42+ then throw(("list_1==>" + list[0]))
8643 else [asset]
8744 else throw("Strict value is not equal to itself.")
8845 }
8946
9047
9148 @Verifier(tx)
9249 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
9350

github/deemru/w8io/026f985 
36.20 ms