tx · 7YYvhSN8a8vEvjJQ6rfjoczKFG3248uU6gLMnqqynfz7

3N4TEQzMSjr8dNSXeexyKmteC6coHneTydX:  -0.01000000 Waves

2021.06.04 16:26 [1555683] smart account 3N4TEQzMSjr8dNSXeexyKmteC6coHneTydX > SELF 0.00000000 Waves

{ "type": 13, "id": "7YYvhSN8a8vEvjJQ6rfjoczKFG3248uU6gLMnqqynfz7", "fee": 1000000, "feeAssetId": null, "timestamp": 1622813196882, "version": 2, "chainId": 84, "sender": "3N4TEQzMSjr8dNSXeexyKmteC6coHneTydX", "senderPublicKey": "BLYPM7pr6zCdxj9zzANneoGVcDEwBnQApCEnR3BkNm68", "proofs": [ "5rUP5asrtL3Riquhmj1P6N9L7RqYhaJBnRzj9PS1JUrUJ9nJcuQWCUw6tuYAgnkeY71esJETxEonJUmQZTkDuV9F" ], "script": "base64:BAoBAAAAA3N1bQAAAAIAAAABYQAAAAFiCQAAZAAAAAIFAAAAAWEFAAAAAWIEAAAAA2FycgkABEwAAAACAAAAAAAAAAABCQAETAAAAAIAAAAAAAAAAAIJAARMAAAAAgAAAAAAAAAAAwkABEwAAAACAAAAAAAAAAAECQAETAAAAAIAAAAAAAAAAAUFAAAAA25pbAQAAAABcwQAAAALJGxpc3QxNDcxNjcFAAAAA2FycgQAAAALJHNpemUxNDcxNjcJAAGQAAAAAQUAAAALJGxpc3QxNDcxNjcEAAAACyRhY2MwMTQ3MTY3AAAAAAAAAAAAAwkAAAAAAAACBQAAAAskc2l6ZTE0NzE2NwAAAAAAAAAAAAUAAAALJGFjYzAxNDcxNjcEAAAACyRhY2MxMTQ3MTY3CQEAAAADc3VtAAAAAgUAAAALJGFjYzAxNDcxNjcJAAGRAAAAAgUAAAALJGxpc3QxNDcxNjcAAAAAAAAAAAADCQAAAAAAAAIFAAAACyRzaXplMTQ3MTY3AAAAAAAAAAABBQAAAAskYWNjMTE0NzE2NwQAAAALJGFjYzIxNDcxNjcJAQAAAANzdW0AAAACBQAAAAskYWNjMTE0NzE2NwkAAZEAAAACBQAAAAskbGlzdDE0NzE2NwAAAAAAAAAAAQMJAAAAAAAAAgUAAAALJHNpemUxNDcxNjcAAAAAAAAAAAIFAAAACyRhY2MyMTQ3MTY3BAAAAAskYWNjMzE0NzE2NwkBAAAAA3N1bQAAAAIFAAAACyRhY2MyMTQ3MTY3CQABkQAAAAIFAAAACyRsaXN0MTQ3MTY3AAAAAAAAAAACAwkAAAAAAAACBQAAAAskc2l6ZTE0NzE2NwAAAAAAAAAAAwUAAAALJGFjYzMxNDcxNjcEAAAACyRhY2M0MTQ3MTY3CQEAAAADc3VtAAAAAgUAAAALJGFjYzMxNDcxNjcJAAGRAAAAAgUAAAALJGxpc3QxNDcxNjcAAAAAAAAAAAMDCQAAAAAAAAIFAAAACyRzaXplMTQ3MTY3AAAAAAAAAAAEBQAAAAskYWNjNDE0NzE2NwQAAAALJGFjYzUxNDcxNjcJAQAAAANzdW0AAAACBQAAAAskYWNjNDE0NzE2NwkAAZEAAAACBQAAAAskbGlzdDE0NzE2NwAAAAAAAAAABAMJAAAAAAAAAgUAAAALJHNpemUxNDcxNjcAAAAAAAAAAAUFAAAACyRhY2M1MTQ3MTY3BAAAAAskYWNjNjE0NzE2NwkBAAAAA3N1bQAAAAIFAAAACyRhY2M1MTQ3MTY3CQABkQAAAAIFAAAACyRsaXN0MTQ3MTY3AAAAAAAAAAAFCQAAAgAAAAECAAAAEkxpc3Qgc2l6ZSBleGNlZWQgNQkAAGYAAAACBQAAAAFzAAAAAAAAAAAKeF7opw==", "height": 1555683, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 9c4rcya6Txm2b1n5Wzvgm3kZswub4Nn5FTuhjxxxXirC Next: Z4oEgjuayyRMshRQkL3hfDXASuFLYAjfT4dKZMwK3m1 Full:
OldNewDifferences
1-{-# STDLIB_VERSION 5 #-}
2-{-# SCRIPT_TYPE ACCOUNT #-}
3-{-# CONTENT_TYPE DAPP #-}
1+{-# STDLIB_VERSION 4 #-}
2+{-# CONTENT_TYPE EXPRESSION #-}
3+func sum (a,b) = (a + b)
44
5-
6-@Callable(a)
7-func bar (b) = {
8- let c = addressFromStringValue("3N4o9UGcFTDxcJptFG2yimYpLqLLoD44diX")
9- let d = wavesBalance(this).regular
10- if ((d == d))
11- then {
12- let e = invoke(c, "bar", [1], [AttachedPayment(unit, 100000000)])
13- if ((e == e))
14- then {
15- let f = wavesBalance(this).regular
16- if ((f == f))
17- then if ((d > f))
18- then throw("Yes")
19- else throw("No")
20- else throw("Strict value is not equal to itself.")
5+let arr = [1, 2, 3, 4, 5]
6+let s = {
7+ let $list147167 = arr
8+ let $size147167 = size($list147167)
9+ let $acc0147167 = 0
10+ if (($size147167 == 0))
11+ then $acc0147167
12+ else {
13+ let $acc1147167 = sum($acc0147167, $list147167[0])
14+ if (($size147167 == 1))
15+ then $acc1147167
16+ else {
17+ let $acc2147167 = sum($acc1147167, $list147167[1])
18+ if (($size147167 == 2))
19+ then $acc2147167
20+ else {
21+ let $acc3147167 = sum($acc2147167, $list147167[2])
22+ if (($size147167 == 3))
23+ then $acc3147167
24+ else {
25+ let $acc4147167 = sum($acc3147167, $list147167[3])
26+ if (($size147167 == 4))
27+ then $acc4147167
28+ else {
29+ let $acc5147167 = sum($acc4147167, $list147167[4])
30+ if (($size147167 == 5))
31+ then $acc5147167
32+ else {
33+ let $acc6147167 = sum($acc5147167, $list147167[5])
34+ throw("List size exceed 5")
35+ }
36+ }
37+ }
38+ }
2139 }
22- else throw("Strict value is not equal to itself.")
2340 }
24- else throw("Strict value is not equal to itself.")
2541 }
26-
27-
42+(s > 10)

github/deemru/w8io/026f985 
20.24 ms