tx · 47zqT2UpwhYHtYoXccgNB1cED8K5V4GUMBczT95s72Tk

3N7eEzkCtBoWaNRe4ZuTPrChbnjBLKDb9Bx:  -0.01000000 Waves

2023.05.27 08:31 [2595935] smart account 3N7eEzkCtBoWaNRe4ZuTPrChbnjBLKDb9Bx > SELF 0.00000000 Waves

{ "type": 13, "id": "47zqT2UpwhYHtYoXccgNB1cED8K5V4GUMBczT95s72Tk", "fee": 1000000, "feeAssetId": null, "timestamp": 1685165514055, "version": 2, "chainId": 84, "sender": "3N7eEzkCtBoWaNRe4ZuTPrChbnjBLKDb9Bx", "senderPublicKey": "2NK7BrUZMvnHzAoHnJfz3FuDBP5zYUNoxshB49AH2kbc", "proofs": [ "3BSPA8Qtjk4JyJtZUX5SgzbqJndvA3XQ1eTBFrWTihHkxLzazTUB5rmUzX7HbDz69GDmzqtPLM7juRRLHKdnDwHb" ], "script": "base64:AAIFAAAAAAAAAAcIAhIDCgEBAAAAAAAAAAEAAAABaQEAAAADZm9vAAAAAQAAAAlpdGVyYXRpb24EAAAADGdldEl0ZXJhdGlvbgkABBoAAAACBQAAAAR0aGlzAgAAAAV2YWx1ZQQAAAAGZ2V0SW50CQAAZQAAAAIKAAAAAAFABQAAAAxnZXRJdGVyYXRpb24DCQAAAQAAAAIFAAAAAUACAAAAA0ludAUAAAABQAkAAAIAAAABAgAAAB1Db3VsZG4ndCBjYXN0IEludHxVbml0IHRvIEludAAAAAAAAAAAAQMJAABmAAAAAgUAAAAGZ2V0SW50AAAAAAAAAAAABAAAAANyZXMJAAP9AAAABAUAAAAEdGhpcwIAAAADZm9vCQAETAAAAAIFAAAACWl0ZXJhdGlvbgUAAAADbmlsBQAAAANuaWwDCQAAAAAAAAIFAAAAA3JlcwUAAAADcmVzCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACAgAAAAlpdGVyYXRpb24FAAAABmdldEludAUAAAADbmlsCQAAAgAAAAECAAAAJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgkAAAIAAAABAgAAACNUaGUgY3ljbGUgaGFzIHBhc3NlZCBhbGwgaXRlcmF0aW9ucwAAAABA8ikB", "height": 2595935, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: DhmVRrXZ89XykmCTsfcXPCLc3VbGbYa5puYXyG5UTbzL Next: 9Qyn377JqXd3dJgo4uZStAxZt75v5oVNZ4og8o2L3JA1 Diff:
OldNewDifferences
55
66 @Callable(a)
77 func foo (b) = {
8- let c = reentrantInvoke(this, "foo", [b], nil)
9- if ((c == c))
8+ let c = getInteger(this, "value")
9+ let d = ({
10+ let e = c
11+ if ($isInstanceOf(e, "Int"))
12+ then e
13+ else throw("Couldn't cast Int|Unit to Int")
14+ } - 1)
15+ if ((d > 0))
1016 then {
11- let d = getInteger(this, "value")
12- let e = ({
13- let f = d
14- if ($isInstanceOf(f, "Int"))
15- then f
16- else throw("Couldn't cast Int|Unit to Int")
17- } - 1)
18- if ((e > 0))
19- then [IntegerEntry("iteration", e)]
20- else throw("The cycle has passed all iterations")
17+ let f = reentrantInvoke(this, "foo", [b], nil)
18+ if ((f == f))
19+ then [IntegerEntry("iteration", d)]
20+ else throw("Strict value is not equal to itself.")
2121 }
22- else throw("Strict value is not equal to itself.")
22+ else throw("The cycle has passed all iterations")
2323 }
2424
2525
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(a)
77 func foo (b) = {
8- let c = reentrantInvoke(this, "foo", [b], nil)
9- if ((c == c))
8+ let c = getInteger(this, "value")
9+ let d = ({
10+ let e = c
11+ if ($isInstanceOf(e, "Int"))
12+ then e
13+ else throw("Couldn't cast Int|Unit to Int")
14+ } - 1)
15+ if ((d > 0))
1016 then {
11- let d = getInteger(this, "value")
12- let e = ({
13- let f = d
14- if ($isInstanceOf(f, "Int"))
15- then f
16- else throw("Couldn't cast Int|Unit to Int")
17- } - 1)
18- if ((e > 0))
19- then [IntegerEntry("iteration", e)]
20- else throw("The cycle has passed all iterations")
17+ let f = reentrantInvoke(this, "foo", [b], nil)
18+ if ((f == f))
19+ then [IntegerEntry("iteration", d)]
20+ else throw("Strict value is not equal to itself.")
2121 }
22- else throw("Strict value is not equal to itself.")
22+ else throw("The cycle has passed all iterations")
2323 }
2424
2525

github/deemru/w8io/169f3d6 
23.61 ms