tx · DvFQGiVPgfE6xagv857GmCjwkTtPCTZBRrLsT2cChS7k

3MxN9yafHqAds69z7NeaYgeXjeDUdzJya1M:  -0.01000000 Waves

2023.03.22 07:58 [2500777] smart account 3MxN9yafHqAds69z7NeaYgeXjeDUdzJya1M > SELF 0.00000000 Waves

{ "type": 13, "id": "DvFQGiVPgfE6xagv857GmCjwkTtPCTZBRrLsT2cChS7k", "fee": 1000000, "feeAssetId": null, "timestamp": 1679461166237, "version": 2, "chainId": 84, "sender": "3MxN9yafHqAds69z7NeaYgeXjeDUdzJya1M", "senderPublicKey": "CPR2z4Q8kdV2M4JHaFVVTRzdEWPUA1Whqtw6SWE8kyU9", "proofs": [ "zTAnakG1TbBmGu5eDDS68kudkzU5t8JTmkKyEjxRhm3ckCuDVsuu198tVvcapaT1sJ2TcYqabBkGTVTs8cAttUN" ], "script": "base64:BgILCAISABIFCgMBAREAAgFpAQtleGFtcGxlQ2FsbAAEAXoJAP0HBAUEdGhpcwIRaW50ZXJuYWxSZWN1cnNpb24JAMwIAgAKCQDMCAIAAAkAzAgCBQNuaWwFA25pbAUDbmlsAwkAAAIFAXoFAXoEByRtYXRjaDAFAXoDCQABAgUHJG1hdGNoMAIFKEludCkEBGxpc3QFByRtYXRjaDAJAMwIAgkBDEludGVnZXJFbnRyeQICCEVYRUNVVEVEAAEFA25pbAkAAgECHldyb25nIGludGVybmFsIGZ1bmN0aW9uIHJlc3VsdAkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgFpARFpbnRlcm5hbFJlY3Vyc2lvbgMNbWF4SXRlcmF0aW9ucxBjdXJyZW50SXRlcmF0aW9uEWFjY3VtdWxhdGVkUmVzdWx0AwkBAiE9AggFAWkGY2FsbGVyBQR0aGlzCQACAQIjT25seSBjYW4gYmUgY2FsbGVkIGJ5IHRoaXMgY29udHJhY3QDCQBmAgUNbWF4SXRlcmF0aW9ucwUQY3VycmVudEl0ZXJhdGlvbgQBegkA/QcEBQR0aGlzAhFpbnRlcm5hbFJlY3Vyc2lvbgkAzAgCBQ1tYXhJdGVyYXRpb25zCQDMCAIJAGQCBRBjdXJyZW50SXRlcmF0aW9uAAEJAMwIAgkAzQgCBRFhY2N1bXVsYXRlZFJlc3VsdAUQY3VycmVudEl0ZXJhdGlvbgUDbmlsBQNuaWwDCQAAAgUBegUBegkAzAgCCQEMSW50ZWdlckVudHJ5AgkArAICAhNjdXJyZW50X2l0ZXJhdGlvbl9fCQCkAwEFEGN1cnJlbnRJdGVyYXRpb24FEGN1cnJlbnRJdGVyYXRpb24FA25pbAkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgkAlAoCBQNuaWwAKAECdHgBBnZlcmlmeQAJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAAIBQJ0eA9zZW5kZXJQdWJsaWNLZXltzhZV", "height": 2500777, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: GrYa3CKUgQnveMsuV3qVV1uqcE9adTZna8wGHqSVGGpZ Next: DB8gh5DKXcbp9H1ypL2cZ7SvXVGfsQffd8c7EXyE1UW9 Diff:
OldNewDifferences
88 let z = reentrantInvoke(this, "internalRecursion", [10, 0, nil], nil)
99 if ((z == z))
1010 then match z {
11- case list: Int =>
12-[IntegerEntry("EXECUTED", list)]
11+ case list: (Int) =>
12+[IntegerEntry("EXECUTED", 1)]
1313 case _ =>
1414 throw("Wrong internal function result")
1515 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(i)
77 func exampleCall () = {
88 let z = reentrantInvoke(this, "internalRecursion", [10, 0, nil], nil)
99 if ((z == z))
1010 then match z {
11- case list: Int =>
12-[IntegerEntry("EXECUTED", list)]
11+ case list: (Int) =>
12+[IntegerEntry("EXECUTED", 1)]
1313 case _ =>
1414 throw("Wrong internal function result")
1515 }
1616 else throw("Strict value is not equal to itself.")
1717 }
1818
1919
2020
2121 @Callable(i)
2222 func internalRecursion (maxIterations,currentIteration,accumulatedResult) = if ((i.caller != this))
2323 then throw("Only can be called by this contract")
2424 else if ((maxIterations > currentIteration))
2525 then {
2626 let z = reentrantInvoke(this, "internalRecursion", [maxIterations, (currentIteration + 1), (accumulatedResult :+ currentIteration)], nil)
2727 if ((z == z))
2828 then [IntegerEntry(("current_iteration__" + toString(currentIteration)), currentIteration)]
2929 else throw("Strict value is not equal to itself.")
3030 }
3131 else $Tuple2(nil, 40)
3232
3333
3434 @Verifier(tx)
3535 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
3636

github/deemru/w8io/169f3d6 
28.11 ms