tx · 5xsDdZ9aXf1mSxARFdA8y54948n12bZDpcWtXHjkbVrb

3Mr97MBt1TwRZHBK8R1EFDz8S8mxui5U4zB:  -0.01400000 Waves

2021.06.03 12:06 [1553979] smart account 3Mr97MBt1TwRZHBK8R1EFDz8S8mxui5U4zB > SELF 0.00000000 Waves

{ "type": 13, "id": "5xsDdZ9aXf1mSxARFdA8y54948n12bZDpcWtXHjkbVrb", "fee": 1400000, "feeAssetId": null, "timestamp": 1622711227622, "version": 2, "chainId": 84, "sender": "3Mr97MBt1TwRZHBK8R1EFDz8S8mxui5U4zB", "senderPublicKey": "CQ7vntBAYh2QZcKcqiiyEnQWWXsr98ysDptD23Wgxmvb", "proofs": [ "66D3LYtKZcmJbTvF9UZVCiyEAum3FfFuQa3QkqRodxnHYXQJnJqajeeuLctt4Y4dycGTA7CV4QQP1m2Au5PZ9QDT" ], "script": "base64:AAIFAAAAAAAAAAQIAhIAAAAADQAAAAAHaGFuZGlJZAEAAAAgmQAVX3L5MYxyaOxZ0FMoThkZR49kvwgxlwjo6C/iIRcAAAAAB251bUxpc3QJAARMAAAAAgAAAAAAAAAAAQkABEwAAAACAAAAAAAAAAACCQAETAAAAAIAAAAAAAAAAAMJAARMAAAAAgAAAAAAAAAABAkABEwAAAACAAAAAAAAAAAFCQAETAAAAAIAAAAAAAAAAAYJAARMAAAAAgAAAAAAAAAABwkABEwAAAACAAAAAAAAAAAICQAETAAAAAIAAAAAAAAAAAkJAARMAAAAAgAAAAAAAAAACgkABEwAAAACAAAAAAAAAAALCQAETAAAAAIAAAAAAAAAAAwJAARMAAAAAgAAAAAAAAAADQkABEwAAAACAAAAAAAAAAAOCQAETAAAAAIAAAAAAAAAAA8JAARMAAAAAgAAAAAAAAAAEAkABEwAAAACAAAAAAAAAAARCQAETAAAAAIAAAAAAAAAABIFAAAAA25pbAEAAAAHbGlzdFN1bQAAAAEAAAADYXJyCgEAAAADc3VtAAAAAgAAAAFhAAAAAWIJAABkAAAAAgUAAAABYQUAAAAB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entComplexity": 0 } View: original | compacted Prev: 72YobrsBUH12epXDuU1SPggqMJEJGrV8fGusBrj2LQrz Next: Aja8V2et7V5pX6uq9GFpqjEUzQXrmFSpmVzCrLR2rG3H Diff:
OldNewDifferences
380380 let count = 1
381381
382382 @Callable(i)
383-func issueHandicapIndex (course1Par,course1Hdcp) = {
383+func issueHandicapIndex () = {
384384 let currentKey = toBase58String(i.caller.bytes)
385385 let getHandicapIndex = match getInteger(this, (currentKey + "_handicapIndex")) {
386386 case a: Int =>
394394 case _ =>
395395 -1
396396 }
397- let scoreString = "4_&&_4_&&_4_&&_5_&&_5_&&_5_&&_5_&&_5_&&_5_&&_5_&&_3_&&_5_&&_4_&&_4_&&_5_&&_6_&&_6_&&_6"
397+ let scoreString = "4_&&_6_&&_7_&&_4_&&_7_&&_8_&&_5_&&_8_&&_6_&&_6_&&_7_&&_8_&&_6_&&_6_&&_5_&&_7_&&_7_&&_6"
398398 let roundCourseString = "3N8DnpwTffUEjDXXEsn6btFrbgWC8VZJhTZ_&&_course_1_&&_course_2_&&_green_1_&&_70_&&_110_&&_men_&&_1622640688000_&&_cloudy_&&_11"
399+ let coursePar = "4_&&_4_&&_4_&&_4_&&_3_&&_5_&&_4_&&_5_&&_6_&&_5_&&_3_&&_5_&&_4_&&_4_&&_5_&&_4_&&_4_&&_4"
400+ let courseHdcp = "1_&&_2_&&_3_&&_4_&&_5_&&_6_&&_7_&&_8_&&_9_&&_10_&&_11_&&_12_&&_13_&&_14_&&_15_&&_16_&&_17_&&_18"
399401 let score1 = parseIntList(split(scoreString, "_&&_"))
400402 let score2 = parseIntList(split(scoreString, "_&&_"))
401403 let score3 = parseIntList(split(scoreString, "_&&_"))
402404 let roundCourse1 = split(roundCourseString, "_&&_")
403405 let roundCourse2 = split(roundCourseString, "_&&_")
404406 let roundCourse3 = split(roundCourseString, "_&&_")
405- let scoreDifferential1 = scoreDifferential(score1, course1Par, course1Hdcp, parseIntValue(roundCourse1[5]), parseIntValue(roundCourse1[6]), getHandicapIndex)
406- let scoreDifferential2 = scoreDifferential(score1, course1Par, course1Hdcp, parseIntValue(roundCourse1[5]), parseIntValue(roundCourse1[6]), getHandicapIndex)
407- let scoreDifferential3 = scoreDifferential(score1, course1Par, course1Hdcp, parseIntValue(roundCourse1[5]), parseIntValue(roundCourse1[6]), getHandicapIndex)
407+ let coursePar1 = parseIntList(split(coursePar, "_&&_"))
408+ let coursePar2 = parseIntList(split(coursePar, "_&&_"))
409+ let coursePar3 = parseIntList(split(coursePar, "_&&_"))
410+ let courseHdcp1 = parseIntList(split(courseHdcp, "_&&_"))
411+ let courseHdcp2 = parseIntList(split(courseHdcp, "_&&_"))
412+ let courseHdcp3 = parseIntList(split(courseHdcp, "_&&_"))
413+ let scoreDifferential1 = scoreDifferential(score1, coursePar1, courseHdcp1, parseIntValue(roundCourse1[5]), parseIntValue(roundCourse1[6]), getHandicapIndex)
414+ let scoreDifferential2 = scoreDifferential(score2, coursePar2, courseHdcp2, parseIntValue(roundCourse2[5]), parseIntValue(roundCourse2[6]), getHandicapIndex)
415+ let scoreDifferential3 = scoreDifferential(score3, coursePar3, courseHdcp3, parseIntValue(roundCourse3[5]), parseIntValue(roundCourse3[6]), getHandicapIndex)
408416 let scoreDifferentialLowest = max([scoreDifferential1, scoreDifferential2, scoreDifferential3])
409417 let result = (scoreDifferentialLowest - 2)
410418 let handicapIndex = handicapIndexRequirements(result)
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let handiId = base58'BJFTCAVHNhppygeLqYUyG5NB9GwNRjEjFeweJpXXi1DQ'
55
66 let numList = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18]
77
88 func listSum (arr) = {
99 func sum (a,b) = (a + b)
1010
1111 let $list322343 = arr
1212 let $size322343 = size($list322343)
1313 let $acc0322343 = 0
1414 if (($size322343 == 0))
1515 then $acc0322343
1616 else {
1717 let $acc1322343 = sum($acc0322343, $list322343[0])
1818 if (($size322343 == 1))
1919 then $acc1322343
2020 else {
2121 let $acc2322343 = sum($acc1322343, $list322343[1])
2222 if (($size322343 == 2))
2323 then $acc2322343
2424 else {
2525 let $acc3322343 = sum($acc2322343, $list322343[2])
2626 if (($size322343 == 3))
2727 then $acc3322343
2828 else {
2929 let $acc4322343 = sum($acc3322343, $list322343[3])
3030 if (($size322343 == 4))
3131 then $acc4322343
3232 else {
3333 let $acc5322343 = sum($acc4322343, $list322343[4])
3434 if (($size322343 == 5))
3535 then $acc5322343
3636 else {
3737 let $acc6322343 = sum($acc5322343, $list322343[5])
3838 if (($size322343 == 6))
3939 then $acc6322343
4040 else {
4141 let $acc7322343 = sum($acc6322343, $list322343[6])
4242 if (($size322343 == 7))
4343 then $acc7322343
4444 else {
4545 let $acc8322343 = sum($acc7322343, $list322343[7])
4646 if (($size322343 == 8))
4747 then $acc8322343
4848 else {
4949 let $acc9322343 = sum($acc8322343, $list322343[8])
5050 if (($size322343 == 9))
5151 then $acc9322343
5252 else {
5353 let $acc10322343 = sum($acc9322343, $list322343[9])
5454 if (($size322343 == 10))
5555 then $acc10322343
5656 else {
5757 let $acc11322343 = sum($acc10322343, $list322343[10])
5858 if (($size322343 == 11))
5959 then $acc11322343
6060 else {
6161 let $acc12322343 = sum($acc11322343, $list322343[11])
6262 if (($size322343 == 12))
6363 then $acc12322343
6464 else {
6565 let $acc13322343 = sum($acc12322343, $list322343[12])
6666 if (($size322343 == 13))
6767 then $acc13322343
6868 else {
6969 let $acc14322343 = sum($acc13322343, $list322343[13])
7070 if (($size322343 == 14))
7171 then $acc14322343
7272 else {
7373 let $acc15322343 = sum($acc14322343, $list322343[14])
7474 if (($size322343 == 15))
7575 then $acc15322343
7676 else {
7777 let $acc16322343 = sum($acc15322343, $list322343[15])
7878 if (($size322343 == 16))
7979 then $acc16322343
8080 else {
8181 let $acc17322343 = sum($acc16322343, $list322343[16])
8282 if (($size322343 == 17))
8383 then $acc17322343
8484 else {
8585 let $acc18322343 = sum($acc17322343, $list322343[17])
8686 if (($size322343 == 18))
8787 then $acc18322343
8888 else {
8989 let $acc19322343 = sum($acc18322343, $list322343[18])
9090 throw("List size exceed 18")
9191 }
9292 }
9393 }
9494 }
9595 }
9696 }
9797 }
9898 }
9999 }
100100 }
101101 }
102102 }
103103 }
104104 }
105105 }
106106 }
107107 }
108108 }
109109 }
110110 }
111111
112112
113113 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])]
114114
115115
116116 func getRoundScore (roundCount,currentKey) = match getString(this, ((currentKey + "_round_score_") + toString(roundCount))) {
117117 case a: String =>
118118 a
119119 case _ =>
120120 ""
121121 }
122122
123123
124124 func getRoundCourse (roundCount,currentKey) = match getString(this, ((currentKey + "_round_course_") + toString(roundCount))) {
125125 case a: String =>
126126 a
127127 case _ =>
128128 ""
129129 }
130130
131131
132132 func holeStrokeReceiveFunc (handicapIndex,hdcp) = if ((handicapIndex >= hdcp))
133133 then 1
134134 else 0
135135
136136
137137 func foldFuncHoldHandi (score,par,hdcpList,handicap) = {
138138 func foldFunc (acc,i) = {
139139 let holeStrokeReceive = holeStrokeReceiveFunc(handicap, hdcpList[i])
140140 let netDoubleBogey = ((par[i] + 2) + holeStrokeReceive)
141141 if ((score[i] > netDoubleBogey))
142142 then (acc :+ netDoubleBogey)
143143 else (acc :+ score[i])
144144 }
145145
146146 let $list20482079 = numList
147147 let $size20482079 = size($list20482079)
148148 let $acc020482079 = nil
149149 if (($size20482079 == 0))
150150 then $acc020482079
151151 else {
152152 let $acc120482079 = foldFunc($acc020482079, $list20482079[0])
153153 if (($size20482079 == 1))
154154 then $acc120482079
155155 else {
156156 let $acc220482079 = foldFunc($acc120482079, $list20482079[1])
157157 if (($size20482079 == 2))
158158 then $acc220482079
159159 else {
160160 let $acc320482079 = foldFunc($acc220482079, $list20482079[2])
161161 if (($size20482079 == 3))
162162 then $acc320482079
163163 else {
164164 let $acc420482079 = foldFunc($acc320482079, $list20482079[3])
165165 if (($size20482079 == 4))
166166 then $acc420482079
167167 else {
168168 let $acc520482079 = foldFunc($acc420482079, $list20482079[4])
169169 if (($size20482079 == 5))
170170 then $acc520482079
171171 else {
172172 let $acc620482079 = foldFunc($acc520482079, $list20482079[5])
173173 if (($size20482079 == 6))
174174 then $acc620482079
175175 else {
176176 let $acc720482079 = foldFunc($acc620482079, $list20482079[6])
177177 if (($size20482079 == 7))
178178 then $acc720482079
179179 else {
180180 let $acc820482079 = foldFunc($acc720482079, $list20482079[7])
181181 if (($size20482079 == 8))
182182 then $acc820482079
183183 else {
184184 let $acc920482079 = foldFunc($acc820482079, $list20482079[8])
185185 if (($size20482079 == 9))
186186 then $acc920482079
187187 else {
188188 let $acc1020482079 = foldFunc($acc920482079, $list20482079[9])
189189 if (($size20482079 == 10))
190190 then $acc1020482079
191191 else {
192192 let $acc1120482079 = foldFunc($acc1020482079, $list20482079[10])
193193 if (($size20482079 == 11))
194194 then $acc1120482079
195195 else {
196196 let $acc1220482079 = foldFunc($acc1120482079, $list20482079[11])
197197 if (($size20482079 == 12))
198198 then $acc1220482079
199199 else {
200200 let $acc1320482079 = foldFunc($acc1220482079, $list20482079[12])
201201 if (($size20482079 == 13))
202202 then $acc1320482079
203203 else {
204204 let $acc1420482079 = foldFunc($acc1320482079, $list20482079[13])
205205 if (($size20482079 == 14))
206206 then $acc1420482079
207207 else {
208208 let $acc1520482079 = foldFunc($acc1420482079, $list20482079[14])
209209 if (($size20482079 == 15))
210210 then $acc1520482079
211211 else {
212212 let $acc1620482079 = foldFunc($acc1520482079, $list20482079[15])
213213 if (($size20482079 == 16))
214214 then $acc1620482079
215215 else {
216216 let $acc1720482079 = foldFunc($acc1620482079, $list20482079[16])
217217 if (($size20482079 == 17))
218218 then $acc1720482079
219219 else {
220220 let $acc1820482079 = foldFunc($acc1720482079, $list20482079[17])
221221 if (($size20482079 == 18))
222222 then $acc1820482079
223223 else {
224224 let $acc1920482079 = foldFunc($acc1820482079, $list20482079[18])
225225 throw("List size exceed 18")
226226 }
227227 }
228228 }
229229 }
230230 }
231231 }
232232 }
233233 }
234234 }
235235 }
236236 }
237237 }
238238 }
239239 }
240240 }
241241 }
242242 }
243243 }
244244 }
245245 }
246246
247247
248248 func foldFuncNoHandi (score,par) = {
249249 func foldFunc (acc,i) = if ((score[i] > (par[i] + 5)))
250250 then (acc :+ (par[i] + 5))
251251 else (acc :+ score[i])
252252
253253 let $list23532384 = numList
254254 let $size23532384 = size($list23532384)
255255 let $acc023532384 = nil
256256 if (($size23532384 == 0))
257257 then $acc023532384
258258 else {
259259 let $acc123532384 = foldFunc($acc023532384, $list23532384[0])
260260 if (($size23532384 == 1))
261261 then $acc123532384
262262 else {
263263 let $acc223532384 = foldFunc($acc123532384, $list23532384[1])
264264 if (($size23532384 == 2))
265265 then $acc223532384
266266 else {
267267 let $acc323532384 = foldFunc($acc223532384, $list23532384[2])
268268 if (($size23532384 == 3))
269269 then $acc323532384
270270 else {
271271 let $acc423532384 = foldFunc($acc323532384, $list23532384[3])
272272 if (($size23532384 == 4))
273273 then $acc423532384
274274 else {
275275 let $acc523532384 = foldFunc($acc423532384, $list23532384[4])
276276 if (($size23532384 == 5))
277277 then $acc523532384
278278 else {
279279 let $acc623532384 = foldFunc($acc523532384, $list23532384[5])
280280 if (($size23532384 == 6))
281281 then $acc623532384
282282 else {
283283 let $acc723532384 = foldFunc($acc623532384, $list23532384[6])
284284 if (($size23532384 == 7))
285285 then $acc723532384
286286 else {
287287 let $acc823532384 = foldFunc($acc723532384, $list23532384[7])
288288 if (($size23532384 == 8))
289289 then $acc823532384
290290 else {
291291 let $acc923532384 = foldFunc($acc823532384, $list23532384[8])
292292 if (($size23532384 == 9))
293293 then $acc923532384
294294 else {
295295 let $acc1023532384 = foldFunc($acc923532384, $list23532384[9])
296296 if (($size23532384 == 10))
297297 then $acc1023532384
298298 else {
299299 let $acc1123532384 = foldFunc($acc1023532384, $list23532384[10])
300300 if (($size23532384 == 11))
301301 then $acc1123532384
302302 else {
303303 let $acc1223532384 = foldFunc($acc1123532384, $list23532384[11])
304304 if (($size23532384 == 12))
305305 then $acc1223532384
306306 else {
307307 let $acc1323532384 = foldFunc($acc1223532384, $list23532384[12])
308308 if (($size23532384 == 13))
309309 then $acc1323532384
310310 else {
311311 let $acc1423532384 = foldFunc($acc1323532384, $list23532384[13])
312312 if (($size23532384 == 14))
313313 then $acc1423532384
314314 else {
315315 let $acc1523532384 = foldFunc($acc1423532384, $list23532384[14])
316316 if (($size23532384 == 15))
317317 then $acc1523532384
318318 else {
319319 let $acc1623532384 = foldFunc($acc1523532384, $list23532384[15])
320320 if (($size23532384 == 16))
321321 then $acc1623532384
322322 else {
323323 let $acc1723532384 = foldFunc($acc1623532384, $list23532384[16])
324324 if (($size23532384 == 17))
325325 then $acc1723532384
326326 else {
327327 let $acc1823532384 = foldFunc($acc1723532384, $list23532384[17])
328328 if (($size23532384 == 18))
329329 then $acc1823532384
330330 else {
331331 let $acc1923532384 = foldFunc($acc1823532384, $list23532384[18])
332332 throw("List size exceed 18")
333333 }
334334 }
335335 }
336336 }
337337 }
338338 }
339339 }
340340 }
341341 }
342342 }
343343 }
344344 }
345345 }
346346 }
347347 }
348348 }
349349 }
350350 }
351351 }
352352 }
353353
354354
355355 func scoreAdjustmentCalc (score,par,hdcpList,handicap) = if ((handicap == -1))
356356 then foldFuncNoHandi(score, par)
357357 else foldFuncHoldHandi(score, par, hdcpList, handicap)
358358
359359
360360 func scoreDifferential (scoreList,parList,hdcpList,courseRating,slopeRating,handicap) = {
361361 let scoreAdjustmentList = scoreAdjustmentCalc(scoreList, parList, hdcpList, handicap)
362362 let scoreAdjustedTotal = listSum(scoreAdjustmentList)
363363 let scoreSum = listSum(scoreList)
364364 let pcc = 0
365365 let a = (113 / slopeRating)
366366 let b = ((scoreAdjustedTotal - courseRating) - pcc)
367367 let c = 1
368368 let result = fraction(a, b, c, HALFUP)
369369 result
370370 }
371371
372372
373373 func handicapIndexRequirements (num) = if ((num > 54))
374374 then 54
375375 else if ((0 > num))
376376 then 0
377377 else num
378378
379379
380380 let count = 1
381381
382382 @Callable(i)
383-func issueHandicapIndex (course1Par,course1Hdcp) = {
383+func issueHandicapIndex () = {
384384 let currentKey = toBase58String(i.caller.bytes)
385385 let getHandicapIndex = match getInteger(this, (currentKey + "_handicapIndex")) {
386386 case a: Int =>
387387 a
388388 case _ =>
389389 -1
390390 }
391391 let getRoundCount = match getInteger(this, (currentKey + "_round_count")) {
392392 case a: Int =>
393393 a
394394 case _ =>
395395 -1
396396 }
397- let scoreString = "4_&&_4_&&_4_&&_5_&&_5_&&_5_&&_5_&&_5_&&_5_&&_5_&&_3_&&_5_&&_4_&&_4_&&_5_&&_6_&&_6_&&_6"
397+ let scoreString = "4_&&_6_&&_7_&&_4_&&_7_&&_8_&&_5_&&_8_&&_6_&&_6_&&_7_&&_8_&&_6_&&_6_&&_5_&&_7_&&_7_&&_6"
398398 let roundCourseString = "3N8DnpwTffUEjDXXEsn6btFrbgWC8VZJhTZ_&&_course_1_&&_course_2_&&_green_1_&&_70_&&_110_&&_men_&&_1622640688000_&&_cloudy_&&_11"
399+ let coursePar = "4_&&_4_&&_4_&&_4_&&_3_&&_5_&&_4_&&_5_&&_6_&&_5_&&_3_&&_5_&&_4_&&_4_&&_5_&&_4_&&_4_&&_4"
400+ let courseHdcp = "1_&&_2_&&_3_&&_4_&&_5_&&_6_&&_7_&&_8_&&_9_&&_10_&&_11_&&_12_&&_13_&&_14_&&_15_&&_16_&&_17_&&_18"
399401 let score1 = parseIntList(split(scoreString, "_&&_"))
400402 let score2 = parseIntList(split(scoreString, "_&&_"))
401403 let score3 = parseIntList(split(scoreString, "_&&_"))
402404 let roundCourse1 = split(roundCourseString, "_&&_")
403405 let roundCourse2 = split(roundCourseString, "_&&_")
404406 let roundCourse3 = split(roundCourseString, "_&&_")
405- let scoreDifferential1 = scoreDifferential(score1, course1Par, course1Hdcp, parseIntValue(roundCourse1[5]), parseIntValue(roundCourse1[6]), getHandicapIndex)
406- let scoreDifferential2 = scoreDifferential(score1, course1Par, course1Hdcp, parseIntValue(roundCourse1[5]), parseIntValue(roundCourse1[6]), getHandicapIndex)
407- let scoreDifferential3 = scoreDifferential(score1, course1Par, course1Hdcp, parseIntValue(roundCourse1[5]), parseIntValue(roundCourse1[6]), getHandicapIndex)
407+ let coursePar1 = parseIntList(split(coursePar, "_&&_"))
408+ let coursePar2 = parseIntList(split(coursePar, "_&&_"))
409+ let coursePar3 = parseIntList(split(coursePar, "_&&_"))
410+ let courseHdcp1 = parseIntList(split(courseHdcp, "_&&_"))
411+ let courseHdcp2 = parseIntList(split(courseHdcp, "_&&_"))
412+ let courseHdcp3 = parseIntList(split(courseHdcp, "_&&_"))
413+ let scoreDifferential1 = scoreDifferential(score1, coursePar1, courseHdcp1, parseIntValue(roundCourse1[5]), parseIntValue(roundCourse1[6]), getHandicapIndex)
414+ let scoreDifferential2 = scoreDifferential(score2, coursePar2, courseHdcp2, parseIntValue(roundCourse2[5]), parseIntValue(roundCourse2[6]), getHandicapIndex)
415+ let scoreDifferential3 = scoreDifferential(score3, coursePar3, courseHdcp3, parseIntValue(roundCourse3[5]), parseIntValue(roundCourse3[6]), getHandicapIndex)
408416 let scoreDifferentialLowest = max([scoreDifferential1, scoreDifferential2, scoreDifferential3])
409417 let result = (scoreDifferentialLowest - 2)
410418 let handicapIndex = handicapIndexRequirements(result)
411419 [Reissue(handiId, handicapIndex, false), IntegerEntry((currentKey + "_handicapIndex"), handicapIndex), ScriptTransfer(i.caller, handicapIndex, handiId)]
412420 }
413421
414422
415423 @Verifier(tx)
416424 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
417425

github/deemru/w8io/026f985 
66.48 ms