tx · 8ctomSTPWueo3SuVxe6q4hDQSGv7i3FVSpVbRzejJNCH 3NAGFVwpzyGaGLbR29hvXLnY3ysZmeWogdX: -0.01000000 Waves 2022.05.20 12:50 [2059837] smart account 3NAGFVwpzyGaGLbR29hvXLnY3ysZmeWogdX > SELF 0.00000000 Waves
{ "type": 13, "id": "8ctomSTPWueo3SuVxe6q4hDQSGv7i3FVSpVbRzejJNCH", "fee": 1000000, "feeAssetId": null, "timestamp": 1653040241091, "version": 2, "chainId": 84, "sender": "3NAGFVwpzyGaGLbR29hvXLnY3ysZmeWogdX", "senderPublicKey": "5qA7HQ72BFr7ggPCXMRPR5wx7Woi4RL8EZBGkRSbbF8Y", "proofs": [ "2858nx7czSr66FhDHukC7xvuLx8WcAqjaKk75ERSEaRtgtcNCTcH5V8ByqRDW7ZQj9Hf3i3dExa8Z9a94vecG9Ve" ], "script": "base64:AAIFAAAAAAAAAAkIAhIFCgMIAQEAAAAAAAAAAQAAAAFpAQAAAAR0ZXN0AAAAAwAAAAVkYXBwMgAAABBwYXltZW50c19jb3VudGVyAAAABWxpbWl0BAAAAAFjCQAAZAAAAAIFAAAAEHBheW1lbnRzX2NvdW50ZXIJAAGQAAAAAQgFAAAAAWkAAAAIcGF5bWVudHMDCQAAZgAAAAIFAAAAAWMFAAAABWxpbWl0CQAFFAAAAAIJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAICAAAAFnRvdGFsX3BheW1lbnRzX2NvdW50ZXIFAAAAAWMFAAAAA25pbAUAAAAQcGF5bWVudHNfY291bnRlcgQAAAADcmVzCQAD/QAAAAQJAQAAABFAZXh0ck5hdGl2ZSgxMDYyKQAAAAEFAAAABWRhcHAyAgAAAAR0ZXN0CQAETAAAAAIJAAQlAAAAAQUAAAAEdGhpcwkABEwAAAACBQAAAAFjCQAETAAAAAIFAAAABWxpbWl0BQAAAANuaWwJAARMAAAAAgkBAAAAD0F0dGFjaGVkUGF5bWVudAAAAAIFAAAABHVuaXQAAAAAAAAAAAEJAARMAAAAAgkBAAAAD0F0dGFjaGVkUGF5bWVudAAAAAIFAAAABHVuaXQAAAAAAAAAAAEJAARMAAAAAgkBAAAAD0F0dGFjaGVkUGF5bWVudAAAAAIFAAAABHVuaXQAAAAAAAAAAAEJAARMAAAAAgkBAAAAD0F0dGFjaGVkUGF5bWVudAAAAAIFAAAABHVuaXQAAAAAAAAAAAEJAARMAAAAAgkBAAAAD0F0dGFjaGVkUGF5bWVudAAAAAIFAAAABHVuaXQAAAAAAAAAAAEJAARMAAAAAgkBAAAAD0F0dGFjaGVkUGF5bWVudAAAAAIFAAAABHVuaXQAAAAAAAAAAAEFAAAAA25pbAMJAAAAAAAAAgUAAAADcmVzBQAAAANyZXMEAAAAByRtYXRjaDAFAAAAA3JlcwMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAADSW50BAAAAANyZXMFAAAAByRtYXRjaDAJAAUUAAAAAgkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAAVbGFzdF9wYXltZW50c19jb3VudGVyBQAAAANyZXMFAAAAA25pbAUAAAADcmVzCQAAAgAAAAECAAAAIVVuZXhwZWN0ZWQgcmV0dXJuIHZhbHVlIGZyb20gRGFwcAkAAAIAAAABAgAAACRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4AAAAAZKF4ng==", "height": 2059837, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 3JAFdw453PFtU6e4xv3GyTNfQh5dpBGz1XS5BfxduZbN Next: 9jpkbt7QWD8srp7F25fzZSfGfAXfrfoe1rfefCdyu35H Full:
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | ||
5 | 5 | ||
6 | 6 | @Callable(i) | |
7 | 7 | func test (dapp2,payments_counter,limit) = { | |
8 | 8 | let c = (payments_counter + size(i.payments)) | |
9 | 9 | if ((c > limit)) | |
10 | 10 | then $Tuple2([IntegerEntry("total_payments_counter", c)], payments_counter) | |
11 | 11 | else { | |
12 | 12 | 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)]) | |
13 | 13 | if ((res == res)) | |
14 | 14 | then match res { | |
15 | 15 | case res: Int => | |
16 | 16 | $Tuple2([IntegerEntry("last_payments_counter", res)], res) | |
17 | 17 | case _ => | |
18 | 18 | throw("Unexpected return value from Dapp") | |
19 | 19 | } | |
20 | 20 | else throw("Strict value is not equal to itself.") | |
21 | 21 | } | |
22 | 22 | } | |
23 | 23 | ||
24 | 24 |
github/deemru/w8io/026f985 39.36 ms ◑