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
2929 else if ($isInstanceOf(f, "Int"))
3030 then {
3131 let g = f
32- if (((g - 1) != b))
32+ if (if ((g != 0))
33+ then ((g - 1) != b)
34+ else false)
3335 then throw("ooops")
3436 else unit
3537 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(a)
77 func process (b) = {
88 let c = invoke(this, "claim", [b], nil)
99 if ((c == c))
1010 then if ((b == 0))
1111 then $Tuple2(nil, unit)
1212 else {
1313 let d = invoke(this, "process", [(b - 1)], nil)
1414 if ((d == d))
1515 then $Tuple2(nil, d)
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(a)
2424 func claim (b) = {
2525 let e = {
2626 let f = getInteger(this, "test")
2727 if ($isInstanceOf(f, "Unit"))
2828 then unit
2929 else if ($isInstanceOf(f, "Int"))
3030 then {
3131 let g = f
32- if (((g - 1) != b))
32+ if (if ((g != 0))
33+ then ((g - 1) != b)
34+ else false)
3335 then throw("ooops")
3436 else unit
3537 }
3638 else throw("Match error")
3739 }
3840 if ((e == e))
3941 then $Tuple2([IntegerEntry("test", b)], unit)
4042 else throw("Strict value is not equal to itself.")
4143 }
4244
4345

github/deemru/w8io/169f3d6 
27.51 ms