tx · 32eBRuG5i299FgsN7Aknw1YotpJecnfvviCHc7mtC12i

3N38TQrBBEMzBaDvd7FLc17TvpDSaUKrRPx:  -0.01000000 Waves

2021.09.30 15:18 [1725686] smart account 3N38TQrBBEMzBaDvd7FLc17TvpDSaUKrRPx > SELF 0.00000000 Waves

{ "type": 13, "id": "32eBRuG5i299FgsN7Aknw1YotpJecnfvviCHc7mtC12i", "fee": 1000000, "feeAssetId": null, "timestamp": 1633004306314, "version": 2, "chainId": 84, "sender": "3N38TQrBBEMzBaDvd7FLc17TvpDSaUKrRPx", "senderPublicKey": "9a8JNLXFvTm9Bd3kg8DyJr3itTNZhfReuJtgPGzSTPLQ", "proofs": [ "3CnEYnegXapy7Hq2H3d7WV5UhsYE8M669rTnQwdbPPEkc4oLERRZ22ZMdRgnPMebMSakv9YJbhCzZJzut5jErowM" ], "script": "base64:AAIFAAAAAAAAAAYIAhIAEgAAAAADAQAAAAJmMQAAAAEAAAABYQMJAAABAAAAAgUAAAABYQIAAAADSW50BQAAAAFhBQAAAAR1bml0AQAAAAJmMgAAAAEAAAABYQMJAAABAAAAAgUAAAABYQIAAAANKEludCwgU3RyaW5nKQUAAAABYQUAAAAEdW5pdAEAAAACZjMAAAABAAAAAWEDCQAAAQAAAAIFAAAAAWECAAAACUxpc3RbQW55XQUAAAABYQkAAAIAAAABAgAAAB5Db3VsZG4ndCBjYXN0IEFueSB0byBMaXN0W0FueV0AAAACAAAAAWkBAAAABWNhbGwxAAAAAAkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAACMTEEAAAAByRtYXRjaDAJAQAAAAJmMQAAAAEAAAAAAAAAAAoDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAA0ludAQAAAABdAUAAAAHJG1hdGNoMAkAAGQAAAACBQAAAAF0AAAAAAAAAAABAP////////+cCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAICAAAAAjEyBAAAAAckbWF0Y2gwCQEAAAACZjEAAAABAgAAAAVXYXZlcwMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAEVW5pdAQAAAABdAUAAAAHJG1hdGNoMAIAAAAEdW5pdAIAAAAFb3RoZXIJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgIAAAACMjEEAAAAByRtYXRjaDAJAQAAAAJmMgAAAAEJAAUUAAAAAgAAAAAAAAAACwIAAAAEUmlkZQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAANKEludCwgU3RyaW5nKQQAAAABdAUAAAAHJG1hdGNoMAkAASwAAAACCAUAAAABdAAAAAJfMgIAAAALIHRoZSBXYXZlcyECAAAABW90aGVyCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAICAAAAAjIyBAAAAAckbWF0Y2gwCQEAAAACZjIAAAABBgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAEVW5pdAQAAAABdAUAAAAHJG1hdGNoMAIAAAAEdW5pdAIAAAAFb3RoZXIJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAICAAAAAjIzBAAAAAckbWF0Y2gwCQABkQAAAAIJAQAAAAJmMwAAAAEJAARMAAAAAgAAAAAAAAAADAkABEwAAAACAgAAAARSaWRlBQAAAANuaWwAAAAAAAAAAAADCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAA0ludAQAAAABZQUAAAAHJG1hdGNoMAUAAAABZQD/////////nAUAAAADbmlsAAAAAWkBAAAABWNhbGwyAAAAAAQAAAABYQkBAAAAAmYzAAAAAQAAAAAAAAAAWAMJAAAAAAAAAgUAAAABYQUAAAABYQkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACAgAAAAIzMgIAAAACb2sFAAAAA25pbAkAAAIAAAABAgAAACRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4AAAAAMxHMKQ==", "height": 1725686, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: GQuMpVjWxhC8hfeSzgp56RXH9LMcpf7VXBuAcHqBNx8P Next: CG3oKNKWmECa99EZjKVGLwMWLy4YaJYk7W82Ur7yLCdk Diff:
OldNewDifferences
3737 "unit"
3838 case _ =>
3939 "other"
40-}), IntegerEntry("31", match f3([12, "Ride"]) {
41- case t: List[Any] =>
42- match t[0] {
43- case e: Int =>
44- e
45- case _ =>
46- -100
47- }
40+}), IntegerEntry("23", match f3([12, "Ride"])[0] {
41+ case e: Int =>
42+ e
4843 case _ =>
4944 -100
5045 })]
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func f1 (a) = if ($isInstanceOf(a, "Int"))
55 then a
66 else unit
77
88
99 func f2 (a) = if ($isInstanceOf(a, "(Int, String)"))
1010 then a
1111 else unit
1212
1313
1414 func f3 (a) = if ($isInstanceOf(a, "List[Any]"))
1515 then a
1616 else throw("Couldn't cast Any to List[Any]")
1717
1818
1919 @Callable(i)
2020 func call1 () = [IntegerEntry("11", match f1(10) {
2121 case t: Int =>
2222 (t + 1)
2323 case _ =>
2424 -100
2525 }), StringEntry("12", match f1("Waves") {
2626 case t: Unit =>
2727 "unit"
2828 case _ =>
2929 "other"
3030 }), StringEntry("21", match f2($Tuple2(11, "Ride")) {
3131 case t: (Int, String) =>
3232 (t._2 + " the Waves!")
3333 case _ =>
3434 "other"
3535 }), StringEntry("22", match f2(true) {
3636 case t: Unit =>
3737 "unit"
3838 case _ =>
3939 "other"
40-}), IntegerEntry("31", match f3([12, "Ride"]) {
41- case t: List[Any] =>
42- match t[0] {
43- case e: Int =>
44- e
45- case _ =>
46- -100
47- }
40+}), IntegerEntry("23", match f3([12, "Ride"])[0] {
41+ case e: Int =>
42+ e
4843 case _ =>
4944 -100
5045 })]
5146
5247
5348
5449 @Callable(i)
5550 func call2 () = {
5651 let a = f3(88)
5752 if ((a == a))
5853 then [StringEntry("32", "ok")]
5954 else throw("Strict value is not equal to itself.")
6055 }
6156
6257

github/deemru/w8io/169f3d6 
24.03 ms