tx · 7rg5g7qMo1RZj2L4fj8EP91F1a73WbZ5tqUSAgMssbyy
3N7eEzkCtBoWaNRe4ZuTPrChbnjBLKDb9Bx: -0.01000000 Waves
2023.05.26 13:38 [2594834] smart account 3N7eEzkCtBoWaNRe4ZuTPrChbnjBLKDb9Bx > SELF 0.00000000 Waves
{
"type": 13,
"id": "7rg5g7qMo1RZj2L4fj8EP91F1a73WbZ5tqUSAgMssbyy",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1685097567584,
"version": 2,
"chainId": 84,
"sender": "3N7eEzkCtBoWaNRe4ZuTPrChbnjBLKDb9Bx",
"senderPublicKey": "2NK7BrUZMvnHzAoHnJfz3FuDBP5zYUNoxshB49AH2kbc",
"proofs": [
"UR2Uq6v1NpDX2YDPWgDApJRBD3j6muV89AFDRWbo13JMvgBmK7Mcv6yq8hnVyvFNhpuZpuKMeojSbuXVSJv7faN"
],
"script": "base64:AAIFAAAAAAAAAAcIAhIDCgEBAAAAAAAAAAEAAAABaQEAAAADZm9vAAAAAQAAAAlpdGVyYXRpb24EAAAAA3JlcwkAA/0AAAAEBQAAAAR0aGlzAgAAAANmb28JAARMAAAAAgUAAAAJaXRlcmF0aW9uBQAAAANuaWwFAAAAA25pbAMJAAAAAAAAAgUAAAADcmVzBQAAAANyZXMFAAAAA25pbAkAAAIAAAABAgAAACRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4AAAAAfYiYQA==",
"height": 2594834,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 3WZ8TZfsQT4Z8JKYHyj2NWxJyEoHEquNcjNRJE7pTcpE
Next: 3DCkgHGdzw1JMq67m12sqmTSnakF9cMmosew3E9oEB2y
Diff:
Old | New | | Differences |
---|
1 | | - | {-# STDLIB_VERSION 6 #-} |
---|
| 1 | + | {-# STDLIB_VERSION 5 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | |
---|
|
7 | 7 | | func foo (iteration) = { |
---|
8 | 8 | | let res = reentrantInvoke(this, "foo", [iteration], nil) |
---|
9 | 9 | | if ((res == res)) |
---|
10 | | - | then if ((iteration > 0)) |
---|
11 | | - | then { |
---|
12 | | - | let getKey = getInteger(this, "iteration") |
---|
13 | | - | let getInt = ({ |
---|
14 | | - | let @ = getKey |
---|
15 | | - | if ($isInstanceOf(@, "Int")) |
---|
16 | | - | then @ |
---|
17 | | - | else throw(($getType(@) + " couldn't be cast to Int")) |
---|
18 | | - | } - 1) |
---|
19 | | - | $Tuple2([IntegerEntry("iteration", iteration)], res) |
---|
20 | | - | } |
---|
21 | | - | else [IntegerEntry("iteration", iteration)] |
---|
| 10 | + | then nil |
---|
22 | 11 | | else throw("Strict value is not equal to itself.") |
---|
23 | 12 | | } |
---|
24 | 13 | | |
---|
Full:
Old | New | | Differences |
---|
1 | | - | {-# STDLIB_VERSION 6 #-} |
---|
| 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 res = reentrantInvoke(this, "foo", [iteration], nil) |
---|
9 | 9 | | if ((res == res)) |
---|
10 | | - | then if ((iteration > 0)) |
---|
11 | | - | then { |
---|
12 | | - | let getKey = getInteger(this, "iteration") |
---|
13 | | - | let getInt = ({ |
---|
14 | | - | let @ = getKey |
---|
15 | | - | if ($isInstanceOf(@, "Int")) |
---|
16 | | - | then @ |
---|
17 | | - | else throw(($getType(@) + " couldn't be cast to Int")) |
---|
18 | | - | } - 1) |
---|
19 | | - | $Tuple2([IntegerEntry("iteration", iteration)], res) |
---|
20 | | - | } |
---|
21 | | - | else [IntegerEntry("iteration", iteration)] |
---|
| 10 | + | then nil |
---|
22 | 11 | | else throw("Strict value is not equal to itself.") |
---|
23 | 12 | | } |
---|
24 | 13 | | |
---|
25 | 14 | | |
---|