tx · dyUwNk5dBFgJiV8Cz1NqChRgJaHLnvxcTyMmg5QvgDj

3Mr97MBt1TwRZHBK8R1EFDz8S8mxui5U4zB:  -0.01400000 Waves

2021.06.03 06:09 [1553623] smart account 3Mr97MBt1TwRZHBK8R1EFDz8S8mxui5U4zB > SELF 0.00000000 Waves

{ "type": 13, "id": "dyUwNk5dBFgJiV8Cz1NqChRgJaHLnvxcTyMmg5QvgDj", "fee": 1400000, "feeAssetId": null, "timestamp": 1622689781424, "version": 2, "chainId": 84, "sender": "3Mr97MBt1TwRZHBK8R1EFDz8S8mxui5U4zB", "senderPublicKey": "CQ7vntBAYh2QZcKcqiiyEnQWWXsr98ysDptD23Wgxmvb", "proofs": [ "31uRBvz7pUQ6Uo3edbsC1CSsXrXrpKbWXjVzRq1jiRgYGANKdmxpVCCri8Tb7htdK7LrpvoCztiVNwCgDXtQwZUr" ], "script": "base64:AAIEAAAAAAAAAAQIAhIAAAAAAQEAAAAQbGlzdFRvU3RyaW5nRnVuYwAAAAEAAAALSW50ZWdlckxpc3QKAQAAAAxsaXN0VG9TdHJpbmcAAAACAAAAB3N0ckxpc3QAAAABaQkABE0AAAACBQAAAAdzdHJMaXN0CQABpAAAAAEJAAGRAAAAAgUAAAALSW50ZWdlckxpc3QFAAAAAWkEAAAACyRsaXN0MjQ5Mjg3BQAAAAtJbnRlZ2VyTGlzdAQAAAALJHNpemUyNDkyODcJAAGQAAAAAQUAAAALJGxpc3QyNDkyODcEAAAACyRhY2MwMjQ5Mjg3BQAAAANuaWwDCQAAAAAAAAIFAAAACyRzaXplMjQ5Mjg3AAAAAAAAAAAABQAAAAskYWNjMDI0OTI4NwQAAAALJGFjYzEyNDkyODcJAQAAAAxsaXN0VG9TdHJpbmcAAAACBQAAAAskYWNjMDI0OTI4NwkAAZEAAAACBQAAAAskbGlzdDI0OTI4NwAAAAAAAAAAAAMJAAAAAAAAAgUAAAALJHNpemUyNDkyODcAAAAAAAAAAAEFAAAACyRhY2MxMjQ5Mjg3B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HNlbGYuAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXl+Dnj/", "height": 1553623, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: HdcAd1TUHb9rqRr3LCqWqprLidQRkzUKmus2ALQRaAJ1 Next: 34CWTMuH3omV1EEKnQ5qrtPN2ZTr1sW6dXGPwdHBenqg Diff:
OldNewDifferences
3939 let list = listToStringFunc([2, 3, 4])
4040 if ((list == list))
4141 then if ((count == 1))
42- then throw(("list_1==>" + list[0]))
42+ then throw(("list_1==>" + list[1]))
4343 else [asset]
4444 else throw("Strict value is not equal to itself.")
4545 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func listToStringFunc (IntegerList) = {
55 func listToString (strList,i) = (strList :+ toString(IntegerList[i]))
66
77 let $list249287 = IntegerList
88 let $size249287 = size($list249287)
99 let $acc0249287 = nil
1010 if (($size249287 == 0))
1111 then $acc0249287
1212 else {
1313 let $acc1249287 = listToString($acc0249287, $list249287[0])
1414 if (($size249287 == 1))
1515 then $acc1249287
1616 else {
1717 let $acc2249287 = listToString($acc1249287, $list249287[1])
1818 if (($size249287 == 2))
1919 then $acc2249287
2020 else {
2121 let $acc3249287 = listToString($acc2249287, $list249287[2])
2222 if (($size249287 == 3))
2323 then $acc3249287
2424 else {
2525 let $acc4249287 = listToString($acc3249287, $list249287[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 list = listToStringFunc([2, 3, 4])
4040 if ((list == list))
4141 then if ((count == 1))
42- then throw(("list_1==>" + list[0]))
42+ then throw(("list_1==>" + list[1]))
4343 else [asset]
4444 else throw("Strict value is not equal to itself.")
4545 }
4646
4747
4848 @Verifier(tx)
4949 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
5050

github/deemru/w8io/026f985 
29.91 ms