tx · F56vg2kTPXqCn4kBQba89vijqdRzBtmTe3Wzfr315L3L
3MxN9yafHqAds69z7NeaYgeXjeDUdzJya1M: -0.01000000 Waves
2023.03.22 08:02 [2500781] smart account 3MxN9yafHqAds69z7NeaYgeXjeDUdzJya1M > SELF 0.00000000 Waves
{
"type": 13,
"id": "F56vg2kTPXqCn4kBQba89vijqdRzBtmTe3Wzfr315L3L",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1679461339751,
"version": 2,
"chainId": 84,
"sender": "3MxN9yafHqAds69z7NeaYgeXjeDUdzJya1M",
"senderPublicKey": "CPR2z4Q8kdV2M4JHaFVVTRzdEWPUA1Whqtw6SWE8kyU9",
"proofs": [
"4UptHfUaqQytB5kQQWknG68CjgB96c1mdn5Pxq9WobMpCcoKUDYgdnUFgDd6txHdeQeuSSvWsBNLhJG1hR4jktEs"
],
"script": "base64:BgILCAISABIFCgMBAREAAgFpAQtleGFtcGxlQ2FsbAAEAXoJAP0HBAUEdGhpcwIRaW50ZXJuYWxSZWN1cnNpb24JAMwIAgAKCQDMCAIAAAkAzAgCBQNuaWwFA25pbAUDbmlsAwkAAAIFAXoFAXoEByRtYXRjaDAFAXoDCQABAgUHJG1hdGNoMAIDSW50BARsaXN0BQckbWF0Y2gwCQDMCAIJAQxJbnRlZ2VyRW50cnkCCQCsAgICCkVYRUNVVEVEX18JAKQDAQUEbGlzdAUEbGlzdAUDbmlsCQACAQIeV3JvbmcgaW50ZXJuYWwgZnVuY3Rpb24gcmVzdWx0CQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAWkBEWludGVybmFsUmVjdXJzaW9uAw1tYXhJdGVyYXRpb25zEGN1cnJlbnRJdGVyYXRpb24RYWNjdW11bGF0ZWRSZXN1bHQDCQECIT0CCAUBaQZjYWxsZXIFBHRoaXMJAAIBAiNPbmx5IGNhbiBiZSBjYWxsZWQgYnkgdGhpcyBjb250cmFjdAMJAGYCBQ1tYXhJdGVyYXRpb25zBRBjdXJyZW50SXRlcmF0aW9uBAF6CQD9BwQFBHRoaXMCEWludGVybmFsUmVjdXJzaW9uCQDMCAIFDW1heEl0ZXJhdGlvbnMJAMwIAgkAZAIFEGN1cnJlbnRJdGVyYXRpb24AAQkAzAgCCQDNCAIFEWFjY3VtdWxhdGVkUmVzdWx0BRBjdXJyZW50SXRlcmF0aW9uBQNuaWwFA25pbAMJAAACBQF6BQF6CQCUCgIJAMwIAgkBDEludGVnZXJFbnRyeQIJAKwCAgITY3VycmVudF9pdGVyYXRpb25fXwkApAMBBRBjdXJyZW50SXRlcmF0aW9uBRBjdXJyZW50SXRlcmF0aW9uBQNuaWwAKwkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgkAlAoCBQNuaWwAKAECdHgBBnZlcmlmeQAJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAAIBQJ0eA9zZW5kZXJQdWJsaWNLZXmRHJ2z",
"height": 2500781,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: GaKUFgrNfYjpBuxLoArZF9PnQMicPrJxZRQLg5rWdvDn
Next: GUfjE84MNf7CP76M7TWtwdUpxTdheQoXkqxwWcNtBvnN
Diff:
Old | New | | Differences |
---|
12 | 12 | | if ($isInstanceOf(c, "Int")) |
---|
13 | 13 | | then { |
---|
14 | 14 | | let d = c |
---|
15 | | - | [IntegerEntry("EXECUTED", 1)] |
---|
| 15 | + | [IntegerEntry(("EXECUTED__" + toString(d)), d)] |
---|
16 | 16 | | } |
---|
17 | 17 | | else throw("Wrong internal function result") |
---|
18 | 18 | | } |
---|
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(a) |
---|
7 | 7 | | func exampleCall () = { |
---|
8 | 8 | | let b = reentrantInvoke(this, "internalRecursion", [10, 0, nil], nil) |
---|
9 | 9 | | if ((b == b)) |
---|
10 | 10 | | then { |
---|
11 | 11 | | let c = b |
---|
12 | 12 | | if ($isInstanceOf(c, "Int")) |
---|
13 | 13 | | then { |
---|
14 | 14 | | let d = c |
---|
15 | | - | [IntegerEntry("EXECUTED", 1)] |
---|
| 15 | + | [IntegerEntry(("EXECUTED__" + toString(d)), d)] |
---|
16 | 16 | | } |
---|
17 | 17 | | else throw("Wrong internal function result") |
---|
18 | 18 | | } |
---|
19 | 19 | | else throw("Strict value is not equal to itself.") |
---|
20 | 20 | | } |
---|
21 | 21 | | |
---|
22 | 22 | | |
---|
23 | 23 | | |
---|
24 | 24 | | @Callable(a) |
---|
25 | 25 | | func internalRecursion (e,f,g) = if ((a.caller != this)) |
---|
26 | 26 | | then throw("Only can be called by this contract") |
---|
27 | 27 | | else if ((e > f)) |
---|
28 | 28 | | then { |
---|
29 | 29 | | let b = reentrantInvoke(this, "internalRecursion", [e, (f + 1), (g :+ f)], nil) |
---|
30 | 30 | | if ((b == b)) |
---|
31 | 31 | | then $Tuple2([IntegerEntry(("current_iteration__" + toString(f)), f)], 43) |
---|
32 | 32 | | else throw("Strict value is not equal to itself.") |
---|
33 | 33 | | } |
---|
34 | 34 | | else $Tuple2(nil, 40) |
---|
35 | 35 | | |
---|
36 | 36 | | |
---|
37 | 37 | | @Verifier(h) |
---|
38 | 38 | | func i () = sigVerify(h.bodyBytes, h.proofs[0], h.senderPublicKey) |
---|
39 | 39 | | |
---|