tx · GgHk9EhP8mAwVLN5TL2H9zE7oNFppyhCjL9jWocJV5Gr

3N9kspLbAiRPivvg5Ei2fGtaxtxRYU99jxG:  -0.01000000 Waves

2022.05.20 12:13 [2059804] smart account 3N9kspLbAiRPivvg5Ei2fGtaxtxRYU99jxG > SELF 0.00000000 Waves

{ "type": 13, "id": "GgHk9EhP8mAwVLN5TL2H9zE7oNFppyhCjL9jWocJV5Gr", "fee": 1000000, "feeAssetId": null, "timestamp": 1653038113880, "version": 2, "chainId": 84, "sender": "3N9kspLbAiRPivvg5Ei2fGtaxtxRYU99jxG", "senderPublicKey": "5QPxPpB4LUBvkd51CLwkW5PMzB5yzGxJSXWfdyXYgLXJ", "proofs": [ "5uzUTqS5xsWJV9oCFbmDiTSAzCowJCg6RoYBXeKXfJcGRa7HaVa3MdCYJYriQFcgM7F3SjUBB597gCbyHa7yx9DT" ], "script": "base64:AAIFAAAAAAAAAAkIAhIFCgMIAQEAAAAAAAAAAQAAAAFpAQAAAAR0ZXN0AAAAAwAAAAVkYXBwMgAAABBwYXltZW50c19jb3VudGVyAAAABWxpbWl0BAAAAAFjCQAAZAAAAAIFAAAAEHBheW1lbnRzX2NvdW50ZXIJAAGQAAAAAQgFAAAAAWkAAAAIcGF5bWVudHMDCQAAZgAAAAIFAAAAAWMFAAAABWxpbWl0CQAFFAAAAAIJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAICAAAAFnRvdGFsX3BheW1lbnRzX2NvdW50ZXIFAAAAEHBheW1lbnRzX2NvdW50ZXIFAAAAA25pbAUAAAAQcGF5bWVudHNfY291bnRlcgQAAAADcmVzCQAD/QAAAAQJAQAAABFAZXh0ck5hdGl2ZSgxMDYyKQAAAAEFAAAABWRhcHAyAgAAAAR0ZXN0CQAETAAAAAIJAAQlAAAAAQUAAAAEdGhpcwkABEwAAAACBQAAAAFjCQAETAAAAAIFAAAABWxpbWl0BQAAAANuaWwJAARMAAAAAgkBAAAAD0F0dGFjaGVkUGF5bWVudAAAAAIFAAAABHVuaXQAAAAAAAAAAAEJAARMAAAAAgkBAAAAD0F0dGFjaGVkUGF5bWVudAAAAAIFAAAABHVuaXQAAAAAAAAAAAEJAARMAAAAAgkBAAAAD0F0dGFjaGVkUGF5bWVudAAAAAIFAAAABHVuaXQAAAAAAAAAAAEJAARMAAAAAgkBAAAAD0F0dGFjaGVkUGF5bWVudAAAAAIFAAAABHVuaXQAAAAAAAAAAAEJAARMAAAAAgkBAAAAD0F0dGFjaGVkUGF5bWVudAAAAAIFAAAABHVuaXQAAAAAAAAAAAEJAARMAAAAAgkBAAAAD0F0dGFjaGVkUGF5bWVudAAAAAIFAAAABHVuaXQAAAAAAAAAAAEFAAAAA25pbAMJAAAAAAAAAgUAAAADcmVzBQAAAANyZXMEAAAAByRtYXRjaDAFAAAAA3JlcwMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAADSW50BAAAAANyZXMFAAAAByRtYXRjaDAJAAUUAAAAAgkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAAVbGFzdF9wYXltZW50c19jb3VudGVyBQAAAANyZXMFAAAAA25pbAUAAAADcmVzCQAAAgAAAAECAAAAIVVuZXhwZWN0ZWQgcmV0dXJuIHZhbHVlIGZyb20gRGFwcAkAAAIAAAABAgAAACRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4AAAAAn0PMnA==", "height": 2059804, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 87uQpyhhya3MQRuiSRxD4R2cGsFWpzX38jJCBBJxo3FW Next: FtNzcaPt3NHqsYkp1dMSYTFaGiYJUez3wZxjVYHmKmeq Diff:
OldNewDifferences
44
55
66 @Callable(a)
7-func test (b,c) = if ((c >= 100))
8- then $Tuple2([IntegerEntry("total_payments_counter", c)], c)
9- else {
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- if ((d == d))
12- then {
13- let e = d
14- if ($isInstanceOf(e, "Int"))
15- then {
16- let d = e
17- $Tuple2([IntegerEntry("last_payments_counter", d)], d)
18- }
19- else throw("Unexpected return value from Dapp")
20- }
21- else throw("Strict value is not equal to itself.")
22- }
7+func test (b,c,d) = {
8+ let e = (c + size(a.payments))
9+ if ((e > d))
10+ then $Tuple2([IntegerEntry("total_payments_counter", c)], c)
11+ else {
12+ let f = reentrantInvoke(addressFromStringValue(b), "test", [toString(this), e, d], [AttachedPayment(unit, 1), AttachedPayment(unit, 1), AttachedPayment(unit, 1), AttachedPayment(unit, 1), AttachedPayment(unit, 1), AttachedPayment(unit, 1)])
13+ if ((f == f))
14+ then {
15+ let g = f
16+ if ($isInstanceOf(g, "Int"))
17+ then {
18+ let f = g
19+ $Tuple2([IntegerEntry("last_payments_counter", f)], f)
20+ }
21+ else throw("Unexpected return value from Dapp")
22+ }
23+ else throw("Strict value is not equal to itself.")
24+ }
25+ }
2326
2427
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(a)
7-func test (b,c) = if ((c >= 100))
8- then $Tuple2([IntegerEntry("total_payments_counter", c)], c)
9- else {
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- if ((d == d))
12- then {
13- let e = d
14- if ($isInstanceOf(e, "Int"))
15- then {
16- let d = e
17- $Tuple2([IntegerEntry("last_payments_counter", d)], d)
18- }
19- else throw("Unexpected return value from Dapp")
20- }
21- else throw("Strict value is not equal to itself.")
22- }
7+func test (b,c,d) = {
8+ let e = (c + size(a.payments))
9+ if ((e > d))
10+ then $Tuple2([IntegerEntry("total_payments_counter", c)], c)
11+ else {
12+ let f = reentrantInvoke(addressFromStringValue(b), "test", [toString(this), e, d], [AttachedPayment(unit, 1), AttachedPayment(unit, 1), AttachedPayment(unit, 1), AttachedPayment(unit, 1), AttachedPayment(unit, 1), AttachedPayment(unit, 1)])
13+ if ((f == f))
14+ then {
15+ let g = f
16+ if ($isInstanceOf(g, "Int"))
17+ then {
18+ let f = g
19+ $Tuple2([IntegerEntry("last_payments_counter", f)], f)
20+ }
21+ else throw("Unexpected return value from Dapp")
22+ }
23+ else throw("Strict value is not equal to itself.")
24+ }
25+ }
2326
2427

github/deemru/w8io/169f3d6 
17.75 ms