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