tx · 6gPQ9QHqFZtsojcrwfccHMAMahdVZm9mJ4Jvzp5UETvz

3Mr97MBt1TwRZHBK8R1EFDz8S8mxui5U4zB:  -0.01400000 Waves

2021.06.03 05:21 [1553567] smart account 3Mr97MBt1TwRZHBK8R1EFDz8S8mxui5U4zB > SELF 0.00000000 Waves

{ "type": 13, "id": "6gPQ9QHqFZtsojcrwfccHMAMahdVZm9mJ4Jvzp5UETvz", "fee": 1400000, "feeAssetId": null, "timestamp": 1622686904123, "version": 2, "chainId": 84, "sender": "3Mr97MBt1TwRZHBK8R1EFDz8S8mxui5U4zB", "senderPublicKey": "CQ7vntBAYh2QZcKcqiiyEnQWWXsr98ysDptD23Wgxmvb", "proofs": [ "34AVJuRYBBv4qmL84vS273UMiJZw8Hh6z2dF7v5AWyUkebBvik4XL5PN8o8HY4BGb8DwL5PeZZwCenM1Pvgn3pCm" ], "script": "base64:AAIEAAAAAAAAAAQIAhIAAAAAAQEAAAAQbGlzdFRvU3RyaW5nRnVuYwAAAAEAAAALSW50ZWdlckxpc3QKAQAAAAxsaXN0VG9TdHJpbmcAAAACAAAAA2FjYwAAAAFpCQAETQAAAAIFAAAAA2FjYwkAAaQAAAABCQABkQAAAAIFAAAAC0ludGVnZXJMaXN0BQAAAAFpBAAAAAskbGlzdDI0MjI4MAUAAAALSW50ZWdlckxpc3QEAAAACyRzaXplMjQyMjgwCQABkAAAAAEFAAAACyRsaXN0MjQyMjgwBAAAAAskYWNjMDI0MjI4MAUAAAADbmlsAwkAAAAAAAACBQAAAAskc2l6ZTI0MjI4MAAAAAAAAAAAAAUAAAALJGFjYzAyNDIyODAEAAAACyRhY2MxMjQyMjgwCQEAAAAMbGlzdFRvU3RyaW5nAAAAAgUAAAALJGFjYzAyNDIyODAJAAGRAAAAAgUAAAALJGxpc3QyNDIyODAAAAAAAAAAAAADCQAAAAAAAAIFAAAACyRzaXplMjQyMjgwAAAAAAAAAAABBQAAAAskYWNjMTI0MjI4MAQAAAALJGFjYzIyNDIyODA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vdCBlcXVhbCB0byBpdHNlbGYuAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXmM5KXw", "height": 1553567, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 6o29o3F6Ua9zfeNsuzZwiNeCUndoMnKBQbR66kmkPKPs Next: HukkxP9SGBGLdk7pYSCdWRwKzaeoJv4sAxpW3QzDXnTH Diff:
OldNewDifferences
3737 let asset = Issue("Asset", "", 1, 0, true, unit, 0)
3838 let assetId = calculateAssetId(asset)
3939 let listToString = listToStringFunc([2, 3, 4])
40- if ((count == 1))
41- then throw(((((listToString[0] + ",") + listToString[1]) + ",") + listToString[2]))
42- else [asset]
40+ if ((listToString == listToString))
41+ then if ((count == 1))
42+ then throw(("list_1==>" + listToString[0]))
43+ else [asset]
44+ else throw("Strict value is not equal to itself.")
4345 }
4446
4547
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func listToStringFunc (IntegerList) = {
55 func listToString (acc,i) = (acc :+ toString(IntegerList[i]))
66
77 let $list242280 = IntegerList
88 let $size242280 = size($list242280)
99 let $acc0242280 = nil
1010 if (($size242280 == 0))
1111 then $acc0242280
1212 else {
1313 let $acc1242280 = listToString($acc0242280, $list242280[0])
1414 if (($size242280 == 1))
1515 then $acc1242280
1616 else {
1717 let $acc2242280 = listToString($acc1242280, $list242280[1])
1818 if (($size242280 == 2))
1919 then $acc2242280
2020 else {
2121 let $acc3242280 = listToString($acc2242280, $list242280[2])
2222 if (($size242280 == 3))
2323 then $acc3242280
2424 else {
2525 let $acc4242280 = listToString($acc3242280, $list242280[3])
2626 throw("List size exceed 3")
2727 }
2828 }
2929 }
3030 }
3131 }
3232
3333
3434 @Callable(i)
3535 func call () = {
3636 let count = 1
3737 let asset = Issue("Asset", "", 1, 0, true, unit, 0)
3838 let assetId = calculateAssetId(asset)
3939 let listToString = listToStringFunc([2, 3, 4])
40- if ((count == 1))
41- then throw(((((listToString[0] + ",") + listToString[1]) + ",") + listToString[2]))
42- else [asset]
40+ if ((listToString == listToString))
41+ then if ((count == 1))
42+ then throw(("list_1==>" + listToString[0]))
43+ else [asset]
44+ else throw("Strict value is not equal to itself.")
4345 }
4446
4547
4648 @Verifier(tx)
4749 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
4850

github/deemru/w8io/026f985 
23.88 ms