tx · FxwTrrqwGEq2s3CJZjmGWvfRSGnZBFzUsGLWx8MdLXmA 3Myg9C6tNDTG6uXmwvkhAU3uLkA6WzNrTx8: -0.02000000 Waves 2023.10.29 18:37 [2820115] smart account 3Myg9C6tNDTG6uXmwvkhAU3uLkA6WzNrTx8 > SELF 0.00000000 Waves
{ "type": 13, "id": "FxwTrrqwGEq2s3CJZjmGWvfRSGnZBFzUsGLWx8MdLXmA", "fee": 2000000, "feeAssetId": null, "timestamp": 1698593898063, "version": 2, "chainId": 84, "sender": "3Myg9C6tNDTG6uXmwvkhAU3uLkA6WzNrTx8", "senderPublicKey": "8EXR9gFY3exPzo6wV3v2oa96CYznA1QszMLFXiwWuptJ", "proofs": [ "2JqzpZRpgdFZcfyVraWCy9UtWMvCGSHTZsSntSbr5U3MEZXvFQzngwZRx4WzL3Kfb4BTqFKwbxJCE3LZEvuUM6rf" ], "script": "base64:BgIECAISAAIAA2FycgkAzAgCAAEJAMwIAgACCQDMCAIAAwkAzAgCAAQJAMwIAgAFBQNuaWwBAWYCBWFjY3VtBG5leHQJAGQCBQVhY2N1bQUEbmV4dAEBaQEBYQAEA3BtdAkAkQMCCAUBaQhwYXltZW50cwAABAFhCgACJGwFA2FycgoAAiRzCQCQAwEFAiRsCgAFJGFjYzAIBQNwbXQGYW1vdW50CgEFJGYwXzECAiRhAiRpAwkAZwIFAiRpBQIkcwUCJGEJAQFmAgUCJGEJAJEDAgUCJGwFAiRpCgEFJGYwXzICAiRhAiRpAwkAZwIFAiRpBQIkcwUCJGEJAAIBAhVMaXN0IHNpemUgZXhjZWVkcyAxMDAJAQUkZjBfMgIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfM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QACAAMABAAFAAYABwAIAAkACgALAAwADQAOAA8AEAARABIAEwAUABUAFgAXABgAGQAaABsAHAAdAB4AHwAgACEAIgAjACQAJQAmACcAKAApACoAKwAsAC0ALgAvADAAMQAyADMANAA1ADYANwA4ADkAOgA7ADwAPQA+AD8AQABBAEIAQwBEAEUARgBHAEgASQBKAEsATABNAE4ATwBQAFEAUgBTAFQAVQBWAFcAWABZAFoAWwBcAF0AXgBfAGAAYQBiAGMAZAkAzAgCCQEMSW50ZWdlckVudHJ5AgIFVG90YWwFAWEFA25pbAAxdwGY", "height": 2820115, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: CWqqHfH7iNeksXLagoLLTDDvHtzFXK4SWM3Vmv7C35U6 Next: CKNpbhhSuCXxN8fjCreVk5xYeJqJE4nN72FVngSTjAVq Diff:
Old | New | Differences | |
---|---|---|---|
8 | 8 | ||
9 | 9 | @Callable(i) | |
10 | 10 | func a () = { | |
11 | + | let pmt = i.payments[0] | |
11 | 12 | let a = { | |
12 | 13 | let $l = arr | |
13 | 14 | let $s = size($l) | |
14 | - | let $acc0 = | |
15 | + | let $acc0 = pmt.amount | |
15 | 16 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
16 | 17 | then $a | |
17 | 18 | else f($a, $l[$i]) |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let arr = [1, 2, 3, 4, 5] | |
5 | 5 | ||
6 | 6 | func f (accum,next) = (accum + next) | |
7 | 7 | ||
8 | 8 | ||
9 | 9 | @Callable(i) | |
10 | 10 | func a () = { | |
11 | + | let pmt = i.payments[0] | |
11 | 12 | let a = { | |
12 | 13 | let $l = arr | |
13 | 14 | let $s = size($l) | |
14 | - | let $acc0 = | |
15 | + | let $acc0 = pmt.amount | |
15 | 16 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
16 | 17 | then $a | |
17 | 18 | else f($a, $l[$i]) | |
18 | 19 | ||
19 | 20 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
20 | 21 | then $a | |
21 | 22 | else throw("List size exceeds 100") | |
22 | 23 | ||
23 | 24 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 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) | |
24 | 25 | } | |
25 | 26 | [IntegerEntry("Total", a)] | |
26 | 27 | } | |
27 | 28 | ||
28 | 29 |
github/deemru/w8io/026f985 24.96 ms ◑