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