tx · C3Krd4XNDKaY5LSzNevWgn1XsuYSmwiNnDup7Ui3YMhz

3MrGaZVRhknEGfHJ19ttUPNnDRoFqcHhVN7:  -0.01000000 Waves

2023.03.16 23:23 [2493055] smart account 3MrGaZVRhknEGfHJ19ttUPNnDRoFqcHhVN7 > SELF 0.00000000 Waves

{ "type": 13, "id": "C3Krd4XNDKaY5LSzNevWgn1XsuYSmwiNnDup7Ui3YMhz", "fee": 1000000, "feeAssetId": null, "timestamp": 1678998206556, "version": 2, "chainId": 84, "sender": "3MrGaZVRhknEGfHJ19ttUPNnDRoFqcHhVN7", "senderPublicKey": "CrHxACS7bWTh8cgmgqstvybmgMqR9KtDryGFt5svZhBW", "proofs": [ "4jNUNKhYFRLwYbfZjy4B18CWU6atsTHtsnX824n6XZj6nLDh1ntEDqz7BczL93rynrE29XTDouv9ShM89UHryU3x" ], "script": "base64:BgIkCAISBwoFGBgBAQgSBAoCGBgSBQoDCBgYEgQKAggIEgQKAggIFQAHanNvblJlcwIHanNvblJlcwAFcXVvdGUJALAJAQEBIgEJbWFrZUZpZWxkAQluZXh0VmFsdWUJAKwCAgkArAICCQCsAgIJAKwCAgkArAICCQCsAgIJAKwCAgUFcXVvdGUIBQluZXh0VmFsdWUCXzEFBXF1b3RlAgE6BQVxdW90ZQgFCW5leHRWYWx1ZQJfMgUFcXVvdGUCASwBD3JlZHVjZXJNYWtlSlNPTgIFYWNjdW0JbmV4dFZhbHVlCQCsAgIFBWFjY3VtCQEJbWFrZUZpZWxkAQUJbmV4dFZhbHVlAQ9pdGVyYXRlTWFrZUpTT04DBnBhcmFtcwNyZXMGbGVuZ3RoAwkAAAIFBmxlbmd0aAAACQACAQINRW1wdHkgIHBhcmFtcwMJAAACBQZsZW5ndGgAAQoAAiRsBQZwYXJhbXMKAAIkcwkAkAMBBQIkbAoABSRhY2MwBQNyZXMKAQUkZjBfMQICJGECJGkDCQBnAgUCJGkFAiRzBQIkYQkBD3JlZHVjZXJNYWtlSlNPTgIFAiRhCQ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c29uA2tleQQKdmFsdWVCeUtleQkBEXJlYWRCeUtleUludGVybmFsAgUEanNvbgUDa2V5CQCUCgIFA25pbAUKdmFsdWVCeUtleQFpAQ9kZWxldGVCeUpTT05LZXkCBGpzb24Da2V5BA0kdDAxMjg2NTEyOTk4CQETZGVsZXRlQnlLZXlJbnRlcm5hbAIFBGpzb24FA2tleQQRZGVsZXRlZFZhbHVlQnlLZXkIBQ0kdDAxMjg2NTEyOTk4Al8xBAduZXdKc29uCAUNJHQwMTI4NjUxMjk5OAJfMgkAlAoCBQNuaWwJAJQKAgURZGVsZXRlZFZhbHVlQnlLZXkFB25ld0pzb24AXBagyA==", "height": 2493055, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: GsebzKi4KvvrtqNocvbmajVqNNBp75MnTyaTpJJehwHK Next: B9wdjRSnexduG3Nzx1HXGbxzN1i9M7UFu3VeVd1fRdtt Diff:
OldNewDifferences
323323
324324
325325 @Callable(ao)
326-func addToJSON (ap,aq) = if ((size(ap) != size(aq)))
326+func addToJSON (aA,ap,aq) = if ((size(ap) != size(aq)))
327327 then throw("ArrayKeys and ArrayValues length must be equal")
328328 else {
329- let aA = getStringValue(this, a)
330329 let az = size(ap)
331330 let ar = fraction(1, az, 10)
332331 let as = (az % 10)
339338
340339
341340 @Callable(ao)
342-func readByJSONKey (ae) = {
343- let ad = getStringValue(this, a)
341+func readByJSONKey (ad,ae) = {
344342 let aB = ai(ad, ae)
345343 $Tuple2(nil, aB)
346344 }
348346
349347
350348 @Callable(ao)
351-func deleteByJSONKey (ae) = {
352- let ad = getStringValue(this, a)
349+func deleteByJSONKey (ad,ae) = {
353350 let aC = ak(ad, ae)
354351 let aD = aC._1
355352 let an = aC._2
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))
257257 let ah = valueOrElse(indexOf(ad, ",", ag), value(indexOf(ad, "}", ag)))
258258 $Tuple3(af, ag, ah)
259259 }
260260
261261
262262 func ai (ad,ae) = {
263263 let aj = ac(ad, ae)
264264 let af = aj._1
265265 let ag = aj._2
266266 let ah = aj._3
267267 drop(take(ad, (ah - 1)), ((ag + af) + 3))
268268 }
269269
270270
271271 func ak (ad,ae) = {
272272 let al = ac(ad, ae)
273273 let af = al._1
274274 let ag = al._2
275275 let ah = al._3
276276 let am = drop(take(ad, (ah - 1)), ((ag + af) + 3))
277277 let an = if (((size(ad) - ah) == 1))
278278 then (take(ad, (ag - 2)) + drop(ad, ah))
279279 else (take(ad, (ag - 1)) + drop(ad, (ah + 1)))
280280 $Tuple2(am, an)
281281 }
282282
283283
284284 @Callable(ao)
285285 func makeJSONInternal (ap,aq,ar,as,i) = valueOrElse(N(ao.caller), if ((ar > 0))
286286 then {
287287 let at = r(ap)
288288 let aa = at._1
289289 let au = at._2
290290 let av = r(aq)
291291 let ab = av._1
292292 let aw = av._2
293293 let h = Z(aa, ab, 10)
294294 let ax = g(h, i, 10)
295295 let ay = invoke(this, "makeJSONInternal", [au, aw, (ar - 1), as, ax], nil)
296296 if ((ay == ay))
297297 then $Tuple2(nil, ay)
298298 else throw("Strict value is not equal to itself.")
299299 }
300300 else if ((as != 0))
301301 then {
302302 let h = Z(ap, aq, as)
303303 let ax = g(h, i, as)
304304 $Tuple2(nil, (("{" + dropRight(ax, 1)) + "}"))
305305 }
306306 else $Tuple2(nil, (("{" + dropRight(i, 1)) + "}")))
307307
308308
309309
310310 @Callable(ao)
311311 func makeJSON (ap,aq) = if ((size(ap) != size(aq)))
312312 then throw("ArrayKeys and ArrayValues length must be equal")
313313 else {
314314 let az = size(ap)
315315 let ar = fraction(1, az, 10)
316316 let as = (az % 10)
317317 let i = invoke(this, "makeJSONInternal", [ap, aq, ar, as, ""], nil)
318318 if ((i == i))
319319 then $Tuple2(nil, i)
320320 else throw("Strict value is not equal to itself.")
321321 }
322322
323323
324324
325325 @Callable(ao)
326-func addToJSON (ap,aq) = if ((size(ap) != size(aq)))
326+func addToJSON (aA,ap,aq) = if ((size(ap) != size(aq)))
327327 then throw("ArrayKeys and ArrayValues length must be equal")
328328 else {
329- let aA = getStringValue(this, a)
330329 let az = size(ap)
331330 let ar = fraction(1, az, 10)
332331 let as = (az % 10)
333332 let i = invoke(this, "makeJSONInternal", [ap, aq, ar, as, (drop(dropRight(aA, 1), 1) + ",")], nil)
334333 if ((i == i))
335334 then $Tuple2(nil, i)
336335 else throw("Strict value is not equal to itself.")
337336 }
338337
339338
340339
341340 @Callable(ao)
342-func readByJSONKey (ae) = {
343- let ad = getStringValue(this, a)
341+func readByJSONKey (ad,ae) = {
344342 let aB = ai(ad, ae)
345343 $Tuple2(nil, aB)
346344 }
347345
348346
349347
350348 @Callable(ao)
351-func deleteByJSONKey (ae) = {
352- let ad = getStringValue(this, a)
349+func deleteByJSONKey (ad,ae) = {
353350 let aC = ak(ad, ae)
354351 let aD = aC._1
355352 let an = aC._2
356353 $Tuple2(nil, $Tuple2(aD, an))
357354 }
358355
359356

github/deemru/w8io/169f3d6 
44.57 ms