tx · Ee6iQ9UWHHN1pYZYym3KKTFqJ1prt1BxzHRgDUEYhHvq
3MqEAEVk1NcbRAuEPAX7nyzUqMHbhvRofez: -0.00100000 Waves
2023.11.09 15:49 [2835826] smart account 3MqEAEVk1NcbRAuEPAX7nyzUqMHbhvRofez > SELF 0.00000000 Waves
{
"type": 13,
"id": "Ee6iQ9UWHHN1pYZYym3KKTFqJ1prt1BxzHRgDUEYhHvq",
"fee": 100000,
"feeAssetId": null,
"timestamp": 1699534225291,
"version": 2,
"chainId": 84,
"sender": "3MqEAEVk1NcbRAuEPAX7nyzUqMHbhvRofez",
"senderPublicKey": "Brp6cacBXyKUcZr5Uc6VDKsnFcaEeQ8nQzrZQyobDsuf",
"proofs": [
"4PHfQzbBTgxeafqtFMeaLzF5DMbSAwfsJTzpxuRdzWnpW69MnpMWEB6CkJzypGsgwyq9f49KCKCHKSKtbtAJi9Gb"
],
"script": "base64:BgIGCAISABIAAgENdHJ5R2V0SW50ZWdlcgEDa2V5BAckbWF0Y2gwCQCaCAIFBHRoaXMFA2tleQMJAAECBQckbWF0Y2gwAgNJbnQEAWIFByRtYXRjaDAFAWIAAAEMdHJ5R2V0U3RyaW5nAQNrZXkEByRtYXRjaDAJAJ0IAgUEdGhpcwUDa2V5AwkAAQIFByRtYXRjaDACBlN0cmluZwQBYgUHJG1hdGNoMAUBYgIAAgFpAQhyZWdpc3RlcgAJAMwIAgkBDEludGVnZXJFbnRyeQICEUFtb3VudCBSZWdpc3RlcmVkCQBkAgkBDXRyeUdldEludGVnZXIBAhFBbW91bnQgUmVnaXN0ZXJlZAABCQDMCAIJAQtTdHJpbmdFbnRyeQIJAKwCAgISUmVnaXN0ZXIgYWRkcmVzczogCQCkAwEJAGQCCQENdHJ5R2V0SW50ZWdlcgECEUFtb3VudCBSZWdpc3RlcmVkAAEJAKUIAQgFAWkGY2FsbGVyCQDMCAIJAQtTdHJpbmdFbnRyeQICEkFkZHJlc3MgcmVnaXN0ZXJlZAkArAICCQCsAgIJAQx0cnlHZXRTdHJpbmcBAhJBZGRyZXNzIHJlZ2lzdGVyZWQJAKUIAQgFAWkGY2FsbGVyAgEsBQNuaWwBaQEIbWFrZUxpc3QABAlhZGRyZXNzZXMJALMCAgkBDHRyeUdldFN0cmluZwECEkFkZHJlc3MgcmVnaXN0ZXJlZAABBARsaXN0CQC1CQIFCWFkZHJlc3NlcwIBLAQIbGlzdFNpemUJAJADAQUEbGlzdAQLZmlyc3RPZkxpc3QJAJEDAgUEbGlzdAAABApsYXN0T2ZMaXN0CQCRAwIFBGxpc3QJAGUCBQhsaXN0U2l6ZQABCQDMCAIJAQtTdHJpbmdFbnRyeQICCWFkZHJlc3NlcwUJYWRkcmVzc2VzCQDMCAIJAQxJbnRlZ2VyRW50cnkCAghsaXN0U2l6ZQUIbGlzdFNpemUJAMwIAgkBC1N0cmluZ0VudHJ5AgILZmlyc3RPZkxpc3QFC2ZpcnN0T2ZMaXN0CQDMCAIJAQtTdHJpbmdFbnRyeQICCmxhc3RPZkxpc3QFCmxhc3RPZkxpc3QFA25pbABU2P+4",
"height": 2835826,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 2f4HmEEC99VZXZEUokPthak16C8xzando47u55GjPzmT
Next: HgBAhsfCrhbVoMnnmrc9YSkXcbmctqBiKH4cMD4GgCcR
Diff:
Old | New | | Differences |
---|
30 | 30 | | |
---|
31 | 31 | | @Callable(f) |
---|
32 | 32 | | func makeList () = { |
---|
33 | | - | let g = e("Address registered") |
---|
| 33 | + | let g = dropRight(e("Address registered"), 1) |
---|
34 | 34 | | let h = split(g, ",") |
---|
35 | 35 | | let i = size(h) |
---|
36 | 36 | | let j = h[0] |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 6 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | func a (b) = { |
---|
5 | 5 | | let c = getInteger(this, b) |
---|
6 | 6 | | if ($isInstanceOf(c, "Int")) |
---|
7 | 7 | | then { |
---|
8 | 8 | | let d = c |
---|
9 | 9 | | d |
---|
10 | 10 | | } |
---|
11 | 11 | | else 0 |
---|
12 | 12 | | } |
---|
13 | 13 | | |
---|
14 | 14 | | |
---|
15 | 15 | | func e (b) = { |
---|
16 | 16 | | let c = getString(this, b) |
---|
17 | 17 | | if ($isInstanceOf(c, "String")) |
---|
18 | 18 | | then { |
---|
19 | 19 | | let d = c |
---|
20 | 20 | | d |
---|
21 | 21 | | } |
---|
22 | 22 | | else "" |
---|
23 | 23 | | } |
---|
24 | 24 | | |
---|
25 | 25 | | |
---|
26 | 26 | | @Callable(f) |
---|
27 | 27 | | func register () = [IntegerEntry("Amount Registered", (a("Amount Registered") + 1)), StringEntry(("Register address: " + toString((a("Amount Registered") + 1))), toString(f.caller)), StringEntry("Address registered", ((e("Address registered") + toString(f.caller)) + ","))] |
---|
28 | 28 | | |
---|
29 | 29 | | |
---|
30 | 30 | | |
---|
31 | 31 | | @Callable(f) |
---|
32 | 32 | | func makeList () = { |
---|
33 | | - | let g = e("Address registered") |
---|
| 33 | + | let g = dropRight(e("Address registered"), 1) |
---|
34 | 34 | | let h = split(g, ",") |
---|
35 | 35 | | let i = size(h) |
---|
36 | 36 | | let j = h[0] |
---|
37 | 37 | | let k = h[(i - 1)] |
---|
38 | 38 | | [StringEntry("addresses", g), IntegerEntry("listSize", i), StringEntry("firstOfList", j), StringEntry("lastOfList", k)] |
---|
39 | 39 | | } |
---|
40 | 40 | | |
---|
41 | 41 | | |
---|