tx · DrGg3cT9PNSugaqVh5qvaVpqQvhL8gZWDWsXUy2dSfvg 3N7hFU6dFSFKGGwDyF9WJ1jVsrB9w8RHT37: -0.00100000 Waves 2022.07.01 22:59 [2121039] smart account 3N7hFU6dFSFKGGwDyF9WJ1jVsrB9w8RHT37 > SELF 0.00000000 Waves
{ "type": 13, "id": "DrGg3cT9PNSugaqVh5qvaVpqQvhL8gZWDWsXUy2dSfvg", "fee": 100000, "feeAssetId": null, "timestamp": 1656705616649, "version": 2, "chainId": 84, "sender": "3N7hFU6dFSFKGGwDyF9WJ1jVsrB9w8RHT37", "senderPublicKey": "J6bcbr8r9usSLYw72NzzrKVCvKDDLe1uDx8bnWp3uFAV", "proofs": [ "2wpeHkpiQgg8U1etzxQMYYd1mCrsAgZGg7Mk4jJtwgmebDTGUnNCrpmTV7jshVhgwueJdN41NAkg2VxdZMyL6TXY" ], "script": "base64:AAIFAAAAAAAAAAIIAgAAAAMBAAAACGFzU3RyaW5nAAAAAQAAAAN2YWwEAAAAByRtYXRjaDAFAAAAA3ZhbAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAGU3RyaW5nBAAAAAZ2YWxTdHIFAAAAByRtYXRjaDAFAAAABnZhbFN0cgkAAAIAAAABAgAAABhmYWlsIHRvIGNhc3QgaW50byBTdHJpbmcBAAAAC25lc3RlZENhbGxzAAAAAQAAAAF4CgEAAAAEY2FsbAAAAAIAAAABYQAAAAFlCQABLAAAAAIJAAEsAAAAAgUAAAABYQIAAAABCgkBAAAACGFzU3RyaW5nAAAAAQkAA/wAAAAECQEAAAAHQWRkcmVzcwAAAAEJAAJZAAAAAQgFAAAAAWUAAAACXzEIBQAAAAFlAAAAAl8yCAUAAAABZQAAAAJfMwUAAAADbmlsCgAAAAACJGwFAAAAAXgKAAAAAAIkcwkAAZAAAAABBQAAAAIkbAoAAAAABSRhY2MwAgAAAAAKAQAAAAUkZjBfMQAAAAIAAAACJGEAAAACJGkDCQAAZwAAAAIFAAAAAiRpBQAAAAIkcwUAAAACJGEJAQAAAARjYWxsAAAAAgUAAAACJGEJAAGRAAAAAgUAAAACJGwFAAAAAiRpCgEAAAAFJGYwXzIAAAACAAAAAiRhAAAAAiRpAwkAAGcAAAACBQAAAAIkaQUAAAACJHMFAAAAAiRhCQAAAgAAAAECAAAAFExpc3Qgc2l6ZSBleGNlZWRzIDEwCQEAAAAFJGYwXzIAAAACCQEAAAAFJGYwXzEAAAACCQEAAAAFJGYwXzEAAAACCQEAAAAFJGYwXzEAAAACCQEAAAAFJGYwXzEAAAACCQEAAAAFJGYwXzEAAAACCQEAAAAFJGYwXzEAAAACCQEAAAAFJGYwXzEAAAACCQEAAAAFJGYwXzEAAAACCQEAAAAFJGYwXzEAAAACCQEAAAAFJGYwXzEAAAACBQAAAAUkYWNjMAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAgAAAAAAAAAAAwAAAAAAAAAABAAAAAAAAAAABQAAAAAAAAAABgAAAAAAAAAABwAAAAAAAAAACAAAAAAAAAAACQAAAAAAAAAACgEAAAADZm9vAAAAAQAAAAF0CQEAAAALbmVzdGVkQ2FsbHMAAAABCQAETAAAAAIFAAAAAXQFAAAAA25pbAAAAAAAAAAAnFE85Q==", "height": 2121039, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 87QEMjcPJej1RFUzqZmewNC2FWkXBDHTNm4GE7cYrvfa Next: DN62gQs9kBqBbxeqmYpCUGmEaKof1DAb7YQTf2sWTUFr Full:
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | func asString (val) = match val { | |
5 | 5 | case valStr: String => | |
6 | 6 | valStr | |
7 | 7 | case _ => | |
8 | 8 | throw("fail to cast into String") | |
9 | 9 | } | |
10 | 10 | ||
11 | 11 | ||
12 | 12 | func nestedCalls (x) = { | |
13 | 13 | func call (a,e) = ((a + " | |
14 | 14 | ") + asString(invoke(Address(fromBase58String(e._1)), e._2, e._3, nil))) | |
15 | 15 | ||
16 | 16 | let $l = x | |
17 | 17 | let $s = size($l) | |
18 | 18 | let $acc0 = "" | |
19 | 19 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
20 | 20 | then $a | |
21 | 21 | else call($a, $l[$i]) | |
22 | 22 | ||
23 | 23 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
24 | 24 | then $a | |
25 | 25 | else throw("List size exceeds 10") | |
26 | 26 | ||
27 | 27 | $f0_2($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) | |
28 | 28 | } | |
29 | 29 | ||
30 | 30 | ||
31 | 31 | func foo (t) = nestedCalls([t]) | |
32 | 32 | ||
33 | 33 | ||
34 | 34 |
github/deemru/w8io/169f3d6 26.02 ms ◑