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