tx · 7oN5RPSwnpe5K94YwVHgj6KCJqS1BsnKc5P7A3JFEKRc

3N38TQrBBEMzBaDvd7FLc17TvpDSaUKrRPx:  -0.01000000 Waves

2021.09.30 17:37 [1725825] smart account 3N38TQrBBEMzBaDvd7FLc17TvpDSaUKrRPx > SELF 0.00000000 Waves

{ "type": 13, "id": "7oN5RPSwnpe5K94YwVHgj6KCJqS1BsnKc5P7A3JFEKRc", "fee": 1000000, "feeAssetId": null, "timestamp": 1633012621152, "version": 2, "chainId": 84, "sender": "3N38TQrBBEMzBaDvd7FLc17TvpDSaUKrRPx", "senderPublicKey": "9a8JNLXFvTm9Bd3kg8DyJr3itTNZhfReuJtgPGzSTPLQ", "proofs": [ "zq73SAaYx8byuN7BCEbSyZWCRyDsRbi21qL5QwUL3QUKiiUJ8uZyD9vodwvX1kyVM8yeoaXM6hrq6jw8dDx6Muw" ], "script": "base64:AAIFAAAAAAAAAAYIAhIAEgAAAAADAQAAAAJmMQAAAAEAAAABYQMJAAABAAAAAgUAAAABYQIAAAADSW50BQAAAAFhBQAAAAR1bml0AQAAAAJmMgAAAAEAAAABYQMJAAABAAAAAgUAAAABYQIAAAANKEludCwgU3RyaW5nKQUAAAABYQUAAAAEdW5pdAEAAAACZjMAAAABAAAAAWEDCQAAAQAAAAIFAAAAAWECAAAACUxpc3RbQW55XQUAAAABYQkAAAIAAAABAgAAAB5Db3VsZG4ndCBjYXN0IEFueSB0byBMaXN0W0FueV0AAAACAAAAAWkBAAAABWNhbGwzAAAAAAkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAADXzExCQAAZAAAAAIJAQAAAAV2YWx1ZQAAAAEJAQAAAAJmMQAAAAEAAAAAAAAAAAoAAAAAAAAAAAEJAARMAAAAAgkBAAAADEJvb2xlYW5FbnRyeQAAAAICAAAAA18xMgkBAAAACWlzRGVmaW5lZAAAAAEJAQAAAAJmMQAAAAECAAAABVdhdmVzCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAICAAAAA18yMQkAASwAAAACCAkBAAAABXZhbHVlAAAAAQkBAAAAAmYyAAAAAQkABRQAAAACAAAAAAAAAAALAgAAAARSaWRlAAAAAl8yAgAAAAsgdGhlIFdhdmVzIQkABEwAAAACCQEAAAAMQm9vbGVhbkVudHJ5AAAAAgIAAAADXzIyCQEAAAAJaXNEZWZpbmVkAAAAAQkBAAAAAmYyAAAAAQYJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAICAAAAA181MwMJAAABAAAAAgkAAZEAAAACCQEAAAACZjMAAAABCQAETAAAAAIAAAAAAAAAAAwJAARMAAAAAgIAAAAEUmlkZQUAAAADbmlsAAAAAAAAAAAAAgAAAANJbnQJAAGRAAAAAgkBAAAAAmYzAAAAAQkABEwAAAACAAAAAAAAAAAMCQAETAAAAAICAAAABFJpZGUFAAAAA25pbAAAAAAAAAAAAAkAAAIAAAABAgAAABhDb3VsZG4ndCBjYXN0IEFueSB0byBJbnQFAAAAA25pbAAAAAFpAQAAAAVjYWxsMgAAAAAEAAAAAWEJAQAAAAJmMwAAAAEAAAAAAAAAAFgDCQAAAAAAAAIFAAAAAWEFAAAAAWEJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgIAAAACMzICAAAAAm9rBQAAAANuaWwJAAACAAAAAQIAAAAkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAAAAAM5TRRc=", "height": 1725825, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: CG3oKNKWmECa99EZjKVGLwMWLy4YaJYk7W82Ur7yLCdk Next: zfySaf3kNTaAh5JWXcwku6LtXwLZcozwh6phEXdqmzC Diff:
OldNewDifferences
1717
1818
1919 @Callable(i)
20-func call3 () = [IntegerEntry("_11", (value(f1(10)) + 1)), BooleanEntry("_12", isDefined(f1("Waves"))), StringEntry("_21", (value(f2($Tuple2(11, "Ride")))._2 + " the Waves!")), BooleanEntry("_22", isDefined(f2(true))), IntegerEntry("_23", match f3([12, "Ride"])[0] {
21- case e: Int =>
22- e
23- case _ =>
24- -100
25-})]
20+func call3 () = [IntegerEntry("_11", (value(f1(10)) + 1)), BooleanEntry("_12", isDefined(f1("Waves"))), StringEntry("_21", (value(f2($Tuple2(11, "Ride")))._2 + " the Waves!")), BooleanEntry("_22", isDefined(f2(true))), IntegerEntry("_53", if ($isInstanceOf(f3([12, "Ride"])[0], "Int"))
21+ then f3([12, "Ride"])[0]
22+ else throw("Couldn't cast Any to Int"))]
2623
2724
2825
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)
20-func call3 () = [IntegerEntry("_11", (value(f1(10)) + 1)), BooleanEntry("_12", isDefined(f1("Waves"))), StringEntry("_21", (value(f2($Tuple2(11, "Ride")))._2 + " the Waves!")), BooleanEntry("_22", isDefined(f2(true))), IntegerEntry("_23", match f3([12, "Ride"])[0] {
21- case e: Int =>
22- e
23- case _ =>
24- -100
25-})]
20+func call3 () = [IntegerEntry("_11", (value(f1(10)) + 1)), BooleanEntry("_12", isDefined(f1("Waves"))), StringEntry("_21", (value(f2($Tuple2(11, "Ride")))._2 + " the Waves!")), BooleanEntry("_22", isDefined(f2(true))), IntegerEntry("_53", if ($isInstanceOf(f3([12, "Ride"])[0], "Int"))
21+ then f3([12, "Ride"])[0]
22+ else throw("Couldn't cast Any to Int"))]
2623
2724
2825
2926 @Callable(i)
3027 func call2 () = {
3128 let a = f3(88)
3229 if ((a == a))
3330 then [StringEntry("32", "ok")]
3431 else throw("Strict value is not equal to itself.")
3532 }
3633
3734

github/deemru/w8io/169f3d6 
24.98 ms