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:BgIkCAISBwoFGBgBAQgSBAoCGBgSBQoDCBgYEgQKAggIEgQKAggIFQAHanNvblJlcwIHanNvblJlcwAFcXVvdGUJALAJAQEBIgEJbWFrZUZpZWxkAQluZXh0VmFsdWUJAKwCAgkArAICCQCsAgIJAKwCAgkArAICCQCsAgIJAKwCAgUFcXVvdGUIBQluZXh0VmFsdWUCXzEFBXF1b3RlAgE6BQVxdW90ZQgFCW5leHRWYWx1ZQJfMgUFcXVvdGUCASwBD3JlZHVjZXJNYWtlSlNPTgIFYWNjdW0JbmV4dFZhbHVlCQCsAgIFBWFjY3VtCQEJbWFrZUZpZWxkAQUJbmV4dFZhbHVlAQ9pdGVyYXRlTWFrZUpTT04DBnBhcmFtcwNyZXMGbGVuZ3RoAwkAAAIFBmxlbmd0aAAACQACAQINRW1wdHkgIHBhcmFtcwMJAAACBQZsZW5ndGgAAQoAAiRsBQZwYXJhbXMKAAIkcwkAkAMBBQIkbAoABSRhY2MwBQNyZXMKAQUkZjBfMQICJGECJGkDCQBnAgUCJGkFAiRzBQIkYQkBD3JlZHVjZXJNYWtlSlNPTgIFAiRhCQC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29uA2tleQQKdmFsdWVCeUtleQkBEXJlYWRCeUtleUludGVybmFsAgUEanNvbgUDa2V5CQCUCgIFA25pbAUKdmFsdWVCeUtleQFpAQ9kZWxldGVCeUpTT05LZXkCBGpzb24Da2V5BA0kdDAxMjg2NTEyOTk4CQETZGVsZXRlQnlLZXlJbnRlcm5hbAIFBGpzb24FA2tleQQRZGVsZXRlZFZhbHVlQnlLZXkIBQ0kdDAxMjg2NTEyOTk4Al8xBAduZXdKc29uCAUNJHQwMTI4NjUxMjk5OAJfMgkAlAoCBQNuaWwJAJQKAgURZGVsZXRlZFZhbHVlQnlLZXkFB25ld0pzb24AXBagyA==", "height": 2493055, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: GsebzKi4KvvrtqNocvbmajVqNNBp75MnTyaTpJJehwHK Next: B9wdjRSnexduG3Nzx1HXGbxzN1i9M7UFu3VeVd1fRdtt Diff:
Old | New | Differences | |
---|---|---|---|
323 | 323 | ||
324 | 324 | ||
325 | 325 | @Callable(ao) | |
326 | - | func addToJSON (ap,aq) = if ((size(ap) != size(aq))) | |
326 | + | func addToJSON (aA,ap,aq) = if ((size(ap) != size(aq))) | |
327 | 327 | then throw("ArrayKeys and ArrayValues length must be equal") | |
328 | 328 | else { | |
329 | - | let aA = getStringValue(this, a) | |
330 | 329 | let az = size(ap) | |
331 | 330 | let ar = fraction(1, az, 10) | |
332 | 331 | let as = (az % 10) | |
339 | 338 | ||
340 | 339 | ||
341 | 340 | @Callable(ao) | |
342 | - | func readByJSONKey (ae) = { | |
343 | - | let ad = getStringValue(this, a) | |
341 | + | func readByJSONKey (ad,ae) = { | |
344 | 342 | let aB = ai(ad, ae) | |
345 | 343 | $Tuple2(nil, aB) | |
346 | 344 | } | |
348 | 346 | ||
349 | 347 | ||
350 | 348 | @Callable(ao) | |
351 | - | func deleteByJSONKey (ae) = { | |
352 | - | let ad = getStringValue(this, a) | |
349 | + | func deleteByJSONKey (ad,ae) = { | |
353 | 350 | let aC = ak(ad, ae) | |
354 | 351 | let aD = aC._1 | |
355 | 352 | let an = aC._2 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = "jsonRes" | |
5 | 5 | ||
6 | 6 | let b = toUtf8String(base58'b') | |
7 | 7 | ||
8 | 8 | func c (d) = (((((((b + d._1) + b) + ":") + b) + d._2) + b) + ",") | |
9 | 9 | ||
10 | 10 | ||
11 | 11 | func e (f,d) = (f + c(d)) | |
12 | 12 | ||
13 | 13 | ||
14 | 14 | func g (h,i,j) = if ((j == 0)) | |
15 | 15 | then throw("Empty params") | |
16 | 16 | else if ((j == 1)) | |
17 | 17 | then { | |
18 | 18 | let k = h | |
19 | 19 | let l = size(k) | |
20 | 20 | let m = i | |
21 | 21 | func n (o,p) = if ((p >= l)) | |
22 | 22 | then o | |
23 | 23 | else e(o, k[p]) | |
24 | 24 | ||
25 | 25 | func q (o,p) = if ((p >= l)) | |
26 | 26 | then o | |
27 | 27 | else throw("List size exceeds 1") | |
28 | 28 | ||
29 | 29 | q(n(m, 0), 1) | |
30 | 30 | } | |
31 | 31 | else if ((j == 2)) | |
32 | 32 | then { | |
33 | 33 | let k = h | |
34 | 34 | let l = size(k) | |
35 | 35 | let m = i | |
36 | 36 | func n (o,p) = if ((p >= l)) | |
37 | 37 | then o | |
38 | 38 | else e(o, k[p]) | |
39 | 39 | ||
40 | 40 | func q (o,p) = if ((p >= l)) | |
41 | 41 | then o | |
42 | 42 | else throw("List size exceeds 2") | |
43 | 43 | ||
44 | 44 | q(n(n(m, 0), 1), 2) | |
45 | 45 | } | |
46 | 46 | else if ((j == 3)) | |
47 | 47 | then { | |
48 | 48 | let k = h | |
49 | 49 | let l = size(k) | |
50 | 50 | let m = i | |
51 | 51 | func n (o,p) = if ((p >= l)) | |
52 | 52 | then o | |
53 | 53 | else e(o, k[p]) | |
54 | 54 | ||
55 | 55 | func q (o,p) = if ((p >= l)) | |
56 | 56 | then o | |
57 | 57 | else throw("List size exceeds 3") | |
58 | 58 | ||
59 | 59 | q(n(n(n(m, 0), 1), 2), 3) | |
60 | 60 | } | |
61 | 61 | else if ((j == 4)) | |
62 | 62 | then { | |
63 | 63 | let k = h | |
64 | 64 | let l = size(k) | |
65 | 65 | let m = i | |
66 | 66 | func n (o,p) = if ((p >= l)) | |
67 | 67 | then o | |
68 | 68 | else e(o, k[p]) | |
69 | 69 | ||
70 | 70 | func q (o,p) = if ((p >= l)) | |
71 | 71 | then o | |
72 | 72 | else throw("List size exceeds 4") | |
73 | 73 | ||
74 | 74 | q(n(n(n(n(m, 0), 1), 2), 3), 4) | |
75 | 75 | } | |
76 | 76 | else if ((j == 5)) | |
77 | 77 | then { | |
78 | 78 | let k = h | |
79 | 79 | let l = size(k) | |
80 | 80 | let m = i | |
81 | 81 | func n (o,p) = if ((p >= l)) | |
82 | 82 | then o | |
83 | 83 | else e(o, k[p]) | |
84 | 84 | ||
85 | 85 | func q (o,p) = if ((p >= l)) | |
86 | 86 | then o | |
87 | 87 | else throw("List size exceeds 5") | |
88 | 88 | ||
89 | 89 | q(n(n(n(n(n(m, 0), 1), 2), 3), 4), 5) | |
90 | 90 | } | |
91 | 91 | else if ((j == 6)) | |
92 | 92 | then { | |
93 | 93 | let k = h | |
94 | 94 | let l = size(k) | |
95 | 95 | let m = i | |
96 | 96 | func n (o,p) = if ((p >= l)) | |
97 | 97 | then o | |
98 | 98 | else e(o, k[p]) | |
99 | 99 | ||
100 | 100 | func q (o,p) = if ((p >= l)) | |
101 | 101 | then o | |
102 | 102 | else throw("List size exceeds 6") | |
103 | 103 | ||
104 | 104 | q(n(n(n(n(n(n(m, 0), 1), 2), 3), 4), 5), 6) | |
105 | 105 | } | |
106 | 106 | else if ((j == 7)) | |
107 | 107 | then { | |
108 | 108 | let k = h | |
109 | 109 | let l = size(k) | |
110 | 110 | let m = i | |
111 | 111 | func n (o,p) = if ((p >= l)) | |
112 | 112 | then o | |
113 | 113 | else e(o, k[p]) | |
114 | 114 | ||
115 | 115 | func q (o,p) = if ((p >= l)) | |
116 | 116 | then o | |
117 | 117 | else throw("List size exceeds 7") | |
118 | 118 | ||
119 | 119 | q(n(n(n(n(n(n(n(m, 0), 1), 2), 3), 4), 5), 6), 7) | |
120 | 120 | } | |
121 | 121 | else if ((j == 8)) | |
122 | 122 | then { | |
123 | 123 | let k = h | |
124 | 124 | let l = size(k) | |
125 | 125 | let m = i | |
126 | 126 | func n (o,p) = if ((p >= l)) | |
127 | 127 | then o | |
128 | 128 | else e(o, k[p]) | |
129 | 129 | ||
130 | 130 | func q (o,p) = if ((p >= l)) | |
131 | 131 | then o | |
132 | 132 | else throw("List size exceeds 8") | |
133 | 133 | ||
134 | 134 | q(n(n(n(n(n(n(n(n(m, 0), 1), 2), 3), 4), 5), 6), 7), 8) | |
135 | 135 | } | |
136 | 136 | else if ((j == 9)) | |
137 | 137 | then { | |
138 | 138 | let k = h | |
139 | 139 | let l = size(k) | |
140 | 140 | let m = i | |
141 | 141 | func n (o,p) = if ((p >= l)) | |
142 | 142 | then o | |
143 | 143 | else e(o, k[p]) | |
144 | 144 | ||
145 | 145 | func q (o,p) = if ((p >= l)) | |
146 | 146 | then o | |
147 | 147 | else throw("List size exceeds 9") | |
148 | 148 | ||
149 | 149 | q(n(n(n(n(n(n(n(n(n(m, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9) | |
150 | 150 | } | |
151 | 151 | else if ((j == 10)) | |
152 | 152 | then { | |
153 | 153 | let k = h | |
154 | 154 | let l = size(k) | |
155 | 155 | let m = i | |
156 | 156 | func n (o,p) = if ((p >= l)) | |
157 | 157 | then o | |
158 | 158 | else e(o, k[p]) | |
159 | 159 | ||
160 | 160 | func q (o,p) = if ((p >= l)) | |
161 | 161 | then o | |
162 | 162 | else throw("List size exceeds 10") | |
163 | 163 | ||
164 | 164 | q(n(n(n(n(n(n(n(n(n(n(m, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
165 | 165 | } | |
166 | 166 | else throw("The max number of parameters exceeded") | |
167 | 167 | ||
168 | 168 | ||
169 | 169 | func r (s) = { | |
170 | 170 | let t = s[0] | |
171 | 171 | let u = s[1] | |
172 | 172 | let v = s[2] | |
173 | 173 | let w = s[3] | |
174 | 174 | let x = s[4] | |
175 | 175 | let y = s[5] | |
176 | 176 | let z = s[6] | |
177 | 177 | let A = s[7] | |
178 | 178 | let B = s[8] | |
179 | 179 | let C = s[9] | |
180 | 180 | let D = removeByIndex(s, 0) | |
181 | 181 | let E = removeByIndex(D, 0) | |
182 | 182 | let F = removeByIndex(E, 0) | |
183 | 183 | let G = removeByIndex(F, 0) | |
184 | 184 | let H = removeByIndex(G, 0) | |
185 | 185 | let I = removeByIndex(H, 0) | |
186 | 186 | let J = removeByIndex(I, 0) | |
187 | 187 | let K = removeByIndex(J, 0) | |
188 | 188 | let L = removeByIndex(K, 0) | |
189 | 189 | let M = removeByIndex(L, 0) | |
190 | 190 | $Tuple2([t, u, v, w, x, y, z, A, B, C], M) | |
191 | 191 | } | |
192 | 192 | ||
193 | 193 | ||
194 | 194 | func N (O) = if ((O == this)) | |
195 | 195 | then unit | |
196 | 196 | else throw("Only internal call") | |
197 | 197 | ||
198 | 198 | ||
199 | 199 | func P (s,F) = [$Tuple2(s[0], F[0])] | |
200 | 200 | ||
201 | 201 | ||
202 | 202 | func Q (s,F) = [$Tuple2(s[0], F[0]), $Tuple2(s[1], F[1])] | |
203 | 203 | ||
204 | 204 | ||
205 | 205 | func R (s,F) = [$Tuple2(s[0], F[0]), $Tuple2(s[1], F[1]), $Tuple2(s[2], F[2])] | |
206 | 206 | ||
207 | 207 | ||
208 | 208 | func S (s,F) = [$Tuple2(s[0], F[0]), $Tuple2(s[1], F[1]), $Tuple2(s[2], F[2]), $Tuple2(s[3], F[3])] | |
209 | 209 | ||
210 | 210 | ||
211 | 211 | 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])] | |
212 | 212 | ||
213 | 213 | ||
214 | 214 | 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])] | |
215 | 215 | ||
216 | 216 | ||
217 | 217 | 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])] | |
218 | 218 | ||
219 | 219 | ||
220 | 220 | 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])] | |
221 | 221 | ||
222 | 222 | ||
223 | 223 | 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])] | |
224 | 224 | ||
225 | 225 | ||
226 | 226 | 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])] | |
227 | 227 | ||
228 | 228 | ||
229 | 229 | func Z (aa,ab,j) = if ((j == 0)) | |
230 | 230 | then throw("Empty params") | |
231 | 231 | else if ((j == 1)) | |
232 | 232 | then P(aa, ab) | |
233 | 233 | else if ((j == 2)) | |
234 | 234 | then Q(aa, ab) | |
235 | 235 | else if ((j == 3)) | |
236 | 236 | then R(aa, ab) | |
237 | 237 | else if ((j == 4)) | |
238 | 238 | then S(aa, ab) | |
239 | 239 | else if ((j == 5)) | |
240 | 240 | then T(aa, ab) | |
241 | 241 | else if ((j == 6)) | |
242 | 242 | then U(aa, ab) | |
243 | 243 | else if ((j == 7)) | |
244 | 244 | then V(aa, ab) | |
245 | 245 | else if ((j == 8)) | |
246 | 246 | then W(aa, ab) | |
247 | 247 | else if ((j == 9)) | |
248 | 248 | then X(aa, ab) | |
249 | 249 | else if ((j == 10)) | |
250 | 250 | then Y(aa, ab) | |
251 | 251 | else throw("Max number of parameters exceeded") | |
252 | 252 | ||
253 | 253 | ||
254 | 254 | func ac (ad,ae) = { | |
255 | 255 | let af = size(ae) | |
256 | 256 | let ag = value(indexOf(ad, ae)) | |
257 | 257 | let ah = valueOrElse(indexOf(ad, ",", ag), value(indexOf(ad, "}", ag))) | |
258 | 258 | $Tuple3(af, ag, ah) | |
259 | 259 | } | |
260 | 260 | ||
261 | 261 | ||
262 | 262 | func ai (ad,ae) = { | |
263 | 263 | let aj = ac(ad, ae) | |
264 | 264 | let af = aj._1 | |
265 | 265 | let ag = aj._2 | |
266 | 266 | let ah = aj._3 | |
267 | 267 | drop(take(ad, (ah - 1)), ((ag + af) + 3)) | |
268 | 268 | } | |
269 | 269 | ||
270 | 270 | ||
271 | 271 | func ak (ad,ae) = { | |
272 | 272 | let al = ac(ad, ae) | |
273 | 273 | let af = al._1 | |
274 | 274 | let ag = al._2 | |
275 | 275 | let ah = al._3 | |
276 | 276 | let am = drop(take(ad, (ah - 1)), ((ag + af) + 3)) | |
277 | 277 | let an = if (((size(ad) - ah) == 1)) | |
278 | 278 | then (take(ad, (ag - 2)) + drop(ad, ah)) | |
279 | 279 | else (take(ad, (ag - 1)) + drop(ad, (ah + 1))) | |
280 | 280 | $Tuple2(am, an) | |
281 | 281 | } | |
282 | 282 | ||
283 | 283 | ||
284 | 284 | @Callable(ao) | |
285 | 285 | func makeJSONInternal (ap,aq,ar,as,i) = valueOrElse(N(ao.caller), if ((ar > 0)) | |
286 | 286 | then { | |
287 | 287 | let at = r(ap) | |
288 | 288 | let aa = at._1 | |
289 | 289 | let au = at._2 | |
290 | 290 | let av = r(aq) | |
291 | 291 | let ab = av._1 | |
292 | 292 | let aw = av._2 | |
293 | 293 | let h = Z(aa, ab, 10) | |
294 | 294 | let ax = g(h, i, 10) | |
295 | 295 | let ay = invoke(this, "makeJSONInternal", [au, aw, (ar - 1), as, ax], nil) | |
296 | 296 | if ((ay == ay)) | |
297 | 297 | then $Tuple2(nil, ay) | |
298 | 298 | else throw("Strict value is not equal to itself.") | |
299 | 299 | } | |
300 | 300 | else if ((as != 0)) | |
301 | 301 | then { | |
302 | 302 | let h = Z(ap, aq, as) | |
303 | 303 | let ax = g(h, i, as) | |
304 | 304 | $Tuple2(nil, (("{" + dropRight(ax, 1)) + "}")) | |
305 | 305 | } | |
306 | 306 | else $Tuple2(nil, (("{" + dropRight(i, 1)) + "}"))) | |
307 | 307 | ||
308 | 308 | ||
309 | 309 | ||
310 | 310 | @Callable(ao) | |
311 | 311 | func makeJSON (ap,aq) = if ((size(ap) != size(aq))) | |
312 | 312 | then throw("ArrayKeys and ArrayValues length must be equal") | |
313 | 313 | else { | |
314 | 314 | let az = size(ap) | |
315 | 315 | let ar = fraction(1, az, 10) | |
316 | 316 | let as = (az % 10) | |
317 | 317 | let i = invoke(this, "makeJSONInternal", [ap, aq, ar, as, ""], nil) | |
318 | 318 | if ((i == i)) | |
319 | 319 | then $Tuple2(nil, i) | |
320 | 320 | else throw("Strict value is not equal to itself.") | |
321 | 321 | } | |
322 | 322 | ||
323 | 323 | ||
324 | 324 | ||
325 | 325 | @Callable(ao) | |
326 | - | func addToJSON (ap,aq) = if ((size(ap) != size(aq))) | |
326 | + | func addToJSON (aA,ap,aq) = if ((size(ap) != size(aq))) | |
327 | 327 | then throw("ArrayKeys and ArrayValues length must be equal") | |
328 | 328 | else { | |
329 | - | let aA = getStringValue(this, a) | |
330 | 329 | let az = size(ap) | |
331 | 330 | let ar = fraction(1, az, 10) | |
332 | 331 | let as = (az % 10) | |
333 | 332 | let i = invoke(this, "makeJSONInternal", [ap, aq, ar, as, (drop(dropRight(aA, 1), 1) + ",")], nil) | |
334 | 333 | if ((i == i)) | |
335 | 334 | then $Tuple2(nil, i) | |
336 | 335 | else throw("Strict value is not equal to itself.") | |
337 | 336 | } | |
338 | 337 | ||
339 | 338 | ||
340 | 339 | ||
341 | 340 | @Callable(ao) | |
342 | - | func readByJSONKey (ae) = { | |
343 | - | let ad = getStringValue(this, a) | |
341 | + | func readByJSONKey (ad,ae) = { | |
344 | 342 | let aB = ai(ad, ae) | |
345 | 343 | $Tuple2(nil, aB) | |
346 | 344 | } | |
347 | 345 | ||
348 | 346 | ||
349 | 347 | ||
350 | 348 | @Callable(ao) | |
351 | - | func deleteByJSONKey (ae) = { | |
352 | - | let ad = getStringValue(this, a) | |
349 | + | func deleteByJSONKey (ad,ae) = { | |
353 | 350 | let aC = ak(ad, ae) | |
354 | 351 | let aD = aC._1 | |
355 | 352 | let an = aC._2 | |
356 | 353 | $Tuple2(nil, $Tuple2(aD, an)) | |
357 | 354 | } | |
358 | 355 | ||
359 | 356 |
github/deemru/w8io/169f3d6 44.57 ms ◑