tx · 76BHdCTnKotL2WMNUJDW4Akk2wux2TyrEzGN7mQ6pAKn

3N9kspLbAiRPivvg5Ei2fGtaxtxRYU99jxG:  -0.01000000 Waves

2022.05.20 12:45 [2059832] smart account 3N9kspLbAiRPivvg5Ei2fGtaxtxRYU99jxG > SELF 0.00000000 Waves

{ "type": 13, "id": "76BHdCTnKotL2WMNUJDW4Akk2wux2TyrEzGN7mQ6pAKn", "fee": 1000000, "feeAssetId": null, "timestamp": 1653040037383, "version": 2, "chainId": 84, "sender": "3N9kspLbAiRPivvg5Ei2fGtaxtxRYU99jxG", "senderPublicKey": "5QPxPpB4LUBvkd51CLwkW5PMzB5yzGxJSXWfdyXYgLXJ", "proofs": [ "3jZvKdH8ChpKFCUdjFjJuQsAL34RE8Xowyfr5Y6W92GwyH1Mgg7gzGKzV9G2E1M2ubychK7W88A64igkzbGURs1v" ], "script": "base64:AAIFAAAAAAAAAAkIAhIFCgMIAQEAAAAAAAAAAQAAAAFpAQAAAAR0ZXN0AAAAAwAAAAVkYXBwMgAAABBwYXltZW50c19jb3VudGVyAAAABWxpbWl0BAAAAAFjCQAAZAAAAAIFAAAAEHBheW1lbnRzX2NvdW50ZXIJAAGQAAAAAQgFAAAAAWkAAAAIcGF5bWVudHMDCQAAZgAAAAIFAAAAAWMFAAAABWxpbWl0CQAFFAAAAAIJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAICAAAAFnRvdGFsX3BheW1lbnRzX2NvdW50ZXIFAAAAAWMFAAAAA25pbAUAAAAQcGF5bWVudHNfY291bnRlcgQAAAADcmVzCQAD/QAAAAQJAQAAABFAZXh0ck5hdGl2ZSgxMDYyKQAAAAEFAAAABWRhcHAyAgAAAAR0ZXN0CQAETAAAAAIJAAQlAAAAAQUAAAAEdGhpcwkABEwAAAACBQAAAAFjCQAETAAAAAIFAAAABWxpbWl0BQAAAANuaWwJAARMAAAAAgkBAAAAD0F0dGFjaGVkUGF5bWVudAAAAAIFAAAABHVuaXQAAAAAAAAAAAEJAARMAAAAAgkBAAAAD0F0dGFjaGVkUGF5bWVudAAAAAIFAAAABHVuaXQAAAAAAAAAAAEJAARMAAAAAgkBAAAAD0F0dGFjaGVkUGF5bWVudAAAAAIFAAAABHVuaXQAAAAAAAAAAAEJAARMAAAAAgkBAAAAD0F0dGFjaGVkUGF5bWVudAAAAAIFAAAABHVuaXQAAAAAAAAAAAEJAARMAAAAAgkBAAAAD0F0dGFjaGVkUGF5bWVudAAAAAIFAAAABHVuaXQAAAAAAAAAAAEJAARMAAAAAgkBAAAAD0F0dGFjaGVkUGF5bWVudAAAAAIFAAAABHVuaXQAAAAAAAAAAAEFAAAAA25pbAMJAAAAAAAAAgUAAAADcmVzBQAAAANyZXMEAAAAByRtYXRjaDAFAAAAA3JlcwMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAADSW50BAAAAANyZXMFAAAAByRtYXRjaDAJAAUUAAAAAgkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAAVbGFzdF9wYXltZW50c19jb3VudGVyBQAAAANyZXMFAAAAA25pbAUAAAADcmVzCQAAAgAAAAECAAAAIVVuZXhwZWN0ZWQgcmV0dXJuIHZhbHVlIGZyb20gRGFwcAkAAAIAAAABAgAAACRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4AAAAAZKF4ng==", "height": 2059832, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: FtNzcaPt3NHqsYkp1dMSYTFaGiYJUez3wZxjVYHmKmeq Next: 56m49vfKEDe9jbyY54nTHE8Gzaki4qgaUbbzuTEY6zGA Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(i)
77 func test (dapp2,payments_counter,limit) = {
88 let c = (payments_counter + size(i.payments))
99 if ((c > limit))
1010 then $Tuple2([IntegerEntry("total_payments_counter", c)], payments_counter)
1111 else {
1212 let res = reentrantInvoke(addressFromStringValue(dapp2), "test", [toString(this), c, limit], [AttachedPayment(unit, 1), AttachedPayment(unit, 1), AttachedPayment(unit, 1), AttachedPayment(unit, 1), AttachedPayment(unit, 1), AttachedPayment(unit, 1)])
1313 if ((res == res))
1414 then match res {
1515 case res: Int =>
1616 $Tuple2([IntegerEntry("last_payments_counter", res)], res)
1717 case _ =>
1818 throw("Unexpected return value from Dapp")
1919 }
2020 else throw("Strict value is not equal to itself.")
2121 }
2222 }
2323
2424

github/deemru/w8io/026f985 
34.22 ms