tx · ECWq2VYYXdqhLR1wYH4oZd4infmC7jqAWX4sGNvA9zcB

3MqEAEVk1NcbRAuEPAX7nyzUqMHbhvRofez:  -0.00100000 Waves

2023.11.09 15:45 [2835822] smart account 3MqEAEVk1NcbRAuEPAX7nyzUqMHbhvRofez > SELF 0.00000000 Waves

{ "type": 13, "id": "ECWq2VYYXdqhLR1wYH4oZd4infmC7jqAWX4sGNvA9zcB", "fee": 100000, "feeAssetId": null, "timestamp": 1699533951232, "version": 2, "chainId": 84, "sender": "3MqEAEVk1NcbRAuEPAX7nyzUqMHbhvRofez", "senderPublicKey": "Brp6cacBXyKUcZr5Uc6VDKsnFcaEeQ8nQzrZQyobDsuf", "proofs": [ "3ggLYbPe3GBzQCFe89Fq28zgTbU6QYLNiTu8TBZQpEmPV6QD5AdUwup3Jomn7cp97md2htLqVZaTbwiL2jZQDmcZ" ], "script": "base64:BgIGCAISABIAAgENdHJ5R2V0SW50ZWdlcgEDa2V5BAckbWF0Y2gwCQCaCAIFBHRoaXMFA2tleQMJAAECBQckbWF0Y2gwAgNJbnQEAWIFByRtYXRjaDAFAWIAAAEMdHJ5R2V0U3RyaW5nAQNrZXkEByRtYXRjaDAJAJ0IAgUEdGhpcwUDa2V5AwkAAQIFByRtYXRjaDACBlN0cmluZwQBYgUHJG1hdGNoMAUBYgIAAgFpAQhyZWdpc3RlcgAJAMwIAgkBDEludGVnZXJFbnRyeQICEUFtb3VudCBSZWdpc3RlcmVkCQBkAgkBDXRyeUdldEludGVnZXIBAhFBbW91bnQgUmVnaXN0ZXJlZAABCQDMCAIJAQtTdHJpbmdFbnRyeQIJAKwCAgISUmVnaXN0ZXIgYWRkcmVzczogCQCkAwEJAGQCCQENdHJ5R2V0SW50ZWdlcgECEUFtb3VudCBSZWdpc3RlcmVkAAEJAKUIAQgFAWkGY2FsbGVyCQDMCAIJAQtTdHJpbmdFbnRyeQICEkFkZHJlc3MgcmVnaXN0ZXJlZAkArAICCQCsAgIJAQx0cnlHZXRTdHJpbmcBAhJBZGRyZXNzIHJlZ2lzdGVyZWQJAKUIAQgFAWkGY2FsbGVyAgEsBQNuaWwBaQEIbWFrZUxpc3QABAlhZGRyZXNzZXMJAQx0cnlHZXRTdHJpbmcBAhJBZGRyZXNzIHJlZ2lzdGVyZWQEBGxpc3QJALUJAgUJYWRkcmVzc2VzAgEsBAtmaXJzdE9mTGlzdAkAkQMCBQRsaXN0AAAJAMwIAgkBC1N0cmluZ0VudHJ5AgIJYWRkcmVzc2VzBQlhZGRyZXNzZXMJAMwIAgkBC1N0cmluZ0VudHJ5AgILZmlyc3RPZkxpc3QFC2ZpcnN0T2ZMaXN0BQNuaWwAS+CFdg==", "height": 2835822, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: H1fUgTQYSPh85hRZe7smRv9XS92HqpA9qFoSVbiZ4Kni Next: EYHojmoB7Nr2ax4hJH9f7p2hZNU6WT8Z7QEyXjTc2gj Diff:
OldNewDifferences
2525 @Callable(i)
2626 func makeList () = {
2727 let addresses = tryGetString("Address registered")
28- let list = [addresses]
28+ let list = split(addresses, ",")
2929 let firstOfList = list[0]
3030 [StringEntry("addresses", addresses), StringEntry("firstOfList", firstOfList)]
3131 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func tryGetInteger (key) = match getInteger(this, key) {
55 case b: Int =>
66 b
77 case _ =>
88 0
99 }
1010
1111
1212 func tryGetString (key) = match getString(this, key) {
1313 case b: String =>
1414 b
1515 case _ =>
1616 ""
1717 }
1818
1919
2020 @Callable(i)
2121 func register () = [IntegerEntry("Amount Registered", (tryGetInteger("Amount Registered") + 1)), StringEntry(("Register address: " + toString((tryGetInteger("Amount Registered") + 1))), toString(i.caller)), StringEntry("Address registered", ((tryGetString("Address registered") + toString(i.caller)) + ","))]
2222
2323
2424
2525 @Callable(i)
2626 func makeList () = {
2727 let addresses = tryGetString("Address registered")
28- let list = [addresses]
28+ let list = split(addresses, ",")
2929 let firstOfList = list[0]
3030 [StringEntry("addresses", addresses), StringEntry("firstOfList", firstOfList)]
3131 }
3232
3333

github/deemru/w8io/169f3d6 
21.99 ms