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 a (b,c) = StringEntry(c, c) :: b |
---|
| 4 | + | func a (b,c) = StringEntry(split(c, "_:_")[0], split(c, "_:_")[1]) :: b |
---|
5 | 5 | | |
---|
6 | 6 | | |
---|
7 | 7 | | @Callable(d) |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 5 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | | - | func a (b,c) = StringEntry(c, c) :: b |
---|
| 4 | + | func a (b,c) = StringEntry(split(c, "_:_")[0], split(c, "_:_")[1]) :: b |
---|
5 | 5 | | |
---|
6 | 6 | | |
---|
7 | 7 | | @Callable(d) |
---|
8 | 8 | | func storeData10 (e) = { |
---|
9 | 9 | | let f = { |
---|
10 | 10 | | let g = e |
---|
11 | 11 | | let h = size(g) |
---|
12 | 12 | | let i = nil |
---|
13 | 13 | | func j (k,l) = if ((l >= h)) |
---|
14 | 14 | | then k |
---|
15 | 15 | | else a(k, g[l]) |
---|
16 | 16 | | |
---|
17 | 17 | | func m (k,l) = if ((l >= h)) |
---|
18 | 18 | | then k |
---|
19 | 19 | | else throw("List size exceeds 10") |
---|
20 | 20 | | |
---|
21 | 21 | | m(j(j(j(j(j(j(j(j(j(j(i, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) |
---|
22 | 22 | | } |
---|
23 | 23 | | [StringEntry("test", f[0])] |
---|
24 | 24 | | } |
---|
25 | 25 | | |
---|
26 | 26 | | |
---|
27 | 27 | | @Verifier(n) |
---|
28 | 28 | | func o () = { |
---|
29 | 29 | | let p = n |
---|
30 | 30 | | if ($isInstanceOf(p, "DataTransaction")) |
---|
31 | 31 | | then true |
---|
32 | 32 | | else if ($isInstanceOf(p, "SetScriptTransaction")) |
---|
33 | 33 | | then true |
---|
34 | 34 | | else true |
---|
35 | 35 | | } |
---|
36 | 36 | | |
---|