tx · 7661siHEKKZTTQJBmJHNu3w1aaKrf8Fes8poNNytHcHL 3Mv2MfC2igdCTgGx1wpEF3GxPqvFD3rwvgL: -0.01000000 Waves 2023.11.01 11:44 [2824028] smart account 3Mv2MfC2igdCTgGx1wpEF3GxPqvFD3rwvgL > SELF 0.00000000 Waves
{ "type": 13, "id": "7661siHEKKZTTQJBmJHNu3w1aaKrf8Fes8poNNytHcHL", "fee": 1000000, "feeAssetId": null, "timestamp": 1698828270201, "version": 2, "chainId": 84, "sender": "3Mv2MfC2igdCTgGx1wpEF3GxPqvFD3rwvgL", "senderPublicKey": "rbYfYDr4NWugEviYfXbUNGouFowM3uaXcYowkW8PXAa", "proofs": [ "3c8Lb8S6JEZFJW4U878MKqef4EZXqvtKgBhLnEZFACDTSLE9BGAaDeYAmCbjZvYkCA8QK243wqLJ2DaN1c54KzpT" ], "script": "base64:BgIECAISAAMAC1N0cmluZ1ZhbHVlAgsxXzJfM180XzVfNgEEZm9sZAIFYWNjdW0EbmV4dAkAzQgCBQVhY2N1bQkBDXBhcnNlSW50VmFsdWUBBQRuZXh0AQNhZGQCBWFjY3VtBE5leHQJAGQCBQVhY2N1bQUETmV4dAEBaQEBYQAEBExpc3QKAAIkbAkAtQkCBQtTdHJpbmdWYWx1ZQIBXwoAAiRzCQCQAwEFAiRsCgAFJGFjYzAFA25pbAoBBSRmMF8xAgIkYQIkaQMJAGcCBQIkaQUCJHMFAiRhCQEEZm9sZAIFAiRhCQCRAwIFAiRsBQIkaQoBBSRmMF8yAgIkYQIkaQMJAGcCBQIkaQUCJHMFAiRhCQACAQITTGlzdCBzaXplIGV4Y2VlZHMgMwkBBSRmMF8yAgkBBSRmMF8xAgkBBSRmMF8xAgkBBSRmMF8xAgUFJGFjYzAAAAABAAIAAwQFdG90YWwKAAIkbAUETGlzdAoAAiRzCQCQAwEFAiRsCgAFJGFjYzAAAAoBBSRmMV8xAgIkYQIkaQMJAGcCBQIkaQUCJHMFAiRhCQEDYWRkAgUCJGEJAJ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MQIJAQUkZjFfMQIJAQUkZjFfMQIJAQUkZjFfMQIJAQUkZjFfMQIJAQUkZjFfMQIJAQUkZjFfMQIJAQUkZjFfMQIJAQUkZjFfMQIJAQUkZjFfMQIJAQUkZjFfMQIJAQUkZjFfMQIJAQUkZjFfMQIJAQUkZjFfMQIJAQUkZjFfMQIJAQUkZjFfMQIJAQUkZjFfMQIJAQUkZjFfMQIJAQUkZjFfMQIJAQUkZjFfMQIJAQUkZjFfMQIJAQUkZjFfMQIJAQUkZjFfMQIJAQUkZjFfMQIFBSRhY2MwAAAAAQACAAMABAAFAAYABwAIAAkACgALAAwADQAOAA8AEAARABIAEwAUABUAFgAXABgAGQAaABsAHAAdAB4AHwAgACEAIgAjACQAJQAmACcAKAApACoAKwAsAC0ALgAvADAAMQAyADMANAA1ADYANwA4ADkAOgA7ADwAPQA+AD8AQABBAEIAQwBEAEUARgBHAEgASQBKAEsATABNAE4ATwBQAFEAUgBTAFQAVQBWAFcAWABZAFoAWwBcAF0AXgBfAGAAYQBiAGMAZAkAzAgCCQEMSW50ZWdlckVudHJ5AgIFVG90YWwFBXRvdGFsBQNuaWwAs/+M0A==", "height": 2824028, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: Fxt74oMFSYgXRGYAGb9winQxQyVE4xTodcx7U3Lxtcie Next: 4Wc2tXbyJBUvPKkxSYEAqQ9ouy5mdJuqQEHwdW2m7XKN Full:
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | - | let | |
4 | + | let b = "1_2_3_4_5_6" | |
5 | 5 | ||
6 | - | func | |
6 | + | func c (d,e) = (d :+ parseIntValue(e)) | |
7 | 7 | ||
8 | 8 | ||
9 | - | func | |
9 | + | func f (d,g) = (d + g) | |
10 | 10 | ||
11 | 11 | ||
12 | - | func g () = { | |
13 | - | let h = { | |
14 | - | let i = split(a, "_") | |
15 | - | let j = size(i) | |
16 | - | let k = nil | |
17 | - | func l (m,n) = if ((n >= j)) | |
18 | - | then m | |
19 | - | else b(m, i[n]) | |
12 | + | @Callable(h) | |
13 | + | func a () = { | |
14 | + | let i = { | |
15 | + | let j = split(b, "_") | |
16 | + | let k = size(j) | |
17 | + | let l = nil | |
18 | + | func m (n,o) = if ((o >= k)) | |
19 | + | then n | |
20 | + | else c(n, j[o]) | |
20 | 21 | ||
21 | - | func | |
22 | - | then | |
22 | + | func p (n,o) = if ((o >= k)) | |
23 | + | then n | |
23 | 24 | else throw("List size exceeds 3") | |
24 | 25 | ||
25 | - | | |
26 | + | p(m(m(m(l, 0), 1), 2), 3) | |
26 | 27 | } | |
27 | - | let | |
28 | - | let | |
29 | - | let | |
30 | - | let | |
31 | - | func | |
32 | - | then | |
33 | - | else | |
28 | + | let q = { | |
29 | + | let j = i | |
30 | + | let k = size(j) | |
31 | + | let l = 0 | |
32 | + | func r (n,o) = if ((o >= k)) | |
33 | + | then n | |
34 | + | else f(n, j[o]) | |
34 | 35 | ||
35 | - | func | |
36 | - | then | |
36 | + | func s (n,o) = if ((o >= k)) | |
37 | + | then n | |
37 | 38 | else throw("List size exceeds 100") | |
38 | 39 | ||
39 | - | r( | |
40 | + | s(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(l, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100) | |
40 | 41 | } | |
41 | - | [IntegerEntry("Total", | |
42 | + | [IntegerEntry("Total", q)] | |
42 | 43 | } | |
43 | - | ||
44 | 44 | ||
45 | 45 |
github/deemru/w8io/169f3d6 142.55 ms ◑