tx · CeKT2kK5VqkJwssVmy2n2CW7xpqEwQ2DP3oNzFLvpUGw 3NCman4dCzk1HWWU4DPTr5rsbhvuUCwwUZh: -0.01400000 Waves 2022.02.01 19:02 [1904748] smart account 3NCman4dCzk1HWWU4DPTr5rsbhvuUCwwUZh > SELF 0.00000000 Waves
{ "type": 13, "id": "CeKT2kK5VqkJwssVmy2n2CW7xpqEwQ2DP3oNzFLvpUGw", "fee": 1400000, "feeAssetId": null, "timestamp": 1643731421609, "version": 2, "chainId": 84, "sender": "3NCman4dCzk1HWWU4DPTr5rsbhvuUCwwUZh", "senderPublicKey": "H2pYnWJJx65CZzDe7K8uDrXypr7eDKevtrtLRF2uN1Qd", "proofs": [ "4qunQMSvRzAhqCjq1fcA5YZwvfkRN6DW5975NtSpo5L81zMVMELnM3WU6DTUibV4jtV3HatrRBuNPxVa2mwL1qSt" ], "script": "base64:AAIFAAAAAAAAAAcIAhIDCgEIAAAADwAAAAAQaW5jdWJhdG9yQWRkcmVzcwEAAAAaAVQu1YzRxAHn1ekAzs1AJJ6xFAc06V7PK6oAAAAADmJyZWVkZXJBZGRyZXNzAQAAABoBVIXmeysidPaPsP+lKHIt9Vw8rE+lS45bjgEAAAAJaXNTeW1ib2xBAAAAAgAAAAthY2N1bXVsYXRlZAAAAANzeW0DCQAAAAAAAAIFAAAAA3N5bQIAAAABQQkAAGQAAAACBQAAAAthY2N1bXVsYXRlZAAAAAAAAAAAAQkAAGQAAAACBQAAAAthY2N1bXVsYXRlZAAAAAAAAAAAAAEAAAAJaXNTeW1ib2xCAAAAAgAAAAthY2N1bXVsYXRlZAAAAANzeW0DCQAAAAAAAAIFAAAAA3N5bQIAAAABQgkAAGQAAAACBQAAAAthY2N1bXVsYXRlZAAAAAAAAAAAAQkAAGQAAAACBQAAAAthY2N1bXVsYXRlZAAAAAAAAAAAAAEAAAAJaXNTeW1ib2xDAAAAAgAAAAthY2N1bXVsYXRlZAAAAANzeW0DCQAAAAAAAAIFAAAAA3N5bQIAAA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l0ZXMJAAJZAAAAAQUAAAAHYXNzZXRJZAMDCQAAAAAAAAIICQEAAAAFdmFsdWUAAAABCQAD7AAAAAEFAAAADGFzc2V0SWRCeXRlcwAAAAZpc3N1ZXIJAQAAAAdBZGRyZXNzAAAAAQUAAAAOYnJlZWRlckFkZHJlc3MGCQAAAAAAAAIICQEAAAAFdmFsdWUAAAABCQAD7AAAAAEFAAAADGFzc2V0SWRCeXRlcwAAAAZpc3N1ZXIJAQAAAAdBZGRyZXNzAAAAAQUAAAAQaW5jdWJhdG9yQWRkcmVzcwQAAAAJYXNzZXROYW1lCAkBAAAABXZhbHVlAAAAAQkAA+wAAAABBQAAAAxhc3NldElkQnl0ZXMAAAAEbmFtZQMJAAAAAAAAAgkBAAAACXRha2VSaWdodAAAAAIJAQAAAAV2YWx1ZQAAAAEFAAAACWFzc2V0TmFtZQAAAAAAAAAAAQIAAAABVQkABRQAAAACBQAAAANuaWwAAAAAAAAAAGQEAAAACmdlbmVyYXRpb24JAAEvAAAAAgkBAAAACXRha2VSaWdodAAAAAIFAAAACWFzc2V0TmFtZQAAAAAAAAAAAgAAAAAAAAAAAQQAAAADZ2VuCQABLAAAAAIJAAEsAAAAAgkBAAAABmdldEdlbgAAAAEFAAAACWFzc2V0TmFtZQIAAAABLQUAAAAKZ2VuZXJhdGlvbgkABRQAAAACBQAAAANuaWwJAQAAAA9jYWxjQXNzZXRSYXJpdHkAAAACBQAAAANnZW4FAAAACmdlbmVyYXRpb24JAAACAAAAAQIAAAANbm90IHZhbGlkIE5GVAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5EO5Ong==", "height": 1904748, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: FjhScV1STS2NJ3VeL3tYS6oDsax52PPDLVRg3d4jU9JE Next: none Diff:
Old | New | Differences | |
---|---|---|---|
45 | 45 | else (d + 0) | |
46 | 46 | ||
47 | 47 | ||
48 | - | func m ( | |
49 | - | then | |
50 | - | else | |
48 | + | func m (d,e) = if ((e == "I")) | |
49 | + | then (d + 1) | |
50 | + | else (d + 0) | |
51 | 51 | ||
52 | 52 | ||
53 | - | func o (p) = { | |
54 | - | let q = split(dropRight(drop(p, 5), 3), "") | |
55 | - | (((((((m((toString({ | |
56 | - | let r = q | |
57 | - | let s = size(r) | |
58 | - | let t = 0 | |
59 | - | if ((s == 0)) | |
60 | - | then t | |
61 | - | else { | |
62 | - | let u = c(t, r[0]) | |
63 | - | if ((s == 1)) | |
64 | - | then u | |
65 | - | else { | |
66 | - | let v = c(u, r[1]) | |
67 | - | if ((s == 2)) | |
68 | - | then v | |
69 | - | else { | |
70 | - | let w = c(v, r[2]) | |
71 | - | if ((s == 3)) | |
72 | - | then w | |
73 | - | else { | |
74 | - | let x = c(w, r[3]) | |
75 | - | if ((s == 4)) | |
76 | - | then x | |
77 | - | else { | |
78 | - | let y = c(x, r[4]) | |
79 | - | if ((s == 5)) | |
80 | - | then y | |
81 | - | else { | |
82 | - | let z = c(y, r[5]) | |
83 | - | if ((s == 6)) | |
84 | - | then z | |
85 | - | else { | |
86 | - | let A = c(z, r[6]) | |
87 | - | if ((s == 7)) | |
88 | - | then A | |
89 | - | else { | |
90 | - | let B = c(A, r[7]) | |
91 | - | if ((s == 8)) | |
92 | - | then B | |
93 | - | else { | |
94 | - | let C = c(B, r[8]) | |
95 | - | throw("List size exceed 8") | |
96 | - | } | |
97 | - | } | |
98 | - | } | |
99 | - | } | |
100 | - | } | |
101 | - | } | |
102 | - | } | |
103 | - | } | |
104 | - | } | |
105 | - | }) + "A")) + m((toString({ | |
106 | - | let D = q | |
107 | - | let E = size(D) | |
108 | - | let F = 0 | |
109 | - | if ((E == 0)) | |
110 | - | then F | |
111 | - | else { | |
112 | - | let G = f(F, D[0]) | |
113 | - | if ((E == 1)) | |
114 | - | then G | |
115 | - | else { | |
116 | - | let H = f(G, D[1]) | |
117 | - | if ((E == 2)) | |
118 | - | then H | |
119 | - | else { | |
120 | - | let I = f(H, D[2]) | |
121 | - | if ((E == 3)) | |
122 | - | then I | |
123 | - | else { | |
124 | - | let J = f(I, D[3]) | |
125 | - | if ((E == 4)) | |
126 | - | then J | |
127 | - | else { | |
128 | - | let K = f(J, D[4]) | |
129 | - | if ((E == 5)) | |
130 | - | then K | |
131 | - | else { | |
132 | - | let L = f(K, D[5]) | |
133 | - | if ((E == 6)) | |
134 | - | then L | |
135 | - | else { | |
136 | - | let M = f(L, D[6]) | |
137 | - | if ((E == 7)) | |
138 | - | then M | |
139 | - | else { | |
140 | - | let N = f(M, D[7]) | |
141 | - | if ((E == 8)) | |
142 | - | then N | |
143 | - | else { | |
144 | - | let O = f(N, D[8]) | |
145 | - | throw("List size exceed 8") | |
146 | - | } | |
147 | - | } | |
148 | - | } | |
149 | - | } | |
150 | - | } | |
151 | - | } | |
152 | - | } | |
153 | - | } | |
154 | - | } | |
155 | - | }) + "B"))) + m((toString({ | |
156 | - | let P = q | |
157 | - | let Q = size(P) | |
158 | - | let R = 0 | |
159 | - | if ((Q == 0)) | |
160 | - | then R | |
161 | - | else { | |
162 | - | let S = g(R, P[0]) | |
163 | - | if ((Q == 1)) | |
164 | - | then S | |
165 | - | else { | |
166 | - | let T = g(S, P[1]) | |
167 | - | if ((Q == 2)) | |
168 | - | then T | |
169 | - | else { | |
170 | - | let U = g(T, P[2]) | |
171 | - | if ((Q == 3)) | |
172 | - | then U | |
173 | - | else { | |
174 | - | let V = g(U, P[3]) | |
175 | - | if ((Q == 4)) | |
176 | - | then V | |
177 | - | else { | |
178 | - | let W = g(V, P[4]) | |
179 | - | if ((Q == 5)) | |
180 | - | then W | |
181 | - | else { | |
182 | - | let X = g(W, P[5]) | |
183 | - | if ((Q == 6)) | |
184 | - | then X | |
185 | - | else { | |
186 | - | let Y = g(X, P[6]) | |
187 | - | if ((Q == 7)) | |
188 | - | then Y | |
189 | - | else { | |
190 | - | let Z = g(Y, P[7]) | |
191 | - | if ((Q == 8)) | |
192 | - | then Z | |
193 | - | else { | |
194 | - | let aa = g(Z, P[8]) | |
195 | - | throw("List size exceed 8") | |
196 | - | } | |
197 | - | } | |
198 | - | } | |
199 | - | } | |
200 | - | } | |
201 | - | } | |
202 | - | } | |
203 | - | } | |
204 | - | } | |
205 | - | }) + "C"))) + m((toString({ | |
206 | - | let ab = q | |
207 | - | let ac = size(ab) | |
208 | - | let ad = 0 | |
209 | - | if ((ac == 0)) | |
210 | - | then ad | |
211 | - | else { | |
212 | - | let ae = h(ad, ab[0]) | |
213 | - | if ((ac == 1)) | |
214 | - | then ae | |
215 | - | else { | |
216 | - | let af = h(ae, ab[1]) | |
217 | - | if ((ac == 2)) | |
218 | - | then af | |
219 | - | else { | |
220 | - | let ag = h(af, ab[2]) | |
221 | - | if ((ac == 3)) | |
222 | - | then ag | |
223 | - | else { | |
224 | - | let ah = h(ag, ab[3]) | |
225 | - | if ((ac == 4)) | |
226 | - | then ah | |
227 | - | else { | |
228 | - | let ai = h(ah, ab[4]) | |
229 | - | if ((ac == 5)) | |
230 | - | then ai | |
231 | - | else { | |
232 | - | let aj = h(ai, ab[5]) | |
233 | - | if ((ac == 6)) | |
234 | - | then aj | |
235 | - | else { | |
236 | - | let ak = h(aj, ab[6]) | |
237 | - | if ((ac == 7)) | |
238 | - | then ak | |
239 | - | else { | |
240 | - | let al = h(ak, ab[7]) | |
241 | - | if ((ac == 8)) | |
242 | - | then al | |
243 | - | else { | |
244 | - | let am = h(al, ab[8]) | |
245 | - | throw("List size exceed 8") | |
246 | - | } | |
247 | - | } | |
248 | - | } | |
249 | - | } | |
250 | - | } | |
251 | - | } | |
252 | - | } | |
253 | - | } | |
254 | - | } | |
255 | - | }) + "D"))) + m((toString({ | |
256 | - | let an = q | |
257 | - | let ao = size(an) | |
258 | - | let ap = 0 | |
259 | - | if ((ao == 0)) | |
260 | - | then ap | |
261 | - | else { | |
262 | - | let aq = i(ap, an[0]) | |
263 | - | if ((ao == 1)) | |
264 | - | then aq | |
265 | - | else { | |
266 | - | let ar = i(aq, an[1]) | |
267 | - | if ((ao == 2)) | |
268 | - | then ar | |
269 | - | else { | |
270 | - | let as = i(ar, an[2]) | |
271 | - | if ((ao == 3)) | |
272 | - | then as | |
273 | - | else { | |
274 | - | let at = i(as, an[3]) | |
275 | - | if ((ao == 4)) | |
276 | - | then at | |
277 | - | else { | |
278 | - | let au = i(at, an[4]) | |
279 | - | if ((ao == 5)) | |
280 | - | then au | |
281 | - | else { | |
282 | - | let av = i(au, an[5]) | |
283 | - | if ((ao == 6)) | |
284 | - | then av | |
285 | - | else { | |
286 | - | let aw = i(av, an[6]) | |
287 | - | if ((ao == 7)) | |
288 | - | then aw | |
289 | - | else { | |
290 | - | let ax = i(aw, an[7]) | |
291 | - | if ((ao == 8)) | |
292 | - | then ax | |
293 | - | else { | |
294 | - | let ay = i(ax, an[8]) | |
295 | - | throw("List size exceed 8") | |
296 | - | } | |
297 | - | } | |
298 | - | } | |
299 | - | } | |
300 | - | } | |
301 | - | } | |
302 | - | } | |
303 | - | } | |
304 | - | } | |
305 | - | }) + "E"))) + m((toString({ | |
306 | - | let az = q | |
307 | - | let aA = size(az) | |
308 | - | let aB = 0 | |
309 | - | if ((aA == 0)) | |
310 | - | then aB | |
311 | - | else { | |
312 | - | let aC = j(aB, az[0]) | |
313 | - | if ((aA == 1)) | |
314 | - | then aC | |
315 | - | else { | |
316 | - | let aD = j(aC, az[1]) | |
317 | - | if ((aA == 2)) | |
318 | - | then aD | |
319 | - | else { | |
320 | - | let aE = j(aD, az[2]) | |
321 | - | if ((aA == 3)) | |
322 | - | then aE | |
323 | - | else { | |
324 | - | let aF = j(aE, az[3]) | |
325 | - | if ((aA == 4)) | |
326 | - | then aF | |
327 | - | else { | |
328 | - | let aG = j(aF, az[4]) | |
329 | - | if ((aA == 5)) | |
330 | - | then aG | |
331 | - | else { | |
332 | - | let aH = j(aG, az[5]) | |
333 | - | if ((aA == 6)) | |
334 | - | then aH | |
335 | - | else { | |
336 | - | let aI = j(aH, az[6]) | |
337 | - | if ((aA == 7)) | |
338 | - | then aI | |
339 | - | else { | |
340 | - | let aJ = j(aI, az[7]) | |
341 | - | if ((aA == 8)) | |
342 | - | then aJ | |
343 | - | else { | |
344 | - | let aK = j(aJ, az[8]) | |
345 | - | throw("List size exceed 8") | |
346 | - | } | |
347 | - | } | |
348 | - | } | |
349 | - | } | |
350 | - | } | |
351 | - | } | |
352 | - | } | |
353 | - | } | |
354 | - | } | |
355 | - | }) + "F"))) + m((toString({ | |
356 | - | let aL = q | |
357 | - | let aM = size(aL) | |
358 | - | let aN = 0 | |
359 | - | if ((aM == 0)) | |
360 | - | then aN | |
361 | - | else { | |
362 | - | let aO = k(aN, aL[0]) | |
363 | - | if ((aM == 1)) | |
364 | - | then aO | |
365 | - | else { | |
366 | - | let aP = k(aO, aL[1]) | |
367 | - | if ((aM == 2)) | |
368 | - | then aP | |
369 | - | else { | |
370 | - | let aQ = k(aP, aL[2]) | |
371 | - | if ((aM == 3)) | |
372 | - | then aQ | |
373 | - | else { | |
374 | - | let aR = k(aQ, aL[3]) | |
375 | - | if ((aM == 4)) | |
376 | - | then aR | |
377 | - | else { | |
378 | - | let aS = k(aR, aL[4]) | |
379 | - | if ((aM == 5)) | |
380 | - | then aS | |
381 | - | else { | |
382 | - | let aT = k(aS, aL[5]) | |
383 | - | if ((aM == 6)) | |
384 | - | then aT | |
385 | - | else { | |
386 | - | let aU = k(aT, aL[6]) | |
387 | - | if ((aM == 7)) | |
388 | - | then aU | |
389 | - | else { | |
390 | - | let aV = k(aU, aL[7]) | |
391 | - | if ((aM == 8)) | |
392 | - | then aV | |
393 | - | else { | |
394 | - | let aW = k(aV, aL[8]) | |
395 | - | throw("List size exceed 8") | |
396 | - | } | |
397 | - | } | |
398 | - | } | |
399 | - | } | |
400 | - | } | |
401 | - | } | |
402 | - | } | |
403 | - | } | |
404 | - | } | |
405 | - | }) + "G"))) + m((toString({ | |
406 | - | let aX = q | |
407 | - | let aY = size(aX) | |
408 | - | let aZ = 0 | |
409 | - | if ((aY == 0)) | |
410 | - | then aZ | |
411 | - | else { | |
412 | - | let ba = l(aZ, aX[0]) | |
413 | - | if ((aY == 1)) | |
414 | - | then ba | |
415 | - | else { | |
416 | - | let bb = l(ba, aX[1]) | |
417 | - | if ((aY == 2)) | |
418 | - | then bb | |
419 | - | else { | |
420 | - | let bc = l(bb, aX[2]) | |
421 | - | if ((aY == 3)) | |
422 | - | then bc | |
423 | - | else { | |
424 | - | let bd = l(bc, aX[3]) | |
425 | - | if ((aY == 4)) | |
426 | - | then bd | |
427 | - | else { | |
428 | - | let be = l(bd, aX[4]) | |
429 | - | if ((aY == 5)) | |
430 | - | then be | |
431 | - | else { | |
432 | - | let bf = l(be, aX[5]) | |
433 | - | if ((aY == 6)) | |
434 | - | then bf | |
435 | - | else { | |
436 | - | let bg = l(bf, aX[6]) | |
437 | - | if ((aY == 7)) | |
438 | - | then bg | |
439 | - | else { | |
440 | - | let bh = l(bg, aX[7]) | |
441 | - | if ((aY == 8)) | |
442 | - | then bh | |
443 | - | else { | |
444 | - | let bi = l(bh, aX[8]) | |
445 | - | throw("List size exceed 8") | |
446 | - | } | |
447 | - | } | |
448 | - | } | |
449 | - | } | |
450 | - | } | |
451 | - | } | |
452 | - | } | |
453 | - | } | |
454 | - | } | |
455 | - | }) + "H"))) | |
53 | + | func n (o) = if (contains(o, "0")) | |
54 | + | then "" | |
55 | + | else o | |
56 | + | ||
57 | + | ||
58 | + | func p (q) = { | |
59 | + | let r = split(dropRight(drop(q, 5), 3), "") | |
60 | + | ((((((((n((toString({ | |
61 | + | let s = r | |
62 | + | let t = size(s) | |
63 | + | let u = 0 | |
64 | + | func v (w,x) = if ((x >= t)) | |
65 | + | then w | |
66 | + | else c(w, s[x]) | |
67 | + | ||
68 | + | func y (w,x) = if ((x >= t)) | |
69 | + | then w | |
70 | + | else throw("List size exceeds 8") | |
71 | + | ||
72 | + | y(v(v(v(v(v(v(v(v(u, 0), 1), 2), 3), 4), 5), 6), 7), 8) | |
73 | + | }) + "A")) + n((toString({ | |
74 | + | let s = r | |
75 | + | let t = size(s) | |
76 | + | let u = 0 | |
77 | + | func z (w,x) = if ((x >= t)) | |
78 | + | then w | |
79 | + | else f(w, s[x]) | |
80 | + | ||
81 | + | func A (w,x) = if ((x >= t)) | |
82 | + | then w | |
83 | + | else throw("List size exceeds 8") | |
84 | + | ||
85 | + | A(z(z(z(z(z(z(z(z(u, 0), 1), 2), 3), 4), 5), 6), 7), 8) | |
86 | + | }) + "B"))) + n((toString({ | |
87 | + | let s = r | |
88 | + | let t = size(s) | |
89 | + | let u = 0 | |
90 | + | func B (w,x) = if ((x >= t)) | |
91 | + | then w | |
92 | + | else g(w, s[x]) | |
93 | + | ||
94 | + | func C (w,x) = if ((x >= t)) | |
95 | + | then w | |
96 | + | else throw("List size exceeds 8") | |
97 | + | ||
98 | + | C(B(B(B(B(B(B(B(B(u, 0), 1), 2), 3), 4), 5), 6), 7), 8) | |
99 | + | }) + "C"))) + n((toString({ | |
100 | + | let s = r | |
101 | + | let t = size(s) | |
102 | + | let u = 0 | |
103 | + | func D (w,x) = if ((x >= t)) | |
104 | + | then w | |
105 | + | else h(w, s[x]) | |
106 | + | ||
107 | + | func E (w,x) = if ((x >= t)) | |
108 | + | then w | |
109 | + | else throw("List size exceeds 8") | |
110 | + | ||
111 | + | E(D(D(D(D(D(D(D(D(u, 0), 1), 2), 3), 4), 5), 6), 7), 8) | |
112 | + | }) + "D"))) + n((toString({ | |
113 | + | let s = r | |
114 | + | let t = size(s) | |
115 | + | let u = 0 | |
116 | + | func F (w,x) = if ((x >= t)) | |
117 | + | then w | |
118 | + | else i(w, s[x]) | |
119 | + | ||
120 | + | func G (w,x) = if ((x >= t)) | |
121 | + | then w | |
122 | + | else throw("List size exceeds 8") | |
123 | + | ||
124 | + | G(F(F(F(F(F(F(F(F(u, 0), 1), 2), 3), 4), 5), 6), 7), 8) | |
125 | + | }) + "E"))) + n((toString({ | |
126 | + | let s = r | |
127 | + | let t = size(s) | |
128 | + | let u = 0 | |
129 | + | func H (w,x) = if ((x >= t)) | |
130 | + | then w | |
131 | + | else j(w, s[x]) | |
132 | + | ||
133 | + | func I (w,x) = if ((x >= t)) | |
134 | + | then w | |
135 | + | else throw("List size exceeds 8") | |
136 | + | ||
137 | + | I(H(H(H(H(H(H(H(H(u, 0), 1), 2), 3), 4), 5), 6), 7), 8) | |
138 | + | }) + "F"))) + n((toString({ | |
139 | + | let s = r | |
140 | + | let t = size(s) | |
141 | + | let u = 0 | |
142 | + | func J (w,x) = if ((x >= t)) | |
143 | + | then w | |
144 | + | else k(w, s[x]) | |
145 | + | ||
146 | + | func K (w,x) = if ((x >= t)) | |
147 | + | then w | |
148 | + | else throw("List size exceeds 8") | |
149 | + | ||
150 | + | K(J(J(J(J(J(J(J(J(u, 0), 1), 2), 3), 4), 5), 6), 7), 8) | |
151 | + | }) + "G"))) + n((toString({ | |
152 | + | let s = r | |
153 | + | let t = size(s) | |
154 | + | let u = 0 | |
155 | + | func L (w,x) = if ((x >= t)) | |
156 | + | then w | |
157 | + | else l(w, s[x]) | |
158 | + | ||
159 | + | func M (w,x) = if ((x >= t)) | |
160 | + | then w | |
161 | + | else throw("List size exceeds 8") | |
162 | + | ||
163 | + | M(L(L(L(L(L(L(L(L(u, 0), 1), 2), 3), 4), 5), 6), 7), 8) | |
164 | + | }) + "H"))) + n((toString({ | |
165 | + | let s = r | |
166 | + | let t = size(s) | |
167 | + | let u = 0 | |
168 | + | func N (w,x) = if ((x >= t)) | |
169 | + | then w | |
170 | + | else m(w, s[x]) | |
171 | + | ||
172 | + | func O (w,x) = if ((x >= t)) | |
173 | + | then w | |
174 | + | else throw("List size exceeds 8") | |
175 | + | ||
176 | + | O(N(N(N(N(N(N(N(N(u, 0), 1), 2), 3), 4), 5), 6), 7), 8) | |
177 | + | }) + "I"))) | |
456 | 178 | } | |
457 | 179 | ||
458 | 180 | ||
459 | - | func | |
181 | + | func P (Q) = if ((Q == "G")) | |
460 | 182 | then a | |
461 | 183 | else b | |
462 | 184 | ||
463 | 185 | ||
464 | - | func | |
465 | - | let | |
466 | - | let | |
467 | - | if (( | |
468 | - | then | |
186 | + | func R (r,Q) = { | |
187 | + | let S = getIntegerValue(Address(P(Q)), (("stats_" + r) + "_quantity")) | |
188 | + | let T = pow((10000 / S), 4, 5, 1, 2, FLOOR) | |
189 | + | if ((T > 0)) | |
190 | + | then T | |
469 | 191 | else 2 | |
470 | 192 | } | |
471 | 193 | ||
472 | 194 | ||
473 | - | @Callable( | |
474 | - | func getAssetRarity ( | |
475 | - | let | |
476 | - | if (if ((value(assetInfo( | |
195 | + | @Callable(U) | |
196 | + | func getAssetRarity (V) = { | |
197 | + | let W = fromBase58String(V) | |
198 | + | if (if ((value(assetInfo(W)).issuer == Address(b))) | |
477 | 199 | then true | |
478 | - | else (value(assetInfo( | |
200 | + | else (value(assetInfo(W)).issuer == Address(a))) | |
479 | 201 | then { | |
480 | - | let p = value(assetInfo(bq)).name | |
481 | - | let bk = take(takeRight(p, 2), 1) | |
482 | - | let br = ((o(p) + "-") + bk) | |
483 | - | $Tuple2(nil, bl(br, bk)) | |
202 | + | let q = value(assetInfo(W)).name | |
203 | + | if ((takeRight(value(q), 1) == "U")) | |
204 | + | then $Tuple2(nil, 100) | |
205 | + | else { | |
206 | + | let Q = take(takeRight(q, 2), 1) | |
207 | + | let X = ((p(q) + "-") + Q) | |
208 | + | $Tuple2(nil, R(X, Q)) | |
209 | + | } | |
484 | 210 | } | |
485 | 211 | else throw("not valid NFT") | |
486 | 212 | } | |
487 | 213 | ||
488 | 214 | ||
489 | - | @Verifier( | |
490 | - | func | |
215 | + | @Verifier(Y) | |
216 | + | func Z () = sigVerify(Y.bodyBytes, Y.proofs[0], Y.senderPublicKey) | |
491 | 217 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = base58'3MtBigTsaeevrcJAEwVcr4quwkqcrtnjoAh' | |
5 | 5 | ||
6 | 6 | let b = base58'3N285kYUMxPi6oZsdWrxhSY34dJHyu4kRN5' | |
7 | 7 | ||
8 | 8 | func c (d,e) = if ((e == "A")) | |
9 | 9 | then (d + 1) | |
10 | 10 | else (d + 0) | |
11 | 11 | ||
12 | 12 | ||
13 | 13 | func f (d,e) = if ((e == "B")) | |
14 | 14 | then (d + 1) | |
15 | 15 | else (d + 0) | |
16 | 16 | ||
17 | 17 | ||
18 | 18 | func g (d,e) = if ((e == "C")) | |
19 | 19 | then (d + 1) | |
20 | 20 | else (d + 0) | |
21 | 21 | ||
22 | 22 | ||
23 | 23 | func h (d,e) = if ((e == "D")) | |
24 | 24 | then (d + 1) | |
25 | 25 | else (d + 0) | |
26 | 26 | ||
27 | 27 | ||
28 | 28 | func i (d,e) = if ((e == "E")) | |
29 | 29 | then (d + 1) | |
30 | 30 | else (d + 0) | |
31 | 31 | ||
32 | 32 | ||
33 | 33 | func j (d,e) = if ((e == "F")) | |
34 | 34 | then (d + 1) | |
35 | 35 | else (d + 0) | |
36 | 36 | ||
37 | 37 | ||
38 | 38 | func k (d,e) = if ((e == "G")) | |
39 | 39 | then (d + 1) | |
40 | 40 | else (d + 0) | |
41 | 41 | ||
42 | 42 | ||
43 | 43 | func l (d,e) = if ((e == "H")) | |
44 | 44 | then (d + 1) | |
45 | 45 | else (d + 0) | |
46 | 46 | ||
47 | 47 | ||
48 | - | func m ( | |
49 | - | then | |
50 | - | else | |
48 | + | func m (d,e) = if ((e == "I")) | |
49 | + | then (d + 1) | |
50 | + | else (d + 0) | |
51 | 51 | ||
52 | 52 | ||
53 | - | func o (p) = { | |
54 | - | let q = split(dropRight(drop(p, 5), 3), "") | |
55 | - | (((((((m((toString({ | |
56 | - | let r = q | |
57 | - | let s = size(r) | |
58 | - | let t = 0 | |
59 | - | if ((s == 0)) | |
60 | - | then t | |
61 | - | else { | |
62 | - | let u = c(t, r[0]) | |
63 | - | if ((s == 1)) | |
64 | - | then u | |
65 | - | else { | |
66 | - | let v = c(u, r[1]) | |
67 | - | if ((s == 2)) | |
68 | - | then v | |
69 | - | else { | |
70 | - | let w = c(v, r[2]) | |
71 | - | if ((s == 3)) | |
72 | - | then w | |
73 | - | else { | |
74 | - | let x = c(w, r[3]) | |
75 | - | if ((s == 4)) | |
76 | - | then x | |
77 | - | else { | |
78 | - | let y = c(x, r[4]) | |
79 | - | if ((s == 5)) | |
80 | - | then y | |
81 | - | else { | |
82 | - | let z = c(y, r[5]) | |
83 | - | if ((s == 6)) | |
84 | - | then z | |
85 | - | else { | |
86 | - | let A = c(z, r[6]) | |
87 | - | if ((s == 7)) | |
88 | - | then A | |
89 | - | else { | |
90 | - | let B = c(A, r[7]) | |
91 | - | if ((s == 8)) | |
92 | - | then B | |
93 | - | else { | |
94 | - | let C = c(B, r[8]) | |
95 | - | throw("List size exceed 8") | |
96 | - | } | |
97 | - | } | |
98 | - | } | |
99 | - | } | |
100 | - | } | |
101 | - | } | |
102 | - | } | |
103 | - | } | |
104 | - | } | |
105 | - | }) + "A")) + m((toString({ | |
106 | - | let D = q | |
107 | - | let E = size(D) | |
108 | - | let F = 0 | |
109 | - | if ((E == 0)) | |
110 | - | then F | |
111 | - | else { | |
112 | - | let G = f(F, D[0]) | |
113 | - | if ((E == 1)) | |
114 | - | then G | |
115 | - | else { | |
116 | - | let H = f(G, D[1]) | |
117 | - | if ((E == 2)) | |
118 | - | then H | |
119 | - | else { | |
120 | - | let I = f(H, D[2]) | |
121 | - | if ((E == 3)) | |
122 | - | then I | |
123 | - | else { | |
124 | - | let J = f(I, D[3]) | |
125 | - | if ((E == 4)) | |
126 | - | then J | |
127 | - | else { | |
128 | - | let K = f(J, D[4]) | |
129 | - | if ((E == 5)) | |
130 | - | then K | |
131 | - | else { | |
132 | - | let L = f(K, D[5]) | |
133 | - | if ((E == 6)) | |
134 | - | then L | |
135 | - | else { | |
136 | - | let M = f(L, D[6]) | |
137 | - | if ((E == 7)) | |
138 | - | then M | |
139 | - | else { | |
140 | - | let N = f(M, D[7]) | |
141 | - | if ((E == 8)) | |
142 | - | then N | |
143 | - | else { | |
144 | - | let O = f(N, D[8]) | |
145 | - | throw("List size exceed 8") | |
146 | - | } | |
147 | - | } | |
148 | - | } | |
149 | - | } | |
150 | - | } | |
151 | - | } | |
152 | - | } | |
153 | - | } | |
154 | - | } | |
155 | - | }) + "B"))) + m((toString({ | |
156 | - | let P = q | |
157 | - | let Q = size(P) | |
158 | - | let R = 0 | |
159 | - | if ((Q == 0)) | |
160 | - | then R | |
161 | - | else { | |
162 | - | let S = g(R, P[0]) | |
163 | - | if ((Q == 1)) | |
164 | - | then S | |
165 | - | else { | |
166 | - | let T = g(S, P[1]) | |
167 | - | if ((Q == 2)) | |
168 | - | then T | |
169 | - | else { | |
170 | - | let U = g(T, P[2]) | |
171 | - | if ((Q == 3)) | |
172 | - | then U | |
173 | - | else { | |
174 | - | let V = g(U, P[3]) | |
175 | - | if ((Q == 4)) | |
176 | - | then V | |
177 | - | else { | |
178 | - | let W = g(V, P[4]) | |
179 | - | if ((Q == 5)) | |
180 | - | then W | |
181 | - | else { | |
182 | - | let X = g(W, P[5]) | |
183 | - | if ((Q == 6)) | |
184 | - | then X | |
185 | - | else { | |
186 | - | let Y = g(X, P[6]) | |
187 | - | if ((Q == 7)) | |
188 | - | then Y | |
189 | - | else { | |
190 | - | let Z = g(Y, P[7]) | |
191 | - | if ((Q == 8)) | |
192 | - | then Z | |
193 | - | else { | |
194 | - | let aa = g(Z, P[8]) | |
195 | - | throw("List size exceed 8") | |
196 | - | } | |
197 | - | } | |
198 | - | } | |
199 | - | } | |
200 | - | } | |
201 | - | } | |
202 | - | } | |
203 | - | } | |
204 | - | } | |
205 | - | }) + "C"))) + m((toString({ | |
206 | - | let ab = q | |
207 | - | let ac = size(ab) | |
208 | - | let ad = 0 | |
209 | - | if ((ac == 0)) | |
210 | - | then ad | |
211 | - | else { | |
212 | - | let ae = h(ad, ab[0]) | |
213 | - | if ((ac == 1)) | |
214 | - | then ae | |
215 | - | else { | |
216 | - | let af = h(ae, ab[1]) | |
217 | - | if ((ac == 2)) | |
218 | - | then af | |
219 | - | else { | |
220 | - | let ag = h(af, ab[2]) | |
221 | - | if ((ac == 3)) | |
222 | - | then ag | |
223 | - | else { | |
224 | - | let ah = h(ag, ab[3]) | |
225 | - | if ((ac == 4)) | |
226 | - | then ah | |
227 | - | else { | |
228 | - | let ai = h(ah, ab[4]) | |
229 | - | if ((ac == 5)) | |
230 | - | then ai | |
231 | - | else { | |
232 | - | let aj = h(ai, ab[5]) | |
233 | - | if ((ac == 6)) | |
234 | - | then aj | |
235 | - | else { | |
236 | - | let ak = h(aj, ab[6]) | |
237 | - | if ((ac == 7)) | |
238 | - | then ak | |
239 | - | else { | |
240 | - | let al = h(ak, ab[7]) | |
241 | - | if ((ac == 8)) | |
242 | - | then al | |
243 | - | else { | |
244 | - | let am = h(al, ab[8]) | |
245 | - | throw("List size exceed 8") | |
246 | - | } | |
247 | - | } | |
248 | - | } | |
249 | - | } | |
250 | - | } | |
251 | - | } | |
252 | - | } | |
253 | - | } | |
254 | - | } | |
255 | - | }) + "D"))) + m((toString({ | |
256 | - | let an = q | |
257 | - | let ao = size(an) | |
258 | - | let ap = 0 | |
259 | - | if ((ao == 0)) | |
260 | - | then ap | |
261 | - | else { | |
262 | - | let aq = i(ap, an[0]) | |
263 | - | if ((ao == 1)) | |
264 | - | then aq | |
265 | - | else { | |
266 | - | let ar = i(aq, an[1]) | |
267 | - | if ((ao == 2)) | |
268 | - | then ar | |
269 | - | else { | |
270 | - | let as = i(ar, an[2]) | |
271 | - | if ((ao == 3)) | |
272 | - | then as | |
273 | - | else { | |
274 | - | let at = i(as, an[3]) | |
275 | - | if ((ao == 4)) | |
276 | - | then at | |
277 | - | else { | |
278 | - | let au = i(at, an[4]) | |
279 | - | if ((ao == 5)) | |
280 | - | then au | |
281 | - | else { | |
282 | - | let av = i(au, an[5]) | |
283 | - | if ((ao == 6)) | |
284 | - | then av | |
285 | - | else { | |
286 | - | let aw = i(av, an[6]) | |
287 | - | if ((ao == 7)) | |
288 | - | then aw | |
289 | - | else { | |
290 | - | let ax = i(aw, an[7]) | |
291 | - | if ((ao == 8)) | |
292 | - | then ax | |
293 | - | else { | |
294 | - | let ay = i(ax, an[8]) | |
295 | - | throw("List size exceed 8") | |
296 | - | } | |
297 | - | } | |
298 | - | } | |
299 | - | } | |
300 | - | } | |
301 | - | } | |
302 | - | } | |
303 | - | } | |
304 | - | } | |
305 | - | }) + "E"))) + m((toString({ | |
306 | - | let az = q | |
307 | - | let aA = size(az) | |
308 | - | let aB = 0 | |
309 | - | if ((aA == 0)) | |
310 | - | then aB | |
311 | - | else { | |
312 | - | let aC = j(aB, az[0]) | |
313 | - | if ((aA == 1)) | |
314 | - | then aC | |
315 | - | else { | |
316 | - | let aD = j(aC, az[1]) | |
317 | - | if ((aA == 2)) | |
318 | - | then aD | |
319 | - | else { | |
320 | - | let aE = j(aD, az[2]) | |
321 | - | if ((aA == 3)) | |
322 | - | then aE | |
323 | - | else { | |
324 | - | let aF = j(aE, az[3]) | |
325 | - | if ((aA == 4)) | |
326 | - | then aF | |
327 | - | else { | |
328 | - | let aG = j(aF, az[4]) | |
329 | - | if ((aA == 5)) | |
330 | - | then aG | |
331 | - | else { | |
332 | - | let aH = j(aG, az[5]) | |
333 | - | if ((aA == 6)) | |
334 | - | then aH | |
335 | - | else { | |
336 | - | let aI = j(aH, az[6]) | |
337 | - | if ((aA == 7)) | |
338 | - | then aI | |
339 | - | else { | |
340 | - | let aJ = j(aI, az[7]) | |
341 | - | if ((aA == 8)) | |
342 | - | then aJ | |
343 | - | else { | |
344 | - | let aK = j(aJ, az[8]) | |
345 | - | throw("List size exceed 8") | |
346 | - | } | |
347 | - | } | |
348 | - | } | |
349 | - | } | |
350 | - | } | |
351 | - | } | |
352 | - | } | |
353 | - | } | |
354 | - | } | |
355 | - | }) + "F"))) + m((toString({ | |
356 | - | let aL = q | |
357 | - | let aM = size(aL) | |
358 | - | let aN = 0 | |
359 | - | if ((aM == 0)) | |
360 | - | then aN | |
361 | - | else { | |
362 | - | let aO = k(aN, aL[0]) | |
363 | - | if ((aM == 1)) | |
364 | - | then aO | |
365 | - | else { | |
366 | - | let aP = k(aO, aL[1]) | |
367 | - | if ((aM == 2)) | |
368 | - | then aP | |
369 | - | else { | |
370 | - | let aQ = k(aP, aL[2]) | |
371 | - | if ((aM == 3)) | |
372 | - | then aQ | |
373 | - | else { | |
374 | - | let aR = k(aQ, aL[3]) | |
375 | - | if ((aM == 4)) | |
376 | - | then aR | |
377 | - | else { | |
378 | - | let aS = k(aR, aL[4]) | |
379 | - | if ((aM == 5)) | |
380 | - | then aS | |
381 | - | else { | |
382 | - | let aT = k(aS, aL[5]) | |
383 | - | if ((aM == 6)) | |
384 | - | then aT | |
385 | - | else { | |
386 | - | let aU = k(aT, aL[6]) | |
387 | - | if ((aM == 7)) | |
388 | - | then aU | |
389 | - | else { | |
390 | - | let aV = k(aU, aL[7]) | |
391 | - | if ((aM == 8)) | |
392 | - | then aV | |
393 | - | else { | |
394 | - | let aW = k(aV, aL[8]) | |
395 | - | throw("List size exceed 8") | |
396 | - | } | |
397 | - | } | |
398 | - | } | |
399 | - | } | |
400 | - | } | |
401 | - | } | |
402 | - | } | |
403 | - | } | |
404 | - | } | |
405 | - | }) + "G"))) + m((toString({ | |
406 | - | let aX = q | |
407 | - | let aY = size(aX) | |
408 | - | let aZ = 0 | |
409 | - | if ((aY == 0)) | |
410 | - | then aZ | |
411 | - | else { | |
412 | - | let ba = l(aZ, aX[0]) | |
413 | - | if ((aY == 1)) | |
414 | - | then ba | |
415 | - | else { | |
416 | - | let bb = l(ba, aX[1]) | |
417 | - | if ((aY == 2)) | |
418 | - | then bb | |
419 | - | else { | |
420 | - | let bc = l(bb, aX[2]) | |
421 | - | if ((aY == 3)) | |
422 | - | then bc | |
423 | - | else { | |
424 | - | let bd = l(bc, aX[3]) | |
425 | - | if ((aY == 4)) | |
426 | - | then bd | |
427 | - | else { | |
428 | - | let be = l(bd, aX[4]) | |
429 | - | if ((aY == 5)) | |
430 | - | then be | |
431 | - | else { | |
432 | - | let bf = l(be, aX[5]) | |
433 | - | if ((aY == 6)) | |
434 | - | then bf | |
435 | - | else { | |
436 | - | let bg = l(bf, aX[6]) | |
437 | - | if ((aY == 7)) | |
438 | - | then bg | |
439 | - | else { | |
440 | - | let bh = l(bg, aX[7]) | |
441 | - | if ((aY == 8)) | |
442 | - | then bh | |
443 | - | else { | |
444 | - | let bi = l(bh, aX[8]) | |
445 | - | throw("List size exceed 8") | |
446 | - | } | |
447 | - | } | |
448 | - | } | |
449 | - | } | |
450 | - | } | |
451 | - | } | |
452 | - | } | |
453 | - | } | |
454 | - | } | |
455 | - | }) + "H"))) | |
53 | + | func n (o) = if (contains(o, "0")) | |
54 | + | then "" | |
55 | + | else o | |
56 | + | ||
57 | + | ||
58 | + | func p (q) = { | |
59 | + | let r = split(dropRight(drop(q, 5), 3), "") | |
60 | + | ((((((((n((toString({ | |
61 | + | let s = r | |
62 | + | let t = size(s) | |
63 | + | let u = 0 | |
64 | + | func v (w,x) = if ((x >= t)) | |
65 | + | then w | |
66 | + | else c(w, s[x]) | |
67 | + | ||
68 | + | func y (w,x) = if ((x >= t)) | |
69 | + | then w | |
70 | + | else throw("List size exceeds 8") | |
71 | + | ||
72 | + | y(v(v(v(v(v(v(v(v(u, 0), 1), 2), 3), 4), 5), 6), 7), 8) | |
73 | + | }) + "A")) + n((toString({ | |
74 | + | let s = r | |
75 | + | let t = size(s) | |
76 | + | let u = 0 | |
77 | + | func z (w,x) = if ((x >= t)) | |
78 | + | then w | |
79 | + | else f(w, s[x]) | |
80 | + | ||
81 | + | func A (w,x) = if ((x >= t)) | |
82 | + | then w | |
83 | + | else throw("List size exceeds 8") | |
84 | + | ||
85 | + | A(z(z(z(z(z(z(z(z(u, 0), 1), 2), 3), 4), 5), 6), 7), 8) | |
86 | + | }) + "B"))) + n((toString({ | |
87 | + | let s = r | |
88 | + | let t = size(s) | |
89 | + | let u = 0 | |
90 | + | func B (w,x) = if ((x >= t)) | |
91 | + | then w | |
92 | + | else g(w, s[x]) | |
93 | + | ||
94 | + | func C (w,x) = if ((x >= t)) | |
95 | + | then w | |
96 | + | else throw("List size exceeds 8") | |
97 | + | ||
98 | + | C(B(B(B(B(B(B(B(B(u, 0), 1), 2), 3), 4), 5), 6), 7), 8) | |
99 | + | }) + "C"))) + n((toString({ | |
100 | + | let s = r | |
101 | + | let t = size(s) | |
102 | + | let u = 0 | |
103 | + | func D (w,x) = if ((x >= t)) | |
104 | + | then w | |
105 | + | else h(w, s[x]) | |
106 | + | ||
107 | + | func E (w,x) = if ((x >= t)) | |
108 | + | then w | |
109 | + | else throw("List size exceeds 8") | |
110 | + | ||
111 | + | E(D(D(D(D(D(D(D(D(u, 0), 1), 2), 3), 4), 5), 6), 7), 8) | |
112 | + | }) + "D"))) + n((toString({ | |
113 | + | let s = r | |
114 | + | let t = size(s) | |
115 | + | let u = 0 | |
116 | + | func F (w,x) = if ((x >= t)) | |
117 | + | then w | |
118 | + | else i(w, s[x]) | |
119 | + | ||
120 | + | func G (w,x) = if ((x >= t)) | |
121 | + | then w | |
122 | + | else throw("List size exceeds 8") | |
123 | + | ||
124 | + | G(F(F(F(F(F(F(F(F(u, 0), 1), 2), 3), 4), 5), 6), 7), 8) | |
125 | + | }) + "E"))) + n((toString({ | |
126 | + | let s = r | |
127 | + | let t = size(s) | |
128 | + | let u = 0 | |
129 | + | func H (w,x) = if ((x >= t)) | |
130 | + | then w | |
131 | + | else j(w, s[x]) | |
132 | + | ||
133 | + | func I (w,x) = if ((x >= t)) | |
134 | + | then w | |
135 | + | else throw("List size exceeds 8") | |
136 | + | ||
137 | + | I(H(H(H(H(H(H(H(H(u, 0), 1), 2), 3), 4), 5), 6), 7), 8) | |
138 | + | }) + "F"))) + n((toString({ | |
139 | + | let s = r | |
140 | + | let t = size(s) | |
141 | + | let u = 0 | |
142 | + | func J (w,x) = if ((x >= t)) | |
143 | + | then w | |
144 | + | else k(w, s[x]) | |
145 | + | ||
146 | + | func K (w,x) = if ((x >= t)) | |
147 | + | then w | |
148 | + | else throw("List size exceeds 8") | |
149 | + | ||
150 | + | K(J(J(J(J(J(J(J(J(u, 0), 1), 2), 3), 4), 5), 6), 7), 8) | |
151 | + | }) + "G"))) + n((toString({ | |
152 | + | let s = r | |
153 | + | let t = size(s) | |
154 | + | let u = 0 | |
155 | + | func L (w,x) = if ((x >= t)) | |
156 | + | then w | |
157 | + | else l(w, s[x]) | |
158 | + | ||
159 | + | func M (w,x) = if ((x >= t)) | |
160 | + | then w | |
161 | + | else throw("List size exceeds 8") | |
162 | + | ||
163 | + | M(L(L(L(L(L(L(L(L(u, 0), 1), 2), 3), 4), 5), 6), 7), 8) | |
164 | + | }) + "H"))) + n((toString({ | |
165 | + | let s = r | |
166 | + | let t = size(s) | |
167 | + | let u = 0 | |
168 | + | func N (w,x) = if ((x >= t)) | |
169 | + | then w | |
170 | + | else m(w, s[x]) | |
171 | + | ||
172 | + | func O (w,x) = if ((x >= t)) | |
173 | + | then w | |
174 | + | else throw("List size exceeds 8") | |
175 | + | ||
176 | + | O(N(N(N(N(N(N(N(N(u, 0), 1), 2), 3), 4), 5), 6), 7), 8) | |
177 | + | }) + "I"))) | |
456 | 178 | } | |
457 | 179 | ||
458 | 180 | ||
459 | - | func | |
181 | + | func P (Q) = if ((Q == "G")) | |
460 | 182 | then a | |
461 | 183 | else b | |
462 | 184 | ||
463 | 185 | ||
464 | - | func | |
465 | - | let | |
466 | - | let | |
467 | - | if (( | |
468 | - | then | |
186 | + | func R (r,Q) = { | |
187 | + | let S = getIntegerValue(Address(P(Q)), (("stats_" + r) + "_quantity")) | |
188 | + | let T = pow((10000 / S), 4, 5, 1, 2, FLOOR) | |
189 | + | if ((T > 0)) | |
190 | + | then T | |
469 | 191 | else 2 | |
470 | 192 | } | |
471 | 193 | ||
472 | 194 | ||
473 | - | @Callable( | |
474 | - | func getAssetRarity ( | |
475 | - | let | |
476 | - | if (if ((value(assetInfo( | |
195 | + | @Callable(U) | |
196 | + | func getAssetRarity (V) = { | |
197 | + | let W = fromBase58String(V) | |
198 | + | if (if ((value(assetInfo(W)).issuer == Address(b))) | |
477 | 199 | then true | |
478 | - | else (value(assetInfo( | |
200 | + | else (value(assetInfo(W)).issuer == Address(a))) | |
479 | 201 | then { | |
480 | - | let p = value(assetInfo(bq)).name | |
481 | - | let bk = take(takeRight(p, 2), 1) | |
482 | - | let br = ((o(p) + "-") + bk) | |
483 | - | $Tuple2(nil, bl(br, bk)) | |
202 | + | let q = value(assetInfo(W)).name | |
203 | + | if ((takeRight(value(q), 1) == "U")) | |
204 | + | then $Tuple2(nil, 100) | |
205 | + | else { | |
206 | + | let Q = take(takeRight(q, 2), 1) | |
207 | + | let X = ((p(q) + "-") + Q) | |
208 | + | $Tuple2(nil, R(X, Q)) | |
209 | + | } | |
484 | 210 | } | |
485 | 211 | else throw("not valid NFT") | |
486 | 212 | } | |
487 | 213 | ||
488 | 214 | ||
489 | - | @Verifier( | |
490 | - | func | |
215 | + | @Verifier(Y) | |
216 | + | func Z () = sigVerify(Y.bodyBytes, Y.proofs[0], Y.senderPublicKey) | |
491 | 217 |
github/deemru/w8io/026f985 49.89 ms ◑