tx · 72YobrsBUH12epXDuU1SPggqMJEJGrV8fGusBrj2LQrz 3Mr97MBt1TwRZHBK8R1EFDz8S8mxui5U4zB: -0.01400000 Waves 2021.06.03 11:55 [1553966] smart account 3Mr97MBt1TwRZHBK8R1EFDz8S8mxui5U4zB > SELF 0.00000000 Waves
{ "type": 13, "id": "72YobrsBUH12epXDuU1SPggqMJEJGrV8fGusBrj2LQrz", "fee": 1400000, "feeAssetId": null, "timestamp": 1622710537041, "version": 2, "chainId": 84, "sender": "3Mr97MBt1TwRZHBK8R1EFDz8S8mxui5U4zB", "senderPublicKey": "CQ7vntBAYh2QZcKcqiiyEnQWWXsr98ysDptD23Wgxmvb", "proofs": [ "kBDMSnEEDfx5Qczhn3YNJhBJzLqCu4h2JUe3ezWvWSqXL7x7zz3yn2yz4LWV2LJGTeKbV4VbuoctwcbGURmzYjy" ], "script": "base64:AAIFAAAAAAAAAAgIAhIECgIREQAAAA0AAAAAB2hhbmRpSWQBAAAAIJkAFV9y+TGMcmjsWdBTKE4ZGUePZL8IMZcI6Ogv4iEXAAAAAAdudW1MaXN0CQAETAAAAAIAAAAAAAAAAAEJAARMAAAAAgAAAAAAAAAAAgkABEwAAAACAAAAAAAAAAADCQAETAAAAAIAAAAAAAAAAAQJAARMAAAAAgAAAAAAAAAABQkABEwAAAACAAAAAAAAAAAGCQAETAAAAAIAAAAAAAAAAAcJAARMAAAAAgAAAAAAAAAACAkABEwAAAACAAAAAAAAAAAJCQAETAAAAAIAAAAAAAAAAAoJAARMAAAAAgAAAAAAAAAACwkABEwAAAACAAAAAAAAAAAMCQAETAAAAAIAAAAAAAAAAA0JAARMAAAAAgAAAAAAAAAADgkABEwAAAACAAAAAAAAAAAPCQAETAAAAAIAAAAAAAAAABAJAARMAAAAAgAAAAAAAAAAEQkABEwAAAACAAAAAAAAAAASBQAAAANuaWwBAAAAB2xpc3RTdW0AAAABAAAAA2FycgoBAAAAA3N1bQAAAAIAAAABYQAAAAFiCQAAZAAAAAIFAAAAAW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ZGV4BQAAAAdoYW5kaUlkBQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleSAGLnc=", "height": 1553966, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: Fo85Ej6YMbARw4FurpfExAaJcFzXa6YsdviesboDRP1N Next: 5xsDdZ9aXf1mSxARFdA8y54948n12bZDpcWtXHjkbVrb Diff:
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | - | func a (b) = { | |
5 | - | func c (d,e) = (d + e) | |
4 | + | let a = base58'BJFTCAVHNhppygeLqYUyG5NB9GwNRjEjFeweJpXXi1DQ' | |
6 | 5 | ||
7 | - | let f = b | |
8 | - | let g = size(f) | |
9 | - | let h = 0 | |
10 | - | if ((g == 0)) | |
11 | - | then h | |
6 | + | let b = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18] | |
7 | + | ||
8 | + | func c (d) = { | |
9 | + | func e (f,g) = (f + g) | |
10 | + | ||
11 | + | let h = d | |
12 | + | let i = size(h) | |
13 | + | let j = 0 | |
14 | + | if ((i == 0)) | |
15 | + | then j | |
12 | 16 | else { | |
13 | - | let | |
14 | - | if (( | |
15 | - | then | |
17 | + | let k = e(j, h[0]) | |
18 | + | if ((i == 1)) | |
19 | + | then k | |
16 | 20 | else { | |
17 | - | let | |
18 | - | if (( | |
19 | - | then | |
21 | + | let l = e(k, h[1]) | |
22 | + | if ((i == 2)) | |
23 | + | then l | |
20 | 24 | else { | |
21 | - | let | |
22 | - | if (( | |
23 | - | then | |
25 | + | let m = e(l, h[2]) | |
26 | + | if ((i == 3)) | |
27 | + | then m | |
24 | 28 | else { | |
25 | - | let | |
26 | - | if (( | |
27 | - | then | |
29 | + | let n = e(m, h[3]) | |
30 | + | if ((i == 4)) | |
31 | + | then n | |
28 | 32 | else { | |
29 | - | let | |
30 | - | if (( | |
31 | - | then | |
33 | + | let o = e(n, h[4]) | |
34 | + | if ((i == 5)) | |
35 | + | then o | |
32 | 36 | else { | |
33 | - | let | |
34 | - | if (( | |
35 | - | then | |
37 | + | let p = e(o, h[5]) | |
38 | + | if ((i == 6)) | |
39 | + | then p | |
36 | 40 | else { | |
37 | - | let | |
38 | - | if (( | |
39 | - | then | |
41 | + | let q = e(p, h[6]) | |
42 | + | if ((i == 7)) | |
43 | + | then q | |
40 | 44 | else { | |
41 | - | let | |
42 | - | if (( | |
43 | - | then | |
45 | + | let r = e(q, h[7]) | |
46 | + | if ((i == 8)) | |
47 | + | then r | |
44 | 48 | else { | |
45 | - | let | |
46 | - | if (( | |
47 | - | then | |
49 | + | let s = e(r, h[8]) | |
50 | + | if ((i == 9)) | |
51 | + | then s | |
48 | 52 | else { | |
49 | - | let | |
50 | - | if (( | |
51 | - | then | |
53 | + | let t = e(s, h[9]) | |
54 | + | if ((i == 10)) | |
55 | + | then t | |
52 | 56 | else { | |
53 | - | let | |
54 | - | if (( | |
55 | - | then | |
57 | + | let u = e(t, h[10]) | |
58 | + | if ((i == 11)) | |
59 | + | then u | |
56 | 60 | else { | |
57 | - | let | |
58 | - | if (( | |
59 | - | then | |
61 | + | let v = e(u, h[11]) | |
62 | + | if ((i == 12)) | |
63 | + | then v | |
60 | 64 | else { | |
61 | - | let | |
62 | - | if (( | |
63 | - | then | |
65 | + | let w = e(v, h[12]) | |
66 | + | if ((i == 13)) | |
67 | + | then w | |
64 | 68 | else { | |
65 | - | let | |
66 | - | if (( | |
67 | - | then | |
69 | + | let x = e(w, h[13]) | |
70 | + | if ((i == 14)) | |
71 | + | then x | |
68 | 72 | else { | |
69 | - | let | |
70 | - | if (( | |
71 | - | then | |
73 | + | let y = e(x, h[14]) | |
74 | + | if ((i == 15)) | |
75 | + | then y | |
72 | 76 | else { | |
73 | - | let | |
74 | - | if (( | |
75 | - | then | |
77 | + | let z = e(y, h[15]) | |
78 | + | if ((i == 16)) | |
79 | + | then z | |
76 | 80 | else { | |
77 | - | let | |
78 | - | if (( | |
79 | - | then | |
81 | + | let A = e(z, h[16]) | |
82 | + | if ((i == 17)) | |
83 | + | then A | |
80 | 84 | else { | |
81 | - | let | |
82 | - | if (( | |
83 | - | then | |
85 | + | let B = e(A, h[17]) | |
86 | + | if ((i == 18)) | |
87 | + | then B | |
84 | 88 | else { | |
85 | - | let | |
89 | + | let C = e(B, h[18]) | |
86 | 90 | throw("List size exceed 18") | |
87 | 91 | } | |
88 | 92 | } | |
106 | 110 | } | |
107 | 111 | ||
108 | 112 | ||
109 | - | func | |
113 | + | func D (E) = [parseIntValue(E[0]), parseIntValue(E[1]), parseIntValue(E[2]), parseIntValue(E[3]), parseIntValue(E[4]), parseIntValue(E[5]), parseIntValue(E[6]), parseIntValue(E[7]), parseIntValue(E[8]), parseIntValue(E[9]), parseIntValue(E[10]), parseIntValue(E[11]), parseIntValue(E[12]), parseIntValue(E[13]), parseIntValue(E[14]), parseIntValue(E[15]), parseIntValue(E[16]), parseIntValue(E[17])] | |
110 | 114 | ||
111 | 115 | ||
112 | - | func | |
113 | - | let | |
114 | - | if ($isInstanceOf( | |
116 | + | func F (G,H) = { | |
117 | + | let I = getString(this, ((H + "_round_score_") + toString(G))) | |
118 | + | if ($isInstanceOf(I, "String")) | |
115 | 119 | then { | |
116 | - | let | |
117 | - | | |
120 | + | let f = I | |
121 | + | f | |
118 | 122 | } | |
119 | 123 | else "" | |
120 | 124 | } | |
121 | 125 | ||
122 | 126 | ||
123 | - | func | |
124 | - | let | |
125 | - | if ($isInstanceOf( | |
127 | + | func J (G,H) = { | |
128 | + | let I = getString(this, ((H + "_round_course_") + toString(G))) | |
129 | + | if ($isInstanceOf(I, "String")) | |
126 | 130 | then { | |
127 | - | let | |
128 | - | | |
131 | + | let f = I | |
132 | + | f | |
129 | 133 | } | |
130 | 134 | else "" | |
131 | 135 | } | |
132 | 136 | ||
133 | 137 | ||
134 | - | func | |
138 | + | func K (L,M) = if ((L >= M)) | |
135 | 139 | then 1 | |
136 | 140 | else 0 | |
137 | 141 | ||
138 | 142 | ||
139 | - | func | |
140 | - | func | |
141 | - | let | |
142 | - | let | |
143 | - | if (( | |
144 | - | then ( | |
145 | - | else ( | |
143 | + | func N (O,P,Q,R) = { | |
144 | + | func S (T,U) = { | |
145 | + | let V = K(R, Q[U]) | |
146 | + | let W = ((P[U] + 2) + V) | |
147 | + | if ((O[U] > W)) | |
148 | + | then (T :+ W) | |
149 | + | else (T :+ O[U]) | |
146 | 150 | } | |
147 | 151 | ||
148 | - | let | |
149 | - | let | |
150 | - | let | |
151 | - | if (( | |
152 | - | then | |
152 | + | let X = b | |
153 | + | let Y = size(X) | |
154 | + | let Z = nil | |
155 | + | if ((Y == 0)) | |
156 | + | then Z | |
153 | 157 | else { | |
154 | - | let | |
155 | - | if (( | |
156 | - | then | |
158 | + | let aa = S(Z, X[0]) | |
159 | + | if ((Y == 1)) | |
160 | + | then aa | |
157 | 161 | else { | |
158 | - | let | |
159 | - | if (( | |
160 | - | then | |
162 | + | let ab = S(aa, X[1]) | |
163 | + | if ((Y == 2)) | |
164 | + | then ab | |
161 | 165 | else { | |
162 | - | let | |
163 | - | if (( | |
164 | - | then | |
166 | + | let ac = S(ab, X[2]) | |
167 | + | if ((Y == 3)) | |
168 | + | then ac | |
165 | 169 | else { | |
166 | - | let | |
167 | - | if (( | |
168 | - | then | |
170 | + | let ad = S(ac, X[3]) | |
171 | + | if ((Y == 4)) | |
172 | + | then ad | |
169 | 173 | else { | |
170 | - | let | |
171 | - | if (( | |
172 | - | then | |
174 | + | let ae = S(ad, X[4]) | |
175 | + | if ((Y == 5)) | |
176 | + | then ae | |
173 | 177 | else { | |
174 | - | let | |
175 | - | if (( | |
176 | - | then | |
178 | + | let af = S(ae, X[5]) | |
179 | + | if ((Y == 6)) | |
180 | + | then af | |
177 | 181 | else { | |
178 | - | let | |
179 | - | if (( | |
180 | - | then | |
182 | + | let ag = S(af, X[6]) | |
183 | + | if ((Y == 7)) | |
184 | + | then ag | |
181 | 185 | else { | |
182 | - | let | |
183 | - | if (( | |
184 | - | then | |
186 | + | let ah = S(ag, X[7]) | |
187 | + | if ((Y == 8)) | |
188 | + | then ah | |
185 | 189 | else { | |
186 | - | let | |
187 | - | if (( | |
188 | - | then | |
190 | + | let ai = S(ah, X[8]) | |
191 | + | if ((Y == 9)) | |
192 | + | then ai | |
189 | 193 | else { | |
190 | - | let | |
191 | - | if (( | |
192 | - | then | |
194 | + | let aj = S(ai, X[9]) | |
195 | + | if ((Y == 10)) | |
196 | + | then aj | |
193 | 197 | else { | |
194 | - | let | |
195 | - | if (( | |
196 | - | then | |
198 | + | let ak = S(aj, X[10]) | |
199 | + | if ((Y == 11)) | |
200 | + | then ak | |
197 | 201 | else { | |
198 | - | let | |
199 | - | if (( | |
200 | - | then | |
202 | + | let al = S(ak, X[11]) | |
203 | + | if ((Y == 12)) | |
204 | + | then al | |
201 | 205 | else { | |
202 | - | let | |
203 | - | if (( | |
204 | - | then | |
206 | + | let am = S(al, X[12]) | |
207 | + | if ((Y == 13)) | |
208 | + | then am | |
205 | 209 | else { | |
206 | - | let | |
207 | - | if (( | |
208 | - | then | |
210 | + | let an = S(am, X[13]) | |
211 | + | if ((Y == 14)) | |
212 | + | then an | |
209 | 213 | else { | |
210 | - | let | |
211 | - | if (( | |
212 | - | then | |
214 | + | let ao = S(an, X[14]) | |
215 | + | if ((Y == 15)) | |
216 | + | then ao | |
213 | 217 | else { | |
214 | - | let | |
215 | - | if (( | |
216 | - | then | |
218 | + | let ap = S(ao, X[15]) | |
219 | + | if ((Y == 16)) | |
220 | + | then ap | |
217 | 221 | else { | |
218 | - | let | |
219 | - | if (( | |
220 | - | then | |
222 | + | let aq = S(ap, X[16]) | |
223 | + | if ((Y == 17)) | |
224 | + | then aq | |
221 | 225 | else { | |
222 | - | let | |
223 | - | if (( | |
224 | - | then | |
226 | + | let ar = S(aq, X[17]) | |
227 | + | if ((Y == 18)) | |
228 | + | then ar | |
225 | 229 | else { | |
226 | - | let | |
230 | + | let as = S(ar, X[18]) | |
227 | 231 | throw("List size exceed 18") | |
228 | 232 | } | |
229 | 233 | } | |
247 | 251 | } | |
248 | 252 | ||
249 | 253 | ||
250 | - | func | |
251 | - | func | |
252 | - | then ( | |
253 | - | else ( | |
254 | + | func at (O,P) = { | |
255 | + | func S (T,U) = if ((O[U] > (P[U] + 5))) | |
256 | + | then (T :+ (P[U] + 5)) | |
257 | + | else (T :+ O[U]) | |
254 | 258 | ||
255 | - | let | |
256 | - | let | |
257 | - | let | |
258 | - | if (( | |
259 | - | then | |
259 | + | let au = b | |
260 | + | let av = size(au) | |
261 | + | let aw = nil | |
262 | + | if ((av == 0)) | |
263 | + | then aw | |
260 | 264 | else { | |
261 | - | let | |
262 | - | if (( | |
263 | - | then | |
265 | + | let ax = S(aw, au[0]) | |
266 | + | if ((av == 1)) | |
267 | + | then ax | |
264 | 268 | else { | |
265 | - | let | |
266 | - | if (( | |
267 | - | then | |
269 | + | let ay = S(ax, au[1]) | |
270 | + | if ((av == 2)) | |
271 | + | then ay | |
268 | 272 | else { | |
269 | - | let | |
270 | - | if (( | |
271 | - | then | |
273 | + | let az = S(ay, au[2]) | |
274 | + | if ((av == 3)) | |
275 | + | then az | |
272 | 276 | else { | |
273 | - | let | |
274 | - | if (( | |
275 | - | then | |
277 | + | let aA = S(az, au[3]) | |
278 | + | if ((av == 4)) | |
279 | + | then aA | |
276 | 280 | else { | |
277 | - | let | |
278 | - | if (( | |
279 | - | then | |
281 | + | let aB = S(aA, au[4]) | |
282 | + | if ((av == 5)) | |
283 | + | then aB | |
280 | 284 | else { | |
281 | - | let | |
282 | - | if (( | |
283 | - | then | |
285 | + | let aC = S(aB, au[5]) | |
286 | + | if ((av == 6)) | |
287 | + | then aC | |
284 | 288 | else { | |
285 | - | let | |
286 | - | if (( | |
287 | - | then | |
289 | + | let aD = S(aC, au[6]) | |
290 | + | if ((av == 7)) | |
291 | + | then aD | |
288 | 292 | else { | |
289 | - | let | |
290 | - | if (( | |
291 | - | then | |
293 | + | let aE = S(aD, au[7]) | |
294 | + | if ((av == 8)) | |
295 | + | then aE | |
292 | 296 | else { | |
293 | - | let | |
294 | - | if (( | |
295 | - | then | |
297 | + | let aF = S(aE, au[8]) | |
298 | + | if ((av == 9)) | |
299 | + | then aF | |
296 | 300 | else { | |
297 | - | let | |
298 | - | if (( | |
299 | - | then | |
301 | + | let aG = S(aF, au[9]) | |
302 | + | if ((av == 10)) | |
303 | + | then aG | |
300 | 304 | else { | |
301 | - | let | |
302 | - | if (( | |
303 | - | then | |
305 | + | let aH = S(aG, au[10]) | |
306 | + | if ((av == 11)) | |
307 | + | then aH | |
304 | 308 | else { | |
305 | - | let | |
306 | - | if (( | |
307 | - | then | |
309 | + | let aI = S(aH, au[11]) | |
310 | + | if ((av == 12)) | |
311 | + | then aI | |
308 | 312 | else { | |
309 | - | let | |
310 | - | if (( | |
311 | - | then | |
313 | + | let aJ = S(aI, au[12]) | |
314 | + | if ((av == 13)) | |
315 | + | then aJ | |
312 | 316 | else { | |
313 | - | let | |
314 | - | if (( | |
315 | - | then | |
317 | + | let aK = S(aJ, au[13]) | |
318 | + | if ((av == 14)) | |
319 | + | then aK | |
316 | 320 | else { | |
317 | - | let | |
318 | - | if (( | |
319 | - | then | |
321 | + | let aL = S(aK, au[14]) | |
322 | + | if ((av == 15)) | |
323 | + | then aL | |
320 | 324 | else { | |
321 | - | let | |
322 | - | if (( | |
323 | - | then | |
325 | + | let aM = S(aL, au[15]) | |
326 | + | if ((av == 16)) | |
327 | + | then aM | |
324 | 328 | else { | |
325 | - | let | |
326 | - | if (( | |
327 | - | then | |
329 | + | let aN = S(aM, au[16]) | |
330 | + | if ((av == 17)) | |
331 | + | then aN | |
328 | 332 | else { | |
329 | - | let | |
330 | - | if (( | |
331 | - | then | |
333 | + | let aO = S(aN, au[17]) | |
334 | + | if ((av == 18)) | |
335 | + | then aO | |
332 | 336 | else { | |
333 | - | let | |
337 | + | let aP = S(aO, au[18]) | |
334 | 338 | throw("List size exceed 18") | |
335 | 339 | } | |
336 | 340 | } | |
354 | 358 | } | |
355 | 359 | ||
356 | 360 | ||
357 | - | func | |
358 | - | then | |
359 | - | else | |
361 | + | func aQ (O,P,Q,R) = if ((R == -1)) | |
362 | + | then at(O, P) | |
363 | + | else N(O, P, Q, R) | |
360 | 364 | ||
361 | 365 | ||
362 | - | func | |
363 | - | let | |
364 | - | let | |
365 | - | let | |
366 | - | let | |
367 | - | let | |
368 | - | let | |
369 | - | let | |
370 | - | let | |
371 | - | | |
366 | + | func aR (aS,aT,Q,aU,aV,R) = { | |
367 | + | let aW = aQ(aS, aT, Q, R) | |
368 | + | let aX = c(aW) | |
369 | + | let aY = c(aS) | |
370 | + | let aZ = 0 | |
371 | + | let f = (113 / aV) | |
372 | + | let g = ((aX - aU) - aZ) | |
373 | + | let ba = 1 | |
374 | + | let bb = fraction(f, g, ba, HALFUP) | |
375 | + | bb | |
372 | 376 | } | |
373 | 377 | ||
374 | 378 | ||
375 | - | let ba = 1 | |
379 | + | func bc (bd) = if ((bd > 54)) | |
380 | + | then 54 | |
381 | + | else if ((0 > bd)) | |
382 | + | then 0 | |
383 | + | else bd | |
376 | 384 | ||
377 | - | @Callable(S) | |
378 | - | func issueHandicapIndex () = { | |
379 | - | let F = toBase58String(S.caller.bytes) | |
380 | - | let bb = { | |
381 | - | let G = getInteger(this, (F + "_handicapIndex")) | |
382 | - | if ($isInstanceOf(G, "Int")) | |
385 | + | ||
386 | + | let be = 1 | |
387 | + | ||
388 | + | @Callable(U) | |
389 | + | func issueHandicapIndex (bf,bg) = { | |
390 | + | let H = toBase58String(U.caller.bytes) | |
391 | + | let bh = { | |
392 | + | let I = getInteger(this, (H + "_handicapIndex")) | |
393 | + | if ($isInstanceOf(I, "Int")) | |
383 | 394 | then { | |
384 | - | let | |
385 | - | | |
395 | + | let f = I | |
396 | + | f | |
386 | 397 | } | |
387 | 398 | else -1 | |
388 | 399 | } | |
389 | - | let | |
390 | - | let | |
391 | - | if ($isInstanceOf( | |
400 | + | let bi = { | |
401 | + | let I = getInteger(this, (H + "_round_count")) | |
402 | + | if ($isInstanceOf(I, "Int")) | |
392 | 403 | then { | |
393 | - | let | |
394 | - | | |
404 | + | let f = I | |
405 | + | f | |
395 | 406 | } | |
396 | 407 | else -1 | |
397 | 408 | } | |
398 | - | let bd = "4_&&_4_&&_4_&&_5_&&_5_&&_5_&&_5_&&_5_&&_5_&&_5_&&_3_&&_5_&&_4_&&_4_&&_5_&&_6_&&_6_&&_6" | |
399 | - | let be = "3N8DnpwTffUEjDXXEsn6btFrbgWC8VZJhTZ_&&_course_1_&&_course_2_&&_green_1_&&_70_&&_110_&&_men_&&_1622640688000_&&_cloudy_&&_11" | |
400 | - | let bf = B(split(bd, "_&&_")) | |
401 | - | let bg = B(split(bd, "_&&_")) | |
402 | - | let bh = B(split(bd, "_&&_")) | |
403 | - | let bi = split(be, "_&&_") | |
404 | - | let bj = split(be, "_&&_") | |
405 | - | let bk = split(be, "_&&_") | |
406 | - | if ((ba == 1)) | |
407 | - | then throw(((("score18=>" + toString(bf[17])) + "/courseAddress=>") + bi[0])) | |
408 | - | else { | |
409 | - | let bl = 0 | |
410 | - | [IntegerEntry("", 1)] | |
411 | - | } | |
409 | + | let bj = "4_&&_4_&&_4_&&_5_&&_5_&&_5_&&_5_&&_5_&&_5_&&_5_&&_3_&&_5_&&_4_&&_4_&&_5_&&_6_&&_6_&&_6" | |
410 | + | let bk = "3N8DnpwTffUEjDXXEsn6btFrbgWC8VZJhTZ_&&_course_1_&&_course_2_&&_green_1_&&_70_&&_110_&&_men_&&_1622640688000_&&_cloudy_&&_11" | |
411 | + | let bl = D(split(bj, "_&&_")) | |
412 | + | let bm = D(split(bj, "_&&_")) | |
413 | + | let bn = D(split(bj, "_&&_")) | |
414 | + | let bo = split(bk, "_&&_") | |
415 | + | let bp = split(bk, "_&&_") | |
416 | + | let bq = split(bk, "_&&_") | |
417 | + | let br = aR(bl, bf, bg, parseIntValue(bo[5]), parseIntValue(bo[6]), bh) | |
418 | + | let bs = aR(bl, bf, bg, parseIntValue(bo[5]), parseIntValue(bo[6]), bh) | |
419 | + | let bt = aR(bl, bf, bg, parseIntValue(bo[5]), parseIntValue(bo[6]), bh) | |
420 | + | let bu = max([br, bs, bt]) | |
421 | + | let bb = (bu - 2) | |
422 | + | let L = bc(bb) | |
423 | + | [Reissue(a, L, false), IntegerEntry((H + "_handicapIndex"), L), ScriptTransfer(U.caller, L, a)] | |
412 | 424 | } | |
413 | 425 | ||
414 | 426 | ||
415 | - | @Verifier( | |
416 | - | func | |
427 | + | @Verifier(bv) | |
428 | + | func bw () = sigVerify(bv.bodyBytes, bv.proofs[0], bv.senderPublicKey) | |
417 | 429 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | - | func a (b) = { | |
5 | - | func c (d,e) = (d + e) | |
4 | + | let a = base58'BJFTCAVHNhppygeLqYUyG5NB9GwNRjEjFeweJpXXi1DQ' | |
6 | 5 | ||
7 | - | let f = b | |
8 | - | let g = size(f) | |
9 | - | let h = 0 | |
10 | - | if ((g == 0)) | |
11 | - | then h | |
6 | + | let b = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18] | |
7 | + | ||
8 | + | func c (d) = { | |
9 | + | func e (f,g) = (f + g) | |
10 | + | ||
11 | + | let h = d | |
12 | + | let i = size(h) | |
13 | + | let j = 0 | |
14 | + | if ((i == 0)) | |
15 | + | then j | |
12 | 16 | else { | |
13 | - | let | |
14 | - | if (( | |
15 | - | then | |
17 | + | let k = e(j, h[0]) | |
18 | + | if ((i == 1)) | |
19 | + | then k | |
16 | 20 | else { | |
17 | - | let | |
18 | - | if (( | |
19 | - | then | |
21 | + | let l = e(k, h[1]) | |
22 | + | if ((i == 2)) | |
23 | + | then l | |
20 | 24 | else { | |
21 | - | let | |
22 | - | if (( | |
23 | - | then | |
25 | + | let m = e(l, h[2]) | |
26 | + | if ((i == 3)) | |
27 | + | then m | |
24 | 28 | else { | |
25 | - | let | |
26 | - | if (( | |
27 | - | then | |
29 | + | let n = e(m, h[3]) | |
30 | + | if ((i == 4)) | |
31 | + | then n | |
28 | 32 | else { | |
29 | - | let | |
30 | - | if (( | |
31 | - | then | |
33 | + | let o = e(n, h[4]) | |
34 | + | if ((i == 5)) | |
35 | + | then o | |
32 | 36 | else { | |
33 | - | let | |
34 | - | if (( | |
35 | - | then | |
37 | + | let p = e(o, h[5]) | |
38 | + | if ((i == 6)) | |
39 | + | then p | |
36 | 40 | else { | |
37 | - | let | |
38 | - | if (( | |
39 | - | then | |
41 | + | let q = e(p, h[6]) | |
42 | + | if ((i == 7)) | |
43 | + | then q | |
40 | 44 | else { | |
41 | - | let | |
42 | - | if (( | |
43 | - | then | |
45 | + | let r = e(q, h[7]) | |
46 | + | if ((i == 8)) | |
47 | + | then r | |
44 | 48 | else { | |
45 | - | let | |
46 | - | if (( | |
47 | - | then | |
49 | + | let s = e(r, h[8]) | |
50 | + | if ((i == 9)) | |
51 | + | then s | |
48 | 52 | else { | |
49 | - | let | |
50 | - | if (( | |
51 | - | then | |
53 | + | let t = e(s, h[9]) | |
54 | + | if ((i == 10)) | |
55 | + | then t | |
52 | 56 | else { | |
53 | - | let | |
54 | - | if (( | |
55 | - | then | |
57 | + | let u = e(t, h[10]) | |
58 | + | if ((i == 11)) | |
59 | + | then u | |
56 | 60 | else { | |
57 | - | let | |
58 | - | if (( | |
59 | - | then | |
61 | + | let v = e(u, h[11]) | |
62 | + | if ((i == 12)) | |
63 | + | then v | |
60 | 64 | else { | |
61 | - | let | |
62 | - | if (( | |
63 | - | then | |
65 | + | let w = e(v, h[12]) | |
66 | + | if ((i == 13)) | |
67 | + | then w | |
64 | 68 | else { | |
65 | - | let | |
66 | - | if (( | |
67 | - | then | |
69 | + | let x = e(w, h[13]) | |
70 | + | if ((i == 14)) | |
71 | + | then x | |
68 | 72 | else { | |
69 | - | let | |
70 | - | if (( | |
71 | - | then | |
73 | + | let y = e(x, h[14]) | |
74 | + | if ((i == 15)) | |
75 | + | then y | |
72 | 76 | else { | |
73 | - | let | |
74 | - | if (( | |
75 | - | then | |
77 | + | let z = e(y, h[15]) | |
78 | + | if ((i == 16)) | |
79 | + | then z | |
76 | 80 | else { | |
77 | - | let | |
78 | - | if (( | |
79 | - | then | |
81 | + | let A = e(z, h[16]) | |
82 | + | if ((i == 17)) | |
83 | + | then A | |
80 | 84 | else { | |
81 | - | let | |
82 | - | if (( | |
83 | - | then | |
85 | + | let B = e(A, h[17]) | |
86 | + | if ((i == 18)) | |
87 | + | then B | |
84 | 88 | else { | |
85 | - | let | |
89 | + | let C = e(B, h[18]) | |
86 | 90 | throw("List size exceed 18") | |
87 | 91 | } | |
88 | 92 | } | |
89 | 93 | } | |
90 | 94 | } | |
91 | 95 | } | |
92 | 96 | } | |
93 | 97 | } | |
94 | 98 | } | |
95 | 99 | } | |
96 | 100 | } | |
97 | 101 | } | |
98 | 102 | } | |
99 | 103 | } | |
100 | 104 | } | |
101 | 105 | } | |
102 | 106 | } | |
103 | 107 | } | |
104 | 108 | } | |
105 | 109 | } | |
106 | 110 | } | |
107 | 111 | ||
108 | 112 | ||
109 | - | func | |
113 | + | func D (E) = [parseIntValue(E[0]), parseIntValue(E[1]), parseIntValue(E[2]), parseIntValue(E[3]), parseIntValue(E[4]), parseIntValue(E[5]), parseIntValue(E[6]), parseIntValue(E[7]), parseIntValue(E[8]), parseIntValue(E[9]), parseIntValue(E[10]), parseIntValue(E[11]), parseIntValue(E[12]), parseIntValue(E[13]), parseIntValue(E[14]), parseIntValue(E[15]), parseIntValue(E[16]), parseIntValue(E[17])] | |
110 | 114 | ||
111 | 115 | ||
112 | - | func | |
113 | - | let | |
114 | - | if ($isInstanceOf( | |
116 | + | func F (G,H) = { | |
117 | + | let I = getString(this, ((H + "_round_score_") + toString(G))) | |
118 | + | if ($isInstanceOf(I, "String")) | |
115 | 119 | then { | |
116 | - | let | |
117 | - | | |
120 | + | let f = I | |
121 | + | f | |
118 | 122 | } | |
119 | 123 | else "" | |
120 | 124 | } | |
121 | 125 | ||
122 | 126 | ||
123 | - | func | |
124 | - | let | |
125 | - | if ($isInstanceOf( | |
127 | + | func J (G,H) = { | |
128 | + | let I = getString(this, ((H + "_round_course_") + toString(G))) | |
129 | + | if ($isInstanceOf(I, "String")) | |
126 | 130 | then { | |
127 | - | let | |
128 | - | | |
131 | + | let f = I | |
132 | + | f | |
129 | 133 | } | |
130 | 134 | else "" | |
131 | 135 | } | |
132 | 136 | ||
133 | 137 | ||
134 | - | func | |
138 | + | func K (L,M) = if ((L >= M)) | |
135 | 139 | then 1 | |
136 | 140 | else 0 | |
137 | 141 | ||
138 | 142 | ||
139 | - | func | |
140 | - | func | |
141 | - | let | |
142 | - | let | |
143 | - | if (( | |
144 | - | then ( | |
145 | - | else ( | |
143 | + | func N (O,P,Q,R) = { | |
144 | + | func S (T,U) = { | |
145 | + | let V = K(R, Q[U]) | |
146 | + | let W = ((P[U] + 2) + V) | |
147 | + | if ((O[U] > W)) | |
148 | + | then (T :+ W) | |
149 | + | else (T :+ O[U]) | |
146 | 150 | } | |
147 | 151 | ||
148 | - | let | |
149 | - | let | |
150 | - | let | |
151 | - | if (( | |
152 | - | then | |
152 | + | let X = b | |
153 | + | let Y = size(X) | |
154 | + | let Z = nil | |
155 | + | if ((Y == 0)) | |
156 | + | then Z | |
153 | 157 | else { | |
154 | - | let | |
155 | - | if (( | |
156 | - | then | |
158 | + | let aa = S(Z, X[0]) | |
159 | + | if ((Y == 1)) | |
160 | + | then aa | |
157 | 161 | else { | |
158 | - | let | |
159 | - | if (( | |
160 | - | then | |
162 | + | let ab = S(aa, X[1]) | |
163 | + | if ((Y == 2)) | |
164 | + | then ab | |
161 | 165 | else { | |
162 | - | let | |
163 | - | if (( | |
164 | - | then | |
166 | + | let ac = S(ab, X[2]) | |
167 | + | if ((Y == 3)) | |
168 | + | then ac | |
165 | 169 | else { | |
166 | - | let | |
167 | - | if (( | |
168 | - | then | |
170 | + | let ad = S(ac, X[3]) | |
171 | + | if ((Y == 4)) | |
172 | + | then ad | |
169 | 173 | else { | |
170 | - | let | |
171 | - | if (( | |
172 | - | then | |
174 | + | let ae = S(ad, X[4]) | |
175 | + | if ((Y == 5)) | |
176 | + | then ae | |
173 | 177 | else { | |
174 | - | let | |
175 | - | if (( | |
176 | - | then | |
178 | + | let af = S(ae, X[5]) | |
179 | + | if ((Y == 6)) | |
180 | + | then af | |
177 | 181 | else { | |
178 | - | let | |
179 | - | if (( | |
180 | - | then | |
182 | + | let ag = S(af, X[6]) | |
183 | + | if ((Y == 7)) | |
184 | + | then ag | |
181 | 185 | else { | |
182 | - | let | |
183 | - | if (( | |
184 | - | then | |
186 | + | let ah = S(ag, X[7]) | |
187 | + | if ((Y == 8)) | |
188 | + | then ah | |
185 | 189 | else { | |
186 | - | let | |
187 | - | if (( | |
188 | - | then | |
190 | + | let ai = S(ah, X[8]) | |
191 | + | if ((Y == 9)) | |
192 | + | then ai | |
189 | 193 | else { | |
190 | - | let | |
191 | - | if (( | |
192 | - | then | |
194 | + | let aj = S(ai, X[9]) | |
195 | + | if ((Y == 10)) | |
196 | + | then aj | |
193 | 197 | else { | |
194 | - | let | |
195 | - | if (( | |
196 | - | then | |
198 | + | let ak = S(aj, X[10]) | |
199 | + | if ((Y == 11)) | |
200 | + | then ak | |
197 | 201 | else { | |
198 | - | let | |
199 | - | if (( | |
200 | - | then | |
202 | + | let al = S(ak, X[11]) | |
203 | + | if ((Y == 12)) | |
204 | + | then al | |
201 | 205 | else { | |
202 | - | let | |
203 | - | if (( | |
204 | - | then | |
206 | + | let am = S(al, X[12]) | |
207 | + | if ((Y == 13)) | |
208 | + | then am | |
205 | 209 | else { | |
206 | - | let | |
207 | - | if (( | |
208 | - | then | |
210 | + | let an = S(am, X[13]) | |
211 | + | if ((Y == 14)) | |
212 | + | then an | |
209 | 213 | else { | |
210 | - | let | |
211 | - | if (( | |
212 | - | then | |
214 | + | let ao = S(an, X[14]) | |
215 | + | if ((Y == 15)) | |
216 | + | then ao | |
213 | 217 | else { | |
214 | - | let | |
215 | - | if (( | |
216 | - | then | |
218 | + | let ap = S(ao, X[15]) | |
219 | + | if ((Y == 16)) | |
220 | + | then ap | |
217 | 221 | else { | |
218 | - | let | |
219 | - | if (( | |
220 | - | then | |
222 | + | let aq = S(ap, X[16]) | |
223 | + | if ((Y == 17)) | |
224 | + | then aq | |
221 | 225 | else { | |
222 | - | let | |
223 | - | if (( | |
224 | - | then | |
226 | + | let ar = S(aq, X[17]) | |
227 | + | if ((Y == 18)) | |
228 | + | then ar | |
225 | 229 | else { | |
226 | - | let | |
230 | + | let as = S(ar, X[18]) | |
227 | 231 | throw("List size exceed 18") | |
228 | 232 | } | |
229 | 233 | } | |
230 | 234 | } | |
231 | 235 | } | |
232 | 236 | } | |
233 | 237 | } | |
234 | 238 | } | |
235 | 239 | } | |
236 | 240 | } | |
237 | 241 | } | |
238 | 242 | } | |
239 | 243 | } | |
240 | 244 | } | |
241 | 245 | } | |
242 | 246 | } | |
243 | 247 | } | |
244 | 248 | } | |
245 | 249 | } | |
246 | 250 | } | |
247 | 251 | } | |
248 | 252 | ||
249 | 253 | ||
250 | - | func | |
251 | - | func | |
252 | - | then ( | |
253 | - | else ( | |
254 | + | func at (O,P) = { | |
255 | + | func S (T,U) = if ((O[U] > (P[U] + 5))) | |
256 | + | then (T :+ (P[U] + 5)) | |
257 | + | else (T :+ O[U]) | |
254 | 258 | ||
255 | - | let | |
256 | - | let | |
257 | - | let | |
258 | - | if (( | |
259 | - | then | |
259 | + | let au = b | |
260 | + | let av = size(au) | |
261 | + | let aw = nil | |
262 | + | if ((av == 0)) | |
263 | + | then aw | |
260 | 264 | else { | |
261 | - | let | |
262 | - | if (( | |
263 | - | then | |
265 | + | let ax = S(aw, au[0]) | |
266 | + | if ((av == 1)) | |
267 | + | then ax | |
264 | 268 | else { | |
265 | - | let | |
266 | - | if (( | |
267 | - | then | |
269 | + | let ay = S(ax, au[1]) | |
270 | + | if ((av == 2)) | |
271 | + | then ay | |
268 | 272 | else { | |
269 | - | let | |
270 | - | if (( | |
271 | - | then | |
273 | + | let az = S(ay, au[2]) | |
274 | + | if ((av == 3)) | |
275 | + | then az | |
272 | 276 | else { | |
273 | - | let | |
274 | - | if (( | |
275 | - | then | |
277 | + | let aA = S(az, au[3]) | |
278 | + | if ((av == 4)) | |
279 | + | then aA | |
276 | 280 | else { | |
277 | - | let | |
278 | - | if (( | |
279 | - | then | |
281 | + | let aB = S(aA, au[4]) | |
282 | + | if ((av == 5)) | |
283 | + | then aB | |
280 | 284 | else { | |
281 | - | let | |
282 | - | if (( | |
283 | - | then | |
285 | + | let aC = S(aB, au[5]) | |
286 | + | if ((av == 6)) | |
287 | + | then aC | |
284 | 288 | else { | |
285 | - | let | |
286 | - | if (( | |
287 | - | then | |
289 | + | let aD = S(aC, au[6]) | |
290 | + | if ((av == 7)) | |
291 | + | then aD | |
288 | 292 | else { | |
289 | - | let | |
290 | - | if (( | |
291 | - | then | |
293 | + | let aE = S(aD, au[7]) | |
294 | + | if ((av == 8)) | |
295 | + | then aE | |
292 | 296 | else { | |
293 | - | let | |
294 | - | if (( | |
295 | - | then | |
297 | + | let aF = S(aE, au[8]) | |
298 | + | if ((av == 9)) | |
299 | + | then aF | |
296 | 300 | else { | |
297 | - | let | |
298 | - | if (( | |
299 | - | then | |
301 | + | let aG = S(aF, au[9]) | |
302 | + | if ((av == 10)) | |
303 | + | then aG | |
300 | 304 | else { | |
301 | - | let | |
302 | - | if (( | |
303 | - | then | |
305 | + | let aH = S(aG, au[10]) | |
306 | + | if ((av == 11)) | |
307 | + | then aH | |
304 | 308 | else { | |
305 | - | let | |
306 | - | if (( | |
307 | - | then | |
309 | + | let aI = S(aH, au[11]) | |
310 | + | if ((av == 12)) | |
311 | + | then aI | |
308 | 312 | else { | |
309 | - | let | |
310 | - | if (( | |
311 | - | then | |
313 | + | let aJ = S(aI, au[12]) | |
314 | + | if ((av == 13)) | |
315 | + | then aJ | |
312 | 316 | else { | |
313 | - | let | |
314 | - | if (( | |
315 | - | then | |
317 | + | let aK = S(aJ, au[13]) | |
318 | + | if ((av == 14)) | |
319 | + | then aK | |
316 | 320 | else { | |
317 | - | let | |
318 | - | if (( | |
319 | - | then | |
321 | + | let aL = S(aK, au[14]) | |
322 | + | if ((av == 15)) | |
323 | + | then aL | |
320 | 324 | else { | |
321 | - | let | |
322 | - | if (( | |
323 | - | then | |
325 | + | let aM = S(aL, au[15]) | |
326 | + | if ((av == 16)) | |
327 | + | then aM | |
324 | 328 | else { | |
325 | - | let | |
326 | - | if (( | |
327 | - | then | |
329 | + | let aN = S(aM, au[16]) | |
330 | + | if ((av == 17)) | |
331 | + | then aN | |
328 | 332 | else { | |
329 | - | let | |
330 | - | if (( | |
331 | - | then | |
333 | + | let aO = S(aN, au[17]) | |
334 | + | if ((av == 18)) | |
335 | + | then aO | |
332 | 336 | else { | |
333 | - | let | |
337 | + | let aP = S(aO, au[18]) | |
334 | 338 | throw("List size exceed 18") | |
335 | 339 | } | |
336 | 340 | } | |
337 | 341 | } | |
338 | 342 | } | |
339 | 343 | } | |
340 | 344 | } | |
341 | 345 | } | |
342 | 346 | } | |
343 | 347 | } | |
344 | 348 | } | |
345 | 349 | } | |
346 | 350 | } | |
347 | 351 | } | |
348 | 352 | } | |
349 | 353 | } | |
350 | 354 | } | |
351 | 355 | } | |
352 | 356 | } | |
353 | 357 | } | |
354 | 358 | } | |
355 | 359 | ||
356 | 360 | ||
357 | - | func | |
358 | - | then | |
359 | - | else | |
361 | + | func aQ (O,P,Q,R) = if ((R == -1)) | |
362 | + | then at(O, P) | |
363 | + | else N(O, P, Q, R) | |
360 | 364 | ||
361 | 365 | ||
362 | - | func | |
363 | - | let | |
364 | - | let | |
365 | - | let | |
366 | - | let | |
367 | - | let | |
368 | - | let | |
369 | - | let | |
370 | - | let | |
371 | - | | |
366 | + | func aR (aS,aT,Q,aU,aV,R) = { | |
367 | + | let aW = aQ(aS, aT, Q, R) | |
368 | + | let aX = c(aW) | |
369 | + | let aY = c(aS) | |
370 | + | let aZ = 0 | |
371 | + | let f = (113 / aV) | |
372 | + | let g = ((aX - aU) - aZ) | |
373 | + | let ba = 1 | |
374 | + | let bb = fraction(f, g, ba, HALFUP) | |
375 | + | bb | |
372 | 376 | } | |
373 | 377 | ||
374 | 378 | ||
375 | - | let ba = 1 | |
379 | + | func bc (bd) = if ((bd > 54)) | |
380 | + | then 54 | |
381 | + | else if ((0 > bd)) | |
382 | + | then 0 | |
383 | + | else bd | |
376 | 384 | ||
377 | - | @Callable(S) | |
378 | - | func issueHandicapIndex () = { | |
379 | - | let F = toBase58String(S.caller.bytes) | |
380 | - | let bb = { | |
381 | - | let G = getInteger(this, (F + "_handicapIndex")) | |
382 | - | if ($isInstanceOf(G, "Int")) | |
385 | + | ||
386 | + | let be = 1 | |
387 | + | ||
388 | + | @Callable(U) | |
389 | + | func issueHandicapIndex (bf,bg) = { | |
390 | + | let H = toBase58String(U.caller.bytes) | |
391 | + | let bh = { | |
392 | + | let I = getInteger(this, (H + "_handicapIndex")) | |
393 | + | if ($isInstanceOf(I, "Int")) | |
383 | 394 | then { | |
384 | - | let | |
385 | - | | |
395 | + | let f = I | |
396 | + | f | |
386 | 397 | } | |
387 | 398 | else -1 | |
388 | 399 | } | |
389 | - | let | |
390 | - | let | |
391 | - | if ($isInstanceOf( | |
400 | + | let bi = { | |
401 | + | let I = getInteger(this, (H + "_round_count")) | |
402 | + | if ($isInstanceOf(I, "Int")) | |
392 | 403 | then { | |
393 | - | let | |
394 | - | | |
404 | + | let f = I | |
405 | + | f | |
395 | 406 | } | |
396 | 407 | else -1 | |
397 | 408 | } | |
398 | - | let bd = "4_&&_4_&&_4_&&_5_&&_5_&&_5_&&_5_&&_5_&&_5_&&_5_&&_3_&&_5_&&_4_&&_4_&&_5_&&_6_&&_6_&&_6" | |
399 | - | let be = "3N8DnpwTffUEjDXXEsn6btFrbgWC8VZJhTZ_&&_course_1_&&_course_2_&&_green_1_&&_70_&&_110_&&_men_&&_1622640688000_&&_cloudy_&&_11" | |
400 | - | let bf = B(split(bd, "_&&_")) | |
401 | - | let bg = B(split(bd, "_&&_")) | |
402 | - | let bh = B(split(bd, "_&&_")) | |
403 | - | let bi = split(be, "_&&_") | |
404 | - | let bj = split(be, "_&&_") | |
405 | - | let bk = split(be, "_&&_") | |
406 | - | if ((ba == 1)) | |
407 | - | then throw(((("score18=>" + toString(bf[17])) + "/courseAddress=>") + bi[0])) | |
408 | - | else { | |
409 | - | let bl = 0 | |
410 | - | [IntegerEntry("", 1)] | |
411 | - | } | |
409 | + | let bj = "4_&&_4_&&_4_&&_5_&&_5_&&_5_&&_5_&&_5_&&_5_&&_5_&&_3_&&_5_&&_4_&&_4_&&_5_&&_6_&&_6_&&_6" | |
410 | + | let bk = "3N8DnpwTffUEjDXXEsn6btFrbgWC8VZJhTZ_&&_course_1_&&_course_2_&&_green_1_&&_70_&&_110_&&_men_&&_1622640688000_&&_cloudy_&&_11" | |
411 | + | let bl = D(split(bj, "_&&_")) | |
412 | + | let bm = D(split(bj, "_&&_")) | |
413 | + | let bn = D(split(bj, "_&&_")) | |
414 | + | let bo = split(bk, "_&&_") | |
415 | + | let bp = split(bk, "_&&_") | |
416 | + | let bq = split(bk, "_&&_") | |
417 | + | let br = aR(bl, bf, bg, parseIntValue(bo[5]), parseIntValue(bo[6]), bh) | |
418 | + | let bs = aR(bl, bf, bg, parseIntValue(bo[5]), parseIntValue(bo[6]), bh) | |
419 | + | let bt = aR(bl, bf, bg, parseIntValue(bo[5]), parseIntValue(bo[6]), bh) | |
420 | + | let bu = max([br, bs, bt]) | |
421 | + | let bb = (bu - 2) | |
422 | + | let L = bc(bb) | |
423 | + | [Reissue(a, L, false), IntegerEntry((H + "_handicapIndex"), L), ScriptTransfer(U.caller, L, a)] | |
412 | 424 | } | |
413 | 425 | ||
414 | 426 | ||
415 | - | @Verifier( | |
416 | - | func | |
427 | + | @Verifier(bv) | |
428 | + | func bw () = sigVerify(bv.bodyBytes, bv.proofs[0], bv.senderPublicKey) | |
417 | 429 |
github/deemru/w8io/026f985 474.55 ms ◑