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:AAIFAAAAAAAAAAQIAhIAAAAACgEAAAAHbGlzdFN1bQAAAAEAAAADYXJyCgEAAAADc3VtAAAAAgAAAAFhAAAAAWIJAABkAAAAAgUAAAABYQUAAAABYgQAAAALJGxpc3QxNTYxNzcFAAAAA2FycgQAAAALJHNpemUxNTYxNzcJAAGQAAAAAQUAAAALJGxpc3QxNTYxNzcEAAAACyRhY2MwMTU2MTc3AAAAAAAAAAAAAwkAAAAAAAACBQAAAAskc2l6ZTE1NjE3NwAAAAAAAAAAAAUAAAALJGFjYzAxNTYxNzcEAAAACyRhY2MxMTU2MTc3CQEAAAADc3VtAAAAAgUAAAALJGFjYzAxNTYxNzcJAAGRAAAAAgUAAAALJGxpc3QxNTYxNzcAAAAAAAAAAAADCQAAAAAAAAIFAAAACyRzaXplMTU2MTc3AAAAAAAAAAABBQAAAAskYWNjMTE1NjE3NwQAAAALJGFjYzIxNTYxNzcJAQAAAANzdW0AAAACBQAAAAskYWNjMTE1NjE3NwkAAZEAAAACBQAAAAskbGlzdDE1NjE3NwAAAAAAAAAAAQMJAAAAAAAAAgUAAAALJHNpemUxNTYx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YmXwQAAAAGc2NvcmUzCQEAAAAMcGFyc2VJbnRMaXN0AAAAAQkABLUAAAACCQEAAAANZ2V0Um91bmRTY29yZQAAAAIJAABlAAAAAgUAAAANZ2V0Um91bmRDb3VudAAAAAAAAAAAAgUAAAAKY3VycmVudEtleQIAAAAEXyYmXwQAAAAMcm91bmRDb3Vyc2UxCQAEtQAAAAIJAQAAAA5nZXRSb3VuZENvdXJzZQAAAAIFAAAADWdldFJvdW5kQ291bnQFAAAACmN1cnJlbnRLZXkCAAAABF8mJl8EAAAADHJvdW5kQ291cnNlMgkABLUAAAACCQEAAAAOZ2V0Um91bmRDb3Vyc2UAAAACCQAAZQAAAAIFAAAADWdldFJvdW5kQ291bnQAAAAAAAAAAAEFAAAACmN1cnJlbnRLZXkCAAAABF8mJl8EAAAADHJvdW5kQ291cnNlMwkABLUAAAACCQEAAAAOZ2V0Um91bmRDb3Vyc2UAAAACCQAAZQAAAAIFAAAADWdldFJvdW5kQ291bnQAAAAAAAAAAAIFAAAACmN1cnJlbnRLZXkCAAAABF8mJl8EAAAAEmF2ZXJhZ2VTY29yZUhpc3RyeQAAAAAAAAAAAAkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAAAAAAAAAAAAAABBQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tlee4RPfA=", "height": 1553879, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 5CmP5dJegCVvHm5Pcmk4ncPFU1N88siuZNUsqt3mL89j Next: DWgb3KaHX1qQkSTHskCRnWfwcDQyXPngTmXToAcGnzZM Diff:
OldNewDifferences
44 func listSum (arr) = {
55 func sum (a,b) = (a + b)
66
7- let $list156176 = arr
8- let $size156176 = size($list156176)
9- let $acc0156176 = 0
10- if (($size156176 == 0))
11- then $acc0156176
7+ let $list156177 = arr
8+ let $size156177 = size($list156177)
9+ let $acc0156177 = 0
10+ if (($size156177 == 0))
11+ then $acc0156177
1212 else {
13- let $acc1156176 = sum($acc0156176, $list156176[0])
14- if (($size156176 == 1))
15- then $acc1156176
13+ let $acc1156177 = sum($acc0156177, $list156177[0])
14+ if (($size156177 == 1))
15+ then $acc1156177
1616 else {
17- let $acc2156176 = sum($acc1156176, $list156176[1])
18- if (($size156176 == 2))
19- then $acc2156176
17+ let $acc2156177 = sum($acc1156177, $list156177[1])
18+ if (($size156177 == 2))
19+ then $acc2156177
2020 else {
21- let $acc3156176 = sum($acc2156176, $list156176[2])
22- if (($size156176 == 3))
23- then $acc3156176
21+ let $acc3156177 = sum($acc2156177, $list156177[2])
22+ if (($size156177 == 3))
23+ then $acc3156177
2424 else {
25- let $acc4156176 = sum($acc3156176, $list156176[3])
26- if (($size156176 == 4))
27- then $acc4156176
25+ let $acc4156177 = sum($acc3156177, $list156177[3])
26+ if (($size156177 == 4))
27+ then $acc4156177
2828 else {
29- let $acc5156176 = sum($acc4156176, $list156176[4])
30- if (($size156176 == 5))
31- then $acc5156176
29+ let $acc5156177 = sum($acc4156177, $list156177[4])
30+ if (($size156177 == 5))
31+ then $acc5156177
3232 else {
33- let $acc6156176 = sum($acc5156176, $list156176[5])
34- throw("List size exceed 5")
33+ let $acc6156177 = sum($acc5156177, $list156177[5])
34+ if (($size156177 == 6))
35+ then $acc6156177
36+ else {
37+ let $acc7156177 = sum($acc6156177, $list156177[6])
38+ if (($size156177 == 7))
39+ then $acc7156177
40+ else {
41+ let $acc8156177 = sum($acc7156177, $list156177[7])
42+ if (($size156177 == 8))
43+ then $acc8156177
44+ else {
45+ let $acc9156177 = sum($acc8156177, $list156177[8])
46+ if (($size156177 == 9))
47+ then $acc9156177
48+ else {
49+ let $acc10156177 = sum($acc9156177, $list156177[9])
50+ if (($size156177 == 10))
51+ then $acc10156177
52+ else {
53+ let $acc11156177 = sum($acc10156177, $list156177[10])
54+ if (($size156177 == 11))
55+ then $acc11156177
56+ else {
57+ let $acc12156177 = sum($acc11156177, $list156177[11])
58+ if (($size156177 == 12))
59+ then $acc12156177
60+ else {
61+ let $acc13156177 = sum($acc12156177, $list156177[12])
62+ if (($size156177 == 13))
63+ then $acc13156177
64+ else {
65+ let $acc14156177 = sum($acc13156177, $list156177[13])
66+ if (($size156177 == 14))
67+ then $acc14156177
68+ else {
69+ let $acc15156177 = sum($acc14156177, $list156177[14])
70+ if (($size156177 == 15))
71+ then $acc15156177
72+ else {
73+ let $acc16156177 = sum($acc15156177, $list156177[15])
74+ if (($size156177 == 16))
75+ then $acc16156177
76+ else {
77+ let $acc17156177 = sum($acc16156177, $list156177[16])
78+ if (($size156177 == 17))
79+ then $acc17156177
80+ else {
81+ let $acc18156177 = sum($acc17156177, $list156177[17])
82+ if (($size156177 == 18))
83+ then $acc18156177
84+ else {
85+ let $acc19156177 = sum($acc18156177, $list156177[18])
86+ throw("List size exceed 18")
87+ }
88+ }
89+ }
90+ }
91+ }
92+ }
93+ }
94+ }
95+ }
96+ }
97+ }
98+ }
99+ }
35100 }
36101 }
37102 }
41106 }
42107
43108
44-func parseIntList (list) = [parseIntValue(list[0]), parseIntValue(list[1]), parseIntValue(list[2])]
109+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])]
45110
46111
47112 func getRoundScore (roundCount,currentKey) = match getString(this, ((currentKey + "_round_score_") + toString(roundCount))) {
74139 else (acc :+ score[i])
75140 }
76141
77- let $list12881317 = score
78- let $size12881317 = size($list12881317)
79- let $acc012881317 = nil
80- if (($size12881317 == 0))
81- then $acc012881317
142+ let $list18461875 = score
143+ let $size18461875 = size($list18461875)
144+ let $acc018461875 = nil
145+ if (($size18461875 == 0))
146+ then $acc018461875
82147 else {
83- let $acc112881317 = foldFunc($acc012881317, $list12881317[0])
84- if (($size12881317 == 1))
85- then $acc112881317
148+ let $acc118461875 = foldFunc($acc018461875, $list18461875[0])
149+ if (($size18461875 == 1))
150+ then $acc118461875
86151 else {
87- let $acc212881317 = foldFunc($acc112881317, $list12881317[1])
88- if (($size12881317 == 2))
89- then $acc212881317
152+ let $acc218461875 = foldFunc($acc118461875, $list18461875[1])
153+ if (($size18461875 == 2))
154+ then $acc218461875
90155 else {
91- let $acc312881317 = foldFunc($acc212881317, $list12881317[2])
92- if (($size12881317 == 3))
93- then $acc312881317
156+ let $acc318461875 = foldFunc($acc218461875, $list18461875[2])
157+ if (($size18461875 == 3))
158+ then $acc318461875
94159 else {
95- let $acc412881317 = foldFunc($acc312881317, $list12881317[3])
96- if (($size12881317 == 4))
97- then $acc412881317
160+ let $acc418461875 = foldFunc($acc318461875, $list18461875[3])
161+ if (($size18461875 == 4))
162+ then $acc418461875
98163 else {
99- let $acc512881317 = foldFunc($acc412881317, $list12881317[4])
100- if (($size12881317 == 5))
101- then $acc512881317
164+ let $acc518461875 = foldFunc($acc418461875, $list18461875[4])
165+ if (($size18461875 == 5))
166+ then $acc518461875
102167 else {
103- let $acc612881317 = foldFunc($acc512881317, $list12881317[5])
104- if (($size12881317 == 6))
105- then $acc612881317
168+ let $acc618461875 = foldFunc($acc518461875, $list18461875[5])
169+ if (($size18461875 == 6))
170+ then $acc618461875
106171 else {
107- let $acc712881317 = foldFunc($acc612881317, $list12881317[6])
108- if (($size12881317 == 7))
109- then $acc712881317
172+ let $acc718461875 = foldFunc($acc618461875, $list18461875[6])
173+ if (($size18461875 == 7))
174+ then $acc718461875
110175 else {
111- let $acc812881317 = foldFunc($acc712881317, $list12881317[7])
112- if (($size12881317 == 8))
113- then $acc812881317
176+ let $acc818461875 = foldFunc($acc718461875, $list18461875[7])
177+ if (($size18461875 == 8))
178+ then $acc818461875
114179 else {
115- let $acc912881317 = foldFunc($acc812881317, $list12881317[8])
116- if (($size12881317 == 9))
117- then $acc912881317
180+ let $acc918461875 = foldFunc($acc818461875, $list18461875[8])
181+ if (($size18461875 == 9))
182+ then $acc918461875
118183 else {
119- let $acc1012881317 = foldFunc($acc912881317, $list12881317[9])
120- if (($size12881317 == 10))
121- then $acc1012881317
184+ let $acc1018461875 = foldFunc($acc918461875, $list18461875[9])
185+ if (($size18461875 == 10))
186+ then $acc1018461875
122187 else {
123- let $acc1112881317 = foldFunc($acc1012881317, $list12881317[10])
124- if (($size12881317 == 11))
125- then $acc1112881317
188+ let $acc1118461875 = foldFunc($acc1018461875, $list18461875[10])
189+ if (($size18461875 == 11))
190+ then $acc1118461875
126191 else {
127- let $acc1212881317 = foldFunc($acc1112881317, $list12881317[11])
128- if (($size12881317 == 12))
129- then $acc1212881317
192+ let $acc1218461875 = foldFunc($acc1118461875, $list18461875[11])
193+ if (($size18461875 == 12))
194+ then $acc1218461875
130195 else {
131- let $acc1312881317 = foldFunc($acc1212881317, $list12881317[12])
132- if (($size12881317 == 13))
133- then $acc1312881317
196+ let $acc1318461875 = foldFunc($acc1218461875, $list18461875[12])
197+ if (($size18461875 == 13))
198+ then $acc1318461875
134199 else {
135- let $acc1412881317 = foldFunc($acc1312881317, $list12881317[13])
136- if (($size12881317 == 14))
137- then $acc1412881317
200+ let $acc1418461875 = foldFunc($acc1318461875, $list18461875[13])
201+ if (($size18461875 == 14))
202+ then $acc1418461875
138203 else {
139- let $acc1512881317 = foldFunc($acc1412881317, $list12881317[14])
140- if (($size12881317 == 15))
141- then $acc1512881317
204+ let $acc1518461875 = foldFunc($acc1418461875, $list18461875[14])
205+ if (($size18461875 == 15))
206+ then $acc1518461875
142207 else {
143- let $acc1612881317 = foldFunc($acc1512881317, $list12881317[15])
144- if (($size12881317 == 16))
145- then $acc1612881317
208+ let $acc1618461875 = foldFunc($acc1518461875, $list18461875[15])
209+ if (($size18461875 == 16))
210+ then $acc1618461875
146211 else {
147- let $acc1712881317 = foldFunc($acc1612881317, $list12881317[16])
148- if (($size12881317 == 17))
149- then $acc1712881317
212+ let $acc1718461875 = foldFunc($acc1618461875, $list18461875[16])
213+ if (($size18461875 == 17))
214+ then $acc1718461875
150215 else {
151- let $acc1812881317 = foldFunc($acc1712881317, $list12881317[17])
152- if (($size12881317 == 18))
153- then $acc1812881317
216+ let $acc1818461875 = foldFunc($acc1718461875, $list18461875[17])
217+ if (($size18461875 == 18))
218+ then $acc1818461875
154219 else {
155- let $acc1912881317 = foldFunc($acc1812881317, $list12881317[18])
220+ let $acc1918461875 = foldFunc($acc1818461875, $list18461875[18])
156221 throw("List size exceed 18")
157222 }
158223 }
181246 then (acc :+ (par[i] + 5))
182247 else (acc :+ score[i])
183248
184- let $list15411570 = score
185- let $size15411570 = size($list15411570)
186- let $acc015411570 = nil
187- if (($size15411570 == 0))
188- then $acc015411570
249+ let $list20992128 = score
250+ let $size20992128 = size($list20992128)
251+ let $acc020992128 = nil
252+ if (($size20992128 == 0))
253+ then $acc020992128
189254 else {
190- let $acc115411570 = foldFunc($acc015411570, $list15411570[0])
191- if (($size15411570 == 1))
192- then $acc115411570
255+ let $acc120992128 = foldFunc($acc020992128, $list20992128[0])
256+ if (($size20992128 == 1))
257+ then $acc120992128
193258 else {
194- let $acc215411570 = foldFunc($acc115411570, $list15411570[1])
195- if (($size15411570 == 2))
196- then $acc215411570
259+ let $acc220992128 = foldFunc($acc120992128, $list20992128[1])
260+ if (($size20992128 == 2))
261+ then $acc220992128
197262 else {
198- let $acc315411570 = foldFunc($acc215411570, $list15411570[2])
199- if (($size15411570 == 3))
200- then $acc315411570
263+ let $acc320992128 = foldFunc($acc220992128, $list20992128[2])
264+ if (($size20992128 == 3))
265+ then $acc320992128
201266 else {
202- let $acc415411570 = foldFunc($acc315411570, $list15411570[3])
203- if (($size15411570 == 4))
204- then $acc415411570
267+ let $acc420992128 = foldFunc($acc320992128, $list20992128[3])
268+ if (($size20992128 == 4))
269+ then $acc420992128
205270 else {
206- let $acc515411570 = foldFunc($acc415411570, $list15411570[4])
207- if (($size15411570 == 5))
208- then $acc515411570
271+ let $acc520992128 = foldFunc($acc420992128, $list20992128[4])
272+ if (($size20992128 == 5))
273+ then $acc520992128
209274 else {
210- let $acc615411570 = foldFunc($acc515411570, $list15411570[5])
211- if (($size15411570 == 6))
212- then $acc615411570
275+ let $acc620992128 = foldFunc($acc520992128, $list20992128[5])
276+ if (($size20992128 == 6))
277+ then $acc620992128
213278 else {
214- let $acc715411570 = foldFunc($acc615411570, $list15411570[6])
215- if (($size15411570 == 7))
216- then $acc715411570
279+ let $acc720992128 = foldFunc($acc620992128, $list20992128[6])
280+ if (($size20992128 == 7))
281+ then $acc720992128
217282 else {
218- let $acc815411570 = foldFunc($acc715411570, $list15411570[7])
219- if (($size15411570 == 8))
220- then $acc815411570
283+ let $acc820992128 = foldFunc($acc720992128, $list20992128[7])
284+ if (($size20992128 == 8))
285+ then $acc820992128
221286 else {
222- let $acc915411570 = foldFunc($acc815411570, $list15411570[8])
223- if (($size15411570 == 9))
224- then $acc915411570
287+ let $acc920992128 = foldFunc($acc820992128, $list20992128[8])
288+ if (($size20992128 == 9))
289+ then $acc920992128
225290 else {
226- let $acc1015411570 = foldFunc($acc915411570, $list15411570[9])
227- if (($size15411570 == 10))
228- then $acc1015411570
291+ let $acc1020992128 = foldFunc($acc920992128, $list20992128[9])
292+ if (($size20992128 == 10))
293+ then $acc1020992128
229294 else {
230- let $acc1115411570 = foldFunc($acc1015411570, $list15411570[10])
231- if (($size15411570 == 11))
232- then $acc1115411570
295+ let $acc1120992128 = foldFunc($acc1020992128, $list20992128[10])
296+ if (($size20992128 == 11))
297+ then $acc1120992128
233298 else {
234- let $acc1215411570 = foldFunc($acc1115411570, $list15411570[11])
235- if (($size15411570 == 12))
236- then $acc1215411570
299+ let $acc1220992128 = foldFunc($acc1120992128, $list20992128[11])
300+ if (($size20992128 == 12))
301+ then $acc1220992128
237302 else {
238- let $acc1315411570 = foldFunc($acc1215411570, $list15411570[12])
239- if (($size15411570 == 13))
240- then $acc1315411570
303+ let $acc1320992128 = foldFunc($acc1220992128, $list20992128[12])
304+ if (($size20992128 == 13))
305+ then $acc1320992128
241306 else {
242- let $acc1415411570 = foldFunc($acc1315411570, $list15411570[13])
243- if (($size15411570 == 14))
244- then $acc1415411570
307+ let $acc1420992128 = foldFunc($acc1320992128, $list20992128[13])
308+ if (($size20992128 == 14))
309+ then $acc1420992128
245310 else {
246- let $acc1515411570 = foldFunc($acc1415411570, $list15411570[14])
247- if (($size15411570 == 15))
248- then $acc1515411570
311+ let $acc1520992128 = foldFunc($acc1420992128, $list20992128[14])
312+ if (($size20992128 == 15))
313+ then $acc1520992128
249314 else {
250- let $acc1615411570 = foldFunc($acc1515411570, $list15411570[15])
251- if (($size15411570 == 16))
252- then $acc1615411570
315+ let $acc1620992128 = foldFunc($acc1520992128, $list20992128[15])
316+ if (($size20992128 == 16))
317+ then $acc1620992128
253318 else {
254- let $acc1715411570 = foldFunc($acc1615411570, $list15411570[16])
255- if (($size15411570 == 17))
256- then $acc1715411570
319+ let $acc1720992128 = foldFunc($acc1620992128, $list20992128[16])
320+ if (($size20992128 == 17))
321+ then $acc1720992128
257322 else {
258- let $acc1815411570 = foldFunc($acc1715411570, $list15411570[17])
259- if (($size15411570 == 18))
260- then $acc1815411570
323+ let $acc1820992128 = foldFunc($acc1720992128, $list20992128[17])
324+ if (($size20992128 == 18))
325+ then $acc1820992128
261326 else {
262- let $acc1915411570 = foldFunc($acc1815411570, $list15411570[18])
327+ let $acc1920992128 = foldFunc($acc1820992128, $list20992128[18])
263328 throw("List size exceed 18")
264329 }
265330 }
305370
306371 @Callable(i)
307372 func issueHandicapIndex () = {
308- let list = parseIntList(["1", "2", "3"])
373+ let list = parseIntList(["1", "2", "3", "1", "2", "3", "1", "2", "3", "1", "2", "3", "1", "2", "3", "1", "2", "18"])
309374 let list1 = list[0]
310375 if ((count == 1))
311- then throw(toString(list1))
376+ then throw("")
312377 else {
313378 let currentKey = toBase58String(i.caller.bytes)
314379 let getHandicapIndex = match getInteger(this, (currentKey + "_handicapIndex")) {
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
7- let $list156176 = arr
8- let $size156176 = size($list156176)
9- let $acc0156176 = 0
10- if (($size156176 == 0))
11- then $acc0156176
7+ let $list156177 = arr
8+ let $size156177 = size($list156177)
9+ let $acc0156177 = 0
10+ if (($size156177 == 0))
11+ then $acc0156177
1212 else {
13- let $acc1156176 = sum($acc0156176, $list156176[0])
14- if (($size156176 == 1))
15- then $acc1156176
13+ let $acc1156177 = sum($acc0156177, $list156177[0])
14+ if (($size156177 == 1))
15+ then $acc1156177
1616 else {
17- let $acc2156176 = sum($acc1156176, $list156176[1])
18- if (($size156176 == 2))
19- then $acc2156176
17+ let $acc2156177 = sum($acc1156177, $list156177[1])
18+ if (($size156177 == 2))
19+ then $acc2156177
2020 else {
21- let $acc3156176 = sum($acc2156176, $list156176[2])
22- if (($size156176 == 3))
23- then $acc3156176
21+ let $acc3156177 = sum($acc2156177, $list156177[2])
22+ if (($size156177 == 3))
23+ then $acc3156177
2424 else {
25- let $acc4156176 = sum($acc3156176, $list156176[3])
26- if (($size156176 == 4))
27- then $acc4156176
25+ let $acc4156177 = sum($acc3156177, $list156177[3])
26+ if (($size156177 == 4))
27+ then $acc4156177
2828 else {
29- let $acc5156176 = sum($acc4156176, $list156176[4])
30- if (($size156176 == 5))
31- then $acc5156176
29+ let $acc5156177 = sum($acc4156177, $list156177[4])
30+ if (($size156177 == 5))
31+ then $acc5156177
3232 else {
33- let $acc6156176 = sum($acc5156176, $list156176[5])
34- throw("List size exceed 5")
33+ let $acc6156177 = sum($acc5156177, $list156177[5])
34+ if (($size156177 == 6))
35+ then $acc6156177
36+ else {
37+ let $acc7156177 = sum($acc6156177, $list156177[6])
38+ if (($size156177 == 7))
39+ then $acc7156177
40+ else {
41+ let $acc8156177 = sum($acc7156177, $list156177[7])
42+ if (($size156177 == 8))
43+ then $acc8156177
44+ else {
45+ let $acc9156177 = sum($acc8156177, $list156177[8])
46+ if (($size156177 == 9))
47+ then $acc9156177
48+ else {
49+ let $acc10156177 = sum($acc9156177, $list156177[9])
50+ if (($size156177 == 10))
51+ then $acc10156177
52+ else {
53+ let $acc11156177 = sum($acc10156177, $list156177[10])
54+ if (($size156177 == 11))
55+ then $acc11156177
56+ else {
57+ let $acc12156177 = sum($acc11156177, $list156177[11])
58+ if (($size156177 == 12))
59+ then $acc12156177
60+ else {
61+ let $acc13156177 = sum($acc12156177, $list156177[12])
62+ if (($size156177 == 13))
63+ then $acc13156177
64+ else {
65+ let $acc14156177 = sum($acc13156177, $list156177[13])
66+ if (($size156177 == 14))
67+ then $acc14156177
68+ else {
69+ let $acc15156177 = sum($acc14156177, $list156177[14])
70+ if (($size156177 == 15))
71+ then $acc15156177
72+ else {
73+ let $acc16156177 = sum($acc15156177, $list156177[15])
74+ if (($size156177 == 16))
75+ then $acc16156177
76+ else {
77+ let $acc17156177 = sum($acc16156177, $list156177[16])
78+ if (($size156177 == 17))
79+ then $acc17156177
80+ else {
81+ let $acc18156177 = sum($acc17156177, $list156177[17])
82+ if (($size156177 == 18))
83+ then $acc18156177
84+ else {
85+ let $acc19156177 = sum($acc18156177, $list156177[18])
86+ throw("List size exceed 18")
87+ }
88+ }
89+ }
90+ }
91+ }
92+ }
93+ }
94+ }
95+ }
96+ }
97+ }
98+ }
99+ }
35100 }
36101 }
37102 }
38103 }
39104 }
40105 }
41106 }
42107
43108
44-func parseIntList (list) = [parseIntValue(list[0]), parseIntValue(list[1]), parseIntValue(list[2])]
109+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])]
45110
46111
47112 func getRoundScore (roundCount,currentKey) = match getString(this, ((currentKey + "_round_score_") + toString(roundCount))) {
48113 case a: String =>
49114 a
50115 case _ =>
51116 ""
52117 }
53118
54119
55120 func getRoundCourse (roundCount,currentKey) = match getString(this, ((currentKey + "_round_course_") + toString(roundCount))) {
56121 case a: String =>
57122 a
58123 case _ =>
59124 ""
60125 }
61126
62127
63128 func holeStrokeReceiveFunc (handicapIndex,hdcp) = if ((handicapIndex >= hdcp))
64129 then 1
65130 else 0
66131
67132
68133 func foldFuncHoldHandi (score,par,hdcpList,handicap) = {
69134 func foldFunc (acc,i) = {
70135 let holeStrokeReceive = holeStrokeReceiveFunc(handicap, hdcpList[i])
71136 let netDoubleBogey = ((par[i] + 2) + holeStrokeReceive)
72137 if ((score[i] > netDoubleBogey))
73138 then (acc :+ netDoubleBogey)
74139 else (acc :+ score[i])
75140 }
76141
77- let $list12881317 = score
78- let $size12881317 = size($list12881317)
79- let $acc012881317 = nil
80- if (($size12881317 == 0))
81- then $acc012881317
142+ let $list18461875 = score
143+ let $size18461875 = size($list18461875)
144+ let $acc018461875 = nil
145+ if (($size18461875 == 0))
146+ then $acc018461875
82147 else {
83- let $acc112881317 = foldFunc($acc012881317, $list12881317[0])
84- if (($size12881317 == 1))
85- then $acc112881317
148+ let $acc118461875 = foldFunc($acc018461875, $list18461875[0])
149+ if (($size18461875 == 1))
150+ then $acc118461875
86151 else {
87- let $acc212881317 = foldFunc($acc112881317, $list12881317[1])
88- if (($size12881317 == 2))
89- then $acc212881317
152+ let $acc218461875 = foldFunc($acc118461875, $list18461875[1])
153+ if (($size18461875 == 2))
154+ then $acc218461875
90155 else {
91- let $acc312881317 = foldFunc($acc212881317, $list12881317[2])
92- if (($size12881317 == 3))
93- then $acc312881317
156+ let $acc318461875 = foldFunc($acc218461875, $list18461875[2])
157+ if (($size18461875 == 3))
158+ then $acc318461875
94159 else {
95- let $acc412881317 = foldFunc($acc312881317, $list12881317[3])
96- if (($size12881317 == 4))
97- then $acc412881317
160+ let $acc418461875 = foldFunc($acc318461875, $list18461875[3])
161+ if (($size18461875 == 4))
162+ then $acc418461875
98163 else {
99- let $acc512881317 = foldFunc($acc412881317, $list12881317[4])
100- if (($size12881317 == 5))
101- then $acc512881317
164+ let $acc518461875 = foldFunc($acc418461875, $list18461875[4])
165+ if (($size18461875 == 5))
166+ then $acc518461875
102167 else {
103- let $acc612881317 = foldFunc($acc512881317, $list12881317[5])
104- if (($size12881317 == 6))
105- then $acc612881317
168+ let $acc618461875 = foldFunc($acc518461875, $list18461875[5])
169+ if (($size18461875 == 6))
170+ then $acc618461875
106171 else {
107- let $acc712881317 = foldFunc($acc612881317, $list12881317[6])
108- if (($size12881317 == 7))
109- then $acc712881317
172+ let $acc718461875 = foldFunc($acc618461875, $list18461875[6])
173+ if (($size18461875 == 7))
174+ then $acc718461875
110175 else {
111- let $acc812881317 = foldFunc($acc712881317, $list12881317[7])
112- if (($size12881317 == 8))
113- then $acc812881317
176+ let $acc818461875 = foldFunc($acc718461875, $list18461875[7])
177+ if (($size18461875 == 8))
178+ then $acc818461875
114179 else {
115- let $acc912881317 = foldFunc($acc812881317, $list12881317[8])
116- if (($size12881317 == 9))
117- then $acc912881317
180+ let $acc918461875 = foldFunc($acc818461875, $list18461875[8])
181+ if (($size18461875 == 9))
182+ then $acc918461875
118183 else {
119- let $acc1012881317 = foldFunc($acc912881317, $list12881317[9])
120- if (($size12881317 == 10))
121- then $acc1012881317
184+ let $acc1018461875 = foldFunc($acc918461875, $list18461875[9])
185+ if (($size18461875 == 10))
186+ then $acc1018461875
122187 else {
123- let $acc1112881317 = foldFunc($acc1012881317, $list12881317[10])
124- if (($size12881317 == 11))
125- then $acc1112881317
188+ let $acc1118461875 = foldFunc($acc1018461875, $list18461875[10])
189+ if (($size18461875 == 11))
190+ then $acc1118461875
126191 else {
127- let $acc1212881317 = foldFunc($acc1112881317, $list12881317[11])
128- if (($size12881317 == 12))
129- then $acc1212881317
192+ let $acc1218461875 = foldFunc($acc1118461875, $list18461875[11])
193+ if (($size18461875 == 12))
194+ then $acc1218461875
130195 else {
131- let $acc1312881317 = foldFunc($acc1212881317, $list12881317[12])
132- if (($size12881317 == 13))
133- then $acc1312881317
196+ let $acc1318461875 = foldFunc($acc1218461875, $list18461875[12])
197+ if (($size18461875 == 13))
198+ then $acc1318461875
134199 else {
135- let $acc1412881317 = foldFunc($acc1312881317, $list12881317[13])
136- if (($size12881317 == 14))
137- then $acc1412881317
200+ let $acc1418461875 = foldFunc($acc1318461875, $list18461875[13])
201+ if (($size18461875 == 14))
202+ then $acc1418461875
138203 else {
139- let $acc1512881317 = foldFunc($acc1412881317, $list12881317[14])
140- if (($size12881317 == 15))
141- then $acc1512881317
204+ let $acc1518461875 = foldFunc($acc1418461875, $list18461875[14])
205+ if (($size18461875 == 15))
206+ then $acc1518461875
142207 else {
143- let $acc1612881317 = foldFunc($acc1512881317, $list12881317[15])
144- if (($size12881317 == 16))
145- then $acc1612881317
208+ let $acc1618461875 = foldFunc($acc1518461875, $list18461875[15])
209+ if (($size18461875 == 16))
210+ then $acc1618461875
146211 else {
147- let $acc1712881317 = foldFunc($acc1612881317, $list12881317[16])
148- if (($size12881317 == 17))
149- then $acc1712881317
212+ let $acc1718461875 = foldFunc($acc1618461875, $list18461875[16])
213+ if (($size18461875 == 17))
214+ then $acc1718461875
150215 else {
151- let $acc1812881317 = foldFunc($acc1712881317, $list12881317[17])
152- if (($size12881317 == 18))
153- then $acc1812881317
216+ let $acc1818461875 = foldFunc($acc1718461875, $list18461875[17])
217+ if (($size18461875 == 18))
218+ then $acc1818461875
154219 else {
155- let $acc1912881317 = foldFunc($acc1812881317, $list12881317[18])
220+ let $acc1918461875 = foldFunc($acc1818461875, $list18461875[18])
156221 throw("List size exceed 18")
157222 }
158223 }
159224 }
160225 }
161226 }
162227 }
163228 }
164229 }
165230 }
166231 }
167232 }
168233 }
169234 }
170235 }
171236 }
172237 }
173238 }
174239 }
175240 }
176241 }
177242
178243
179244 func foldFuncNoHandi (score,par) = {
180245 func foldFunc (acc,i) = if ((score[i] > (par[i] + 5)))
181246 then (acc :+ (par[i] + 5))
182247 else (acc :+ score[i])
183248
184- let $list15411570 = score
185- let $size15411570 = size($list15411570)
186- let $acc015411570 = nil
187- if (($size15411570 == 0))
188- then $acc015411570
249+ let $list20992128 = score
250+ let $size20992128 = size($list20992128)
251+ let $acc020992128 = nil
252+ if (($size20992128 == 0))
253+ then $acc020992128
189254 else {
190- let $acc115411570 = foldFunc($acc015411570, $list15411570[0])
191- if (($size15411570 == 1))
192- then $acc115411570
255+ let $acc120992128 = foldFunc($acc020992128, $list20992128[0])
256+ if (($size20992128 == 1))
257+ then $acc120992128
193258 else {
194- let $acc215411570 = foldFunc($acc115411570, $list15411570[1])
195- if (($size15411570 == 2))
196- then $acc215411570
259+ let $acc220992128 = foldFunc($acc120992128, $list20992128[1])
260+ if (($size20992128 == 2))
261+ then $acc220992128
197262 else {
198- let $acc315411570 = foldFunc($acc215411570, $list15411570[2])
199- if (($size15411570 == 3))
200- then $acc315411570
263+ let $acc320992128 = foldFunc($acc220992128, $list20992128[2])
264+ if (($size20992128 == 3))
265+ then $acc320992128
201266 else {
202- let $acc415411570 = foldFunc($acc315411570, $list15411570[3])
203- if (($size15411570 == 4))
204- then $acc415411570
267+ let $acc420992128 = foldFunc($acc320992128, $list20992128[3])
268+ if (($size20992128 == 4))
269+ then $acc420992128
205270 else {
206- let $acc515411570 = foldFunc($acc415411570, $list15411570[4])
207- if (($size15411570 == 5))
208- then $acc515411570
271+ let $acc520992128 = foldFunc($acc420992128, $list20992128[4])
272+ if (($size20992128 == 5))
273+ then $acc520992128
209274 else {
210- let $acc615411570 = foldFunc($acc515411570, $list15411570[5])
211- if (($size15411570 == 6))
212- then $acc615411570
275+ let $acc620992128 = foldFunc($acc520992128, $list20992128[5])
276+ if (($size20992128 == 6))
277+ then $acc620992128
213278 else {
214- let $acc715411570 = foldFunc($acc615411570, $list15411570[6])
215- if (($size15411570 == 7))
216- then $acc715411570
279+ let $acc720992128 = foldFunc($acc620992128, $list20992128[6])
280+ if (($size20992128 == 7))
281+ then $acc720992128
217282 else {
218- let $acc815411570 = foldFunc($acc715411570, $list15411570[7])
219- if (($size15411570 == 8))
220- then $acc815411570
283+ let $acc820992128 = foldFunc($acc720992128, $list20992128[7])
284+ if (($size20992128 == 8))
285+ then $acc820992128
221286 else {
222- let $acc915411570 = foldFunc($acc815411570, $list15411570[8])
223- if (($size15411570 == 9))
224- then $acc915411570
287+ let $acc920992128 = foldFunc($acc820992128, $list20992128[8])
288+ if (($size20992128 == 9))
289+ then $acc920992128
225290 else {
226- let $acc1015411570 = foldFunc($acc915411570, $list15411570[9])
227- if (($size15411570 == 10))
228- then $acc1015411570
291+ let $acc1020992128 = foldFunc($acc920992128, $list20992128[9])
292+ if (($size20992128 == 10))
293+ then $acc1020992128
229294 else {
230- let $acc1115411570 = foldFunc($acc1015411570, $list15411570[10])
231- if (($size15411570 == 11))
232- then $acc1115411570
295+ let $acc1120992128 = foldFunc($acc1020992128, $list20992128[10])
296+ if (($size20992128 == 11))
297+ then $acc1120992128
233298 else {
234- let $acc1215411570 = foldFunc($acc1115411570, $list15411570[11])
235- if (($size15411570 == 12))
236- then $acc1215411570
299+ let $acc1220992128 = foldFunc($acc1120992128, $list20992128[11])
300+ if (($size20992128 == 12))
301+ then $acc1220992128
237302 else {
238- let $acc1315411570 = foldFunc($acc1215411570, $list15411570[12])
239- if (($size15411570 == 13))
240- then $acc1315411570
303+ let $acc1320992128 = foldFunc($acc1220992128, $list20992128[12])
304+ if (($size20992128 == 13))
305+ then $acc1320992128
241306 else {
242- let $acc1415411570 = foldFunc($acc1315411570, $list15411570[13])
243- if (($size15411570 == 14))
244- then $acc1415411570
307+ let $acc1420992128 = foldFunc($acc1320992128, $list20992128[13])
308+ if (($size20992128 == 14))
309+ then $acc1420992128
245310 else {
246- let $acc1515411570 = foldFunc($acc1415411570, $list15411570[14])
247- if (($size15411570 == 15))
248- then $acc1515411570
311+ let $acc1520992128 = foldFunc($acc1420992128, $list20992128[14])
312+ if (($size20992128 == 15))
313+ then $acc1520992128
249314 else {
250- let $acc1615411570 = foldFunc($acc1515411570, $list15411570[15])
251- if (($size15411570 == 16))
252- then $acc1615411570
315+ let $acc1620992128 = foldFunc($acc1520992128, $list20992128[15])
316+ if (($size20992128 == 16))
317+ then $acc1620992128
253318 else {
254- let $acc1715411570 = foldFunc($acc1615411570, $list15411570[16])
255- if (($size15411570 == 17))
256- then $acc1715411570
319+ let $acc1720992128 = foldFunc($acc1620992128, $list20992128[16])
320+ if (($size20992128 == 17))
321+ then $acc1720992128
257322 else {
258- let $acc1815411570 = foldFunc($acc1715411570, $list15411570[17])
259- if (($size15411570 == 18))
260- then $acc1815411570
323+ let $acc1820992128 = foldFunc($acc1720992128, $list20992128[17])
324+ if (($size20992128 == 18))
325+ then $acc1820992128
261326 else {
262- let $acc1915411570 = foldFunc($acc1815411570, $list15411570[18])
327+ let $acc1920992128 = foldFunc($acc1820992128, $list20992128[18])
263328 throw("List size exceed 18")
264329 }
265330 }
266331 }
267332 }
268333 }
269334 }
270335 }
271336 }
272337 }
273338 }
274339 }
275340 }
276341 }
277342 }
278343 }
279344 }
280345 }
281346 }
282347 }
283348 }
284349
285350
286351 func scoreAdjustmentCalc (score,par,hdcpList,handicap) = if ((handicap == -1))
287352 then foldFuncNoHandi(score, par)
288353 else foldFuncHoldHandi(score, par, hdcpList, handicap)
289354
290355
291356 func scoreDifferential (scoreList,parList,hdcpList,courseRating,slopeRating,handicap) = {
292357 let scoreAdjustmentList = scoreAdjustmentCalc(scoreList, parList, hdcpList, handicap)
293358 let scoreAdjustedTotal = listSum(scoreAdjustmentList)
294359 let scoreSum = listSum(scoreList)
295360 let pcc = 0
296361 let a = (113 / slopeRating)
297362 let b = ((scoreAdjustedTotal - courseRating) - pcc)
298363 let c = 1
299364 let result = fraction(a, b, c, HALFUP)
300365 result
301366 }
302367
303368
304369 let count = 1
305370
306371 @Callable(i)
307372 func issueHandicapIndex () = {
308- let list = parseIntList(["1", "2", "3"])
373+ let list = parseIntList(["1", "2", "3", "1", "2", "3", "1", "2", "3", "1", "2", "3", "1", "2", "3", "1", "2", "18"])
309374 let list1 = list[0]
310375 if ((count == 1))
311- then throw(toString(list1))
376+ then throw("")
312377 else {
313378 let currentKey = toBase58String(i.caller.bytes)
314379 let getHandicapIndex = match getInteger(this, (currentKey + "_handicapIndex")) {
315380 case a: Int =>
316381 a
317382 case _ =>
318383 -1
319384 }
320385 let getRoundCount = match getInteger(this, (currentKey + "_round_count")) {
321386 case a: Int =>
322387 a
323388 case _ =>
324389 0
325390 }
326391 if ((3 > getRoundCount))
327392 then throw("A score of 54 holes is required to obtain a handicap")
328393 else {
329394 let score1 = split(getRoundScore(getRoundCount, currentKey), "_&&_")
330395 let score2 = parseIntList(split(getRoundScore((getRoundCount - 1), currentKey), "_&&_"))
331396 let score3 = parseIntList(split(getRoundScore((getRoundCount - 2), currentKey), "_&&_"))
332397 let roundCourse1 = split(getRoundCourse(getRoundCount, currentKey), "_&&_")
333398 let roundCourse2 = split(getRoundCourse((getRoundCount - 1), currentKey), "_&&_")
334399 let roundCourse3 = split(getRoundCourse((getRoundCount - 2), currentKey), "_&&_")
335400 let averageScoreHistry = 0
336401 [IntegerEntry("", 1)]
337402 }
338403 }
339404 }
340405
341406
342407 @Verifier(tx)
343408 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
344409

github/deemru/w8io/026f985 
303.76 ms