tx · AvrH6ys9Uw5phVgcNqYqCKZ5CEiLSp222qSpkGUeA4qz

3MrGaZVRhknEGfHJ19ttUPNnDRoFqcHhVN7:  -0.01200000 Waves

2023.03.17 23:55 [2494503] smart account 3MrGaZVRhknEGfHJ19ttUPNnDRoFqcHhVN7 > SELF 0.00000000 Waves

{ "type": 13, "id": "AvrH6ys9Uw5phVgcNqYqCKZ5CEiLSp222qSpkGUeA4qz", "fee": 1200000, "feeAssetId": null, "timestamp": 1679086498411, "version": 2, "chainId": 84, "sender": "3MrGaZVRhknEGfHJ19ttUPNnDRoFqcHhVN7", "senderPublicKey": "CrHxACS7bWTh8cgmgqstvybmgMqR9KtDryGFt5svZhBW", "proofs": [ "YEaCJdtzYJWbgVdMpf3sGuMRSwvoyaZvw5i5Qo5Un6TwcmN1g8isZqo1vNRo24KJEk2x4fyZee3awDRLYRtHUZL" ], "script": "base64:BgIkCAISBwoFGBgBAQgSBAoCGBgSBQoDCBgYEgQKAggIEgQKAggIFgAIa0pzb25SZXMCB2pzb25SZXMABXF1b3RlCQCwCQEBASIBCW1ha2VGaWVsZAEJbmV4dFZhbHVlAwcJAKwCAgkArAICCQCsAgIJAKwCAgkArAICBQVxdW90ZQgFCW5leHRWYWx1ZQJfMQUFcXVvdGUCAToIBQluZXh0VmFsdWUCXzICASwJAKwCAgkArAICCQCsAgIJAKwCAgkArAICCQCsAgIJAKwCAgUFcXVvdGUIBQluZXh0VmFsdWUCXzEFBXF1b3RlAgE6BQVxdW90ZQgFCW5leHRWYWx1ZQJfMgUFcXVvdGUCASwBD3JlZHVjZXJNYWtlSlNPTgIFYWNjdW0JbmV4dFZhbHVlCQCsAgIFBWFjY3VtCQEJbWFrZUZpZWxkAQUJbmV4dFZhbHVlAQ9pdGVyYXRlTWFrZUpTT04DBnBhcmFtcwNyZXMGbGVuZ3RoAwkAAAIFBmxlbmd0aAAACQACAQINRW1wdHkgIHBhcmFtcwMJAAACBQZsZW5ndGgAAQoAAiRsBQZwYXJhbXMKAA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xBAduZXdKc29uCAUNJHQwMTQzNjYxNDcyNQJfMgkAlAoCCQDMCAIJAQtTdHJpbmdFbnRyeQICDGRlbGV0ZWRWYWx1ZQURZGVsZXRlZFZhbHVlQnlLZXkJAMwIAgkBC1N0cmluZ0VudHJ5AgUIa0pzb25SZXMFB25ld0pzb24FA25pbAkAlAoCBRFkZWxldGVkVmFsdWVCeUtleQUHbmV3SnNvbgAHhnxj", "height": 2494503, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 3BqzVDeGoVqSJXJnpPb2RW3ZqNPSLDsLP3aCgaxAtzEj Next: 2f7jyjqvzSJm4yvMwtpyrBSZUkgxZwpkkoNyaAKWZU4j Diff:
OldNewDifferences
307307 let ag = ay._2
308308 let ah = ay._3
309309 let az = drop(take(ad, (ah - 1)), ((ag + af) + 3))
310- let aA = dropRight(drop(ad, 1), 1)
310+ let aA = dropRight(drop(ad, 2), 2)
311311 let aB = split(ad, ",")
312312 let aC = size(aB)
313313 let aD = if (contains(az, "{"))
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "jsonRes"
55
66 let b = toUtf8String(base58'b')
77
88 func c (d) = if (false)
99 then (((((b + d._1) + b) + ":") + d._2) + ",")
1010 else (((((((b + d._1) + b) + ":") + b) + d._2) + b) + ",")
1111
1212
1313 func e (f,d) = (f + c(d))
1414
1515
1616 func g (h,i,j) = if ((j == 0))
1717 then throw("Empty params")
1818 else if ((j == 1))
1919 then {
2020 let k = h
2121 let l = size(k)
2222 let m = i
2323 func n (o,p) = if ((p >= l))
2424 then o
2525 else e(o, k[p])
2626
2727 func q (o,p) = if ((p >= l))
2828 then o
2929 else throw("List size exceeds 1")
3030
3131 q(n(m, 0), 1)
3232 }
3333 else if ((j == 2))
3434 then {
3535 let k = h
3636 let l = size(k)
3737 let m = i
3838 func n (o,p) = if ((p >= l))
3939 then o
4040 else e(o, k[p])
4141
4242 func q (o,p) = if ((p >= l))
4343 then o
4444 else throw("List size exceeds 2")
4545
4646 q(n(n(m, 0), 1), 2)
4747 }
4848 else if ((j == 3))
4949 then {
5050 let k = h
5151 let l = size(k)
5252 let m = i
5353 func n (o,p) = if ((p >= l))
5454 then o
5555 else e(o, k[p])
5656
5757 func q (o,p) = if ((p >= l))
5858 then o
5959 else throw("List size exceeds 3")
6060
6161 q(n(n(n(m, 0), 1), 2), 3)
6262 }
6363 else if ((j == 4))
6464 then {
6565 let k = h
6666 let l = size(k)
6767 let m = i
6868 func n (o,p) = if ((p >= l))
6969 then o
7070 else e(o, k[p])
7171
7272 func q (o,p) = if ((p >= l))
7373 then o
7474 else throw("List size exceeds 4")
7575
7676 q(n(n(n(n(m, 0), 1), 2), 3), 4)
7777 }
7878 else if ((j == 5))
7979 then {
8080 let k = h
8181 let l = size(k)
8282 let m = i
8383 func n (o,p) = if ((p >= l))
8484 then o
8585 else e(o, k[p])
8686
8787 func q (o,p) = if ((p >= l))
8888 then o
8989 else throw("List size exceeds 5")
9090
9191 q(n(n(n(n(n(m, 0), 1), 2), 3), 4), 5)
9292 }
9393 else if ((j == 6))
9494 then {
9595 let k = h
9696 let l = size(k)
9797 let m = i
9898 func n (o,p) = if ((p >= l))
9999 then o
100100 else e(o, k[p])
101101
102102 func q (o,p) = if ((p >= l))
103103 then o
104104 else throw("List size exceeds 6")
105105
106106 q(n(n(n(n(n(n(m, 0), 1), 2), 3), 4), 5), 6)
107107 }
108108 else if ((j == 7))
109109 then {
110110 let k = h
111111 let l = size(k)
112112 let m = i
113113 func n (o,p) = if ((p >= l))
114114 then o
115115 else e(o, k[p])
116116
117117 func q (o,p) = if ((p >= l))
118118 then o
119119 else throw("List size exceeds 7")
120120
121121 q(n(n(n(n(n(n(n(m, 0), 1), 2), 3), 4), 5), 6), 7)
122122 }
123123 else if ((j == 8))
124124 then {
125125 let k = h
126126 let l = size(k)
127127 let m = i
128128 func n (o,p) = if ((p >= l))
129129 then o
130130 else e(o, k[p])
131131
132132 func q (o,p) = if ((p >= l))
133133 then o
134134 else throw("List size exceeds 8")
135135
136136 q(n(n(n(n(n(n(n(n(m, 0), 1), 2), 3), 4), 5), 6), 7), 8)
137137 }
138138 else if ((j == 9))
139139 then {
140140 let k = h
141141 let l = size(k)
142142 let m = i
143143 func n (o,p) = if ((p >= l))
144144 then o
145145 else e(o, k[p])
146146
147147 func q (o,p) = if ((p >= l))
148148 then o
149149 else throw("List size exceeds 9")
150150
151151 q(n(n(n(n(n(n(n(n(n(m, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9)
152152 }
153153 else if ((j == 10))
154154 then {
155155 let k = h
156156 let l = size(k)
157157 let m = i
158158 func n (o,p) = if ((p >= l))
159159 then o
160160 else e(o, k[p])
161161
162162 func q (o,p) = if ((p >= l))
163163 then o
164164 else throw("List size exceeds 10")
165165
166166 q(n(n(n(n(n(n(n(n(n(n(m, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
167167 }
168168 else throw("The max number of parameters exceeded")
169169
170170
171171 func r (s) = {
172172 let t = s[0]
173173 let u = s[1]
174174 let v = s[2]
175175 let w = s[3]
176176 let x = s[4]
177177 let y = s[5]
178178 let z = s[6]
179179 let A = s[7]
180180 let B = s[8]
181181 let C = s[9]
182182 let D = removeByIndex(s, 0)
183183 let E = removeByIndex(D, 0)
184184 let F = removeByIndex(E, 0)
185185 let G = removeByIndex(F, 0)
186186 let H = removeByIndex(G, 0)
187187 let I = removeByIndex(H, 0)
188188 let J = removeByIndex(I, 0)
189189 let K = removeByIndex(J, 0)
190190 let L = removeByIndex(K, 0)
191191 let M = removeByIndex(L, 0)
192192 $Tuple2([t, u, v, w, x, y, z, A, B, C], M)
193193 }
194194
195195
196196 func N (O) = if ((O == this))
197197 then unit
198198 else throw("Only internal call")
199199
200200
201201 func P (s,F) = [$Tuple2(s[0], F[0])]
202202
203203
204204 func Q (s,F) = [$Tuple2(s[0], F[0]), $Tuple2(s[1], F[1])]
205205
206206
207207 func R (s,F) = [$Tuple2(s[0], F[0]), $Tuple2(s[1], F[1]), $Tuple2(s[2], F[2])]
208208
209209
210210 func S (s,F) = [$Tuple2(s[0], F[0]), $Tuple2(s[1], F[1]), $Tuple2(s[2], F[2]), $Tuple2(s[3], F[3])]
211211
212212
213213 func T (s,F) = [$Tuple2(s[0], F[0]), $Tuple2(s[1], F[1]), $Tuple2(s[2], F[2]), $Tuple2(s[3], F[3]), $Tuple2(s[4], F[4])]
214214
215215
216216 func U (s,F) = [$Tuple2(s[0], F[0]), $Tuple2(s[1], F[1]), $Tuple2(s[2], F[2]), $Tuple2(s[3], F[3]), $Tuple2(s[4], F[4]), $Tuple2(s[5], F[5])]
217217
218218
219219 func V (s,F) = [$Tuple2(s[0], F[0]), $Tuple2(s[1], F[1]), $Tuple2(s[2], F[2]), $Tuple2(s[3], F[3]), $Tuple2(s[4], F[4]), $Tuple2(s[5], F[5]), $Tuple2(s[6], F[6])]
220220
221221
222222 func W (s,F) = [$Tuple2(s[0], F[0]), $Tuple2(s[1], F[1]), $Tuple2(s[2], F[2]), $Tuple2(s[3], F[3]), $Tuple2(s[4], F[4]), $Tuple2(s[5], F[5]), $Tuple2(s[6], F[6]), $Tuple2(s[7], F[7])]
223223
224224
225225 func X (s,F) = [$Tuple2(s[0], F[0]), $Tuple2(s[1], F[1]), $Tuple2(s[2], F[2]), $Tuple2(s[3], F[3]), $Tuple2(s[4], F[4]), $Tuple2(s[5], F[5]), $Tuple2(s[6], F[6]), $Tuple2(s[7], F[7]), $Tuple2(s[8], F[8])]
226226
227227
228228 func Y (s,F) = [$Tuple2(s[0], F[0]), $Tuple2(s[1], F[1]), $Tuple2(s[2], F[2]), $Tuple2(s[3], F[3]), $Tuple2(s[4], F[4]), $Tuple2(s[5], F[5]), $Tuple2(s[6], F[6]), $Tuple2(s[7], F[7]), $Tuple2(s[8], F[8]), $Tuple2(s[9], F[9])]
229229
230230
231231 func Z (aa,ab,j) = if ((j == 0))
232232 then throw("Empty params")
233233 else if ((j == 1))
234234 then P(aa, ab)
235235 else if ((j == 2))
236236 then Q(aa, ab)
237237 else if ((j == 3))
238238 then R(aa, ab)
239239 else if ((j == 4))
240240 then S(aa, ab)
241241 else if ((j == 5))
242242 then T(aa, ab)
243243 else if ((j == 6))
244244 then U(aa, ab)
245245 else if ((j == 7))
246246 then V(aa, ab)
247247 else if ((j == 8))
248248 then W(aa, ab)
249249 else if ((j == 9))
250250 then X(aa, ab)
251251 else if ((j == 10))
252252 then Y(aa, ab)
253253 else throw("Max number of parameters exceeded")
254254
255255
256256 func ac (ad,ae) = {
257257 let af = size(ae)
258258 let ag = value(indexOf(ad, ae))
259259 let ah = valueOrElse(indexOf(ad, ",", ag), value(indexOf(ad, "}", ag)))
260260 $Tuple3(af, ag, ah)
261261 }
262262
263263
264264 func ai (f,aj) = {
265265 let ak = f
266266 let al = ak._1
267267 let am = ak._2
268268 let an = ak._3
269269 let ao = ak._4
270270 if (!(ao))
271271 then {
272272 let ap = if (contains(aj, "{"))
273273 then {
274274 let aq = (size(split(aj, "{")) - 1)
275275 $Tuple2(aq, 0)
276276 }
277277 else if (contains(aj, "}"))
278278 then {
279279 let aq = (size(split(aj, "}")) - 1)
280280 $Tuple2(aq, 0)
281281 }
282282 else $Tuple2(0, 0)
283283 let ar = ap._1
284284 let as = ap._2
285285 let at = (am + ar)
286286 let au = (an + as)
287287 if ((at == au))
288288 then $Tuple4(al, at, au, true)
289289 else $Tuple4((al + aj), at, au, false)
290290 }
291291 else f
292292 }
293293
294294
295295 func av (ad,ae) = {
296296 let aw = ac(ad, ae)
297297 let af = aw._1
298298 let ag = aw._2
299299 let ah = aw._3
300300 drop(take(ad, (ah - 1)), ((ag + af) + 3))
301301 }
302302
303303
304304 func ax (ad,ae) = {
305305 let ay = ac(ad, ae)
306306 let af = ay._1
307307 let ag = ay._2
308308 let ah = ay._3
309309 let az = drop(take(ad, (ah - 1)), ((ag + af) + 3))
310- let aA = dropRight(drop(ad, 1), 1)
310+ let aA = dropRight(drop(ad, 2), 2)
311311 let aB = split(ad, ",")
312312 let aC = size(aB)
313313 let aD = if (contains(az, "{"))
314314 then ( let k = aB
315315 let l = size(k)
316316 let m = $Tuple4("", 0, 0, false)
317317 func n (o,p) = if ((p >= l))
318318 then o
319319 else ai(o, k[p])
320320
321321 func q (o,p) = if ((p >= l))
322322 then o
323323 else throw("List size exceeds 100")
324324
325325 q(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(m, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100))._1
326326 else az
327327 let aE = if (((size(ad) - ah) == 1))
328328 then (take(ad, (ag - 2)) + drop(ad, ah))
329329 else (take(ad, (ag - 1)) + drop(ad, (ah + 1)))
330330 $Tuple2(aA, aE)
331331 }
332332
333333
334334 @Callable(aF)
335335 func makeJSONInternal (aG,aH,aI,aJ,i) = valueOrElse(N(aF.caller), if ((aI > 0))
336336 then {
337337 let aK = r(aG)
338338 let aa = aK._1
339339 let aL = aK._2
340340 let aM = r(aH)
341341 let ab = aM._1
342342 let aN = aM._2
343343 let h = Z(aa, ab, 10)
344344 let aO = g(h, i, 10)
345345 let al = invoke(this, "makeJSONInternal", [aL, aN, (aI - 1), aJ, aO], nil)
346346 if ((al == al))
347347 then $Tuple2(nil, al)
348348 else throw("Strict value is not equal to itself.")
349349 }
350350 else if ((aJ != 0))
351351 then {
352352 let h = Z(aG, aH, aJ)
353353 let aO = g(h, i, aJ)
354354 $Tuple2(nil, (("{" + dropRight(aO, 1)) + "}"))
355355 }
356356 else $Tuple2(nil, (("{" + dropRight(i, 1)) + "}")))
357357
358358
359359
360360 @Callable(aF)
361361 func makeJSON (aG,aH) = if ((size(aG) != size(aH)))
362362 then throw("ArrayKeys and ArrayValues length must be equal")
363363 else {
364364 let aP = size(aG)
365365 let aI = fraction(1, aP, 10)
366366 let aJ = (aP % 10)
367367 let i = invoke(this, "makeJSONInternal", [aG, aH, aI, aJ, ""], nil)
368368 if ((i == i))
369369 then $Tuple2(nil, i)
370370 else throw("Strict value is not equal to itself.")
371371 }
372372
373373
374374
375375 @Callable(aF)
376376 func addToJSON (ad,aG,aH) = if ((size(aG) != size(aH)))
377377 then throw("ArrayKeys and ArrayValues length must be equal")
378378 else {
379379 let aP = size(aG)
380380 let aI = fraction(1, aP, 10)
381381 let aJ = (aP % 10)
382382 let i = invoke(this, "makeJSONInternal", [aG, aH, aI, aJ, (drop(dropRight(ad, 1), 1) + ",")], nil)
383383 if ((i == i))
384384 then $Tuple2(nil, i)
385385 else throw("Strict value is not equal to itself.")
386386 }
387387
388388
389389
390390 @Callable(aF)
391391 func readByJSONKey (ad,ae) = {
392392 let aQ = av(ad, ae)
393393 $Tuple2([StringEntry("valueByKey", aQ)], aQ)
394394 }
395395
396396
397397
398398 @Callable(aF)
399399 func deleteByJSONKey (ad,ae) = {
400400 let aR = ax(ad, ae)
401401 let aS = aR._1
402402 let aE = aR._2
403403 $Tuple2([StringEntry("deletedValue", aS), StringEntry(a, aE)], $Tuple2(aS, aE))
404404 }
405405
406406

github/deemru/w8io/169f3d6 
54.95 ms