tx · CVggWNjra9Aq2kE3E9k13vNvV7zUs7jKZ54c5hYfRs9P

3MxN9yafHqAds69z7NeaYgeXjeDUdzJya1M:  -0.01000000 Waves

2023.03.21 21:33 [2500139] smart account 3MxN9yafHqAds69z7NeaYgeXjeDUdzJya1M > SELF 0.00000000 Waves

{ "type": 13, "id": "CVggWNjra9Aq2kE3E9k13vNvV7zUs7jKZ54c5hYfRs9P", "fee": 1000000, "feeAssetId": null, "timestamp": 1679423632321, "version": 2, "chainId": 84, "sender": "3MxN9yafHqAds69z7NeaYgeXjeDUdzJya1M", "senderPublicKey": "CPR2z4Q8kdV2M4JHaFVVTRzdEWPUA1Whqtw6SWE8kyU9", "proofs": [ "5BWcRCcL68DzDz5RkTvhDRGVHuK4LtPo5zoE6cAR2dRbv4SX9mBKMHB3JKvg1Ar4D6nye1PTTH9vboM57iG3x9Ju" ], "script": "base64:BgILCAISABIFCgMBAREAAgFpAQtleGFtcGxlQ2FsbAAEAXoJAP0HBAUEdGhpcwIRaW50ZXJuYWxSZWN1cnNpb24JAMwIAgAKCQDMCAIAAAkAzAgCBQNuaWwFA25pbAUDbmlsAwkAAAIFAXoFAXoEByRtYXRjaDAFAXoDCQABAgUHJG1hdGNoMAIJTGlzdFtBbnldBARsaXN0BQckbWF0Y2gwCQDMCAIJAQxJbnRlZ2VyRW50cnkCAglMaXN0IHNpemUJAJADAQUEbGlzdAUDbmlsCQACAQIeV3JvbmcgaW50ZXJuYWwgZnVuY3Rpb24gcmVzdWx0CQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAWkBEWludGVybmFsUmVjdXJzaW9uAw1tYXhJdGVyYXRpb25zEGN1cnJlbnRJdGVyYXRpb24RYWNjdW11bGF0ZWRSZXN1bHQDCQECIT0CCAUBaQZjYWxsZXIFBHRoaXMJAAIBAiNPbmx5IGNhbiBiZSBjYWxsZWQgYnkgdGhpcyBjb250cmFjdAMJAGYCBQ1tYXhJdGVyYXRpb25zBRBjdXJyZW50SXRlcmF0aW9uBAF6CQD9BwQFBHRoaXMCEWludGVybmFsUmVjdXJzaW9uCQDMCAIFDW1heEl0ZXJhdGlvbnMJAMwIAgkAZAIFEGN1cnJlbnRJdGVyYXRpb24AAQkAzAgCCQDNCAIFEWFjY3VtdWxhdGVkUmVzdWx0BRBjdXJyZW50SXRlcmF0aW9uBQNuaWwFA25pbAMJAAACBQF6BQF6BQNuaWwJAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4JAJQKAgUDbmlsBRFhY2N1bXVsYXRlZFJlc3VsdAECdHgBBnZlcmlmeQAJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAAIBQJ0eA9zZW5kZXJQdWJsaWNLZXl8GZXh", "height": 2500139, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: F3Vn7yYoGiwzPoiP8HyCWtbTB9hwqKL2nwK41MYEBH7X Full:
OldNewDifferences
1-# no script
1+{-# STDLIB_VERSION 6 #-}
2+{-# SCRIPT_TYPE ACCOUNT #-}
3+{-# CONTENT_TYPE DAPP #-}
4+
5+
6+@Callable(a)
7+func exampleCall () = {
8+ let b = reentrantInvoke(this, "internalRecursion", [10, 0, nil], nil)
9+ if ((b == b))
10+ then {
11+ let c = b
12+ if ($isInstanceOf(c, "List[Any]"))
13+ then {
14+ let d = c
15+[IntegerEntry("List size", size(d))]
16+ }
17+ else throw("Wrong internal function result")
18+ }
19+ else throw("Strict value is not equal to itself.")
20+ }
21+
22+
23+
24+@Callable(a)
25+func internalRecursion (e,f,g) = if ((a.caller != this))
26+ then throw("Only can be called by this contract")
27+ else if ((e > f))
28+ then {
29+ let b = reentrantInvoke(this, "internalRecursion", [e, (f + 1), (g :+ f)], nil)
30+ if ((b == b))
31+ then nil
32+ else throw("Strict value is not equal to itself.")
33+ }
34+ else $Tuple2(nil, g)
35+
36+
37+@Verifier(h)
38+func i () = sigVerify(h.bodyBytes, h.proofs[0], h.senderPublicKey)
39+

github/deemru/w8io/026f985 
19.67 ms