tx · aHSgc6UMUeeyV7eLxLZkEsQGHaLFrhyzE17mJuwPxkP
3N7eEzkCtBoWaNRe4ZuTPrChbnjBLKDb9Bx: -0.01000000 Waves
2023.05.27 17:32 [2596489] smart account 3N7eEzkCtBoWaNRe4ZuTPrChbnjBLKDb9Bx > SELF 0.00000000 Waves
{
"type": 13,
"id": "aHSgc6UMUeeyV7eLxLZkEsQGHaLFrhyzE17mJuwPxkP",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1685197978337,
"version": 2,
"chainId": 84,
"sender": "3N7eEzkCtBoWaNRe4ZuTPrChbnjBLKDb9Bx",
"senderPublicKey": "2NK7BrUZMvnHzAoHnJfz3FuDBP5zYUNoxshB49AH2kbc",
"proofs": [
"391T4A6976DdxHbhxegauVJjRyNn8ZeF92NSDToYyGA9418meMNPoR2r4JDVziZhTwmtYiJhe6m4wQGtrVbKVzyE"
],
"script": "base64:BgIHCAISAwoBAQMAEWtJbmNyZW1lbnRDb3VudGVyAhBpbmNyZW1lbnRDb3VudGVyABdjdXJyZW50SW5jcmVtZW50Q291bnRlcgkBE3ZhbHVlT3JFcnJvck1lc3NhZ2UCCQCaCAIFBHRoaXMFEWtJbmNyZW1lbnRDb3VudGVyAhpJbmNyZW1lbnQgc3RvcmUgcmVhZCBlcnJvcgAJaXRlcmF0aW9uCQETdmFsdWVPckVycm9yTWVzc2FnZQIJAJoIAgUEdGhpcwIMdXNlcnNDb3VudGVyAhZSYW5nZSBzdG9yZSByZWFkIGVycm9yAQFpAQNmb28BCWl0ZXJhdGlvbgMJAGcCBQlpdGVyYXRpb24AAAQDcmVzCQD9BwQFBHRoaXMCA2ZvbwkAzAgCCQBlAgUJaXRlcmF0aW9uAAEFA25pbAUDbmlsAwkAAAIFA3JlcwUDcmVzCQDMCAIJAQxJbnRlZ2VyRW50cnkCAgV2YWx1ZQUJaXRlcmF0aW9uBQNuaWwJAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4FA25pbADC2yHw",
"height": 2596489,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 4mH1xG1UvQ671zSGSxcH9XaWUZFDVRWBt2BWAY1bvzK8
Next: BEPtNoKsnc2gze2YoArhmriYqMfHMuQsUkLNkLKYu5di
Diff:
Old | New | | Differences |
---|
8 | 8 | | let iteration = valueOrErrorMessage(getInteger(this, "usersCounter"), "Range store read error") |
---|
9 | 9 | | |
---|
10 | 10 | | @Callable(i) |
---|
11 | | - | func foo (iteration,key) = if ((iteration >= 0)) |
---|
| 11 | + | func foo (iteration) = if ((iteration >= 0)) |
---|
12 | 12 | | then { |
---|
13 | | - | let res = reentrantInvoke(this, "foo", [(iteration - 1), key], nil) |
---|
| 13 | + | let res = reentrantInvoke(this, "foo", [(iteration - 1)], nil) |
---|
14 | 14 | | if ((res == res)) |
---|
15 | | - | then [IntegerEntry(key, iteration)] |
---|
| 15 | + | then [IntegerEntry("value", iteration)] |
---|
16 | 16 | | else throw("Strict value is not equal to itself.") |
---|
17 | 17 | | } |
---|
18 | 18 | | else nil |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 6 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | let kIncrementCounter = "incrementCounter" |
---|
5 | 5 | | |
---|
6 | 6 | | let currentIncrementCounter = valueOrErrorMessage(getInteger(this, kIncrementCounter), "Increment store read error") |
---|
7 | 7 | | |
---|
8 | 8 | | let iteration = valueOrErrorMessage(getInteger(this, "usersCounter"), "Range store read error") |
---|
9 | 9 | | |
---|
10 | 10 | | @Callable(i) |
---|
11 | | - | func foo (iteration,key) = if ((iteration >= 0)) |
---|
| 11 | + | func foo (iteration) = if ((iteration >= 0)) |
---|
12 | 12 | | then { |
---|
13 | | - | let res = reentrantInvoke(this, "foo", [(iteration - 1), key], nil) |
---|
| 13 | + | let res = reentrantInvoke(this, "foo", [(iteration - 1)], nil) |
---|
14 | 14 | | if ((res == res)) |
---|
15 | | - | then [IntegerEntry(key, iteration)] |
---|
| 15 | + | then [IntegerEntry("value", iteration)] |
---|
16 | 16 | | else throw("Strict value is not equal to itself.") |
---|
17 | 17 | | } |
---|
18 | 18 | | else nil |
---|
19 | 19 | | |
---|
20 | 20 | | |
---|