tx · 3BdbXYJtZ2AB8CTjCsDY2eRrUNQEgGTJK26Ks2SdSSa8

3MwvooYHA22kyPsQkRNQ8zkqaVQaSvwAuz2:  -0.00100000 Waves

2022.07.06 16:21 [2127872] smart account 3MwvooYHA22kyPsQkRNQ8zkqaVQaSvwAuz2 > SELF 0.00000000 Waves

{ "type": 13, "id": "3BdbXYJtZ2AB8CTjCsDY2eRrUNQEgGTJK26Ks2SdSSa8", "fee": 100000, "feeAssetId": null, "timestamp": 1657113726170, "version": 2, "chainId": 84, "sender": "3MwvooYHA22kyPsQkRNQ8zkqaVQaSvwAuz2", "senderPublicKey": "7Sz8q9VzovjXEiBaupHd5syNkwyUfLaKf4pwETwksZLT", "proofs": [ "2f4QJgya4U9Bpp3vi4CcNPEAxdKrxzDDAh25gUNgmSK8Cc7riSWxhE2wZToShZyV36ByCNbrChF9uAy32bxagG75" ], "script": "base64:BgIMCAISAwoBARIDCgEBAAIBaQEHcHJvY2VzcwEFZGVwdGgEBWNsYWltCQD8BwQFBHRoaXMCBWNsYWltCQDMCAIFBWRlcHRoBQNuaWwFA25pbAMJAAACBQVjbGFpbQUFY2xhaW0DCQAAAgUFZGVwdGgAAAkAlAoCBQNuaWwFBHVuaXQEA3JlcwkA/AcEBQR0aGlzAgdwcm9jZXNzCQDMCAIJAGUCBQVkZXB0aAABBQNuaWwFA25pbAMJAAACBQNyZXMFA3JlcwkAlAoCBQNuaWwFA3JlcwkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgFpAQVjbGFpbQEFZGVwdGgECmNoZWNrRGVwdGgEByRtYXRjaDAJAJoIAgUEdGhpcwIEdGVzdAMJAAECBQckbWF0Y2gwAgRVbml0BQR1bml0AwkAAQIFByRtYXRjaDACA0ludAQDbnVtBQckbWF0Y2gwAwMJAQIhPQIFA251bQAACQECIT0CCQBlAgUDbnVtAAEFBWRlcHRoBwkAAgECBW9vb3BzBQR1bml0CQACAQILTWF0Y2ggZXJyb3IDCQAAAgUKY2hlY2tEZXB0aAUKY2hlY2tEZXB0aAkAlAoCCQDMCAIJAQxJbnRlZ2VyRW50cnkCAgR0ZXN0BQVkZXB0aAUDbmlsBQR1bml0CQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuABWzytc=", "height": 2127872, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: EEB1kxiyWNTrthSru6Qc2Sgmu3umgkdzcJhGtXCgxqgV Next: none Diff:
OldNewDifferences
2626 case _: Unit =>
2727 unit
2828 case num: Int =>
29- if (((num - 1) != depth))
29+ if (if ((num != 0))
30+ then ((num - 1) != depth)
31+ else false)
3032 then throw("ooops")
3133 else unit
3234 case _ =>
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(i)
77 func process (depth) = {
88 let claim = invoke(this, "claim", [depth], nil)
99 if ((claim == claim))
1010 then if ((depth == 0))
1111 then $Tuple2(nil, unit)
1212 else {
1313 let res = invoke(this, "process", [(depth - 1)], nil)
1414 if ((res == res))
1515 then $Tuple2(nil, res)
1616 else throw("Strict value is not equal to itself.")
1717 }
1818 else throw("Strict value is not equal to itself.")
1919 }
2020
2121
2222
2323 @Callable(i)
2424 func claim (depth) = {
2525 let checkDepth = match getInteger(this, "test") {
2626 case _: Unit =>
2727 unit
2828 case num: Int =>
29- if (((num - 1) != depth))
29+ if (if ((num != 0))
30+ then ((num - 1) != depth)
31+ else false)
3032 then throw("ooops")
3133 else unit
3234 case _ =>
3335 throw("Match error")
3436 }
3537 if ((checkDepth == checkDepth))
3638 then $Tuple2([IntegerEntry("test", depth)], unit)
3739 else throw("Strict value is not equal to itself.")
3840 }
3941
4042

github/deemru/w8io/169f3d6 
22.62 ms