tx · 9Qyn377JqXd3dJgo4uZStAxZt75v5oVNZ4og8o2L3JA1
3N7eEzkCtBoWaNRe4ZuTPrChbnjBLKDb9Bx: -0.01000000 Waves
2023.05.27 08:37 [2595942] smart account 3N7eEzkCtBoWaNRe4ZuTPrChbnjBLKDb9Bx > SELF 0.00000000 Waves
{
"type": 13,
"id": "9Qyn377JqXd3dJgo4uZStAxZt75v5oVNZ4og8o2L3JA1",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1685165866203,
"version": 2,
"chainId": 84,
"sender": "3N7eEzkCtBoWaNRe4ZuTPrChbnjBLKDb9Bx",
"senderPublicKey": "2NK7BrUZMvnHzAoHnJfz3FuDBP5zYUNoxshB49AH2kbc",
"proofs": [
"sZVvjBrGSyoSuTtizEYgWcWsqFthNqu9iy2w8BEoYhUCJ1mvApdHuSi49pKkHeDsTxtauj4WnZseYi3UUYwTYac"
],
"script": "base64:AAIFAAAAAAAAAAcIAhIDCgEBAAAAAAAAAAEAAAABaQEAAAADZm9vAAAAAQAAAAlpdGVyYXRpb24EAAAADGdldEl0ZXJhdGlvbgkABBoAAAACBQAAAAR0aGlzAgAAAAV2YWx1ZQQAAAAGZ2V0SW50CQAAZQAAAAIKAAAAAAFABQAAAAxnZXRJdGVyYXRpb24DCQAAAQAAAAIFAAAAAUACAAAAA0ludAUAAAABQAkAAAIAAAABAgAAAB1Db3VsZG4ndCBjYXN0IEludHxVbml0IHRvIEludAAAAAAAAAAAAQMJAABmAAAAAgUAAAAGZ2V0SW50AAAAAAAAAAAABAAAAANyZXMJAAP9AAAABAUAAAAEdGhpcwIAAAADZm9vCQAETAAAAAIFAAAACWl0ZXJhdGlvbgUAAAADbmlsBQAAAANuaWwJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAICAAAACWl0ZXJhdGlvbgUAAAAGZ2V0SW50BQAAAANuaWwJAAACAAAAAQIAAAAjVGhlIGN5Y2xlIGhhcyBwYXNzZWQgYWxsIGl0ZXJhdGlvbnMAAAAAbVkjHw==",
"height": 2595942,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 47zqT2UpwhYHtYoXccgNB1cED8K5V4GUMBczT95s72Tk
Next: Dt6B38Wk9Suu8Jq6hQ3iCWdFHrmuoLKxyV5nsM44eHoV
Diff:
Old | New | | Differences |
---|
15 | 15 | | if ((getInt > 0)) |
---|
16 | 16 | | then { |
---|
17 | 17 | | let res = reentrantInvoke(this, "foo", [iteration], nil) |
---|
18 | | - | if ((res == res)) |
---|
19 | | - | then [IntegerEntry("iteration", getInt)] |
---|
20 | | - | else throw("Strict value is not equal to itself.") |
---|
| 18 | + | [IntegerEntry("iteration", getInt)] |
---|
21 | 19 | | } |
---|
22 | 20 | | else throw("The cycle has passed all iterations") |
---|
23 | 21 | | } |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 5 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | 7 | | func foo (iteration) = { |
---|
8 | 8 | | let getIteration = getInteger(this, "value") |
---|
9 | 9 | | let getInt = ({ |
---|
10 | 10 | | let @ = getIteration |
---|
11 | 11 | | if ($isInstanceOf(@, "Int")) |
---|
12 | 12 | | then @ |
---|
13 | 13 | | else throw("Couldn't cast Int|Unit to Int") |
---|
14 | 14 | | } - 1) |
---|
15 | 15 | | if ((getInt > 0)) |
---|
16 | 16 | | then { |
---|
17 | 17 | | let res = reentrantInvoke(this, "foo", [iteration], nil) |
---|
18 | | - | if ((res == res)) |
---|
19 | | - | then [IntegerEntry("iteration", getInt)] |
---|
20 | | - | else throw("Strict value is not equal to itself.") |
---|
| 18 | + | [IntegerEntry("iteration", getInt)] |
---|
21 | 19 | | } |
---|
22 | 20 | | else throw("The cycle has passed all iterations") |
---|
23 | 21 | | } |
---|
24 | 22 | | |
---|
25 | 23 | | |
---|