tx · 7U4YvyLcQvcipJ4sMor8rStvM3knNZS4dfsTkpaaDWDZ

3MxN9yafHqAds69z7NeaYgeXjeDUdzJya1M:  -0.01000000 Waves

2023.03.22 08:03 [2500782] smart account 3MxN9yafHqAds69z7NeaYgeXjeDUdzJya1M > SELF 0.00000000 Waves

{ "type": 13, "id": "7U4YvyLcQvcipJ4sMor8rStvM3knNZS4dfsTkpaaDWDZ", "fee": 1000000, "feeAssetId": null, "timestamp": 1679461459542, "version": 2, "chainId": 84, "sender": "3MxN9yafHqAds69z7NeaYgeXjeDUdzJya1M", "senderPublicKey": "CPR2z4Q8kdV2M4JHaFVVTRzdEWPUA1Whqtw6SWE8kyU9", "proofs": [ "3DianJhhJ6FKYNJwwPN4n3nB9RsMQXCAEUaAJAEjiSyKjNWnLC6m7w2sfrLBUTtoYGRKd3fBteY59UGbCtjy6oUp" ], "script": "base64:BgILCAISABIFCgMBAREAAgFpAQtleGFtcGxlQ2FsbAAEAXoJAPwHBAUEdGhpcwIRaW50ZXJuYWxSZWN1cnNpb24JAMwIAgAKCQDMCAIAAAkAzAgCBQNuaWwFA25pbAUDbmlsAwkAAAIFAXoFAXoEByRtYXRjaDAFAXoDCQABAgUHJG1hdGNoMAIDSW50BARsaXN0BQckbWF0Y2gwCQDMCAIJAQxJbnRlZ2VyRW50cnkCCQCsAgICCkVYRUNVVEVEX18JAKQDAQUEbGlzdAUEbGlzdAUDbmlsCQACAQIeV3JvbmcgaW50ZXJuYWwgZnVuY3Rpb24gcmVzdWx0CQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAWkBEWludGVybmFsUmVjdXJzaW9uAw1tYXhJdGVyYXRpb25zEGN1cnJlbnRJdGVyYXRpb24RYWNjdW11bGF0ZWRSZXN1bHQDCQECIT0CCAUBaQZjYWxsZXIFBHRoaXMJAAIBAiNPbmx5IGNhbiBiZSBjYWxsZWQgYnkgdGhpcyBjb250cmFjdAMJAGYCBQ1tYXhJdGVyYXRpb25zBRBjdXJyZW50SXRlcmF0aW9uBAF6CQD8BwQFBHRoaXMCEWludGVybmFsUmVjdXJzaW9uCQDMCAIFDW1heEl0ZXJhdGlvbnMJAMwIAgkAZAIFEGN1cnJlbnRJdGVyYXRpb24AAQkAzAgCCQDNCAIFEWFjY3VtdWxhdGVkUmVzdWx0BRBjdXJyZW50SXRlcmF0aW9uBQNuaWwFA25pbAMJAAACBQF6BQF6CQCUCgIJAMwIAgkBDEludGVnZXJFbnRyeQIJAKwCAgITY3VycmVudF9pdGVyYXRpb25fXwkApAMBBRBjdXJyZW50SXRlcmF0aW9uBRBjdXJyZW50SXRlcmF0aW9uBQNuaWwFEGN1cnJlbnRJdGVyYXRpb24JAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4JAJQKAgUDbmlsACgBAnR4AQZ2ZXJpZnkACQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwAACAUCdHgPc2VuZGVyUHVibGljS2V5u4xDiw==", "height": 2500782, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: GUfjE84MNf7CP76M7TWtwdUpxTdheQoXkqxwWcNtBvnN Next: 3RMcybpxRtZGNKdd9V2bBdGNSHrVaQDqRrbLZdppgNSp Diff:
OldNewDifferences
55
66 @Callable(i)
77 func exampleCall () = {
8- let z = reentrantInvoke(this, "internalRecursion", [10, 0, nil], nil)
8+ let z = invoke(this, "internalRecursion", [10, 0, nil], nil)
99 if ((z == z))
1010 then match z {
1111 case list: Int =>
2323 then throw("Only can be called by this contract")
2424 else if ((maxIterations > currentIteration))
2525 then {
26- let z = reentrantInvoke(this, "internalRecursion", [maxIterations, (currentIteration + 1), (accumulatedResult :+ currentIteration)], nil)
26+ let z = invoke(this, "internalRecursion", [maxIterations, (currentIteration + 1), (accumulatedResult :+ currentIteration)], nil)
2727 if ((z == z))
2828 then $Tuple2([IntegerEntry(("current_iteration__" + toString(currentIteration)), currentIteration)], currentIteration)
2929 else throw("Strict value is not equal to itself.")
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(i)
77 func exampleCall () = {
8- let z = reentrantInvoke(this, "internalRecursion", [10, 0, nil], nil)
8+ let z = invoke(this, "internalRecursion", [10, 0, nil], nil)
99 if ((z == z))
1010 then match z {
1111 case list: Int =>
1212 [IntegerEntry(("EXECUTED__" + toString(list)), list)]
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 {
26- let z = reentrantInvoke(this, "internalRecursion", [maxIterations, (currentIteration + 1), (accumulatedResult :+ currentIteration)], nil)
26+ let z = invoke(this, "internalRecursion", [maxIterations, (currentIteration + 1), (accumulatedResult :+ currentIteration)], nil)
2727 if ((z == z))
2828 then $Tuple2([IntegerEntry(("current_iteration__" + toString(currentIteration)), 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/026f985 
39.78 ms