tx · Fo85Ej6YMbARw4FurpfExAaJcFzXa6YsdviesboDRP1N

3Mr97MBt1TwRZHBK8R1EFDz8S8mxui5U4zB:  -0.01400000 Waves

2021.06.03 10:53 [1553909] smart account 3Mr97MBt1TwRZHBK8R1EFDz8S8mxui5U4zB > SELF 0.00000000 Waves

{ "type": 13, "id": "Fo85Ej6YMbARw4FurpfExAaJcFzXa6YsdviesboDRP1N", "fee": 1400000, "feeAssetId": null, "timestamp": 1622706891664, "version": 2, "chainId": 84, "sender": "3Mr97MBt1TwRZHBK8R1EFDz8S8mxui5U4zB", "senderPublicKey": "CQ7vntBAYh2QZcKcqiiyEnQWWXsr98ysDptD23Wgxmvb", "proofs": [ "2hb28dcbf1p23M9zzGthYBmfT4J2pAJ4sBgjeXtVr3RLzB2XTaA1x21DLYcFEZ4oZ8z8k5BqUrSdCykEErdsW8Ez" ], "script": "base64:AAIFAAAAAAAAAAQIAhIAAAAACgEAAAAHbGlzdFN1bQAAAAEAAAADYXJyCgEAAAADc3VtAAAAAgAAAAFhAAAAAWIJAABkAAAAAgUAAAABYQUAAAABYgQAAAALJGxpc3QxNTYxNzcFAAAAA2FycgQAAAALJHNpemUxNTYxNzcJAAGQAAAAAQUAAAALJGxpc3QxNTYxNzcEAAAACyRhY2MwMTU2MTc3AAAAAAAAAAAAAwkAAAAAAAACBQAAAAskc2l6ZTE1NjE3NwAAAAAAAAAAAAUAAAALJGFjYzAxNTYxNzcEAAAACyRhY2MxMTU2MTc3CQEAAAADc3VtAAAAAgUAAAALJGFjYzAxNTYxNzcJAAGRAAAAAgUAAAALJGxpc3QxNTYxNzcAAAAAAAAAAAADCQAAAAAAAAIFAAAACyRzaXplMTU2MTc3AAAAAAAAAAABBQAAAAskYWNjMTE1NjE3NwQAAAALJGFjYzIxNTYxNzcJAQAAAANzdW0AAAACBQAAAAskYWNjMTE1NjE3NwkAAZEAAAACBQAAAAskbGlzdDE1NjE3NwAAAAAAAAAAAQMJAAAAAAAAAgUAAAALJHNpemUxN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AAAAAEJAAACAAAAAQkAASwAAAACCQABLAAAAAIJAAEsAAAAAgIAAAAJc2NvcmUxOD0+CQABpAAAAAEJAAGRAAAAAgUAAAAGc2NvcmUxAAAAAAAAAAARAgAAABAvY291cnNlQWRkcmVzcz0+CQABkQAAAAIFAAAADHJvdW5kQ291cnNlMQAAAAAAAAAAAAQAAAASYXZlcmFnZVNjb3JlSGlzdHJ5AAAAAAAAAAAACQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACAgAAAAAAAAAAAAAAAAEFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5nB0xpg==", "height": 1553909, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: HRZKjt5xsfsHaF4pC6JWsUdrLfgoTGHJLkgDoHvB1FTf Next: 72YobrsBUH12epXDuU1SPggqMJEJGrV8fGusBrj2LQrz Diff:
OldNewDifferences
392392 let roundCourse2 = split(roundCourseString, "_&&_")
393393 let roundCourse3 = split(roundCourseString, "_&&_")
394394 if ((count == 1))
395- then throw(((("score18=>" + toString(score1[18])) + "/courseAddress=>") + roundCourse1[0]))
395+ then throw(((("score18=>" + toString(score1[17])) + "/courseAddress=>") + roundCourse1[0]))
396396 else {
397397 let averageScoreHistry = 0
398398 [IntegerEntry("", 1)]
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func listSum (arr) = {
55 func sum (a,b) = (a + b)
66
77 let $list156177 = arr
88 let $size156177 = size($list156177)
99 let $acc0156177 = 0
1010 if (($size156177 == 0))
1111 then $acc0156177
1212 else {
1313 let $acc1156177 = sum($acc0156177, $list156177[0])
1414 if (($size156177 == 1))
1515 then $acc1156177
1616 else {
1717 let $acc2156177 = sum($acc1156177, $list156177[1])
1818 if (($size156177 == 2))
1919 then $acc2156177
2020 else {
2121 let $acc3156177 = sum($acc2156177, $list156177[2])
2222 if (($size156177 == 3))
2323 then $acc3156177
2424 else {
2525 let $acc4156177 = sum($acc3156177, $list156177[3])
2626 if (($size156177 == 4))
2727 then $acc4156177
2828 else {
2929 let $acc5156177 = sum($acc4156177, $list156177[4])
3030 if (($size156177 == 5))
3131 then $acc5156177
3232 else {
3333 let $acc6156177 = sum($acc5156177, $list156177[5])
3434 if (($size156177 == 6))
3535 then $acc6156177
3636 else {
3737 let $acc7156177 = sum($acc6156177, $list156177[6])
3838 if (($size156177 == 7))
3939 then $acc7156177
4040 else {
4141 let $acc8156177 = sum($acc7156177, $list156177[7])
4242 if (($size156177 == 8))
4343 then $acc8156177
4444 else {
4545 let $acc9156177 = sum($acc8156177, $list156177[8])
4646 if (($size156177 == 9))
4747 then $acc9156177
4848 else {
4949 let $acc10156177 = sum($acc9156177, $list156177[9])
5050 if (($size156177 == 10))
5151 then $acc10156177
5252 else {
5353 let $acc11156177 = sum($acc10156177, $list156177[10])
5454 if (($size156177 == 11))
5555 then $acc11156177
5656 else {
5757 let $acc12156177 = sum($acc11156177, $list156177[11])
5858 if (($size156177 == 12))
5959 then $acc12156177
6060 else {
6161 let $acc13156177 = sum($acc12156177, $list156177[12])
6262 if (($size156177 == 13))
6363 then $acc13156177
6464 else {
6565 let $acc14156177 = sum($acc13156177, $list156177[13])
6666 if (($size156177 == 14))
6767 then $acc14156177
6868 else {
6969 let $acc15156177 = sum($acc14156177, $list156177[14])
7070 if (($size156177 == 15))
7171 then $acc15156177
7272 else {
7373 let $acc16156177 = sum($acc15156177, $list156177[15])
7474 if (($size156177 == 16))
7575 then $acc16156177
7676 else {
7777 let $acc17156177 = sum($acc16156177, $list156177[16])
7878 if (($size156177 == 17))
7979 then $acc17156177
8080 else {
8181 let $acc18156177 = sum($acc17156177, $list156177[17])
8282 if (($size156177 == 18))
8383 then $acc18156177
8484 else {
8585 let $acc19156177 = sum($acc18156177, $list156177[18])
8686 throw("List size exceed 18")
8787 }
8888 }
8989 }
9090 }
9191 }
9292 }
9393 }
9494 }
9595 }
9696 }
9797 }
9898 }
9999 }
100100 }
101101 }
102102 }
103103 }
104104 }
105105 }
106106 }
107107
108108
109109 func parseIntList (list) = [parseIntValue(list[0]), parseIntValue(list[1]), parseIntValue(list[2]), parseIntValue(list[3]), parseIntValue(list[4]), parseIntValue(list[5]), parseIntValue(list[6]), parseIntValue(list[7]), parseIntValue(list[8]), parseIntValue(list[9]), parseIntValue(list[10]), parseIntValue(list[11]), parseIntValue(list[12]), parseIntValue(list[13]), parseIntValue(list[14]), parseIntValue(list[15]), parseIntValue(list[16]), parseIntValue(list[17])]
110110
111111
112112 func getRoundScore (roundCount,currentKey) = match getString(this, ((currentKey + "_round_score_") + toString(roundCount))) {
113113 case a: String =>
114114 a
115115 case _ =>
116116 ""
117117 }
118118
119119
120120 func getRoundCourse (roundCount,currentKey) = match getString(this, ((currentKey + "_round_course_") + toString(roundCount))) {
121121 case a: String =>
122122 a
123123 case _ =>
124124 ""
125125 }
126126
127127
128128 func holeStrokeReceiveFunc (handicapIndex,hdcp) = if ((handicapIndex >= hdcp))
129129 then 1
130130 else 0
131131
132132
133133 func foldFuncHoldHandi (score,par,hdcpList,handicap) = {
134134 func foldFunc (acc,i) = {
135135 let holeStrokeReceive = holeStrokeReceiveFunc(handicap, hdcpList[i])
136136 let netDoubleBogey = ((par[i] + 2) + holeStrokeReceive)
137137 if ((score[i] > netDoubleBogey))
138138 then (acc :+ netDoubleBogey)
139139 else (acc :+ score[i])
140140 }
141141
142142 let $list18461875 = score
143143 let $size18461875 = size($list18461875)
144144 let $acc018461875 = nil
145145 if (($size18461875 == 0))
146146 then $acc018461875
147147 else {
148148 let $acc118461875 = foldFunc($acc018461875, $list18461875[0])
149149 if (($size18461875 == 1))
150150 then $acc118461875
151151 else {
152152 let $acc218461875 = foldFunc($acc118461875, $list18461875[1])
153153 if (($size18461875 == 2))
154154 then $acc218461875
155155 else {
156156 let $acc318461875 = foldFunc($acc218461875, $list18461875[2])
157157 if (($size18461875 == 3))
158158 then $acc318461875
159159 else {
160160 let $acc418461875 = foldFunc($acc318461875, $list18461875[3])
161161 if (($size18461875 == 4))
162162 then $acc418461875
163163 else {
164164 let $acc518461875 = foldFunc($acc418461875, $list18461875[4])
165165 if (($size18461875 == 5))
166166 then $acc518461875
167167 else {
168168 let $acc618461875 = foldFunc($acc518461875, $list18461875[5])
169169 if (($size18461875 == 6))
170170 then $acc618461875
171171 else {
172172 let $acc718461875 = foldFunc($acc618461875, $list18461875[6])
173173 if (($size18461875 == 7))
174174 then $acc718461875
175175 else {
176176 let $acc818461875 = foldFunc($acc718461875, $list18461875[7])
177177 if (($size18461875 == 8))
178178 then $acc818461875
179179 else {
180180 let $acc918461875 = foldFunc($acc818461875, $list18461875[8])
181181 if (($size18461875 == 9))
182182 then $acc918461875
183183 else {
184184 let $acc1018461875 = foldFunc($acc918461875, $list18461875[9])
185185 if (($size18461875 == 10))
186186 then $acc1018461875
187187 else {
188188 let $acc1118461875 = foldFunc($acc1018461875, $list18461875[10])
189189 if (($size18461875 == 11))
190190 then $acc1118461875
191191 else {
192192 let $acc1218461875 = foldFunc($acc1118461875, $list18461875[11])
193193 if (($size18461875 == 12))
194194 then $acc1218461875
195195 else {
196196 let $acc1318461875 = foldFunc($acc1218461875, $list18461875[12])
197197 if (($size18461875 == 13))
198198 then $acc1318461875
199199 else {
200200 let $acc1418461875 = foldFunc($acc1318461875, $list18461875[13])
201201 if (($size18461875 == 14))
202202 then $acc1418461875
203203 else {
204204 let $acc1518461875 = foldFunc($acc1418461875, $list18461875[14])
205205 if (($size18461875 == 15))
206206 then $acc1518461875
207207 else {
208208 let $acc1618461875 = foldFunc($acc1518461875, $list18461875[15])
209209 if (($size18461875 == 16))
210210 then $acc1618461875
211211 else {
212212 let $acc1718461875 = foldFunc($acc1618461875, $list18461875[16])
213213 if (($size18461875 == 17))
214214 then $acc1718461875
215215 else {
216216 let $acc1818461875 = foldFunc($acc1718461875, $list18461875[17])
217217 if (($size18461875 == 18))
218218 then $acc1818461875
219219 else {
220220 let $acc1918461875 = foldFunc($acc1818461875, $list18461875[18])
221221 throw("List size exceed 18")
222222 }
223223 }
224224 }
225225 }
226226 }
227227 }
228228 }
229229 }
230230 }
231231 }
232232 }
233233 }
234234 }
235235 }
236236 }
237237 }
238238 }
239239 }
240240 }
241241 }
242242
243243
244244 func foldFuncNoHandi (score,par) = {
245245 func foldFunc (acc,i) = if ((score[i] > (par[i] + 5)))
246246 then (acc :+ (par[i] + 5))
247247 else (acc :+ score[i])
248248
249249 let $list20992128 = score
250250 let $size20992128 = size($list20992128)
251251 let $acc020992128 = nil
252252 if (($size20992128 == 0))
253253 then $acc020992128
254254 else {
255255 let $acc120992128 = foldFunc($acc020992128, $list20992128[0])
256256 if (($size20992128 == 1))
257257 then $acc120992128
258258 else {
259259 let $acc220992128 = foldFunc($acc120992128, $list20992128[1])
260260 if (($size20992128 == 2))
261261 then $acc220992128
262262 else {
263263 let $acc320992128 = foldFunc($acc220992128, $list20992128[2])
264264 if (($size20992128 == 3))
265265 then $acc320992128
266266 else {
267267 let $acc420992128 = foldFunc($acc320992128, $list20992128[3])
268268 if (($size20992128 == 4))
269269 then $acc420992128
270270 else {
271271 let $acc520992128 = foldFunc($acc420992128, $list20992128[4])
272272 if (($size20992128 == 5))
273273 then $acc520992128
274274 else {
275275 let $acc620992128 = foldFunc($acc520992128, $list20992128[5])
276276 if (($size20992128 == 6))
277277 then $acc620992128
278278 else {
279279 let $acc720992128 = foldFunc($acc620992128, $list20992128[6])
280280 if (($size20992128 == 7))
281281 then $acc720992128
282282 else {
283283 let $acc820992128 = foldFunc($acc720992128, $list20992128[7])
284284 if (($size20992128 == 8))
285285 then $acc820992128
286286 else {
287287 let $acc920992128 = foldFunc($acc820992128, $list20992128[8])
288288 if (($size20992128 == 9))
289289 then $acc920992128
290290 else {
291291 let $acc1020992128 = foldFunc($acc920992128, $list20992128[9])
292292 if (($size20992128 == 10))
293293 then $acc1020992128
294294 else {
295295 let $acc1120992128 = foldFunc($acc1020992128, $list20992128[10])
296296 if (($size20992128 == 11))
297297 then $acc1120992128
298298 else {
299299 let $acc1220992128 = foldFunc($acc1120992128, $list20992128[11])
300300 if (($size20992128 == 12))
301301 then $acc1220992128
302302 else {
303303 let $acc1320992128 = foldFunc($acc1220992128, $list20992128[12])
304304 if (($size20992128 == 13))
305305 then $acc1320992128
306306 else {
307307 let $acc1420992128 = foldFunc($acc1320992128, $list20992128[13])
308308 if (($size20992128 == 14))
309309 then $acc1420992128
310310 else {
311311 let $acc1520992128 = foldFunc($acc1420992128, $list20992128[14])
312312 if (($size20992128 == 15))
313313 then $acc1520992128
314314 else {
315315 let $acc1620992128 = foldFunc($acc1520992128, $list20992128[15])
316316 if (($size20992128 == 16))
317317 then $acc1620992128
318318 else {
319319 let $acc1720992128 = foldFunc($acc1620992128, $list20992128[16])
320320 if (($size20992128 == 17))
321321 then $acc1720992128
322322 else {
323323 let $acc1820992128 = foldFunc($acc1720992128, $list20992128[17])
324324 if (($size20992128 == 18))
325325 then $acc1820992128
326326 else {
327327 let $acc1920992128 = foldFunc($acc1820992128, $list20992128[18])
328328 throw("List size exceed 18")
329329 }
330330 }
331331 }
332332 }
333333 }
334334 }
335335 }
336336 }
337337 }
338338 }
339339 }
340340 }
341341 }
342342 }
343343 }
344344 }
345345 }
346346 }
347347 }
348348 }
349349
350350
351351 func scoreAdjustmentCalc (score,par,hdcpList,handicap) = if ((handicap == -1))
352352 then foldFuncNoHandi(score, par)
353353 else foldFuncHoldHandi(score, par, hdcpList, handicap)
354354
355355
356356 func scoreDifferential (scoreList,parList,hdcpList,courseRating,slopeRating,handicap) = {
357357 let scoreAdjustmentList = scoreAdjustmentCalc(scoreList, parList, hdcpList, handicap)
358358 let scoreAdjustedTotal = listSum(scoreAdjustmentList)
359359 let scoreSum = listSum(scoreList)
360360 let pcc = 0
361361 let a = (113 / slopeRating)
362362 let b = ((scoreAdjustedTotal - courseRating) - pcc)
363363 let c = 1
364364 let result = fraction(a, b, c, HALFUP)
365365 result
366366 }
367367
368368
369369 let count = 1
370370
371371 @Callable(i)
372372 func issueHandicapIndex () = {
373373 let currentKey = toBase58String(i.caller.bytes)
374374 let getHandicapIndex = match getInteger(this, (currentKey + "_handicapIndex")) {
375375 case a: Int =>
376376 a
377377 case _ =>
378378 -1
379379 }
380380 let getRoundCount = match getInteger(this, (currentKey + "_round_count")) {
381381 case a: Int =>
382382 a
383383 case _ =>
384384 -1
385385 }
386386 let scoreString = "4_&&_4_&&_4_&&_5_&&_5_&&_5_&&_5_&&_5_&&_5_&&_5_&&_3_&&_5_&&_4_&&_4_&&_5_&&_6_&&_6_&&_6"
387387 let roundCourseString = "3N8DnpwTffUEjDXXEsn6btFrbgWC8VZJhTZ_&&_course_1_&&_course_2_&&_green_1_&&_70_&&_110_&&_men_&&_1622640688000_&&_cloudy_&&_11"
388388 let score1 = parseIntList(split(scoreString, "_&&_"))
389389 let score2 = parseIntList(split(scoreString, "_&&_"))
390390 let score3 = parseIntList(split(scoreString, "_&&_"))
391391 let roundCourse1 = split(roundCourseString, "_&&_")
392392 let roundCourse2 = split(roundCourseString, "_&&_")
393393 let roundCourse3 = split(roundCourseString, "_&&_")
394394 if ((count == 1))
395- then throw(((("score18=>" + toString(score1[18])) + "/courseAddress=>") + roundCourse1[0]))
395+ then throw(((("score18=>" + toString(score1[17])) + "/courseAddress=>") + roundCourse1[0]))
396396 else {
397397 let averageScoreHistry = 0
398398 [IntegerEntry("", 1)]
399399 }
400400 }
401401
402402
403403 @Verifier(tx)
404404 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
405405

github/deemru/w8io/026f985 
61.00 ms