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