tx · YqnaqEPcV9BeUzUCQsyn7HJBvPwPvxc7ev5fbLyugUn

3MrGaZVRhknEGfHJ19ttUPNnDRoFqcHhVN7:  -0.01000000 Waves

2023.03.17 21:11 [2494347] smart account 3MrGaZVRhknEGfHJ19ttUPNnDRoFqcHhVN7 > SELF 0.00000000 Waves

{ "type": 13, "id": "YqnaqEPcV9BeUzUCQsyn7HJBvPwPvxc7ev5fbLyugUn", "fee": 1000000, "feeAssetId": null, "timestamp": 1679076703655, "version": 2, "chainId": 84, "sender": "3MrGaZVRhknEGfHJ19ttUPNnDRoFqcHhVN7", "senderPublicKey": "CrHxACS7bWTh8cgmgqstvybmgMqR9KtDryGFt5svZhBW", "proofs": [ "NqhmFY5oc1TZ8EfFjyj7vcAUFmGMFHcn9Mz71J9hxQSw9rmzA84ZVL9aG6JsD8vUy6Pebmab3PA3YC36XiLdvmt" ], "script": "base64:BgIkCAISBwoFGBgBAQgSBAoCGBgSBQoDCBgYEgQKAggIEgQKAggIFQAIa0pzb25SZXMCB2pzb25SZXMABXF1b3RlCQCwCQEBASIBCW1ha2VGaWVsZAEJbmV4dFZhbHVlCQCsAgIJAKwCAgkArAICCQCsAgIJAKwCAgkArAICCQCsAgIFBXF1b3RlCAUJbmV4dFZhbHVlAl8xBQVxdW90ZQIBOgUFcXVvdGUIBQluZXh0VmFsdWUCXzIFBXF1b3RlAgEsAQ9yZWR1Y2VyTWFrZUpTT04CBWFjY3VtCW5leHRWYWx1ZQkArAICBQVhY2N1bQkBCW1ha2VGaWVsZAEFCW5leHRWYWx1ZQEPaXRlcmF0ZU1ha2VKU09OAwZwYXJhbXMDcmVzBmxlbmd0aAMJAAACBQZsZW5ndGgAAAkAAgECDUVtcHR5ICBwYXJhbXMDCQAAAgUGbGVuZ3RoAAEKAAIkbAUGcGFyYW1zCgACJHMJAJADAQUCJGwKAAUkYWNjMAUDcmVzCgEFJGYwXzECAiRhAiRpAwkAZwIFAiRpBQIkcwUCJGEJAQ9yZWR1Y2VyTWFrZ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lAoCBQNuaWwFA3JlcwkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgFpAQ1yZWFkQnlKU09OS2V5AgRqc29uA2tleQQKdmFsdWVCeUtleQkBEXJlYWRCeUtleUludGVybmFsAgUEanNvbgUDa2V5CQCUCgIJAMwIAgkBC1N0cmluZ0VudHJ5AgIKdmFsdWVCeUtleQUKdmFsdWVCeUtleQUDbmlsBQp2YWx1ZUJ5S2V5AWkBD2RlbGV0ZUJ5SlNPTktleQIEanNvbgNrZXkEDSR0MDEyOTE5MTMyNzAJARNkZWxldGVCeUtleUludGVybmFsAgUEanNvbgUDa2V5BBFkZWxldGVkVmFsdWVCeUtleQgFDSR0MDEyOTE5MTMyNzACXzEEB25ld0pzb24IBQ0kdDAxMjkxOTEzMjcwAl8yCQCUCgIJAMwIAgkBC1N0cmluZ0VudHJ5AgIMZGVsZXRlZFZhbHVlBRFkZWxldGVkVmFsdWVCeUtleQkAzAgCCQELU3RyaW5nRW50cnkCBQhrSnNvblJlcwUHbmV3SnNvbgUDbmlsCQCUCgIFEWRlbGV0ZWRWYWx1ZUJ5S2V5BQduZXdKc29uANedF9U=", "height": 2494347, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 2j51bHgAjCD2SZpYmUpJPKZbnWBmJmQxhSeYcsTNPLGb Next: HLUgGNAPKgj69aEY19sqfVVBxvkudqAmCwmHQMDGCHvf Diff:
OldNewDifferences
254254 func ac (ad,ae) = {
255255 let af = size(ae)
256256 let ag = value(indexOf(ad, ae))
257- let ah = $Tuple2(valueOrElse(indexOf(ad, ",", ag), value(indexOf(ad, "}", ag))), 3)
258- let ai = ah._1
259- let aj = ah._2
260- $Tuple4(af, ag, ai, aj)
257+ let ah = valueOrElse(indexOf(ad, ",", ag), value(indexOf(ad, "}", ag)))
258+ $Tuple4(af, ag, ah, 3)
261259 }
262260
263261
264-func ak (ad,ae) = {
265- let al = ac(ad, ae)
266- let af = al._1
267- let ag = al._2
268- let ai = al._3
269- let aj = al._4
270- drop(take(ad, (ai - 1)), ((ag + af) + aj))
262+func ai (ad,ae) = {
263+ let aj = ac(ad, ae)
264+ let af = aj._1
265+ let ag = aj._2
266+ let ah = aj._3
267+ let ak = aj._4
268+ drop(take(ad, (ah - 1)), ((ag + af) + ak))
271269 }
272270
273271
274-func am (ad,ae) = {
275- let an = ac(ad, ae)
276- let af = an._1
277- let ag = an._2
278- let ai = an._3
279- let aj = an._4
280- let ao = drop(take(ad, (ai - 1)), ((ag + af) + aj))
281- let ap = if (((size(ad) - ai) == 1))
282- then (take(ad, (ag - 2)) + drop(ad, ai))
283- else (take(ad, (ag - 1)) + drop(ad, (ai + 1)))
284- $Tuple2(ao, ap)
272+func al (ad,ae) = {
273+ let am = ac(ad, ae)
274+ let af = am._1
275+ let ag = am._2
276+ let ah = am._3
277+ let ak = am._4
278+ let an = drop(take(ad, (ah - 1)), ((ag + af) + ak))
279+ let ao = if (((size(ad) - ah) == 1))
280+ then (take(ad, (ag - 2)) + drop(ad, ah))
281+ else (take(ad, (ag - 1)) + drop(ad, (ah + 1)))
282+ $Tuple2(an, ao)
285283 }
286284
287285
288-@Callable(aq)
289-func makeJSONInternal (ar,as,at,au,i) = valueOrElse(N(aq.caller), if ((at > 0))
286+@Callable(ap)
287+func makeJSONInternal (aq,ar,as,at,i) = valueOrElse(N(ap.caller), if ((as > 0))
290288 then {
291- let av = r(ar)
292- let aa = av._1
293- let aw = av._2
294- let ax = r(as)
295- let ab = ax._1
296- let ay = ax._2
289+ let au = r(aq)
290+ let aa = au._1
291+ let av = au._2
292+ let aw = r(ar)
293+ let ab = aw._1
294+ let ax = aw._2
297295 let h = Z(aa, ab, 10)
298- let az = g(h, i, 10)
299- let aA = invoke(this, "makeJSONInternal", [aw, ay, (at - 1), au, az], nil)
300- if ((aA == aA))
301- then $Tuple2(nil, aA)
296+ let ay = g(h, i, 10)
297+ let az = invoke(this, "makeJSONInternal", [av, ax, (as - 1), at, ay], nil)
298+ if ((az == az))
299+ then $Tuple2(nil, az)
302300 else throw("Strict value is not equal to itself.")
303301 }
304- else if ((au != 0))
302+ else if ((at != 0))
305303 then {
306- let h = Z(ar, as, au)
307- let az = g(h, i, au)
308- $Tuple2(nil, (("{" + dropRight(az, 1)) + "}"))
304+ let h = Z(aq, ar, at)
305+ let ay = g(h, i, at)
306+ $Tuple2(nil, (("{" + dropRight(ay, 1)) + "}"))
309307 }
310308 else $Tuple2(nil, (("{" + dropRight(i, 1)) + "}")))
311309
312310
313311
314-@Callable(aq)
315-func makeJSON (ar,as) = if ((size(ar) != size(as)))
312+@Callable(ap)
313+func makeJSON (aq,ar) = if ((size(aq) != size(ar)))
316314 then throw("ArrayKeys and ArrayValues length must be equal")
317315 else {
318- let aB = size(ar)
319- let at = fraction(1, aB, 10)
320- let au = (aB % 10)
321- let i = invoke(this, "makeJSONInternal", [ar, as, at, au, ""], nil)
316+ let aA = size(aq)
317+ let as = fraction(1, aA, 10)
318+ let at = (aA % 10)
319+ let i = invoke(this, "makeJSONInternal", [aq, ar, as, at, ""], nil)
322320 if ((i == i))
323321 then $Tuple2(nil, i)
324322 else throw("Strict value is not equal to itself.")
326324
327325
328326
329-@Callable(aq)
330-func addToJSON (ad,ar,as) = if ((size(ar) != size(as)))
327+@Callable(ap)
328+func addToJSON (ad,aq,ar) = if ((size(aq) != size(ar)))
331329 then throw("ArrayKeys and ArrayValues length must be equal")
332330 else {
333- let aB = size(ar)
334- let at = fraction(1, aB, 10)
335- let au = (aB % 10)
336- let i = invoke(this, "makeJSONInternal", [ar, as, at, au, (drop(dropRight(ad, 1), 1) + ",")], nil)
331+ let aA = size(aq)
332+ let as = fraction(1, aA, 10)
333+ let at = (aA % 10)
334+ let i = invoke(this, "makeJSONInternal", [aq, ar, as, at, (drop(dropRight(ad, 1), 1) + ",")], nil)
337335 if ((i == i))
338336 then $Tuple2(nil, i)
339337 else throw("Strict value is not equal to itself.")
341339
342340
343341
344-@Callable(aq)
342+@Callable(ap)
345343 func readByJSONKey (ad,ae) = {
346- let aC = ak(ad, ae)
347- $Tuple2([StringEntry("valueByKey", aC)], aC)
344+ let aB = ai(ad, ae)
345+ $Tuple2([StringEntry("valueByKey", aB)], aB)
348346 }
349347
350348
351349
352-@Callable(aq)
350+@Callable(ap)
353351 func deleteByJSONKey (ad,ae) = {
354- let aD = am(ad, ae)
355- let aE = aD._1
356- let ap = aD._2
357- $Tuple2([StringEntry("deletedValue", aE), StringEntry(a, ap)], $Tuple2(aE, ap))
352+ let aC = al(ad, ae)
353+ let aD = aC._1
354+ let ao = aC._2
355+ $Tuple2([StringEntry("deletedValue", aD), StringEntry(a, ao)], $Tuple2(aD, ao))
358356 }
359357
360358
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) = (((((((b + d._1) + b) + ":") + b) + d._2) + b) + ",")
99
1010
1111 func e (f,d) = (f + c(d))
1212
1313
1414 func g (h,i,j) = if ((j == 0))
1515 then throw("Empty params")
1616 else if ((j == 1))
1717 then {
1818 let k = h
1919 let l = size(k)
2020 let m = i
2121 func n (o,p) = if ((p >= l))
2222 then o
2323 else e(o, k[p])
2424
2525 func q (o,p) = if ((p >= l))
2626 then o
2727 else throw("List size exceeds 1")
2828
2929 q(n(m, 0), 1)
3030 }
3131 else if ((j == 2))
3232 then {
3333 let k = h
3434 let l = size(k)
3535 let m = i
3636 func n (o,p) = if ((p >= l))
3737 then o
3838 else e(o, k[p])
3939
4040 func q (o,p) = if ((p >= l))
4141 then o
4242 else throw("List size exceeds 2")
4343
4444 q(n(n(m, 0), 1), 2)
4545 }
4646 else if ((j == 3))
4747 then {
4848 let k = h
4949 let l = size(k)
5050 let m = i
5151 func n (o,p) = if ((p >= l))
5252 then o
5353 else e(o, k[p])
5454
5555 func q (o,p) = if ((p >= l))
5656 then o
5757 else throw("List size exceeds 3")
5858
5959 q(n(n(n(m, 0), 1), 2), 3)
6060 }
6161 else if ((j == 4))
6262 then {
6363 let k = h
6464 let l = size(k)
6565 let m = i
6666 func n (o,p) = if ((p >= l))
6767 then o
6868 else e(o, k[p])
6969
7070 func q (o,p) = if ((p >= l))
7171 then o
7272 else throw("List size exceeds 4")
7373
7474 q(n(n(n(n(m, 0), 1), 2), 3), 4)
7575 }
7676 else if ((j == 5))
7777 then {
7878 let k = h
7979 let l = size(k)
8080 let m = i
8181 func n (o,p) = if ((p >= l))
8282 then o
8383 else e(o, k[p])
8484
8585 func q (o,p) = if ((p >= l))
8686 then o
8787 else throw("List size exceeds 5")
8888
8989 q(n(n(n(n(n(m, 0), 1), 2), 3), 4), 5)
9090 }
9191 else if ((j == 6))
9292 then {
9393 let k = h
9494 let l = size(k)
9595 let m = i
9696 func n (o,p) = if ((p >= l))
9797 then o
9898 else e(o, k[p])
9999
100100 func q (o,p) = if ((p >= l))
101101 then o
102102 else throw("List size exceeds 6")
103103
104104 q(n(n(n(n(n(n(m, 0), 1), 2), 3), 4), 5), 6)
105105 }
106106 else if ((j == 7))
107107 then {
108108 let k = h
109109 let l = size(k)
110110 let m = i
111111 func n (o,p) = if ((p >= l))
112112 then o
113113 else e(o, k[p])
114114
115115 func q (o,p) = if ((p >= l))
116116 then o
117117 else throw("List size exceeds 7")
118118
119119 q(n(n(n(n(n(n(n(m, 0), 1), 2), 3), 4), 5), 6), 7)
120120 }
121121 else if ((j == 8))
122122 then {
123123 let k = h
124124 let l = size(k)
125125 let m = i
126126 func n (o,p) = if ((p >= l))
127127 then o
128128 else e(o, k[p])
129129
130130 func q (o,p) = if ((p >= l))
131131 then o
132132 else throw("List size exceeds 8")
133133
134134 q(n(n(n(n(n(n(n(n(m, 0), 1), 2), 3), 4), 5), 6), 7), 8)
135135 }
136136 else if ((j == 9))
137137 then {
138138 let k = h
139139 let l = size(k)
140140 let m = i
141141 func n (o,p) = if ((p >= l))
142142 then o
143143 else e(o, k[p])
144144
145145 func q (o,p) = if ((p >= l))
146146 then o
147147 else throw("List size exceeds 9")
148148
149149 q(n(n(n(n(n(n(n(n(n(m, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9)
150150 }
151151 else if ((j == 10))
152152 then {
153153 let k = h
154154 let l = size(k)
155155 let m = i
156156 func n (o,p) = if ((p >= l))
157157 then o
158158 else e(o, k[p])
159159
160160 func q (o,p) = if ((p >= l))
161161 then o
162162 else throw("List size exceeds 10")
163163
164164 q(n(n(n(n(n(n(n(n(n(n(m, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
165165 }
166166 else throw("The max number of parameters exceeded")
167167
168168
169169 func r (s) = {
170170 let t = s[0]
171171 let u = s[1]
172172 let v = s[2]
173173 let w = s[3]
174174 let x = s[4]
175175 let y = s[5]
176176 let z = s[6]
177177 let A = s[7]
178178 let B = s[8]
179179 let C = s[9]
180180 let D = removeByIndex(s, 0)
181181 let E = removeByIndex(D, 0)
182182 let F = removeByIndex(E, 0)
183183 let G = removeByIndex(F, 0)
184184 let H = removeByIndex(G, 0)
185185 let I = removeByIndex(H, 0)
186186 let J = removeByIndex(I, 0)
187187 let K = removeByIndex(J, 0)
188188 let L = removeByIndex(K, 0)
189189 let M = removeByIndex(L, 0)
190190 $Tuple2([t, u, v, w, x, y, z, A, B, C], M)
191191 }
192192
193193
194194 func N (O) = if ((O == this))
195195 then unit
196196 else throw("Only internal call")
197197
198198
199199 func P (s,F) = [$Tuple2(s[0], F[0])]
200200
201201
202202 func Q (s,F) = [$Tuple2(s[0], F[0]), $Tuple2(s[1], F[1])]
203203
204204
205205 func R (s,F) = [$Tuple2(s[0], F[0]), $Tuple2(s[1], F[1]), $Tuple2(s[2], F[2])]
206206
207207
208208 func S (s,F) = [$Tuple2(s[0], F[0]), $Tuple2(s[1], F[1]), $Tuple2(s[2], F[2]), $Tuple2(s[3], F[3])]
209209
210210
211211 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])]
212212
213213
214214 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])]
215215
216216
217217 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])]
218218
219219
220220 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])]
221221
222222
223223 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])]
224224
225225
226226 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])]
227227
228228
229229 func Z (aa,ab,j) = if ((j == 0))
230230 then throw("Empty params")
231231 else if ((j == 1))
232232 then P(aa, ab)
233233 else if ((j == 2))
234234 then Q(aa, ab)
235235 else if ((j == 3))
236236 then R(aa, ab)
237237 else if ((j == 4))
238238 then S(aa, ab)
239239 else if ((j == 5))
240240 then T(aa, ab)
241241 else if ((j == 6))
242242 then U(aa, ab)
243243 else if ((j == 7))
244244 then V(aa, ab)
245245 else if ((j == 8))
246246 then W(aa, ab)
247247 else if ((j == 9))
248248 then X(aa, ab)
249249 else if ((j == 10))
250250 then Y(aa, ab)
251251 else throw("Max number of parameters exceeded")
252252
253253
254254 func ac (ad,ae) = {
255255 let af = size(ae)
256256 let ag = value(indexOf(ad, ae))
257- let ah = $Tuple2(valueOrElse(indexOf(ad, ",", ag), value(indexOf(ad, "}", ag))), 3)
258- let ai = ah._1
259- let aj = ah._2
260- $Tuple4(af, ag, ai, aj)
257+ let ah = valueOrElse(indexOf(ad, ",", ag), value(indexOf(ad, "}", ag)))
258+ $Tuple4(af, ag, ah, 3)
261259 }
262260
263261
264-func ak (ad,ae) = {
265- let al = ac(ad, ae)
266- let af = al._1
267- let ag = al._2
268- let ai = al._3
269- let aj = al._4
270- drop(take(ad, (ai - 1)), ((ag + af) + aj))
262+func ai (ad,ae) = {
263+ let aj = ac(ad, ae)
264+ let af = aj._1
265+ let ag = aj._2
266+ let ah = aj._3
267+ let ak = aj._4
268+ drop(take(ad, (ah - 1)), ((ag + af) + ak))
271269 }
272270
273271
274-func am (ad,ae) = {
275- let an = ac(ad, ae)
276- let af = an._1
277- let ag = an._2
278- let ai = an._3
279- let aj = an._4
280- let ao = drop(take(ad, (ai - 1)), ((ag + af) + aj))
281- let ap = if (((size(ad) - ai) == 1))
282- then (take(ad, (ag - 2)) + drop(ad, ai))
283- else (take(ad, (ag - 1)) + drop(ad, (ai + 1)))
284- $Tuple2(ao, ap)
272+func al (ad,ae) = {
273+ let am = ac(ad, ae)
274+ let af = am._1
275+ let ag = am._2
276+ let ah = am._3
277+ let ak = am._4
278+ let an = drop(take(ad, (ah - 1)), ((ag + af) + ak))
279+ let ao = if (((size(ad) - ah) == 1))
280+ then (take(ad, (ag - 2)) + drop(ad, ah))
281+ else (take(ad, (ag - 1)) + drop(ad, (ah + 1)))
282+ $Tuple2(an, ao)
285283 }
286284
287285
288-@Callable(aq)
289-func makeJSONInternal (ar,as,at,au,i) = valueOrElse(N(aq.caller), if ((at > 0))
286+@Callable(ap)
287+func makeJSONInternal (aq,ar,as,at,i) = valueOrElse(N(ap.caller), if ((as > 0))
290288 then {
291- let av = r(ar)
292- let aa = av._1
293- let aw = av._2
294- let ax = r(as)
295- let ab = ax._1
296- let ay = ax._2
289+ let au = r(aq)
290+ let aa = au._1
291+ let av = au._2
292+ let aw = r(ar)
293+ let ab = aw._1
294+ let ax = aw._2
297295 let h = Z(aa, ab, 10)
298- let az = g(h, i, 10)
299- let aA = invoke(this, "makeJSONInternal", [aw, ay, (at - 1), au, az], nil)
300- if ((aA == aA))
301- then $Tuple2(nil, aA)
296+ let ay = g(h, i, 10)
297+ let az = invoke(this, "makeJSONInternal", [av, ax, (as - 1), at, ay], nil)
298+ if ((az == az))
299+ then $Tuple2(nil, az)
302300 else throw("Strict value is not equal to itself.")
303301 }
304- else if ((au != 0))
302+ else if ((at != 0))
305303 then {
306- let h = Z(ar, as, au)
307- let az = g(h, i, au)
308- $Tuple2(nil, (("{" + dropRight(az, 1)) + "}"))
304+ let h = Z(aq, ar, at)
305+ let ay = g(h, i, at)
306+ $Tuple2(nil, (("{" + dropRight(ay, 1)) + "}"))
309307 }
310308 else $Tuple2(nil, (("{" + dropRight(i, 1)) + "}")))
311309
312310
313311
314-@Callable(aq)
315-func makeJSON (ar,as) = if ((size(ar) != size(as)))
312+@Callable(ap)
313+func makeJSON (aq,ar) = if ((size(aq) != size(ar)))
316314 then throw("ArrayKeys and ArrayValues length must be equal")
317315 else {
318- let aB = size(ar)
319- let at = fraction(1, aB, 10)
320- let au = (aB % 10)
321- let i = invoke(this, "makeJSONInternal", [ar, as, at, au, ""], nil)
316+ let aA = size(aq)
317+ let as = fraction(1, aA, 10)
318+ let at = (aA % 10)
319+ let i = invoke(this, "makeJSONInternal", [aq, ar, as, at, ""], nil)
322320 if ((i == i))
323321 then $Tuple2(nil, i)
324322 else throw("Strict value is not equal to itself.")
325323 }
326324
327325
328326
329-@Callable(aq)
330-func addToJSON (ad,ar,as) = if ((size(ar) != size(as)))
327+@Callable(ap)
328+func addToJSON (ad,aq,ar) = if ((size(aq) != size(ar)))
331329 then throw("ArrayKeys and ArrayValues length must be equal")
332330 else {
333- let aB = size(ar)
334- let at = fraction(1, aB, 10)
335- let au = (aB % 10)
336- let i = invoke(this, "makeJSONInternal", [ar, as, at, au, (drop(dropRight(ad, 1), 1) + ",")], nil)
331+ let aA = size(aq)
332+ let as = fraction(1, aA, 10)
333+ let at = (aA % 10)
334+ let i = invoke(this, "makeJSONInternal", [aq, ar, as, at, (drop(dropRight(ad, 1), 1) + ",")], nil)
337335 if ((i == i))
338336 then $Tuple2(nil, i)
339337 else throw("Strict value is not equal to itself.")
340338 }
341339
342340
343341
344-@Callable(aq)
342+@Callable(ap)
345343 func readByJSONKey (ad,ae) = {
346- let aC = ak(ad, ae)
347- $Tuple2([StringEntry("valueByKey", aC)], aC)
344+ let aB = ai(ad, ae)
345+ $Tuple2([StringEntry("valueByKey", aB)], aB)
348346 }
349347
350348
351349
352-@Callable(aq)
350+@Callable(ap)
353351 func deleteByJSONKey (ad,ae) = {
354- let aD = am(ad, ae)
355- let aE = aD._1
356- let ap = aD._2
357- $Tuple2([StringEntry("deletedValue", aE), StringEntry(a, ap)], $Tuple2(aE, ap))
352+ let aC = al(ad, ae)
353+ let aD = aC._1
354+ let ao = aC._2
355+ $Tuple2([StringEntry("deletedValue", aD), StringEntry(a, ao)], $Tuple2(aD, ao))
358356 }
359357
360358

github/deemru/w8io/169f3d6 
127.97 ms