tx · 3vxi4Ky44hv8kPd4utdt4GLx6aVhS4Nndxr3nayXsbgk 3Mrxey5agrfiXBaaSkYzSd8ouZCUZ3zK3kE: -0.05000000 Waves 2021.08.29 16:39 [1679719] smart account 3Mrxey5agrfiXBaaSkYzSd8ouZCUZ3zK3kE > SELF 0.00000000 Waves
{ "type": 13, "id": "3vxi4Ky44hv8kPd4utdt4GLx6aVhS4Nndxr3nayXsbgk", "fee": 5000000, "feeAssetId": null, "timestamp": 1630244372129, "version": 2, "chainId": 84, "sender": "3Mrxey5agrfiXBaaSkYzSd8ouZCUZ3zK3kE", "senderPublicKey": "8nyGkhzP1cnDe7zwt1dN73wyiTqZ1U5kmjP7ijcMoBGL", "proofs": [ "4dwWWgxY335F4cf5qiWTwaAj4TsC2r2z7wjDx9qnacoF8Z6uwqgaJQHsmH3pPP11x4BmH68BSWMiBq6feXTPeRQH" ], "script": "base64:AAIFAAAAAAAAACMIAhIGCgQBAQEBEgMKAQESAwoBARIAEgMKAQgSBAoCCAgSAAAAADgAAAAAEGluY3ViYXRvckFkZHJlc3MBAAAAGgFULtWM0cQB59XpAM7NQCSesRQHNOlezyuqAAAAAA5icmVlZGVyQWRkcmVzcwEAAAAaAVSF5nsrInT2j7D/pShyLfVcPKxPpUuOW44AAAAAC2VnZ3NBc3NldElkAQAAACAlAmXM9wRoyL4BWZF45VhaOGYUE61KTEq3/gUXSBcWgwAAAAAIbWFrZXJGZWUAAAAAAAAAAAEAAAAACHRha2VyRmVlAAAAAAAAAAABAAAAAAVTTE9UUwAAAAAAAAAACgAAAAAHV0FJVElORwAAAAAAAAAABQAAAAAMc3RlcER1cmF0aW9uAAAAAAAAAAADAQAAAA10cnlHZXRJbnRlZ2VyAAAAAQAAAANrZXkEAAAAByRtYXRjaDAJAAQaAAAAAgUAAAAEdGhpcwUAAAADa2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAANJbnQEAAAAAWIFAAAAByRtYXRjaDAFAAAAAWIAAAAAAAAAAAABAAAAD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AAAADbmlsCQAAAgAAAAECAAAAIVlvdSBsb3NlIGFuZCBkb24ndCBoYXZlIGFueSBwcml6ZQAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5BJhYKw==", "height": 1679719, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: DErxq6oDxGdmY9y9JAQYQWmpuv5q8cqUvdtrQysG3Shc Next: GTVY1wdKXrzQLJ7wLSkRxgofw8qWmZsvoPDxTUadZHVe Diff:
Old | New | Differences | |
---|---|---|---|
118 | 118 | func getAssetIdKey (gameId,playerRole,rangePosition) = (((((("game" + toString(gameId)) + "_") + playerRole) + "_") + rangePosition) + "AssetId") | |
119 | 119 | ||
120 | 120 | ||
121 | - | func getAssetId (gameId,playerRole,rangePosition) = | |
121 | + | func getAssetId (gameId,playerRole,rangePosition) = tryGetString(getAssetIdKey(gameId, playerRole, rangePosition)) | |
122 | 122 | ||
123 | 123 | ||
124 | 124 | func getCommitKey (gameId,playerRole) = (((("game" + toString(gameId)) + "_") + playerRole) + "_commit") | |
194 | 194 | func getGen (assetName) = { | |
195 | 195 | let genotype = split(dropRight(drop(assetName, 5), 3), "") | |
196 | 196 | (((((((getAmountOrClear((toString({ | |
197 | - | let $ | |
198 | - | let $ | |
199 | - | let $ | |
200 | - | if (($ | |
201 | - | then $ | |
197 | + | let $list55975628 = genotype | |
198 | + | let $size55975628 = size($list55975628) | |
199 | + | let $acc055975628 = 0 | |
200 | + | if (($size55975628 == 0)) | |
201 | + | then $acc055975628 | |
202 | 202 | else { | |
203 | - | let $ | |
204 | - | if (($ | |
205 | - | then $ | |
203 | + | let $acc155975628 = isSymbolA($acc055975628, $list55975628[0]) | |
204 | + | if (($size55975628 == 1)) | |
205 | + | then $acc155975628 | |
206 | 206 | else { | |
207 | - | let $ | |
208 | - | if (($ | |
209 | - | then $ | |
207 | + | let $acc255975628 = isSymbolA($acc155975628, $list55975628[1]) | |
208 | + | if (($size55975628 == 2)) | |
209 | + | then $acc255975628 | |
210 | 210 | else { | |
211 | - | let $ | |
212 | - | if (($ | |
213 | - | then $ | |
211 | + | let $acc355975628 = isSymbolA($acc255975628, $list55975628[2]) | |
212 | + | if (($size55975628 == 3)) | |
213 | + | then $acc355975628 | |
214 | 214 | else { | |
215 | - | let $ | |
216 | - | if (($ | |
217 | - | then $ | |
215 | + | let $acc455975628 = isSymbolA($acc355975628, $list55975628[3]) | |
216 | + | if (($size55975628 == 4)) | |
217 | + | then $acc455975628 | |
218 | 218 | else { | |
219 | - | let $ | |
220 | - | if (($ | |
221 | - | then $ | |
219 | + | let $acc555975628 = isSymbolA($acc455975628, $list55975628[4]) | |
220 | + | if (($size55975628 == 5)) | |
221 | + | then $acc555975628 | |
222 | 222 | else { | |
223 | - | let $ | |
224 | - | if (($ | |
225 | - | then $ | |
223 | + | let $acc655975628 = isSymbolA($acc555975628, $list55975628[5]) | |
224 | + | if (($size55975628 == 6)) | |
225 | + | then $acc655975628 | |
226 | 226 | else { | |
227 | - | let $ | |
228 | - | if (($ | |
229 | - | then $ | |
227 | + | let $acc755975628 = isSymbolA($acc655975628, $list55975628[6]) | |
228 | + | if (($size55975628 == 7)) | |
229 | + | then $acc755975628 | |
230 | 230 | else { | |
231 | - | let $ | |
232 | - | if (($ | |
233 | - | then $ | |
231 | + | let $acc855975628 = isSymbolA($acc755975628, $list55975628[7]) | |
232 | + | if (($size55975628 == 8)) | |
233 | + | then $acc855975628 | |
234 | 234 | else { | |
235 | - | let $ | |
235 | + | let $acc955975628 = isSymbolA($acc855975628, $list55975628[8]) | |
236 | 236 | throw("List size exceed 8") | |
237 | 237 | } | |
238 | 238 | } | |
244 | 244 | } | |
245 | 245 | } | |
246 | 246 | }) + "A")) + getAmountOrClear((toString({ | |
247 | - | let $ | |
248 | - | let $ | |
249 | - | let $ | |
250 | - | if (($ | |
251 | - | then $ | |
247 | + | let $list56655696 = genotype | |
248 | + | let $size56655696 = size($list56655696) | |
249 | + | let $acc056655696 = 0 | |
250 | + | if (($size56655696 == 0)) | |
251 | + | then $acc056655696 | |
252 | 252 | else { | |
253 | - | let $ | |
254 | - | if (($ | |
255 | - | then $ | |
253 | + | let $acc156655696 = isSymbolB($acc056655696, $list56655696[0]) | |
254 | + | if (($size56655696 == 1)) | |
255 | + | then $acc156655696 | |
256 | 256 | else { | |
257 | - | let $ | |
258 | - | if (($ | |
259 | - | then $ | |
257 | + | let $acc256655696 = isSymbolB($acc156655696, $list56655696[1]) | |
258 | + | if (($size56655696 == 2)) | |
259 | + | then $acc256655696 | |
260 | 260 | else { | |
261 | - | let $ | |
262 | - | if (($ | |
263 | - | then $ | |
261 | + | let $acc356655696 = isSymbolB($acc256655696, $list56655696[2]) | |
262 | + | if (($size56655696 == 3)) | |
263 | + | then $acc356655696 | |
264 | 264 | else { | |
265 | - | let $ | |
266 | - | if (($ | |
267 | - | then $ | |
265 | + | let $acc456655696 = isSymbolB($acc356655696, $list56655696[3]) | |
266 | + | if (($size56655696 == 4)) | |
267 | + | then $acc456655696 | |
268 | 268 | else { | |
269 | - | let $ | |
270 | - | if (($ | |
271 | - | then $ | |
269 | + | let $acc556655696 = isSymbolB($acc456655696, $list56655696[4]) | |
270 | + | if (($size56655696 == 5)) | |
271 | + | then $acc556655696 | |
272 | 272 | else { | |
273 | - | let $ | |
274 | - | if (($ | |
275 | - | then $ | |
273 | + | let $acc656655696 = isSymbolB($acc556655696, $list56655696[5]) | |
274 | + | if (($size56655696 == 6)) | |
275 | + | then $acc656655696 | |
276 | 276 | else { | |
277 | - | let $ | |
278 | - | if (($ | |
279 | - | then $ | |
277 | + | let $acc756655696 = isSymbolB($acc656655696, $list56655696[6]) | |
278 | + | if (($size56655696 == 7)) | |
279 | + | then $acc756655696 | |
280 | 280 | else { | |
281 | - | let $ | |
282 | - | if (($ | |
283 | - | then $ | |
281 | + | let $acc856655696 = isSymbolB($acc756655696, $list56655696[7]) | |
282 | + | if (($size56655696 == 8)) | |
283 | + | then $acc856655696 | |
284 | 284 | else { | |
285 | - | let $ | |
285 | + | let $acc956655696 = isSymbolB($acc856655696, $list56655696[8]) | |
286 | 286 | throw("List size exceed 8") | |
287 | 287 | } | |
288 | 288 | } | |
294 | 294 | } | |
295 | 295 | } | |
296 | 296 | }) + "B"))) + getAmountOrClear((toString({ | |
297 | - | let $ | |
298 | - | let $ | |
299 | - | let $ | |
300 | - | if (($ | |
301 | - | then $ | |
297 | + | let $list57335764 = genotype | |
298 | + | let $size57335764 = size($list57335764) | |
299 | + | let $acc057335764 = 0 | |
300 | + | if (($size57335764 == 0)) | |
301 | + | then $acc057335764 | |
302 | 302 | else { | |
303 | - | let $ | |
304 | - | if (($ | |
305 | - | then $ | |
303 | + | let $acc157335764 = isSymbolC($acc057335764, $list57335764[0]) | |
304 | + | if (($size57335764 == 1)) | |
305 | + | then $acc157335764 | |
306 | 306 | else { | |
307 | - | let $ | |
308 | - | if (($ | |
309 | - | then $ | |
307 | + | let $acc257335764 = isSymbolC($acc157335764, $list57335764[1]) | |
308 | + | if (($size57335764 == 2)) | |
309 | + | then $acc257335764 | |
310 | 310 | else { | |
311 | - | let $ | |
312 | - | if (($ | |
313 | - | then $ | |
311 | + | let $acc357335764 = isSymbolC($acc257335764, $list57335764[2]) | |
312 | + | if (($size57335764 == 3)) | |
313 | + | then $acc357335764 | |
314 | 314 | else { | |
315 | - | let $ | |
316 | - | if (($ | |
317 | - | then $ | |
315 | + | let $acc457335764 = isSymbolC($acc357335764, $list57335764[3]) | |
316 | + | if (($size57335764 == 4)) | |
317 | + | then $acc457335764 | |
318 | 318 | else { | |
319 | - | let $ | |
320 | - | if (($ | |
321 | - | then $ | |
319 | + | let $acc557335764 = isSymbolC($acc457335764, $list57335764[4]) | |
320 | + | if (($size57335764 == 5)) | |
321 | + | then $acc557335764 | |
322 | 322 | else { | |
323 | - | let $ | |
324 | - | if (($ | |
325 | - | then $ | |
323 | + | let $acc657335764 = isSymbolC($acc557335764, $list57335764[5]) | |
324 | + | if (($size57335764 == 6)) | |
325 | + | then $acc657335764 | |
326 | 326 | else { | |
327 | - | let $ | |
328 | - | if (($ | |
329 | - | then $ | |
327 | + | let $acc757335764 = isSymbolC($acc657335764, $list57335764[6]) | |
328 | + | if (($size57335764 == 7)) | |
329 | + | then $acc757335764 | |
330 | 330 | else { | |
331 | - | let $ | |
332 | - | if (($ | |
333 | - | then $ | |
331 | + | let $acc857335764 = isSymbolC($acc757335764, $list57335764[7]) | |
332 | + | if (($size57335764 == 8)) | |
333 | + | then $acc857335764 | |
334 | 334 | else { | |
335 | - | let $ | |
335 | + | let $acc957335764 = isSymbolC($acc857335764, $list57335764[8]) | |
336 | 336 | throw("List size exceed 8") | |
337 | 337 | } | |
338 | 338 | } | |
344 | 344 | } | |
345 | 345 | } | |
346 | 346 | }) + "C"))) + getAmountOrClear((toString({ | |
347 | - | let $ | |
348 | - | let $ | |
349 | - | let $ | |
350 | - | if (($ | |
351 | - | then $ | |
347 | + | let $list58035834 = genotype | |
348 | + | let $size58035834 = size($list58035834) | |
349 | + | let $acc058035834 = 0 | |
350 | + | if (($size58035834 == 0)) | |
351 | + | then $acc058035834 | |
352 | 352 | else { | |
353 | - | let $ | |
354 | - | if (($ | |
355 | - | then $ | |
353 | + | let $acc158035834 = isSymbolD($acc058035834, $list58035834[0]) | |
354 | + | if (($size58035834 == 1)) | |
355 | + | then $acc158035834 | |
356 | 356 | else { | |
357 | - | let $ | |
358 | - | if (($ | |
359 | - | then $ | |
357 | + | let $acc258035834 = isSymbolD($acc158035834, $list58035834[1]) | |
358 | + | if (($size58035834 == 2)) | |
359 | + | then $acc258035834 | |
360 | 360 | else { | |
361 | - | let $ | |
362 | - | if (($ | |
363 | - | then $ | |
361 | + | let $acc358035834 = isSymbolD($acc258035834, $list58035834[2]) | |
362 | + | if (($size58035834 == 3)) | |
363 | + | then $acc358035834 | |
364 | 364 | else { | |
365 | - | let $ | |
366 | - | if (($ | |
367 | - | then $ | |
365 | + | let $acc458035834 = isSymbolD($acc358035834, $list58035834[3]) | |
366 | + | if (($size58035834 == 4)) | |
367 | + | then $acc458035834 | |
368 | 368 | else { | |
369 | - | let $ | |
370 | - | if (($ | |
371 | - | then $ | |
369 | + | let $acc558035834 = isSymbolD($acc458035834, $list58035834[4]) | |
370 | + | if (($size58035834 == 5)) | |
371 | + | then $acc558035834 | |
372 | 372 | else { | |
373 | - | let $ | |
374 | - | if (($ | |
375 | - | then $ | |
373 | + | let $acc658035834 = isSymbolD($acc558035834, $list58035834[5]) | |
374 | + | if (($size58035834 == 6)) | |
375 | + | then $acc658035834 | |
376 | 376 | else { | |
377 | - | let $ | |
378 | - | if (($ | |
379 | - | then $ | |
377 | + | let $acc758035834 = isSymbolD($acc658035834, $list58035834[6]) | |
378 | + | if (($size58035834 == 7)) | |
379 | + | then $acc758035834 | |
380 | 380 | else { | |
381 | - | let $ | |
382 | - | if (($ | |
383 | - | then $ | |
381 | + | let $acc858035834 = isSymbolD($acc758035834, $list58035834[7]) | |
382 | + | if (($size58035834 == 8)) | |
383 | + | then $acc858035834 | |
384 | 384 | else { | |
385 | - | let $ | |
385 | + | let $acc958035834 = isSymbolD($acc858035834, $list58035834[8]) | |
386 | 386 | throw("List size exceed 8") | |
387 | 387 | } | |
388 | 388 | } | |
394 | 394 | } | |
395 | 395 | } | |
396 | 396 | }) + "D"))) + getAmountOrClear((toString({ | |
397 | - | let $ | |
398 | - | let $ | |
399 | - | let $ | |
400 | - | if (($ | |
401 | - | then $ | |
397 | + | let $list58715902 = genotype | |
398 | + | let $size58715902 = size($list58715902) | |
399 | + | let $acc058715902 = 0 | |
400 | + | if (($size58715902 == 0)) | |
401 | + | then $acc058715902 | |
402 | 402 | else { | |
403 | - | let $ | |
404 | - | if (($ | |
405 | - | then $ | |
403 | + | let $acc158715902 = isSymbolE($acc058715902, $list58715902[0]) | |
404 | + | if (($size58715902 == 1)) | |
405 | + | then $acc158715902 | |
406 | 406 | else { | |
407 | - | let $ | |
408 | - | if (($ | |
409 | - | then $ | |
407 | + | let $acc258715902 = isSymbolE($acc158715902, $list58715902[1]) | |
408 | + | if (($size58715902 == 2)) | |
409 | + | then $acc258715902 | |
410 | 410 | else { | |
411 | - | let $ | |
412 | - | if (($ | |
413 | - | then $ | |
411 | + | let $acc358715902 = isSymbolE($acc258715902, $list58715902[2]) | |
412 | + | if (($size58715902 == 3)) | |
413 | + | then $acc358715902 | |
414 | 414 | else { | |
415 | - | let $ | |
416 | - | if (($ | |
417 | - | then $ | |
415 | + | let $acc458715902 = isSymbolE($acc358715902, $list58715902[3]) | |
416 | + | if (($size58715902 == 4)) | |
417 | + | then $acc458715902 | |
418 | 418 | else { | |
419 | - | let $ | |
420 | - | if (($ | |
421 | - | then $ | |
419 | + | let $acc558715902 = isSymbolE($acc458715902, $list58715902[4]) | |
420 | + | if (($size58715902 == 5)) | |
421 | + | then $acc558715902 | |
422 | 422 | else { | |
423 | - | let $ | |
424 | - | if (($ | |
425 | - | then $ | |
423 | + | let $acc658715902 = isSymbolE($acc558715902, $list58715902[5]) | |
424 | + | if (($size58715902 == 6)) | |
425 | + | then $acc658715902 | |
426 | 426 | else { | |
427 | - | let $ | |
428 | - | if (($ | |
429 | - | then $ | |
427 | + | let $acc758715902 = isSymbolE($acc658715902, $list58715902[6]) | |
428 | + | if (($size58715902 == 7)) | |
429 | + | then $acc758715902 | |
430 | 430 | else { | |
431 | - | let $ | |
432 | - | if (($ | |
433 | - | then $ | |
431 | + | let $acc858715902 = isSymbolE($acc758715902, $list58715902[7]) | |
432 | + | if (($size58715902 == 8)) | |
433 | + | then $acc858715902 | |
434 | 434 | else { | |
435 | - | let $ | |
435 | + | let $acc958715902 = isSymbolE($acc858715902, $list58715902[8]) | |
436 | 436 | throw("List size exceed 8") | |
437 | 437 | } | |
438 | 438 | } | |
444 | 444 | } | |
445 | 445 | } | |
446 | 446 | }) + "E"))) + getAmountOrClear((toString({ | |
447 | - | let $ | |
448 | - | let $ | |
449 | - | let $ | |
450 | - | if (($ | |
451 | - | then $ | |
447 | + | let $list59395970 = genotype | |
448 | + | let $size59395970 = size($list59395970) | |
449 | + | let $acc059395970 = 0 | |
450 | + | if (($size59395970 == 0)) | |
451 | + | then $acc059395970 | |
452 | 452 | else { | |
453 | - | let $ | |
454 | - | if (($ | |
455 | - | then $ | |
453 | + | let $acc159395970 = isSymbolF($acc059395970, $list59395970[0]) | |
454 | + | if (($size59395970 == 1)) | |
455 | + | then $acc159395970 | |
456 | 456 | else { | |
457 | - | let $ | |
458 | - | if (($ | |
459 | - | then $ | |
457 | + | let $acc259395970 = isSymbolF($acc159395970, $list59395970[1]) | |
458 | + | if (($size59395970 == 2)) | |
459 | + | then $acc259395970 | |
460 | 460 | else { | |
461 | - | let $ | |
462 | - | if (($ | |
463 | - | then $ | |
461 | + | let $acc359395970 = isSymbolF($acc259395970, $list59395970[2]) | |
462 | + | if (($size59395970 == 3)) | |
463 | + | then $acc359395970 | |
464 | 464 | else { | |
465 | - | let $ | |
466 | - | if (($ | |
467 | - | then $ | |
465 | + | let $acc459395970 = isSymbolF($acc359395970, $list59395970[3]) | |
466 | + | if (($size59395970 == 4)) | |
467 | + | then $acc459395970 | |
468 | 468 | else { | |
469 | - | let $ | |
470 | - | if (($ | |
471 | - | then $ | |
469 | + | let $acc559395970 = isSymbolF($acc459395970, $list59395970[4]) | |
470 | + | if (($size59395970 == 5)) | |
471 | + | then $acc559395970 | |
472 | 472 | else { | |
473 | - | let $ | |
474 | - | if (($ | |
475 | - | then $ | |
473 | + | let $acc659395970 = isSymbolF($acc559395970, $list59395970[5]) | |
474 | + | if (($size59395970 == 6)) | |
475 | + | then $acc659395970 | |
476 | 476 | else { | |
477 | - | let $ | |
478 | - | if (($ | |
479 | - | then $ | |
477 | + | let $acc759395970 = isSymbolF($acc659395970, $list59395970[6]) | |
478 | + | if (($size59395970 == 7)) | |
479 | + | then $acc759395970 | |
480 | 480 | else { | |
481 | - | let $ | |
482 | - | if (($ | |
483 | - | then $ | |
481 | + | let $acc859395970 = isSymbolF($acc759395970, $list59395970[7]) | |
482 | + | if (($size59395970 == 8)) | |
483 | + | then $acc859395970 | |
484 | 484 | else { | |
485 | - | let $ | |
485 | + | let $acc959395970 = isSymbolF($acc859395970, $list59395970[8]) | |
486 | 486 | throw("List size exceed 8") | |
487 | 487 | } | |
488 | 488 | } | |
494 | 494 | } | |
495 | 495 | } | |
496 | 496 | }) + "F"))) + getAmountOrClear((toString({ | |
497 | - | let $ | |
498 | - | let $ | |
499 | - | let $ | |
500 | - | if (($ | |
501 | - | then $ | |
497 | + | let $list60096040 = genotype | |
498 | + | let $size60096040 = size($list60096040) | |
499 | + | let $acc060096040 = 0 | |
500 | + | if (($size60096040 == 0)) | |
501 | + | then $acc060096040 | |
502 | 502 | else { | |
503 | - | let $ | |
504 | - | if (($ | |
505 | - | then $ | |
503 | + | let $acc160096040 = isSymbolG($acc060096040, $list60096040[0]) | |
504 | + | if (($size60096040 == 1)) | |
505 | + | then $acc160096040 | |
506 | 506 | else { | |
507 | - | let $ | |
508 | - | if (($ | |
509 | - | then $ | |
507 | + | let $acc260096040 = isSymbolG($acc160096040, $list60096040[1]) | |
508 | + | if (($size60096040 == 2)) | |
509 | + | then $acc260096040 | |
510 | 510 | else { | |
511 | - | let $ | |
512 | - | if (($ | |
513 | - | then $ | |
511 | + | let $acc360096040 = isSymbolG($acc260096040, $list60096040[2]) | |
512 | + | if (($size60096040 == 3)) | |
513 | + | then $acc360096040 | |
514 | 514 | else { | |
515 | - | let $ | |
516 | - | if (($ | |
517 | - | then $ | |
515 | + | let $acc460096040 = isSymbolG($acc360096040, $list60096040[3]) | |
516 | + | if (($size60096040 == 4)) | |
517 | + | then $acc460096040 | |
518 | 518 | else { | |
519 | - | let $ | |
520 | - | if (($ | |
521 | - | then $ | |
519 | + | let $acc560096040 = isSymbolG($acc460096040, $list60096040[4]) | |
520 | + | if (($size60096040 == 5)) | |
521 | + | then $acc560096040 | |
522 | 522 | else { | |
523 | - | let $ | |
524 | - | if (($ | |
525 | - | then $ | |
523 | + | let $acc660096040 = isSymbolG($acc560096040, $list60096040[5]) | |
524 | + | if (($size60096040 == 6)) | |
525 | + | then $acc660096040 | |
526 | 526 | else { | |
527 | - | let $ | |
528 | - | if (($ | |
529 | - | then $ | |
527 | + | let $acc760096040 = isSymbolG($acc660096040, $list60096040[6]) | |
528 | + | if (($size60096040 == 7)) | |
529 | + | then $acc760096040 | |
530 | 530 | else { | |
531 | - | let $ | |
532 | - | if (($ | |
533 | - | then $ | |
531 | + | let $acc860096040 = isSymbolG($acc760096040, $list60096040[7]) | |
532 | + | if (($size60096040 == 8)) | |
533 | + | then $acc860096040 | |
534 | 534 | else { | |
535 | - | let $ | |
535 | + | let $acc960096040 = isSymbolG($acc860096040, $list60096040[8]) | |
536 | 536 | throw("List size exceed 8") | |
537 | 537 | } | |
538 | 538 | } | |
544 | 544 | } | |
545 | 545 | } | |
546 | 546 | }) + "G"))) + getAmountOrClear((toString({ | |
547 | - | let $ | |
548 | - | let $ | |
549 | - | let $ | |
550 | - | if (($ | |
551 | - | then $ | |
547 | + | let $list60776108 = genotype | |
548 | + | let $size60776108 = size($list60776108) | |
549 | + | let $acc060776108 = 0 | |
550 | + | if (($size60776108 == 0)) | |
551 | + | then $acc060776108 | |
552 | 552 | else { | |
553 | - | let $ | |
554 | - | if (($ | |
555 | - | then $ | |
553 | + | let $acc160776108 = isSymbolH($acc060776108, $list60776108[0]) | |
554 | + | if (($size60776108 == 1)) | |
555 | + | then $acc160776108 | |
556 | 556 | else { | |
557 | - | let $ | |
558 | - | if (($ | |
559 | - | then $ | |
557 | + | let $acc260776108 = isSymbolH($acc160776108, $list60776108[1]) | |
558 | + | if (($size60776108 == 2)) | |
559 | + | then $acc260776108 | |
560 | 560 | else { | |
561 | - | let $ | |
562 | - | if (($ | |
563 | - | then $ | |
561 | + | let $acc360776108 = isSymbolH($acc260776108, $list60776108[2]) | |
562 | + | if (($size60776108 == 3)) | |
563 | + | then $acc360776108 | |
564 | 564 | else { | |
565 | - | let $ | |
566 | - | if (($ | |
567 | - | then $ | |
565 | + | let $acc460776108 = isSymbolH($acc360776108, $list60776108[3]) | |
566 | + | if (($size60776108 == 4)) | |
567 | + | then $acc460776108 | |
568 | 568 | else { | |
569 | - | let $ | |
570 | - | if (($ | |
571 | - | then $ | |
569 | + | let $acc560776108 = isSymbolH($acc460776108, $list60776108[4]) | |
570 | + | if (($size60776108 == 5)) | |
571 | + | then $acc560776108 | |
572 | 572 | else { | |
573 | - | let $ | |
574 | - | if (($ | |
575 | - | then $ | |
573 | + | let $acc660776108 = isSymbolH($acc560776108, $list60776108[5]) | |
574 | + | if (($size60776108 == 6)) | |
575 | + | then $acc660776108 | |
576 | 576 | else { | |
577 | - | let $ | |
578 | - | if (($ | |
579 | - | then $ | |
577 | + | let $acc760776108 = isSymbolH($acc660776108, $list60776108[6]) | |
578 | + | if (($size60776108 == 7)) | |
579 | + | then $acc760776108 | |
580 | 580 | else { | |
581 | - | let $ | |
582 | - | if (($ | |
583 | - | then $ | |
581 | + | let $acc860776108 = isSymbolH($acc760776108, $list60776108[7]) | |
582 | + | if (($size60776108 == 8)) | |
583 | + | then $acc860776108 | |
584 | 584 | else { | |
585 | - | let $ | |
585 | + | let $acc960776108 = isSymbolH($acc860776108, $list60776108[8]) | |
586 | 586 | throw("List size exceed 8") | |
587 | 587 | } | |
588 | 588 | } |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let incubatorAddress = base58'3MtBigTsaeevrcJAEwVcr4quwkqcrtnjoAh' | |
5 | 5 | ||
6 | 6 | let breederAddress = base58'3N285kYUMxPi6oZsdWrxhSY34dJHyu4kRN5' | |
7 | 7 | ||
8 | 8 | let eggsAssetId = base58'3VUCuh9dWqe54SdzzNUkXhFXpc8UQynnJVh42B7MjNzN' | |
9 | 9 | ||
10 | 10 | let makerFee = 1 | |
11 | 11 | ||
12 | 12 | let takerFee = 1 | |
13 | 13 | ||
14 | 14 | let SLOTS = 10 | |
15 | 15 | ||
16 | 16 | let WAITING = 5 | |
17 | 17 | ||
18 | 18 | let stepDuration = 3 | |
19 | 19 | ||
20 | 20 | func tryGetInteger (key) = match getInteger(this, key) { | |
21 | 21 | case b: Int => | |
22 | 22 | b | |
23 | 23 | case _ => | |
24 | 24 | 0 | |
25 | 25 | } | |
26 | 26 | ||
27 | 27 | ||
28 | 28 | func tryGetString (key) = match getString(this, key) { | |
29 | 29 | case a: String => | |
30 | 30 | a | |
31 | 31 | case _ => | |
32 | 32 | "" | |
33 | 33 | } | |
34 | 34 | ||
35 | 35 | ||
36 | 36 | func tryGetBoolean (key) = match getBoolean(this, key) { | |
37 | 37 | case b: Boolean => | |
38 | 38 | b | |
39 | 39 | case _ => | |
40 | 40 | false | |
41 | 41 | } | |
42 | 42 | ||
43 | 43 | ||
44 | 44 | func getNextGameId () = { | |
45 | 45 | let nextId = tryGetInteger("nextGameId") | |
46 | 46 | if ((nextId == 0)) | |
47 | 47 | then 1 | |
48 | 48 | else nextId | |
49 | 49 | } | |
50 | 50 | ||
51 | 51 | ||
52 | 52 | func getPlayerCurrentGameKey (playerAddress) = ("currentGame_" + playerAddress) | |
53 | 53 | ||
54 | 54 | ||
55 | 55 | func getPlayerCurrentGame (playerAddress) = tryGetInteger(getPlayerCurrentGameKey(playerAddress)) | |
56 | 56 | ||
57 | 57 | ||
58 | 58 | func getSlotKey (slot) = ("slot" + toString(slot)) | |
59 | 59 | ||
60 | 60 | ||
61 | 61 | func getSlot (slot) = tryGetInteger(getSlotKey(slot)) | |
62 | 62 | ||
63 | 63 | ||
64 | 64 | func getPlayerRoleKey (gameId,playerAddress) = ((("game" + toString(gameId)) + "_") + playerAddress) | |
65 | 65 | ||
66 | 66 | ||
67 | 67 | func getPlayerRole (gameId,playerAddress) = tryGetString(getPlayerRoleKey(gameId, playerAddress)) | |
68 | 68 | ||
69 | 69 | ||
70 | 70 | func getMakerKey (gameId) = (("game" + toString(gameId)) + "_maker") | |
71 | 71 | ||
72 | 72 | ||
73 | 73 | func getMaker (gameId) = tryGetString(getMakerKey(gameId)) | |
74 | 74 | ||
75 | 75 | ||
76 | 76 | func getTakerKey (gameId) = (("game" + toString(gameId)) + "_taker") | |
77 | 77 | ||
78 | 78 | ||
79 | 79 | func getTaker (gameId) = tryGetString(getTakerKey(gameId)) | |
80 | 80 | ||
81 | 81 | ||
82 | 82 | func getBetEggsKey (gameId) = (("game" + toString(gameId)) + "_betEggs") | |
83 | 83 | ||
84 | 84 | ||
85 | 85 | func getBetEggs (gameId) = tryGetInteger(getBetEggsKey(gameId)) | |
86 | 86 | ||
87 | 87 | ||
88 | 88 | func getWaitingExpirationHeightKey (gameId) = (("game" + toString(gameId)) + "_waitingExpirationHeight") | |
89 | 89 | ||
90 | 90 | ||
91 | 91 | func getWaitingExpirationHeight (gameId) = tryGetInteger(getWaitingExpirationHeightKey(gameId)) | |
92 | 92 | ||
93 | 93 | ||
94 | 94 | func getExpirationHeightKey (gameId) = (("game" + toString(gameId)) + "_expirationHeight") | |
95 | 95 | ||
96 | 96 | ||
97 | 97 | func getExpirationHeight (gameId) = tryGetInteger(getExpirationHeightKey(gameId)) | |
98 | 98 | ||
99 | 99 | ||
100 | 100 | func getRarityRangeKey (gameId,rangePosition) = ((("game" + toString(gameId)) + "_rarityRange_") + rangePosition) | |
101 | 101 | ||
102 | 102 | ||
103 | 103 | func getRarityRange (gameId,rangePosition) = tryGetInteger(getRarityRangeKey(gameId, rangePosition)) | |
104 | 104 | ||
105 | 105 | ||
106 | 106 | func getStepKey (gameId) = (("game" + toString(gameId)) + "_step") | |
107 | 107 | ||
108 | 108 | ||
109 | 109 | func getStep (gameId) = tryGetInteger(getStepKey(gameId)) | |
110 | 110 | ||
111 | 111 | ||
112 | 112 | func getRarityKey (gameId,playerRole,rangePosition) = (((((("game" + toString(gameId)) + "_") + playerRole) + "_") + rangePosition) + "Rarity") | |
113 | 113 | ||
114 | 114 | ||
115 | 115 | func getRarity (gameId,playerRole,rangePosition) = tryGetInteger(getRarityKey(gameId, playerRole, rangePosition)) | |
116 | 116 | ||
117 | 117 | ||
118 | 118 | func getAssetIdKey (gameId,playerRole,rangePosition) = (((((("game" + toString(gameId)) + "_") + playerRole) + "_") + rangePosition) + "AssetId") | |
119 | 119 | ||
120 | 120 | ||
121 | - | func getAssetId (gameId,playerRole,rangePosition) = | |
121 | + | func getAssetId (gameId,playerRole,rangePosition) = tryGetString(getAssetIdKey(gameId, playerRole, rangePosition)) | |
122 | 122 | ||
123 | 123 | ||
124 | 124 | func getCommitKey (gameId,playerRole) = (((("game" + toString(gameId)) + "_") + playerRole) + "_commit") | |
125 | 125 | ||
126 | 126 | ||
127 | 127 | func getCommit (gameId,playerRole) = tryGetString(getCommitKey(gameId, playerRole)) | |
128 | 128 | ||
129 | 129 | ||
130 | 130 | func getDuckOrderKey (gameId,playerRole) = (((("game" + toString(gameId)) + "_") + playerRole) + "_duckOrder") | |
131 | 131 | ||
132 | 132 | ||
133 | 133 | func getDuckOrder (gameId,playerRole) = tryGetString(getDuckOrderKey(gameId, playerRole)) | |
134 | 134 | ||
135 | 135 | ||
136 | 136 | func getPrizeSentKey (gameId,playerRole) = (((("game" + toString(gameId)) + "_") + playerRole) + "_prizeSent") | |
137 | 137 | ||
138 | 138 | ||
139 | 139 | func getPrizeSent (gameId,playerRole) = tryGetBoolean(getPrizeSentKey(gameId, playerRole)) | |
140 | 140 | ||
141 | 141 | ||
142 | 142 | func getScore (a,b) = if ((a > b)) | |
143 | 143 | then 1 | |
144 | 144 | else if ((b > a)) | |
145 | 145 | then -1 | |
146 | 146 | else 0 | |
147 | 147 | ||
148 | 148 | ||
149 | 149 | func isSymbolA (accumulated,sym) = if ((sym == "A")) | |
150 | 150 | then (accumulated + 1) | |
151 | 151 | else (accumulated + 0) | |
152 | 152 | ||
153 | 153 | ||
154 | 154 | func isSymbolB (accumulated,sym) = if ((sym == "B")) | |
155 | 155 | then (accumulated + 1) | |
156 | 156 | else (accumulated + 0) | |
157 | 157 | ||
158 | 158 | ||
159 | 159 | func isSymbolC (accumulated,sym) = if ((sym == "C")) | |
160 | 160 | then (accumulated + 1) | |
161 | 161 | else (accumulated + 0) | |
162 | 162 | ||
163 | 163 | ||
164 | 164 | func isSymbolD (accumulated,sym) = if ((sym == "D")) | |
165 | 165 | then (accumulated + 1) | |
166 | 166 | else (accumulated + 0) | |
167 | 167 | ||
168 | 168 | ||
169 | 169 | func isSymbolE (accumulated,sym) = if ((sym == "E")) | |
170 | 170 | then (accumulated + 1) | |
171 | 171 | else (accumulated + 0) | |
172 | 172 | ||
173 | 173 | ||
174 | 174 | func isSymbolF (accumulated,sym) = if ((sym == "F")) | |
175 | 175 | then (accumulated + 1) | |
176 | 176 | else (accumulated + 0) | |
177 | 177 | ||
178 | 178 | ||
179 | 179 | func isSymbolG (accumulated,sym) = if ((sym == "G")) | |
180 | 180 | then (accumulated + 1) | |
181 | 181 | else (accumulated + 0) | |
182 | 182 | ||
183 | 183 | ||
184 | 184 | func isSymbolH (accumulated,sym) = if ((sym == "H")) | |
185 | 185 | then (accumulated + 1) | |
186 | 186 | else (accumulated + 0) | |
187 | 187 | ||
188 | 188 | ||
189 | 189 | func getAmountOrClear (amount) = if (contains(amount, "0")) | |
190 | 190 | then "" | |
191 | 191 | else amount | |
192 | 192 | ||
193 | 193 | ||
194 | 194 | func getGen (assetName) = { | |
195 | 195 | let genotype = split(dropRight(drop(assetName, 5), 3), "") | |
196 | 196 | (((((((getAmountOrClear((toString({ | |
197 | - | let $ | |
198 | - | let $ | |
199 | - | let $ | |
200 | - | if (($ | |
201 | - | then $ | |
197 | + | let $list55975628 = genotype | |
198 | + | let $size55975628 = size($list55975628) | |
199 | + | let $acc055975628 = 0 | |
200 | + | if (($size55975628 == 0)) | |
201 | + | then $acc055975628 | |
202 | 202 | else { | |
203 | - | let $ | |
204 | - | if (($ | |
205 | - | then $ | |
203 | + | let $acc155975628 = isSymbolA($acc055975628, $list55975628[0]) | |
204 | + | if (($size55975628 == 1)) | |
205 | + | then $acc155975628 | |
206 | 206 | else { | |
207 | - | let $ | |
208 | - | if (($ | |
209 | - | then $ | |
207 | + | let $acc255975628 = isSymbolA($acc155975628, $list55975628[1]) | |
208 | + | if (($size55975628 == 2)) | |
209 | + | then $acc255975628 | |
210 | 210 | else { | |
211 | - | let $ | |
212 | - | if (($ | |
213 | - | then $ | |
211 | + | let $acc355975628 = isSymbolA($acc255975628, $list55975628[2]) | |
212 | + | if (($size55975628 == 3)) | |
213 | + | then $acc355975628 | |
214 | 214 | else { | |
215 | - | let $ | |
216 | - | if (($ | |
217 | - | then $ | |
215 | + | let $acc455975628 = isSymbolA($acc355975628, $list55975628[3]) | |
216 | + | if (($size55975628 == 4)) | |
217 | + | then $acc455975628 | |
218 | 218 | else { | |
219 | - | let $ | |
220 | - | if (($ | |
221 | - | then $ | |
219 | + | let $acc555975628 = isSymbolA($acc455975628, $list55975628[4]) | |
220 | + | if (($size55975628 == 5)) | |
221 | + | then $acc555975628 | |
222 | 222 | else { | |
223 | - | let $ | |
224 | - | if (($ | |
225 | - | then $ | |
223 | + | let $acc655975628 = isSymbolA($acc555975628, $list55975628[5]) | |
224 | + | if (($size55975628 == 6)) | |
225 | + | then $acc655975628 | |
226 | 226 | else { | |
227 | - | let $ | |
228 | - | if (($ | |
229 | - | then $ | |
227 | + | let $acc755975628 = isSymbolA($acc655975628, $list55975628[6]) | |
228 | + | if (($size55975628 == 7)) | |
229 | + | then $acc755975628 | |
230 | 230 | else { | |
231 | - | let $ | |
232 | - | if (($ | |
233 | - | then $ | |
231 | + | let $acc855975628 = isSymbolA($acc755975628, $list55975628[7]) | |
232 | + | if (($size55975628 == 8)) | |
233 | + | then $acc855975628 | |
234 | 234 | else { | |
235 | - | let $ | |
235 | + | let $acc955975628 = isSymbolA($acc855975628, $list55975628[8]) | |
236 | 236 | throw("List size exceed 8") | |
237 | 237 | } | |
238 | 238 | } | |
239 | 239 | } | |
240 | 240 | } | |
241 | 241 | } | |
242 | 242 | } | |
243 | 243 | } | |
244 | 244 | } | |
245 | 245 | } | |
246 | 246 | }) + "A")) + getAmountOrClear((toString({ | |
247 | - | let $ | |
248 | - | let $ | |
249 | - | let $ | |
250 | - | if (($ | |
251 | - | then $ | |
247 | + | let $list56655696 = genotype | |
248 | + | let $size56655696 = size($list56655696) | |
249 | + | let $acc056655696 = 0 | |
250 | + | if (($size56655696 == 0)) | |
251 | + | then $acc056655696 | |
252 | 252 | else { | |
253 | - | let $ | |
254 | - | if (($ | |
255 | - | then $ | |
253 | + | let $acc156655696 = isSymbolB($acc056655696, $list56655696[0]) | |
254 | + | if (($size56655696 == 1)) | |
255 | + | then $acc156655696 | |
256 | 256 | else { | |
257 | - | let $ | |
258 | - | if (($ | |
259 | - | then $ | |
257 | + | let $acc256655696 = isSymbolB($acc156655696, $list56655696[1]) | |
258 | + | if (($size56655696 == 2)) | |
259 | + | then $acc256655696 | |
260 | 260 | else { | |
261 | - | let $ | |
262 | - | if (($ | |
263 | - | then $ | |
261 | + | let $acc356655696 = isSymbolB($acc256655696, $list56655696[2]) | |
262 | + | if (($size56655696 == 3)) | |
263 | + | then $acc356655696 | |
264 | 264 | else { | |
265 | - | let $ | |
266 | - | if (($ | |
267 | - | then $ | |
265 | + | let $acc456655696 = isSymbolB($acc356655696, $list56655696[3]) | |
266 | + | if (($size56655696 == 4)) | |
267 | + | then $acc456655696 | |
268 | 268 | else { | |
269 | - | let $ | |
270 | - | if (($ | |
271 | - | then $ | |
269 | + | let $acc556655696 = isSymbolB($acc456655696, $list56655696[4]) | |
270 | + | if (($size56655696 == 5)) | |
271 | + | then $acc556655696 | |
272 | 272 | else { | |
273 | - | let $ | |
274 | - | if (($ | |
275 | - | then $ | |
273 | + | let $acc656655696 = isSymbolB($acc556655696, $list56655696[5]) | |
274 | + | if (($size56655696 == 6)) | |
275 | + | then $acc656655696 | |
276 | 276 | else { | |
277 | - | let $ | |
278 | - | if (($ | |
279 | - | then $ | |
277 | + | let $acc756655696 = isSymbolB($acc656655696, $list56655696[6]) | |
278 | + | if (($size56655696 == 7)) | |
279 | + | then $acc756655696 | |
280 | 280 | else { | |
281 | - | let $ | |
282 | - | if (($ | |
283 | - | then $ | |
281 | + | let $acc856655696 = isSymbolB($acc756655696, $list56655696[7]) | |
282 | + | if (($size56655696 == 8)) | |
283 | + | then $acc856655696 | |
284 | 284 | else { | |
285 | - | let $ | |
285 | + | let $acc956655696 = isSymbolB($acc856655696, $list56655696[8]) | |
286 | 286 | throw("List size exceed 8") | |
287 | 287 | } | |
288 | 288 | } | |
289 | 289 | } | |
290 | 290 | } | |
291 | 291 | } | |
292 | 292 | } | |
293 | 293 | } | |
294 | 294 | } | |
295 | 295 | } | |
296 | 296 | }) + "B"))) + getAmountOrClear((toString({ | |
297 | - | let $ | |
298 | - | let $ | |
299 | - | let $ | |
300 | - | if (($ | |
301 | - | then $ | |
297 | + | let $list57335764 = genotype | |
298 | + | let $size57335764 = size($list57335764) | |
299 | + | let $acc057335764 = 0 | |
300 | + | if (($size57335764 == 0)) | |
301 | + | then $acc057335764 | |
302 | 302 | else { | |
303 | - | let $ | |
304 | - | if (($ | |
305 | - | then $ | |
303 | + | let $acc157335764 = isSymbolC($acc057335764, $list57335764[0]) | |
304 | + | if (($size57335764 == 1)) | |
305 | + | then $acc157335764 | |
306 | 306 | else { | |
307 | - | let $ | |
308 | - | if (($ | |
309 | - | then $ | |
307 | + | let $acc257335764 = isSymbolC($acc157335764, $list57335764[1]) | |
308 | + | if (($size57335764 == 2)) | |
309 | + | then $acc257335764 | |
310 | 310 | else { | |
311 | - | let $ | |
312 | - | if (($ | |
313 | - | then $ | |
311 | + | let $acc357335764 = isSymbolC($acc257335764, $list57335764[2]) | |
312 | + | if (($size57335764 == 3)) | |
313 | + | then $acc357335764 | |
314 | 314 | else { | |
315 | - | let $ | |
316 | - | if (($ | |
317 | - | then $ | |
315 | + | let $acc457335764 = isSymbolC($acc357335764, $list57335764[3]) | |
316 | + | if (($size57335764 == 4)) | |
317 | + | then $acc457335764 | |
318 | 318 | else { | |
319 | - | let $ | |
320 | - | if (($ | |
321 | - | then $ | |
319 | + | let $acc557335764 = isSymbolC($acc457335764, $list57335764[4]) | |
320 | + | if (($size57335764 == 5)) | |
321 | + | then $acc557335764 | |
322 | 322 | else { | |
323 | - | let $ | |
324 | - | if (($ | |
325 | - | then $ | |
323 | + | let $acc657335764 = isSymbolC($acc557335764, $list57335764[5]) | |
324 | + | if (($size57335764 == 6)) | |
325 | + | then $acc657335764 | |
326 | 326 | else { | |
327 | - | let $ | |
328 | - | if (($ | |
329 | - | then $ | |
327 | + | let $acc757335764 = isSymbolC($acc657335764, $list57335764[6]) | |
328 | + | if (($size57335764 == 7)) | |
329 | + | then $acc757335764 | |
330 | 330 | else { | |
331 | - | let $ | |
332 | - | if (($ | |
333 | - | then $ | |
331 | + | let $acc857335764 = isSymbolC($acc757335764, $list57335764[7]) | |
332 | + | if (($size57335764 == 8)) | |
333 | + | then $acc857335764 | |
334 | 334 | else { | |
335 | - | let $ | |
335 | + | let $acc957335764 = isSymbolC($acc857335764, $list57335764[8]) | |
336 | 336 | throw("List size exceed 8") | |
337 | 337 | } | |
338 | 338 | } | |
339 | 339 | } | |
340 | 340 | } | |
341 | 341 | } | |
342 | 342 | } | |
343 | 343 | } | |
344 | 344 | } | |
345 | 345 | } | |
346 | 346 | }) + "C"))) + getAmountOrClear((toString({ | |
347 | - | let $ | |
348 | - | let $ | |
349 | - | let $ | |
350 | - | if (($ | |
351 | - | then $ | |
347 | + | let $list58035834 = genotype | |
348 | + | let $size58035834 = size($list58035834) | |
349 | + | let $acc058035834 = 0 | |
350 | + | if (($size58035834 == 0)) | |
351 | + | then $acc058035834 | |
352 | 352 | else { | |
353 | - | let $ | |
354 | - | if (($ | |
355 | - | then $ | |
353 | + | let $acc158035834 = isSymbolD($acc058035834, $list58035834[0]) | |
354 | + | if (($size58035834 == 1)) | |
355 | + | then $acc158035834 | |
356 | 356 | else { | |
357 | - | let $ | |
358 | - | if (($ | |
359 | - | then $ | |
357 | + | let $acc258035834 = isSymbolD($acc158035834, $list58035834[1]) | |
358 | + | if (($size58035834 == 2)) | |
359 | + | then $acc258035834 | |
360 | 360 | else { | |
361 | - | let $ | |
362 | - | if (($ | |
363 | - | then $ | |
361 | + | let $acc358035834 = isSymbolD($acc258035834, $list58035834[2]) | |
362 | + | if (($size58035834 == 3)) | |
363 | + | then $acc358035834 | |
364 | 364 | else { | |
365 | - | let $ | |
366 | - | if (($ | |
367 | - | then $ | |
365 | + | let $acc458035834 = isSymbolD($acc358035834, $list58035834[3]) | |
366 | + | if (($size58035834 == 4)) | |
367 | + | then $acc458035834 | |
368 | 368 | else { | |
369 | - | let $ | |
370 | - | if (($ | |
371 | - | then $ | |
369 | + | let $acc558035834 = isSymbolD($acc458035834, $list58035834[4]) | |
370 | + | if (($size58035834 == 5)) | |
371 | + | then $acc558035834 | |
372 | 372 | else { | |
373 | - | let $ | |
374 | - | if (($ | |
375 | - | then $ | |
373 | + | let $acc658035834 = isSymbolD($acc558035834, $list58035834[5]) | |
374 | + | if (($size58035834 == 6)) | |
375 | + | then $acc658035834 | |
376 | 376 | else { | |
377 | - | let $ | |
378 | - | if (($ | |
379 | - | then $ | |
377 | + | let $acc758035834 = isSymbolD($acc658035834, $list58035834[6]) | |
378 | + | if (($size58035834 == 7)) | |
379 | + | then $acc758035834 | |
380 | 380 | else { | |
381 | - | let $ | |
382 | - | if (($ | |
383 | - | then $ | |
381 | + | let $acc858035834 = isSymbolD($acc758035834, $list58035834[7]) | |
382 | + | if (($size58035834 == 8)) | |
383 | + | then $acc858035834 | |
384 | 384 | else { | |
385 | - | let $ | |
385 | + | let $acc958035834 = isSymbolD($acc858035834, $list58035834[8]) | |
386 | 386 | throw("List size exceed 8") | |
387 | 387 | } | |
388 | 388 | } | |
389 | 389 | } | |
390 | 390 | } | |
391 | 391 | } | |
392 | 392 | } | |
393 | 393 | } | |
394 | 394 | } | |
395 | 395 | } | |
396 | 396 | }) + "D"))) + getAmountOrClear((toString({ | |
397 | - | let $ | |
398 | - | let $ | |
399 | - | let $ | |
400 | - | if (($ | |
401 | - | then $ | |
397 | + | let $list58715902 = genotype | |
398 | + | let $size58715902 = size($list58715902) | |
399 | + | let $acc058715902 = 0 | |
400 | + | if (($size58715902 == 0)) | |
401 | + | then $acc058715902 | |
402 | 402 | else { | |
403 | - | let $ | |
404 | - | if (($ | |
405 | - | then $ | |
403 | + | let $acc158715902 = isSymbolE($acc058715902, $list58715902[0]) | |
404 | + | if (($size58715902 == 1)) | |
405 | + | then $acc158715902 | |
406 | 406 | else { | |
407 | - | let $ | |
408 | - | if (($ | |
409 | - | then $ | |
407 | + | let $acc258715902 = isSymbolE($acc158715902, $list58715902[1]) | |
408 | + | if (($size58715902 == 2)) | |
409 | + | then $acc258715902 | |
410 | 410 | else { | |
411 | - | let $ | |
412 | - | if (($ | |
413 | - | then $ | |
411 | + | let $acc358715902 = isSymbolE($acc258715902, $list58715902[2]) | |
412 | + | if (($size58715902 == 3)) | |
413 | + | then $acc358715902 | |
414 | 414 | else { | |
415 | - | let $ | |
416 | - | if (($ | |
417 | - | then $ | |
415 | + | let $acc458715902 = isSymbolE($acc358715902, $list58715902[3]) | |
416 | + | if (($size58715902 == 4)) | |
417 | + | then $acc458715902 | |
418 | 418 | else { | |
419 | - | let $ | |
420 | - | if (($ | |
421 | - | then $ | |
419 | + | let $acc558715902 = isSymbolE($acc458715902, $list58715902[4]) | |
420 | + | if (($size58715902 == 5)) | |
421 | + | then $acc558715902 | |
422 | 422 | else { | |
423 | - | let $ | |
424 | - | if (($ | |
425 | - | then $ | |
423 | + | let $acc658715902 = isSymbolE($acc558715902, $list58715902[5]) | |
424 | + | if (($size58715902 == 6)) | |
425 | + | then $acc658715902 | |
426 | 426 | else { | |
427 | - | let $ | |
428 | - | if (($ | |
429 | - | then $ | |
427 | + | let $acc758715902 = isSymbolE($acc658715902, $list58715902[6]) | |
428 | + | if (($size58715902 == 7)) | |
429 | + | then $acc758715902 | |
430 | 430 | else { | |
431 | - | let $ | |
432 | - | if (($ | |
433 | - | then $ | |
431 | + | let $acc858715902 = isSymbolE($acc758715902, $list58715902[7]) | |
432 | + | if (($size58715902 == 8)) | |
433 | + | then $acc858715902 | |
434 | 434 | else { | |
435 | - | let $ | |
435 | + | let $acc958715902 = isSymbolE($acc858715902, $list58715902[8]) | |
436 | 436 | throw("List size exceed 8") | |
437 | 437 | } | |
438 | 438 | } | |
439 | 439 | } | |
440 | 440 | } | |
441 | 441 | } | |
442 | 442 | } | |
443 | 443 | } | |
444 | 444 | } | |
445 | 445 | } | |
446 | 446 | }) + "E"))) + getAmountOrClear((toString({ | |
447 | - | let $ | |
448 | - | let $ | |
449 | - | let $ | |
450 | - | if (($ | |
451 | - | then $ | |
447 | + | let $list59395970 = genotype | |
448 | + | let $size59395970 = size($list59395970) | |
449 | + | let $acc059395970 = 0 | |
450 | + | if (($size59395970 == 0)) | |
451 | + | then $acc059395970 | |
452 | 452 | else { | |
453 | - | let $ | |
454 | - | if (($ | |
455 | - | then $ | |
453 | + | let $acc159395970 = isSymbolF($acc059395970, $list59395970[0]) | |
454 | + | if (($size59395970 == 1)) | |
455 | + | then $acc159395970 | |
456 | 456 | else { | |
457 | - | let $ | |
458 | - | if (($ | |
459 | - | then $ | |
457 | + | let $acc259395970 = isSymbolF($acc159395970, $list59395970[1]) | |
458 | + | if (($size59395970 == 2)) | |
459 | + | then $acc259395970 | |
460 | 460 | else { | |
461 | - | let $ | |
462 | - | if (($ | |
463 | - | then $ | |
461 | + | let $acc359395970 = isSymbolF($acc259395970, $list59395970[2]) | |
462 | + | if (($size59395970 == 3)) | |
463 | + | then $acc359395970 | |
464 | 464 | else { | |
465 | - | let $ | |
466 | - | if (($ | |
467 | - | then $ | |
465 | + | let $acc459395970 = isSymbolF($acc359395970, $list59395970[3]) | |
466 | + | if (($size59395970 == 4)) | |
467 | + | then $acc459395970 | |
468 | 468 | else { | |
469 | - | let $ | |
470 | - | if (($ | |
471 | - | then $ | |
469 | + | let $acc559395970 = isSymbolF($acc459395970, $list59395970[4]) | |
470 | + | if (($size59395970 == 5)) | |
471 | + | then $acc559395970 | |
472 | 472 | else { | |
473 | - | let $ | |
474 | - | if (($ | |
475 | - | then $ | |
473 | + | let $acc659395970 = isSymbolF($acc559395970, $list59395970[5]) | |
474 | + | if (($size59395970 == 6)) | |
475 | + | then $acc659395970 | |
476 | 476 | else { | |
477 | - | let $ | |
478 | - | if (($ | |
479 | - | then $ | |
477 | + | let $acc759395970 = isSymbolF($acc659395970, $list59395970[6]) | |
478 | + | if (($size59395970 == 7)) | |
479 | + | then $acc759395970 | |
480 | 480 | else { | |
481 | - | let $ | |
482 | - | if (($ | |
483 | - | then $ | |
481 | + | let $acc859395970 = isSymbolF($acc759395970, $list59395970[7]) | |
482 | + | if (($size59395970 == 8)) | |
483 | + | then $acc859395970 | |
484 | 484 | else { | |
485 | - | let $ | |
485 | + | let $acc959395970 = isSymbolF($acc859395970, $list59395970[8]) | |
486 | 486 | throw("List size exceed 8") | |
487 | 487 | } | |
488 | 488 | } | |
489 | 489 | } | |
490 | 490 | } | |
491 | 491 | } | |
492 | 492 | } | |
493 | 493 | } | |
494 | 494 | } | |
495 | 495 | } | |
496 | 496 | }) + "F"))) + getAmountOrClear((toString({ | |
497 | - | let $ | |
498 | - | let $ | |
499 | - | let $ | |
500 | - | if (($ | |
501 | - | then $ | |
497 | + | let $list60096040 = genotype | |
498 | + | let $size60096040 = size($list60096040) | |
499 | + | let $acc060096040 = 0 | |
500 | + | if (($size60096040 == 0)) | |
501 | + | then $acc060096040 | |
502 | 502 | else { | |
503 | - | let $ | |
504 | - | if (($ | |
505 | - | then $ | |
503 | + | let $acc160096040 = isSymbolG($acc060096040, $list60096040[0]) | |
504 | + | if (($size60096040 == 1)) | |
505 | + | then $acc160096040 | |
506 | 506 | else { | |
507 | - | let $ | |
508 | - | if (($ | |
509 | - | then $ | |
507 | + | let $acc260096040 = isSymbolG($acc160096040, $list60096040[1]) | |
508 | + | if (($size60096040 == 2)) | |
509 | + | then $acc260096040 | |
510 | 510 | else { | |
511 | - | let $ | |
512 | - | if (($ | |
513 | - | then $ | |
511 | + | let $acc360096040 = isSymbolG($acc260096040, $list60096040[2]) | |
512 | + | if (($size60096040 == 3)) | |
513 | + | then $acc360096040 | |
514 | 514 | else { | |
515 | - | let $ | |
516 | - | if (($ | |
517 | - | then $ | |
515 | + | let $acc460096040 = isSymbolG($acc360096040, $list60096040[3]) | |
516 | + | if (($size60096040 == 4)) | |
517 | + | then $acc460096040 | |
518 | 518 | else { | |
519 | - | let $ | |
520 | - | if (($ | |
521 | - | then $ | |
519 | + | let $acc560096040 = isSymbolG($acc460096040, $list60096040[4]) | |
520 | + | if (($size60096040 == 5)) | |
521 | + | then $acc560096040 | |
522 | 522 | else { | |
523 | - | let $ | |
524 | - | if (($ | |
525 | - | then $ | |
523 | + | let $acc660096040 = isSymbolG($acc560096040, $list60096040[5]) | |
524 | + | if (($size60096040 == 6)) | |
525 | + | then $acc660096040 | |
526 | 526 | else { | |
527 | - | let $ | |
528 | - | if (($ | |
529 | - | then $ | |
527 | + | let $acc760096040 = isSymbolG($acc660096040, $list60096040[6]) | |
528 | + | if (($size60096040 == 7)) | |
529 | + | then $acc760096040 | |
530 | 530 | else { | |
531 | - | let $ | |
532 | - | if (($ | |
533 | - | then $ | |
531 | + | let $acc860096040 = isSymbolG($acc760096040, $list60096040[7]) | |
532 | + | if (($size60096040 == 8)) | |
533 | + | then $acc860096040 | |
534 | 534 | else { | |
535 | - | let $ | |
535 | + | let $acc960096040 = isSymbolG($acc860096040, $list60096040[8]) | |
536 | 536 | throw("List size exceed 8") | |
537 | 537 | } | |
538 | 538 | } | |
539 | 539 | } | |
540 | 540 | } | |
541 | 541 | } | |
542 | 542 | } | |
543 | 543 | } | |
544 | 544 | } | |
545 | 545 | } | |
546 | 546 | }) + "G"))) + getAmountOrClear((toString({ | |
547 | - | let $ | |
548 | - | let $ | |
549 | - | let $ | |
550 | - | if (($ | |
551 | - | then $ | |
547 | + | let $list60776108 = genotype | |
548 | + | let $size60776108 = size($list60776108) | |
549 | + | let $acc060776108 = 0 | |
550 | + | if (($size60776108 == 0)) | |
551 | + | then $acc060776108 | |
552 | 552 | else { | |
553 | - | let $ | |
554 | - | if (($ | |
555 | - | then $ | |
553 | + | let $acc160776108 = isSymbolH($acc060776108, $list60776108[0]) | |
554 | + | if (($size60776108 == 1)) | |
555 | + | then $acc160776108 | |
556 | 556 | else { | |
557 | - | let $ | |
558 | - | if (($ | |
559 | - | then $ | |
557 | + | let $acc260776108 = isSymbolH($acc160776108, $list60776108[1]) | |
558 | + | if (($size60776108 == 2)) | |
559 | + | then $acc260776108 | |
560 | 560 | else { | |
561 | - | let $ | |
562 | - | if (($ | |
563 | - | then $ | |
561 | + | let $acc360776108 = isSymbolH($acc260776108, $list60776108[2]) | |
562 | + | if (($size60776108 == 3)) | |
563 | + | then $acc360776108 | |
564 | 564 | else { | |
565 | - | let $ | |
566 | - | if (($ | |
567 | - | then $ | |
565 | + | let $acc460776108 = isSymbolH($acc360776108, $list60776108[3]) | |
566 | + | if (($size60776108 == 4)) | |
567 | + | then $acc460776108 | |
568 | 568 | else { | |
569 | - | let $ | |
570 | - | if (($ | |
571 | - | then $ | |
569 | + | let $acc560776108 = isSymbolH($acc460776108, $list60776108[4]) | |
570 | + | if (($size60776108 == 5)) | |
571 | + | then $acc560776108 | |
572 | 572 | else { | |
573 | - | let $ | |
574 | - | if (($ | |
575 | - | then $ | |
573 | + | let $acc660776108 = isSymbolH($acc560776108, $list60776108[5]) | |
574 | + | if (($size60776108 == 6)) | |
575 | + | then $acc660776108 | |
576 | 576 | else { | |
577 | - | let $ | |
578 | - | if (($ | |
579 | - | then $ | |
577 | + | let $acc760776108 = isSymbolH($acc660776108, $list60776108[6]) | |
578 | + | if (($size60776108 == 7)) | |
579 | + | then $acc760776108 | |
580 | 580 | else { | |
581 | - | let $ | |
582 | - | if (($ | |
583 | - | then $ | |
581 | + | let $acc860776108 = isSymbolH($acc760776108, $list60776108[7]) | |
582 | + | if (($size60776108 == 8)) | |
583 | + | then $acc860776108 | |
584 | 584 | else { | |
585 | - | let $ | |
585 | + | let $acc960776108 = isSymbolH($acc860776108, $list60776108[8]) | |
586 | 586 | throw("List size exceed 8") | |
587 | 587 | } | |
588 | 588 | } | |
589 | 589 | } | |
590 | 590 | } | |
591 | 591 | } | |
592 | 592 | } | |
593 | 593 | } | |
594 | 594 | } | |
595 | 595 | } | |
596 | 596 | }) + "H"))) | |
597 | 597 | } | |
598 | 598 | ||
599 | 599 | ||
600 | 600 | func getAssetOrigin (generation) = if ((generation == "G")) | |
601 | 601 | then incubatorAddress | |
602 | 602 | else breederAddress | |
603 | 603 | ||
604 | 604 | ||
605 | 605 | func getAssetRarity (assetId) = if (if ((value(assetInfo(assetId)).issuer == Address(breederAddress))) | |
606 | 606 | then true | |
607 | 607 | else (value(assetInfo(assetId)).issuer == Address(incubatorAddress))) | |
608 | 608 | then { | |
609 | 609 | let assetName = value(assetInfo(assetId)).name | |
610 | 610 | let generation = take(takeRight(assetName, 2), 1) | |
611 | 611 | let gen = ((getGen(assetName) + "-") + generation) | |
612 | 612 | let quantity = getIntegerValue(Address(getAssetOrigin(generation)), (("stats_" + gen) + "_quantity")) | |
613 | 613 | let power = pow((10000 / quantity), 4, 5, 1, 2, FLOOR) | |
614 | 614 | if ((power > 0)) | |
615 | 615 | then power | |
616 | 616 | else 2 | |
617 | 617 | } | |
618 | 618 | else throw("not valid NFT") | |
619 | 619 | ||
620 | 620 | ||
621 | 621 | func getWinner (gameId) = { | |
622 | 622 | let gameStep = getStep(gameId) | |
623 | 623 | if ((6 > gameStep)) | |
624 | 624 | then { | |
625 | 625 | let expirationHeight = getExpirationHeight(gameId) | |
626 | 626 | if ((expirationHeight == 0)) | |
627 | 627 | then throw("Game is not started") | |
628 | 628 | else if ((expirationHeight > height)) | |
629 | 629 | then throw("Game is not finished or expired") | |
630 | 630 | else if (((getStep(gameId) % 2) == 0)) | |
631 | 631 | then "maker" | |
632 | 632 | else "taker" | |
633 | 633 | } | |
634 | 634 | else { | |
635 | 635 | let makerDuckOrder = split(getDuckOrder(gameId, "maker"), ",") | |
636 | 636 | let takerDuckOrder = split(getDuckOrder(gameId, "taker"), ",") | |
637 | 637 | let makerRarity1 = getRarity(gameId, "maker", makerDuckOrder[0]) | |
638 | 638 | let makerRarity2 = getRarity(gameId, "maker", makerDuckOrder[1]) | |
639 | 639 | let makerRarity3 = getRarity(gameId, "maker", makerDuckOrder[2]) | |
640 | 640 | let takerRarity1 = getRarity(gameId, "taker", makerDuckOrder[0]) | |
641 | 641 | let takerRarity2 = getRarity(gameId, "taker", makerDuckOrder[1]) | |
642 | 642 | let takerRarity3 = getRarity(gameId, "taker", makerDuckOrder[2]) | |
643 | 643 | let makerScore = ((getScore(makerRarity1, takerRarity1) + getScore(makerRarity2, takerRarity2)) + getScore(makerRarity3, takerRarity3)) | |
644 | 644 | if ((makerScore > 0)) | |
645 | 645 | then "maker" | |
646 | 646 | else if ((0 > makerScore)) | |
647 | 647 | then "taker" | |
648 | 648 | else "draw" | |
649 | 649 | } | |
650 | 650 | } | |
651 | 651 | ||
652 | 652 | ||
653 | 653 | @Callable(i) | |
654 | 654 | func makeGame (slot,rarityRangeWorst,rarityRangeMedium,rarityRangeBest) = { | |
655 | 655 | let callerAddress = toBase58String(i.caller.bytes) | |
656 | 656 | let slotGameId = getSlot(slot) | |
657 | 657 | let payment = value(i.payments[0]) | |
658 | 658 | let eggs = (payment.amount - makerFee) | |
659 | 659 | let gameId = getNextGameId() | |
660 | 660 | if ((getPlayerCurrentGame(callerAddress) != 0)) | |
661 | 661 | then throw("You already have an active game") | |
662 | 662 | else if (if ((0 > slot)) | |
663 | 663 | then true | |
664 | 664 | else (slot >= SLOTS)) | |
665 | 665 | then throw("Invalid slot") | |
666 | 666 | else if ((slotGameId != 0)) | |
667 | 667 | then throw("This slot is busy") | |
668 | 668 | else if ((payment.assetId != eggsAssetId)) | |
669 | 669 | then throw(("You can attach only EGGs with the following asset id: " + toBase58String(eggsAssetId))) | |
670 | 670 | else if ((0 >= eggs)) | |
671 | 671 | then throw("Not enough EGGs") | |
672 | 672 | else if (if ((1 > rarityRangeWorst)) | |
673 | 673 | then true | |
674 | 674 | else (rarityRangeWorst > 5)) | |
675 | 675 | then throw("Invalid rarity range for the worst duck") | |
676 | 676 | else if (if ((1 > rarityRangeMedium)) | |
677 | 677 | then true | |
678 | 678 | else (rarityRangeMedium > 5)) | |
679 | 679 | then throw("Invalid rarity range for the medium duck") | |
680 | 680 | else if (if ((1 > rarityRangeBest)) | |
681 | 681 | then true | |
682 | 682 | else (rarityRangeBest > 5)) | |
683 | 683 | then throw("Invalid rarity range for the best duck") | |
684 | 684 | else if ((rarityRangeWorst >= rarityRangeMedium)) | |
685 | 685 | then throw("The medium duck must be better than the worst one") | |
686 | 686 | else if ((rarityRangeMedium >= rarityRangeBest)) | |
687 | 687 | then throw("The best duck must be better than the medium one") | |
688 | 688 | else [IntegerEntry(getPlayerCurrentGameKey(callerAddress), gameId), StringEntry(getMakerKey(gameId), callerAddress), StringEntry(getPlayerRoleKey(gameId, callerAddress), "maker"), IntegerEntry(getBetEggsKey(gameId), eggs), IntegerEntry(getRarityRangeKey(gameId, "worst"), rarityRangeWorst), IntegerEntry(getRarityRangeKey(gameId, "medium"), rarityRangeMedium), IntegerEntry(getRarityRangeKey(gameId, "best"), rarityRangeBest), IntegerEntry(getWaitingExpirationHeightKey(gameId), (height + WAITING)), IntegerEntry(getSlotKey(slot), gameId), IntegerEntry("nextGameId", (gameId + 1))] | |
689 | 689 | } | |
690 | 690 | ||
691 | 691 | ||
692 | 692 | ||
693 | 693 | @Callable(i) | |
694 | 694 | func takeGame (slot) = { | |
695 | 695 | let callerAddress = toBase58String(i.caller.bytes) | |
696 | 696 | let gameId = getSlot(slot) | |
697 | 697 | let payment = value(i.payments[0]) | |
698 | 698 | if ((getPlayerCurrentGame(callerAddress) != 0)) | |
699 | 699 | then throw("You already have an active game") | |
700 | 700 | else if (if ((0 > slot)) | |
701 | 701 | then true | |
702 | 702 | else (slot >= SLOTS)) | |
703 | 703 | then throw("Invalid slot") | |
704 | 704 | else if ((getSlot(slot) == 0)) | |
705 | 705 | then throw("This slot is empty") | |
706 | 706 | else if ((payment.assetId != eggsAssetId)) | |
707 | 707 | then throw(("You can attach only EGG tokens with the following asset id: " + toBase58String(eggsAssetId))) | |
708 | 708 | else if ((payment.amount != (getBetEggs(gameId) + takerFee))) | |
709 | 709 | then throw("Insufficient eggs amount") | |
710 | 710 | else if ((height >= getWaitingExpirationHeight(gameId))) | |
711 | 711 | then throw("This game is expired") | |
712 | 712 | else [IntegerEntry(getPlayerCurrentGameKey(callerAddress), gameId), StringEntry(getTakerKey(gameId), callerAddress), StringEntry(getPlayerRoleKey(gameId, callerAddress), "taker"), IntegerEntry(getStepKey(gameId), 0), IntegerEntry(getExpirationHeightKey(gameId), (height + stepDuration)), IntegerEntry(getSlotKey(slot), 0)] | |
713 | 713 | } | |
714 | 714 | ||
715 | 715 | ||
716 | 716 | ||
717 | 717 | @Callable(i) | |
718 | 718 | func kickGame (slot) = { | |
719 | 719 | let gameId = getSlot(slot) | |
720 | 720 | if (if ((0 > slot)) | |
721 | 721 | then true | |
722 | 722 | else (slot >= SLOTS)) | |
723 | 723 | then throw("Invalid slot") | |
724 | 724 | else if ((gameId == 0)) | |
725 | 725 | then throw("Slot is empty") | |
726 | 726 | else if ((getWaitingExpirationHeight(gameId) > height)) | |
727 | 727 | then throw("Waiting is not finished yet") | |
728 | 728 | else { | |
729 | 729 | let maker = getMaker(gameId) | |
730 | 730 | [IntegerEntry(getPlayerCurrentGameKey(maker), 0), IntegerEntry(getSlotKey(slot), 0), ScriptTransfer(Address(fromBase58String(maker)), (getBetEggs(gameId) + makerFee), eggsAssetId)] | |
731 | 731 | } | |
732 | 732 | } | |
733 | 733 | ||
734 | 734 | ||
735 | 735 | ||
736 | 736 | @Callable(i) | |
737 | 737 | func pickDucks () = { | |
738 | 738 | let callerAddress = toBase58String(i.caller.bytes) | |
739 | 739 | let gameId = getPlayerCurrentGame(callerAddress) | |
740 | 740 | let playerRole = getPlayerRole(gameId, callerAddress) | |
741 | 741 | let gameStep = getStep(gameId) | |
742 | 742 | let worstRarityRange = getRarityRange(gameId, "worst") | |
743 | 743 | let mediumRarityRange = getRarityRange(gameId, "medium") | |
744 | 744 | let bestRarityRange = getRarityRange(gameId, "best") | |
745 | 745 | let worstDuckId = value(value(i.payments[0]).assetId) | |
746 | 746 | let mediumDuckId = value(value(i.payments[1]).assetId) | |
747 | 747 | let bestDuckId = value(value(i.payments[2]).assetId) | |
748 | 748 | let worstRarity = getAssetRarity(worstDuckId) | |
749 | 749 | let mediumRarity = getAssetRarity(mediumDuckId) | |
750 | 750 | let bestRarity = getAssetRarity(bestDuckId) | |
751 | 751 | if ((gameId == 0)) | |
752 | 752 | then throw("You don't have an active game") | |
753 | 753 | else if ((getExpirationHeight(gameId) == 0)) | |
754 | 754 | then throw("Game is not started") | |
755 | 755 | else if (if ((gameStep == 0)) | |
756 | 756 | then (playerRole != "taker") | |
757 | 757 | else false) | |
758 | 758 | then throw("It is the taker's turn to pick now") | |
759 | 759 | else if (if ((gameStep == 1)) | |
760 | 760 | then (playerRole != "maker") | |
761 | 761 | else false) | |
762 | 762 | then throw("It is the maker's turn to pick now") | |
763 | 763 | else if ((gameStep > 1)) | |
764 | 764 | then throw("Ducks have already been picked") | |
765 | 765 | else if (if ((worstRarity >= (worstRarityRange * 10))) | |
766 | 766 | then true | |
767 | 767 | else (((worstRarityRange - 1) * 10) > worstRarity)) | |
768 | 768 | then throw("Worst duck doesn't fit rarity range") | |
769 | 769 | else if (if ((mediumRarity >= (mediumRarityRange * 10))) | |
770 | 770 | then true | |
771 | 771 | else (((mediumRarityRange - 1) * 10) > mediumRarity)) | |
772 | 772 | then throw("Medium duck doesn't fit rarity range") | |
773 | 773 | else if (if (if (if ((bestRarityRange == 5)) | |
774 | 774 | then (40 > bestRarity) | |
775 | 775 | else false) | |
776 | 776 | then true | |
777 | 777 | else (bestRarity >= (bestRarityRange * 10))) | |
778 | 778 | then true | |
779 | 779 | else (((bestRarityRange - 1) * 10) > bestRarity)) | |
780 | 780 | then throw("Best duck doesn't fit rarity range") | |
781 | 781 | else [IntegerEntry(getRarityKey(gameId, playerRole, "worst"), worstRarity), IntegerEntry(getRarityKey(gameId, playerRole, "medium"), mediumRarity), IntegerEntry(getRarityKey(gameId, playerRole, "best"), bestRarity), StringEntry(getAssetIdKey(gameId, playerRole, "worst"), toBase58String(worstDuckId)), StringEntry(getAssetIdKey(gameId, playerRole, "medium"), toBase58String(mediumDuckId)), StringEntry(getAssetIdKey(gameId, playerRole, "best"), toBase58String(bestDuckId)), IntegerEntry(getStepKey(gameId), (gameStep + 1)), IntegerEntry(getExpirationHeightKey(gameId), (height + stepDuration)), ScriptTransfer(i.caller, 1, worstDuckId), ScriptTransfer(i.caller, 1, mediumDuckId), ScriptTransfer(i.caller, 1, bestDuckId)] | |
782 | 782 | } | |
783 | 783 | ||
784 | 784 | ||
785 | 785 | ||
786 | 786 | @Callable(i) | |
787 | 787 | func commit (hash) = { | |
788 | 788 | let callerAddress = toBase58String(i.caller.bytes) | |
789 | 789 | let gameId = getPlayerCurrentGame(callerAddress) | |
790 | 790 | let playerRole = getPlayerRole(gameId, callerAddress) | |
791 | 791 | let gameStep = getStep(gameId) | |
792 | 792 | if ((gameId == 0)) | |
793 | 793 | then throw("You don't have an active game") | |
794 | 794 | else if ((2 > gameStep)) | |
795 | 795 | then throw("Commit is not started") | |
796 | 796 | else if (if ((gameStep == 2)) | |
797 | 797 | then (playerRole != "taker") | |
798 | 798 | else false) | |
799 | 799 | then throw("It is the taker's turn to pick now") | |
800 | 800 | else if (if ((gameStep == 3)) | |
801 | 801 | then (playerRole != "maker") | |
802 | 802 | else false) | |
803 | 803 | then throw("It is the maker's turn to pick now") | |
804 | 804 | else if ((gameStep > 3)) | |
805 | 805 | then throw("Commit is finished") | |
806 | 806 | else [StringEntry(getCommitKey(gameId, playerRole), hash), IntegerEntry(getStepKey(gameId), (gameStep + 1)), IntegerEntry(getExpirationHeightKey(gameId), (height + stepDuration))] | |
807 | 807 | } | |
808 | 808 | ||
809 | 809 | ||
810 | 810 | ||
811 | 811 | @Callable(i) | |
812 | 812 | func reveal (duckOrder,salt) = { | |
813 | 813 | let callerAddress = toBase58String(i.caller.bytes) | |
814 | 814 | let gameId = getPlayerCurrentGame(callerAddress) | |
815 | 815 | let playerRole = getPlayerRole(gameId, callerAddress) | |
816 | 816 | let gameStep = getStep(gameId) | |
817 | 817 | if ((gameId == 0)) | |
818 | 818 | then throw("You don't have an active game") | |
819 | 819 | else if ((4 > gameStep)) | |
820 | 820 | then throw("Reveal is not started") | |
821 | 821 | else if (if ((gameStep == 4)) | |
822 | 822 | then (playerRole != "taker") | |
823 | 823 | else false) | |
824 | 824 | then throw("It is the taker's turn to pick now") | |
825 | 825 | else if (if ((gameStep == 5)) | |
826 | 826 | then (playerRole != "maker") | |
827 | 827 | else false) | |
828 | 828 | then throw("It is the maker's turn to pick now") | |
829 | 829 | else if ((gameStep > 5)) | |
830 | 830 | then throw("Reveal is finished") | |
831 | 831 | else if (if (if (if (if (if ((duckOrder != "worst,medium,best")) | |
832 | 832 | then (duckOrder != "worst,best,medium") | |
833 | 833 | else false) | |
834 | 834 | then (duckOrder != "medium,worst,best") | |
835 | 835 | else false) | |
836 | 836 | then (duckOrder != "medium,best,worst") | |
837 | 837 | else false) | |
838 | 838 | then (duckOrder != "best,worst,medium") | |
839 | 839 | else false) | |
840 | 840 | then (duckOrder != "best,medium,worst") | |
841 | 841 | else false) | |
842 | 842 | then throw("Reveal data is not valid") | |
843 | 843 | else if ((toBase58String(sha256(toBytes((duckOrder + salt)))) != getCommit(gameId, playerRole))) | |
844 | 844 | then throw("Reveal doesn't match commit") | |
845 | 845 | else [StringEntry(getDuckOrderKey(gameId, playerRole), duckOrder), IntegerEntry(getStepKey(gameId), (gameStep + 1)), IntegerEntry(getExpirationHeightKey(gameId), (height + stepDuration))] | |
846 | 846 | } | |
847 | 847 | ||
848 | 848 | ||
849 | 849 | ||
850 | 850 | @Callable(i) | |
851 | 851 | func getPrize () = { | |
852 | 852 | let callerAddress = toBase58String(i.caller.bytes) | |
853 | 853 | let gameId = getPlayerCurrentGame(callerAddress) | |
854 | 854 | let playerRole = getPlayerRole(gameId, callerAddress) | |
855 | 855 | let makerAddress = getMaker(gameId) | |
856 | 856 | let takerAddress = getTaker(gameId) | |
857 | 857 | let winner = getWinner(gameId) | |
858 | 858 | if ((gameId == 0)) | |
859 | 859 | then throw("You don't have an active game") | |
860 | 860 | else if (getPrizeSent(gameId, playerRole)) | |
861 | 861 | then throw("You have already got the prize") | |
862 | 862 | else if ((winner == playerRole)) | |
863 | 863 | then [IntegerEntry(getPlayerCurrentGameKey(makerAddress), 0), IntegerEntry(getPlayerCurrentGameKey(takerAddress), 0), BooleanEntry(getPrizeSentKey(gameId, playerRole), true), ScriptTransfer(i.caller, (getBetEggs(gameId) * 2), eggsAssetId)] | |
864 | 864 | else if ((winner == "draw")) | |
865 | 865 | then [IntegerEntry(getPlayerCurrentGameKey(callerAddress), 0), BooleanEntry(getPrizeSentKey(gameId, playerRole), true), ScriptTransfer(i.caller, getBetEggs(gameId), eggsAssetId)] | |
866 | 866 | else throw("You lose and don't have any prize") | |
867 | 867 | } | |
868 | 868 | ||
869 | 869 | ||
870 | 870 | @Verifier(tx) | |
871 | 871 | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
872 | 872 |
github/deemru/w8io/169f3d6 269.59 ms ◑