tx · 2f4HmEEC99VZXZEUokPthak16C8xzando47u55GjPzmT

3MqEAEVk1NcbRAuEPAX7nyzUqMHbhvRofez:  -0.00100000 Waves

2023.11.09 15:48 [2835825] smart account 3MqEAEVk1NcbRAuEPAX7nyzUqMHbhvRofez > SELF 0.00000000 Waves

{ "type": 13, "id": "2f4HmEEC99VZXZEUokPthak16C8xzando47u55GjPzmT", "fee": 100000, "feeAssetId": null, "timestamp": 1699534155214, "version": 2, "chainId": 84, "sender": "3MqEAEVk1NcbRAuEPAX7nyzUqMHbhvRofez", "senderPublicKey": "Brp6cacBXyKUcZr5Uc6VDKsnFcaEeQ8nQzrZQyobDsuf", "proofs": [ "319Kb3e72sgty8mCcKyFSJC72JA6SBpgP2Vr85ci48x1mbnHpT6PEhcMwRSZcD8dnPaDqt5Ee5fvM8EghvmuZD4o" ], "script": "base64:BgIGCAISABIAAgENdHJ5R2V0SW50ZWdlcgEDa2V5BAckbWF0Y2gwCQCaCAIFBHRoaXMFA2tleQMJAAECBQckbWF0Y2gwAgNJbnQEAWIFByRtYXRjaDAFAWIAAAEMdHJ5R2V0U3RyaW5nAQNrZXkEByRtYXRjaDAJAJ0IAgUEdGhpcwUDa2V5AwkAAQIFByRtYXRjaDACBlN0cmluZwQBYgUHJG1hdGNoMAUBYgIAAgFpAQhyZWdpc3RlcgAJAMwIAgkBDEludGVnZXJFbnRyeQICEUFtb3VudCBSZWdpc3RlcmVkCQBkAgkBDXRyeUdldEludGVnZXIBAhFBbW91bnQgUmVnaXN0ZXJlZAABCQDMCAIJAQtTdHJpbmdFbnRyeQIJAKwCAgISUmVnaXN0ZXIgYWRkcmVzczogCQCkAwEJAGQCCQENdHJ5R2V0SW50ZWdlcgECEUFtb3VudCBSZWdpc3RlcmVkAAEJAKUIAQgFAWkGY2FsbGVyCQDMCAIJAQtTdHJpbmdFbnRyeQICEkFkZHJlc3MgcmVnaXN0ZXJlZAkArAICCQCsAgIJAQx0cnlHZXRTdHJpbmcBAhJBZGRyZXNzIHJlZ2lzdGVyZWQJAKUIAQgFAWkGY2FsbGVyAgEsBQNuaWwBaQEIbWFrZUxpc3QABAlhZGRyZXNzZXMJAQx0cnlHZXRTdHJpbmcBAhJBZGRyZXNzIHJlZ2lzdGVyZWQEBGxpc3QJALUJAgUJYWRkcmVzc2VzAgEsBAhsaXN0U2l6ZQkAkAMBBQRsaXN0BAtmaXJzdE9mTGlzdAkAkQMCBQRsaXN0AAAECmxhc3RPZkxpc3QJAJEDAgUEbGlzdAkAZQIFCGxpc3RTaXplAAEJAMwIAgkBC1N0cmluZ0VudHJ5AgIJYWRkcmVzc2VzBQlhZGRyZXNzZXMJAMwIAgkBDEludGVnZXJFbnRyeQICCGxpc3RTaXplBQhsaXN0U2l6ZQkAzAgCCQELU3RyaW5nRW50cnkCAgtmaXJzdE9mTGlzdAULZmlyc3RPZkxpc3QJAMwIAgkBC1N0cmluZ0VudHJ5AgIKbGFzdE9mTGlzdAUKbGFzdE9mTGlzdAUDbmlsADfq0Yw=", "height": 2835825, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: EYHojmoB7Nr2ax4hJH9f7p2hZNU6WT8Z7QEyXjTc2gj Next: Ee6iQ9UWHHN1pYZYym3KKTFqJ1prt1BxzHRgDUEYhHvq Diff:
OldNewDifferences
3434 let h = split(g, ",")
3535 let i = size(h)
3636 let j = h[0]
37-[StringEntry("addresses", g), IntegerEntry("listSize", i), StringEntry("firstOfList", j)]
37+ let k = h[(i - 1)]
38+[StringEntry("addresses", g), IntegerEntry("listSize", i), StringEntry("firstOfList", j), StringEntry("lastOfList", k)]
3839 }
3940
4041
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func a (b) = {
55 let c = getInteger(this, b)
66 if ($isInstanceOf(c, "Int"))
77 then {
88 let d = c
99 d
1010 }
1111 else 0
1212 }
1313
1414
1515 func e (b) = {
1616 let c = getString(this, b)
1717 if ($isInstanceOf(c, "String"))
1818 then {
1919 let d = c
2020 d
2121 }
2222 else ""
2323 }
2424
2525
2626 @Callable(f)
2727 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)) + ","))]
2828
2929
3030
3131 @Callable(f)
3232 func makeList () = {
3333 let g = e("Address registered")
3434 let h = split(g, ",")
3535 let i = size(h)
3636 let j = h[0]
37-[StringEntry("addresses", g), IntegerEntry("listSize", i), StringEntry("firstOfList", j)]
37+ let k = h[(i - 1)]
38+[StringEntry("addresses", g), IntegerEntry("listSize", i), StringEntry("firstOfList", j), StringEntry("lastOfList", k)]
3839 }
3940
4041

github/deemru/w8io/169f3d6 
55.06 ms