tx · G4dfvSSi7qZYopkGYY9QHf4GkmWg4ze3a8q7ZNag93tX 3N9kspLbAiRPivvg5Ei2fGtaxtxRYU99jxG: -0.01000000 Waves 2022.05.19 17:41 [2058681] smart account 3N9kspLbAiRPivvg5Ei2fGtaxtxRYU99jxG > SELF 0.00000000 Waves
{ "type": 13, "id": "G4dfvSSi7qZYopkGYY9QHf4GkmWg4ze3a8q7ZNag93tX", "fee": 1000000, "feeAssetId": null, "timestamp": 1652971366379, "version": 2, "chainId": 84, "sender": "3N9kspLbAiRPivvg5Ei2fGtaxtxRYU99jxG", "senderPublicKey": "5QPxPpB4LUBvkd51CLwkW5PMzB5yzGxJSXWfdyXYgLXJ", "proofs": [ "64fQXum2h3wibozg2Lm6BsQj9XV6DivoW8dfbzShFvXCnDCqR4nMzL1FhufEg1MyKnfy1MR9jkQD6JVPVYdJ3oJW" ], "script": "base64:AAIFAAAAAAAAAAgIAhIECgIIAQAAAAAAAAABAAAAAWkBAAAABHRlc3QAAAACAAAABWRhcHAyAAAAEHBheW1lbnRzX2NvdW50ZXIDCQAAZwAAAAIFAAAAEHBheW1lbnRzX2NvdW50ZXIAAAAAAAAAAGQJAAUUAAAAAgkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAAWdG90YWxfcGF5bWVudHNfY291bnRlcgUAAAAQcGF5bWVudHNfY291bnRlcgUAAAADbmlsBQAAABBwYXltZW50c19jb3VudGVyBAAAAANyZXMJAAP9AAAABAkBAAAAEUBleHRyTmF0aXZlKDEwNjIpAAAAAQUAAAAFZGFwcDICAAAABHRlc3QJAARMAAAAAgkABCUAAAABBQAAAAR0aGlzCQAETAAAAAIJAABkAAAAAgUAAAAQcGF5bWVudHNfY291bnRlcgkAAZAAAAABCAUAAAABaQAAAAhwYXltZW50cwUAAAADbmlsCQAETAAAAAIJAQAAAA9BdHRhY2hlZFBheW1lbnQAAAACBQAAAAR1bml0AAAAAAAAAAABCQAETAAAAAIJAQAAAA9BdHRhY2hlZFBheW1lbnQAAAACBQAAAAR1bml0AAAAAAAAAAABCQAETAAAAAIJAQAAAA9BdHRhY2hlZFBheW1lbnQAAAACBQAAAAR1bml0AAAAAAAAAAABCQAETAAAAAIJAQAAAA9BdHRhY2hlZFBheW1lbnQAAAACBQAAAAR1bml0AAAAAAAAAAABCQAETAAAAAIJAQAAAA9BdHRhY2hlZFBheW1lbnQAAAACBQAAAAR1bml0AAAAAAAAAAABCQAETAAAAAIJAQAAAA9BdHRhY2hlZFBheW1lbnQAAAACBQAAAAR1bml0AAAAAAAAAAABBQAAAANuaWwDCQAAAAAAAAIFAAAAA3JlcwUAAAADcmVzBAAAAAckbWF0Y2gwBQAAAANyZXMDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAA0ludAQAAAADcmVzBQAAAAckbWF0Y2gwCQAFFAAAAAIJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAICAAAAFWxhc3RfcGF5bWVudHNfY291bnRlcgUAAAADcmVzBQAAAANuaWwFAAAAA3JlcwkABRQAAAACBQAAAANuaWwAAAAAAAAAA+gJAAACAAAAAQIAAAAkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAAAAAGr0axY=", "height": 2058681, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 2BYYvk4mMnH2WhZYc4ACDqsGhMWUDRVqRu7qJFnJ3mYs Next: 65Qma7DGvPS5APU7qnEAmmG29zdcB7Ax8mjScbZRFXT8 Diff:
Old | New | Differences | |
---|---|---|---|
7 | 7 | func test (b,c) = if ((c >= 100)) | |
8 | 8 | then $Tuple2([IntegerEntry("total_payments_counter", c)], c) | |
9 | 9 | else { | |
10 | - | let d = reentrantInvoke(addressFromStringValue(b), "test", [this, (c + size(a.payments))], [AttachedPayment(unit, 1), AttachedPayment(unit, 1), AttachedPayment(unit, 1), AttachedPayment(unit, 1), AttachedPayment(unit, 1), AttachedPayment(unit, 1)]) | |
10 | + | let d = reentrantInvoke(addressFromStringValue(b), "test", [toString(this), (c + size(a.payments))], [AttachedPayment(unit, 1), AttachedPayment(unit, 1), AttachedPayment(unit, 1), AttachedPayment(unit, 1), AttachedPayment(unit, 1), AttachedPayment(unit, 1)]) | |
11 | 11 | if ((d == d)) | |
12 | 12 | then { | |
13 | 13 | let e = d |
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(a) | |
7 | 7 | func test (b,c) = if ((c >= 100)) | |
8 | 8 | then $Tuple2([IntegerEntry("total_payments_counter", c)], c) | |
9 | 9 | else { | |
10 | - | let d = reentrantInvoke(addressFromStringValue(b), "test", [this, (c + size(a.payments))], [AttachedPayment(unit, 1), AttachedPayment(unit, 1), AttachedPayment(unit, 1), AttachedPayment(unit, 1), AttachedPayment(unit, 1), AttachedPayment(unit, 1)]) | |
10 | + | let d = reentrantInvoke(addressFromStringValue(b), "test", [toString(this), (c + size(a.payments))], [AttachedPayment(unit, 1), AttachedPayment(unit, 1), AttachedPayment(unit, 1), AttachedPayment(unit, 1), AttachedPayment(unit, 1), AttachedPayment(unit, 1)]) | |
11 | 11 | if ((d == d)) | |
12 | 12 | then { | |
13 | 13 | let e = d | |
14 | 14 | if ($isInstanceOf(e, "Int")) | |
15 | 15 | then { | |
16 | 16 | let d = e | |
17 | 17 | $Tuple2([IntegerEntry("last_payments_counter", d)], d) | |
18 | 18 | } | |
19 | 19 | else $Tuple2(nil, 1000) | |
20 | 20 | } | |
21 | 21 | else throw("Strict value is not equal to itself.") | |
22 | 22 | } | |
23 | 23 | ||
24 | 24 |
github/deemru/w8io/169f3d6 26.42 ms ◑