tx · 9gD7a8eqbwoSctGiZ8cFfzdJJf9BPjZTjUvpMaiTC356

3MovP6ZTz8LV7RrQQhDekfaXH9C4kPbRmCG:  -0.01000000 Waves

2020.01.20 14:26 [862484] smart account 3MovP6ZTz8LV7RrQQhDekfaXH9C4kPbRmCG > SELF 0.00000000 Waves

{ "type": 13, "id": "9gD7a8eqbwoSctGiZ8cFfzdJJf9BPjZTjUvpMaiTC356", "fee": 1000000, "feeAssetId": null, "timestamp": 1579519646811, "version": 1, "sender": "3MovP6ZTz8LV7RrQQhDekfaXH9C4kPbRmCG", "senderPublicKey": "Ebi3vsX46YwBagQQ39TMXVCMNLZhLukgD73QvyEYuz7G", "proofs": [ "3qJ2ajC6gAVcFb9xyzFPSzKrw4yybM5DLMwvNxgzbKAKPWh9LJJ6k2yLmsfvzZTiAYJT8BcaWNb1CzLbb1NenPTL" ], "script": "base64:AAIDAAAAAAAAAAgIARIECgIICAAAAAEBAAAAFmRyb3BFbGVtZW50SW5Kc29uQXJyYXkAAAACAAAABWFycmF5AAAAB2VsZW1lbnQEAAAADHNwbGl0ZWRBcnJheQkABLUAAAACBQAAAAVhcnJheQUAAAAHZWxlbWVudAMJAAAAAAAAAgkAAS8AAAACCQABkQAAAAIFAAAADHNwbGl0ZWRBcnJheQAAAAAAAAAAAQAAAAAAAAAAAQIAAAABLAkAASwAAAACCQABkQAAAAIFAAAADHNwbGl0ZWRBcnJheQAAAAAAAAAAAAkAATAAAAACCQABkQAAAAIFAAAADHNwbGl0ZWRBcnJheQAAAAAAAAAAAQAAAAAAAAAAAQkAASwAAAACCQEAAAAJZHJvcFJpZ2h0AAAAAgkAAZEAAAACBQAAAAxzcGxpdGVkQXJyYXkAAAAAAAAAAAAAAAAAAAAAAAEJAAGRAAAAAgUAAAAMc3BsaXRlZEFycmF5AAAAAAAAAAABAAAAAQAAAAJ0eAEAAAASZHJvcEVsZW1lbnRJbkFycmF5AAAAAgAAAAVhcnJheQAAAAdlbGVtZW50BAAAAAxzcGxpdGVkQXJyYXkJAAS1AAAAAgUAAAAFYXJyYXkFAAAAB2VsZW1lbnQEAAAACWFycmF5TGVmdAkAAZEAAAACBQAAAAxzcGxpdGVkQXJyYXkAAAAAAAAAAAAEAAAACmFycmF5UmlnaHQJAAGRAAAAAgUAAAAMc3BsaXRlZEFycmF5AAAAAAAAAAABBAAAAAluZXh0SWRPcHQJAAQaAAAAAgUAAAAEdGhpcwIAAAAGTkVYVElEBAAAAAZuZXh0SWQDCQEAAAAJaXNEZWZpbmVkAAAAAQUAAAAJbmV4dElkT3B0CQEAAAAHZXh0cmFjdAAAAAEFAAAACW5leHRJZE9wdAAAAAAAAAAAAQQAAAASYXJyYXlXaXRob3RFbGVtZW50CQEAAAAWZHJvcEVsZW1lbnRJbkpzb25BcnJheQAAAAIFAAAABWFycmF5BQAAAAdlbGVtZW50CQEAAAAIV3JpdGVTZXQAAAABCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACCQABpAAAAAEFAAAABm5leHRJZAUAAAASYXJyYXlXaXRob3RFbGVtZW50CQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACCQABLAAAAAIJAAGkAAAAAQUAAAAGbmV4dElkAgAAAAxfZXhwbGFuYXRpb24JAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACBQAAAAVhcnJheQIAAAADIC0gBQAAAAdlbGVtZW50AgAAAAMgPSAFAAAAEmFycmF5V2l0aG90RWxlbWVudAIAAAASICB3aGVyZSBhcnJheUxlZnQ9BQAAAAlhcnJheUxlZnQCAAAAECBhbmQgYXJyYXlSaWdodD0FAAAACmFycmF5UmlnaHQJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAICAAAABk5FWFRJRAkAAGQAAAACBQAAAAZuZXh0SWQAAAAAAAAAAAEFAAAAA25pbAAAAAC2Wr3b", "chainId": 84, "height": 862484, "spentComplexity": 0 } View: original | compacted Prev: none Next: none Full:
OldNewDifferences
1-# no script
1+{-# STDLIB_VERSION 3 #-}
2+{-# SCRIPT_TYPE ACCOUNT #-}
3+{-# CONTENT_TYPE DAPP #-}
4+func a (b,c) = {
5+ let d = split(b, c)
6+ if ((take(d[1], 1) == ","))
7+ then (d[0] + drop(d[1], 1))
8+ else (dropRight(d[0], 1) + d[1])
9+ }
10+
11+
12+@Callable(e)
13+func dropElementInArray (b,c) = {
14+ let d = split(b, c)
15+ let f = d[0]
16+ let g = d[1]
17+ let h = getInteger(this, "NEXTID")
18+ let i = if (isDefined(h))
19+ then extract(h)
20+ else 1
21+ let j = a(b, c)
22+ WriteSet([DataEntry(toString(i), j), DataEntry((toString(i) + "_explanation"), ((((((((b + " - ") + c) + " = ") + j) + " where arrayLeft=") + f) + " and arrayRight=") + g)), DataEntry("NEXTID", (i + 1))])
23+ }
24+
25+

github/deemru/w8io/169f3d6 
12.85 ms