tx · 3WZ8TZfsQT4Z8JKYHyj2NWxJyEoHEquNcjNRJE7pTcpE
3N7eEzkCtBoWaNRe4ZuTPrChbnjBLKDb9Bx: -0.01000000 Waves
2023.05.26 13:33 [2594828] smart account 3N7eEzkCtBoWaNRe4ZuTPrChbnjBLKDb9Bx > SELF 0.00000000 Waves
{
"type": 13,
"id": "3WZ8TZfsQT4Z8JKYHyj2NWxJyEoHEquNcjNRJE7pTcpE",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1685097246541,
"version": 2,
"chainId": 84,
"sender": "3N7eEzkCtBoWaNRe4ZuTPrChbnjBLKDb9Bx",
"senderPublicKey": "2NK7BrUZMvnHzAoHnJfz3FuDBP5zYUNoxshB49AH2kbc",
"proofs": [
"5TPM9h57JqQh8UDCUfHvjimhfMZK87TmcZg1QYUsLqxooB9ZtZhWz9AoP4t1tE9wXAta4AvyNJ8bjohG546LtHfk"
],
"script": "base64:BgIHCAISAwoBAQABAWkBA2ZvbwEJaXRlcmF0aW9uBANyZXMJAP0HBAUEdGhpcwIDZm9vCQDMCAIFCWl0ZXJhdGlvbgUDbmlsBQNuaWwDCQAAAgUDcmVzBQNyZXMDCQBmAgUJaXRlcmF0aW9uAAAEBmdldEtleQkAmggCBQR0aGlzAglpdGVyYXRpb24EBmdldEludAkAZQIKAAFABQZnZXRLZXkDCQABAgUBQAIDSW50BQFACQACAQkArAICCQADAQUBQAIYIGNvdWxkbid0IGJlIGNhc3QgdG8gSW50AAEJAJQKAgkAzAgCCQEMSW50ZWdlckVudHJ5AgIJaXRlcmF0aW9uBQlpdGVyYXRpb24FA25pbAUDcmVzCQDMCAIJAQxJbnRlZ2VyRW50cnkCAglpdGVyYXRpb24FCWl0ZXJhdGlvbgUDbmlsCQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAMxJnaE=",
"height": 2594828,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: EpPoZhMxqi4Ck7THXcoLcBe29jqhfMMgYov3DVamegyS
Next: 7rg5g7qMo1RZj2L4fj8EP91F1a73WbZ5tqUSAgMssbyy
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 ((0 > iteration)) |
---|
| 10 | + | then if ((iteration > 0)) |
---|
11 | 11 | | then { |
---|
12 | | - | let getKey = getInteger(this, "value") |
---|
| 12 | + | let getKey = getInteger(this, "iteration") |
---|
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 | | - | $Tuple2([IntegerEntry("value", iteration)], res) |
---|
| 19 | + | $Tuple2([IntegerEntry("iteration", iteration)], res) |
---|
20 | 20 | | } |
---|
21 | | - | else [IntegerEntry("value", iteration)] |
---|
| 21 | + | else [IntegerEntry("iteration", iteration)] |
---|
22 | 22 | | else throw("Strict value is not equal to itself.") |
---|
23 | 23 | | } |
---|
24 | 24 | | |
---|
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 ((0 > iteration)) |
---|
| 10 | + | then if ((iteration > 0)) |
---|
11 | 11 | | then { |
---|
12 | | - | let getKey = getInteger(this, "value") |
---|
| 12 | + | let getKey = getInteger(this, "iteration") |
---|
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 | | - | $Tuple2([IntegerEntry("value", iteration)], res) |
---|
| 19 | + | $Tuple2([IntegerEntry("iteration", iteration)], res) |
---|
20 | 20 | | } |
---|
21 | | - | else [IntegerEntry("value", iteration)] |
---|
| 21 | + | else [IntegerEntry("iteration", iteration)] |
---|
22 | 22 | | else throw("Strict value is not equal to itself.") |
---|
23 | 23 | | } |
---|
24 | 24 | | |
---|
25 | 25 | | |
---|