tx · 8r4dTufB4ghsvedZ2yhmsFNQivmFS2mT9YALacvGAAeE 3Mr7indrhcaJEXbxadkbp5GL9VdWNHkbvo5: -0.01000000 Waves 2021.11.11 14:24 [1786279] smart account 3Mr7indrhcaJEXbxadkbp5GL9VdWNHkbvo5 > SELF 0.00000000 Waves
{ "type": 13, "id": "8r4dTufB4ghsvedZ2yhmsFNQivmFS2mT9YALacvGAAeE", "fee": 1000000, "feeAssetId": null, "timestamp": 1636629884596, "version": 2, "chainId": 84, "sender": "3Mr7indrhcaJEXbxadkbp5GL9VdWNHkbvo5", "senderPublicKey": "Ewbhqv7zuHvqJ2SuXUN7iKp1iJ3dmCm7YUsrDBTV5GHn", "proofs": [ "4H4WrQc29W5xi4Jpxfs2xk13DJ5nL6YPdiLEPJZdR8xwPhLowK1tUxZ5QjcVk7qFZxJxetv8TpWmcRCbmeUgFAzW" ], "script": "base64:AAIFAAAAAAAAAAcIAhIDCgEYAAAAAQEAAAANY3JlYXRlRW50cmllcwAAAAIAAAAEdGVzdAAAAARuZXh0CQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIJAAGRAAAAAgkABLUAAAACBQAAAARuZXh0AgAAAANfOl8AAAAAAAAAAAAJAAGRAAAAAgkABLUAAAACBQAAAARuZXh0AgAAAANfOl8AAAAAAAAAAAEFAAAABHRlc3QAAAABAAAAAWkBAAAAC3N0b3JlRGF0YTEwAAAAAQAAAAdlbnRyaWVzBAAAAAFlCgAAAAACJGwFAAAAB2VudHJpZXMKAAAAAAIkcwkAAZAAAAABBQAAAAIkbAoAAAAABSRhY2MwBQAAAANuaWwKAQAAAAExAAAAAgAAAAIkYQAAAAIkaQMJAABnAAAAAgUAAAACJGkFAAAAAiRzBQAAAAIkYQkBAAAADWNyZWF0ZUVudHJpZXMAAAACBQAAAAIkYQkAAZEAAAACBQAAAAIkbAUAAAACJGkKAQAAAAEyAAAAAgAAAAIkYQAAAAIkaQMJAABnAAAAAgUAAAACJGkFAAAAAiRzBQAAAAIkYQkAAAIAAAABAgAAABRMaXN0IHNpemUgZXhjZWVkcyAxMAkBAAAAATIAAAACCQEAAAABMQAAAAIJAQAAAAExAAAAAgkBAAAAATEAAAACCQEAAAABMQAAAAIJAQAAAAExAAAAAgkBAAAAATEAAAACCQEAAAABMQAAAAIJAQAAAAExAAAAAgkBAAAAATEAAAACCQEAAAABMQAAAAIFAAAABSRhY2MwAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAACAAAAAAAAAAADAAAAAAAAAAAEAAAAAAAAAAAFAAAAAAAAAAAGAAAAAAAAAAAHAAAAAAAAAAAIAAAAAAAAAAAJAAAAAAAAAAAKCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAICAAAABHRlc3QJAAGRAAAAAgUAAAABZQAAAAAAAAAAAAUAAAADbmlsAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAD0RhdGFUcmFuc2FjdGlvbgYDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAFFNldFNjcmlwdFRyYW5zYWN0aW9uBgZy5wax", "height": 1786279, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: G2CU7SiY9hGZrW6mDmTp1K11W4bh5NUoqM2JSu3poPKU Next: DNSNb5fMVCLUi9Wejnh9S9RwTdrTopPCoYkshyCHz7HC Diff:
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | - | func createEntries (test,next) = StringEntry(next, next) :: test | |
4 | + | func createEntries (test,next) = StringEntry(split(next, "_:_")[0], split(next, "_:_")[1]) :: test | |
5 | 5 | ||
6 | 6 | ||
7 | 7 | @Callable(i) |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | - | func createEntries (test,next) = StringEntry(next, next) :: test | |
4 | + | func createEntries (test,next) = StringEntry(split(next, "_:_")[0], split(next, "_:_")[1]) :: test | |
5 | 5 | ||
6 | 6 | ||
7 | 7 | @Callable(i) | |
8 | 8 | func storeData10 (entries) = { | |
9 | 9 | let e = { | |
10 | 10 | let $l = entries | |
11 | 11 | let $s = size($l) | |
12 | 12 | let $acc0 = nil | |
13 | 13 | func 1 ($a,$i) = if (($i >= $s)) | |
14 | 14 | then $a | |
15 | 15 | else createEntries($a, $l[$i]) | |
16 | 16 | ||
17 | 17 | func 2 ($a,$i) = if (($i >= $s)) | |
18 | 18 | then $a | |
19 | 19 | else throw("List size exceeds 10") | |
20 | 20 | ||
21 | 21 | 2(1(1(1(1(1(1(1(1(1(1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
22 | 22 | } | |
23 | 23 | [StringEntry("test", e[0])] | |
24 | 24 | } | |
25 | 25 | ||
26 | 26 | ||
27 | 27 | @Verifier(tx) | |
28 | 28 | func verify () = match tx { | |
29 | 29 | case _: DataTransaction => | |
30 | 30 | true | |
31 | 31 | case _: SetScriptTransaction => | |
32 | 32 | true | |
33 | 33 | case _ => | |
34 | 34 | true | |
35 | 35 | } | |
36 | 36 |
github/deemru/w8io/169f3d6 25.92 ms ◑