tx · MuanKBieNpGzbxZ2aUT59BvnoproMBpcZxhPetmf83p

3NAGFVwpzyGaGLbR29hvXLnY3ysZmeWogdX:  -0.01000000 Waves

2022.05.19 18:01 [2058699] smart account 3NAGFVwpzyGaGLbR29hvXLnY3ysZmeWogdX > SELF 0.00000000 Waves

{ "type": 13, "id": "MuanKBieNpGzbxZ2aUT59BvnoproMBpcZxhPetmf83p", "fee": 1000000, "feeAssetId": null, "timestamp": 1652972487245, "version": 2, "chainId": 84, "sender": "3NAGFVwpzyGaGLbR29hvXLnY3ysZmeWogdX", "senderPublicKey": "5qA7HQ72BFr7ggPCXMRPR5wx7Woi4RL8EZBGkRSbbF8Y", "proofs": [ "2sZzT1Yd2nq2TZfREcsthzYfSGZmWpF52j4cJJEn2kiDa6o3Hs5b7FotqqN3nJhhBtoxPSMTXXNu5NJzTKU1dUFQ" ], "script": "base64:AAIFAAAAAAAAAAcIAhIDCgEBAAAAAAAAAAEAAAABaQEAAAAEdGVzdAAAAAEAAAAQcGF5bWVudHNfY291bnRlcgMJAABnAAAAAgUAAAAQcGF5bWVudHNfY291bnRlcgAAAAAAAAAAZAkABRQAAAACCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACAgAAABZ0b3RhbF9wYXltZW50c19jb3VudGVyBQAAABBwYXltZW50c19jb3VudGVyBQAAAANuaWwFAAAAEHBheW1lbnRzX2NvdW50ZXIEAAAAA3JlcwkAA/0AAAAECQEAAAARQGV4dHJOYXRpdmUoMTA2MikAAAABCQAEJQAAAAEIBQAAAAFpAAAABmNhbGxlcgIAAAAEdGVzdAkABEwAAAACCQAAZAAAAAIFAAAAEHBheW1lbnRzX2NvdW50ZXIJAAGQAAAAAQgFAAAAAWkAAAAIcGF5bWVudHMFAAAAA25pbAkABEwAAAACCQEAAAAPQXR0YWNoZWRQYXltZW50AAAAAgUAAAAEdW5pdAAAAAAAAAAAAQkABEwAAAACCQEAAAAPQXR0YWNoZWRQYXltZW50AAAAAgUAAAAEdW5pdAAAAAAAAAAAAQkABEwAAAACCQEAAAAPQXR0YWNoZWRQYXltZW50AAAAAgUAAAAEdW5pdAAAAAAAAAAAAQkABEwAAAACCQEAAAAPQXR0YWNoZWRQYXltZW50AAAAAgUAAAAEdW5pdAAAAAAAAAAAAQkABEwAAAACCQEAAAAPQXR0YWNoZWRQYXltZW50AAAAAgUAAAAEdW5pdAAAAAAAAAAAAQkABEwAAAACCQEAAAAPQXR0YWNoZWRQYXltZW50AAAAAgUAAAAEdW5pdAAAAAAAAAAAAQUAAAADbmlsAwkAAAAAAAACBQAAAANyZXMFAAAAA3JlcwQAAAAHJG1hdGNoMAUAAAADcmVzAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAANJbnQEAAAAA3JlcwUAAAAHJG1hdGNoMAkABRQAAAACCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACAgAAABVsYXN0X3BheW1lbnRzX2NvdW50ZXIFAAAAA3JlcwUAAAADbmlsBQAAAANyZXMJAAUUAAAAAgUAAAADbmlsAAAAAAAAAAPoCQAAAgAAAAECAAAAJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgAAAAAumHSl", "height": 2058699, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 51EJmEw9LkT4VNMLPC9tXuUYAn2vuNd28enxjexKUu9J Next: 7Pyxv6FPLwi9pLWRcQmmJCgVPiDSPVakLNPgsMAEuQex Diff:
OldNewDifferences
77 func test (payments_counter) = if ((payments_counter >= 100))
88 then $Tuple2([IntegerEntry("total_payments_counter", payments_counter)], payments_counter)
99 else {
10- let res = reentrantInvoke(addressFromStringValue(toString(i.caller)), "test", [toString(this), (payments_counter + size(i.payments))], [AttachedPayment(unit, 1), AttachedPayment(unit, 1), AttachedPayment(unit, 1), AttachedPayment(unit, 1), AttachedPayment(unit, 1), AttachedPayment(unit, 1)])
10+ let res = reentrantInvoke(addressFromStringValue(toString(i.caller)), "test", [(payments_counter + size(i.payments))], [AttachedPayment(unit, 1), AttachedPayment(unit, 1), AttachedPayment(unit, 1), AttachedPayment(unit, 1), AttachedPayment(unit, 1), AttachedPayment(unit, 1)])
1111 if ((res == res))
1212 then match res {
1313 case res: Int =>
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(i)
77 func test (payments_counter) = if ((payments_counter >= 100))
88 then $Tuple2([IntegerEntry("total_payments_counter", payments_counter)], payments_counter)
99 else {
10- let res = reentrantInvoke(addressFromStringValue(toString(i.caller)), "test", [toString(this), (payments_counter + size(i.payments))], [AttachedPayment(unit, 1), AttachedPayment(unit, 1), AttachedPayment(unit, 1), AttachedPayment(unit, 1), AttachedPayment(unit, 1), AttachedPayment(unit, 1)])
10+ let res = reentrantInvoke(addressFromStringValue(toString(i.caller)), "test", [(payments_counter + size(i.payments))], [AttachedPayment(unit, 1), AttachedPayment(unit, 1), AttachedPayment(unit, 1), AttachedPayment(unit, 1), AttachedPayment(unit, 1), AttachedPayment(unit, 1)])
1111 if ((res == res))
1212 then match res {
1313 case res: Int =>
1414 $Tuple2([IntegerEntry("last_payments_counter", res)], res)
1515 case _ =>
1616 $Tuple2(nil, 1000)
1717 }
1818 else throw("Strict value is not equal to itself.")
1919 }
2020
2121

github/deemru/w8io/169f3d6 
30.78 ms