tx · 5RuDFME93mANMw55UZihkpom11or4qc9CRpT3BTAZwtc

3Mz7zzdQoHabgytXU3UuTAzADXPBBLgFqu8:  -0.01500000 Waves

2019.12.27 02:27 [826630] smart account 3Mz7zzdQoHabgytXU3UuTAzADXPBBLgFqu8 > SELF 0.00000000 Waves

{ "type": 13, "id": "5RuDFME93mANMw55UZihkpom11or4qc9CRpT3BTAZwtc", "fee": 1500000, "feeAssetId": null, "timestamp": 1577402849551, "version": 1, "sender": "3Mz7zzdQoHabgytXU3UuTAzADXPBBLgFqu8", "senderPublicKey": "6uncmj7GmSzxFAGGX8NcToqPxTxWUHW7Aj1WSbMH2qXw", "proofs": [ "xz6T8TT7Y4ZtSnN1nKCaUTxhRx6svFXKMorSFcggp1GDT4njJkhANY3PhwYhEcGWwTy6kmb1iSKPmGgfGiUpH9H" ], "script": "base64:AAIDAAAAAAAAABIIARIICgYBAQEBAQESBAoCCAIAAAAhAAAAAAlSU0FQVUJMSUMJAAJbAAAAAQIAAAGPYmFzZTY0Ok1JSUJJakFOQmdrcWhraUc5dzBCQVFFRkFBT0NBUThBTUlJQkNnS0NBUUVBZzRkQVI2WGJCREFTOWhyL0VqM2RKdjZGZmM0NjZ4L21PR01XVTNsckFCczNxYThCSG11Skdua2ZicEVmMnZBd1lUT1dQdnZ6Zk0xME9CYmZsb1N5cTNjOU1LdnlUZTFsdUJMR3FXNHZaVVhJeXZTZ3oxbGl5VVZlZklReTNkeUY5amJlVFpiQzBiYmNULzdPM0RFTCswMXo2QStyRENhY1NaMGxHb2xTUTZBbmhMeHpJa1ZwT1FKYnJCbUMreCtadVpQQ01Xekp5bmQ1YWVPbjdqYWovbWtSVnl4ZTZnLzBPaFd6NE5paVpYZXVNUkIrOG1LeTBmV0QvVWxJbFpXSHNBUzJabXJrWEtxakxxMC8wd3I4SUxKa3pualNxZG5JNUliamczdVFyai80QU4raTlyMjhhUTczL1prUHRZNVNidzBBT2lBQkJ1N2dIbXE5YXlWeFpRSURBUUFCAAAAAA9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VJZAUAAAAObmV3R2FtZURhdGFTdHIFAAAAA25pbAAAAAD2S7dx", "chainId": 84, "height": 826630, "spentComplexity": 0 } View: original | compacted Prev: Ha49F1KrnQqnnapoLnZZqy9SdmnuByrmbKDDMqB9uQKK Next: 41kEYWvLYeBKSexbPQ5t5MRw8BqRjzwub46NHVcU9poN Diff:
OldNewDifferences
11521152 let playerPubKey58 = gameDataList[1]
11531153 let playerAddress = addressFromPublicKey(fromBase58String(playerPubKey58))
11541154 if ((gameState != STATESUBMITTED))
1155- then throw("Invalid game state for passed gameId. Game aborted.")
1155+ then throw(("Invalid game state for passed gameId. Game aborted. " + gameState))
11561156 else {
11571157 let rand = GenerateRandInt(gameId, rsaSig)
11581158 let randStr = RandToStr(rand)
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let RSAPUBLIC = fromBase64String("base64:MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAg4dAR6XbBDAS9hr/Ej3dJv6Ffc466x/mOGMWU3lrABs3qa8BHmuJGnkfbpEf2vAwYTOWPvvzfM10OBbfloSyq3c9MKvyTe1luBLGqW4vZUXIyvSgz1liyUVefIQy3dyF9jbeTZbC0bbcT/7O3DEL+01z6A+rDCacSZ0lGolSQ6AnhLxzIkVpOQJbrBmC+x+ZuZPCMWzJynd5aeOn7jaj/mkRVyxe6g/0OhWz4NiiZXeuMRB+8mKy0fWD/UlIlZWHsAS2ZmrkXKqjLq0/0wr8ILJkznjSqdnI5Ibjg3uQrj/4AN+i9r28aQ73/ZkPtY5Sbw0AOiABBu7gHmq9ayVxZQIDAQAB")
55
66 let GAMESCOUNTERKEY = "$GAME_NUM"
77
88 let RESERVATIONKEY = "$RESERVED_AMOUNT"
99
1010 let WBET = base58'A4q1mYKo11yuH9gmvDodeJoksagcyQzeFE9JtphMWddw'
1111
1212 let WALLETWAVESBET = Address(base58'3MtCy2PCFPyu8A9SRNL4qUo1V17SGLHftD8')
1313
1414 let WALLETMCAFEE = Address(base58'3MtCy2PCFPyu8A9SRNL4qUo1V17SGLHftD8')
1515
1616 let WAVELET = 100000000
1717
1818 let FEEWAVESBET = 4
1919
2020 let FEEMCAFEE = 2
2121
2222 let STATESUBMITTED = "SUBMITTED"
2323
2424 let STATEWON = "WON"
2525
2626 let STATELOST = "LOST"
2727
2828 let BETMIN = (1 * WAVELET)
2929
3030 let BETMAX = (20000000 * WAVELET)
3131
3232 func straightUpBet (num,bet) = if ((num == bet))
3333 then 35
3434 else 0
3535
3636
3737 func splitBet (num,bet) = if (if ((num == 0))
3838 then if (if ((bet == 37))
3939 then true
4040 else (bet == 38))
4141 then true
4242 else (bet == 39)
4343 else false)
4444 then 17
4545 else if (if ((num == 1))
4646 then if (if ((bet == 37))
4747 then true
4848 else (bet == 40))
4949 then true
5050 else (bet == 85)
5151 else false)
5252 then 17
5353 else if (if ((num == 1))
5454 then if (if ((bet == 37))
5555 then true
5656 else (bet == 40))
5757 then true
5858 else (bet == 85)
5959 else false)
6060 then 17
6161 else if (if ((num == 2))
6262 then if (if (if ((bet == 38))
6363 then true
6464 else (bet == 41))
6565 then true
6666 else (bet == 73))
6767 then true
6868 else (bet == 85)
6969 else false)
7070 then 17
7171 else if (if ((num == 3))
7272 then if (if ((bet == 39))
7373 then true
7474 else (bet == 42))
7575 then true
7676 else (bet == 73)
7777 else false)
7878 then 17
7979 else if (if ((num == 4))
8080 then if (if ((bet == 40))
8181 then true
8282 else (bet == 43))
8383 then true
8484 else (bet == 86)
8585 else false)
8686 then 17
8787 else if (if ((num == 5))
8888 then if (if (if ((bet == 41))
8989 then true
9090 else (bet == 44))
9191 then true
9292 else (bet == 74))
9393 then true
9494 else (bet == 86)
9595 else false)
9696 then 17
9797 else if (if ((num == 6))
9898 then if (if ((bet == 42))
9999 then true
100100 else (bet == 45))
101101 then true
102102 else (bet == 74)
103103 else false)
104104 then 17
105105 else if (if ((num == 7))
106106 then if (if ((bet == 43))
107107 then true
108108 else (bet == 46))
109109 then true
110110 else (bet == 87)
111111 else false)
112112 then 17
113113 else if (if ((num == 8))
114114 then if (if (if ((bet == 44))
115115 then true
116116 else (bet == 47))
117117 then true
118118 else (bet == 75))
119119 then true
120120 else (bet == 87)
121121 else false)
122122 then 17
123123 else if (if ((num == 9))
124124 then if (if ((bet == 45))
125125 then true
126126 else (bet == 48))
127127 then true
128128 else (bet == 75)
129129 else false)
130130 then 17
131131 else if (if ((num == 10))
132132 then if (if ((bet == 46))
133133 then true
134134 else (bet == 49))
135135 then true
136136 else (bet == 88)
137137 else false)
138138 then 17
139139 else if (if ((num == 11))
140140 then if (if (if ((bet == 47))
141141 then true
142142 else (bet == 50))
143143 then true
144144 else (bet == 76))
145145 then true
146146 else (bet == 88)
147147 else false)
148148 then 17
149149 else if (if ((num == 12))
150150 then if (if ((bet == 48))
151151 then true
152152 else (bet == 51))
153153 then true
154154 else (bet == 76)
155155 else false)
156156 then 17
157157 else if (if ((num == 13))
158158 then if (if ((bet == 49))
159159 then true
160160 else (bet == 52))
161161 then true
162162 else (bet == 89)
163163 else false)
164164 then 17
165165 else if (if ((num == 14))
166166 then if (if (if ((bet == 50))
167167 then true
168168 else (bet == 53))
169169 then true
170170 else (bet == 77))
171171 then true
172172 else (bet == 89)
173173 else false)
174174 then 17
175175 else if (if ((num == 15))
176176 then if (if ((bet == 51))
177177 then true
178178 else (bet == 54))
179179 then true
180180 else (bet == 77)
181181 else false)
182182 then 17
183183 else if (if ((num == 16))
184184 then if (if ((bet == 52))
185185 then true
186186 else (bet == 55))
187187 then true
188188 else (bet == 90)
189189 else false)
190190 then 17
191191 else if (if ((num == 17))
192192 then if (if (if ((bet == 53))
193193 then true
194194 else (bet == 56))
195195 then true
196196 else (bet == 78))
197197 then true
198198 else (bet == 90)
199199 else false)
200200 then 17
201201 else if (if ((num == 18))
202202 then if (if ((bet == 54))
203203 then true
204204 else (bet == 57))
205205 then true
206206 else (bet == 78)
207207 else false)
208208 then 17
209209 else if (if ((num == 19))
210210 then if (if ((bet == 55))
211211 then true
212212 else (bet == 58))
213213 then true
214214 else (bet == 91)
215215 else false)
216216 then 17
217217 else if (if ((num == 20))
218218 then if (if (if ((bet == 56))
219219 then true
220220 else (bet == 59))
221221 then true
222222 else (bet == 79))
223223 then true
224224 else (bet == 91)
225225 else false)
226226 then 17
227227 else if (if ((num == 21))
228228 then if (if ((bet == 57))
229229 then true
230230 else (bet == 60))
231231 then true
232232 else (bet == 79)
233233 else false)
234234 then 17
235235 else if (if ((num == 22))
236236 then if (if ((bet == 58))
237237 then true
238238 else (bet == 61))
239239 then true
240240 else (bet == 92)
241241 else false)
242242 then 17
243243 else if (if ((num == 23))
244244 then if (if (if ((bet == 59))
245245 then true
246246 else (bet == 62))
247247 then true
248248 else (bet == 80))
249249 then true
250250 else (bet == 92)
251251 else false)
252252 then 17
253253 else if (if ((num == 24))
254254 then if (if ((bet == 60))
255255 then true
256256 else (bet == 63))
257257 then true
258258 else (bet == 80)
259259 else false)
260260 then 17
261261 else if (if ((num == 25))
262262 then if (if ((bet == 61))
263263 then true
264264 else (bet == 64))
265265 then true
266266 else (bet == 93)
267267 else false)
268268 then 17
269269 else if (if ((num == 26))
270270 then if (if (if ((bet == 62))
271271 then true
272272 else (bet == 65))
273273 then true
274274 else (bet == 81))
275275 then true
276276 else (bet == 93)
277277 else false)
278278 then 17
279279 else if (if ((num == 27))
280280 then if (if ((bet == 63))
281281 then true
282282 else (bet == 66))
283283 then true
284284 else (bet == 81)
285285 else false)
286286 then 17
287287 else if (if ((num == 28))
288288 then if (if ((bet == 64))
289289 then true
290290 else (bet == 67))
291291 then true
292292 else (bet == 94)
293293 else false)
294294 then 17
295295 else if (if ((num == 29))
296296 then if (if (if ((bet == 65))
297297 then true
298298 else (bet == 68))
299299 then true
300300 else (bet == 82))
301301 then true
302302 else (bet == 94)
303303 else false)
304304 then 17
305305 else if (if ((num == 30))
306306 then if (if ((bet == 66))
307307 then true
308308 else (bet == 69))
309309 then true
310310 else (bet == 82)
311311 else false)
312312 then 17
313313 else if (if ((num == 31))
314314 then if (if ((bet == 67))
315315 then true
316316 else (bet == 70))
317317 then true
318318 else (bet == 95)
319319 else false)
320320 then 17
321321 else if (if ((num == 32))
322322 then if (if (if ((bet == 68))
323323 then true
324324 else (bet == 71))
325325 then true
326326 else (bet == 83))
327327 then true
328328 else (bet == 95)
329329 else false)
330330 then 17
331331 else if (if ((num == 33))
332332 then if (if ((bet == 69))
333333 then true
334334 else (bet == 72))
335335 then true
336336 else (bet == 83)
337337 else false)
338338 then 17
339339 else if (if ((num == 34))
340340 then if ((bet == 70))
341341 then true
342342 else (bet == 96)
343343 else false)
344344 then 17
345345 else if (if (if ((num == 35))
346346 then if (if ((bet == 71))
347347 then true
348348 else (bet == 84))
349349 then true
350350 else (bet == 96)
351351 else false)
352352 then true
353353 else if ((num == 36))
354354 then if ((bet == 72))
355355 then true
356356 else (bet == 84)
357357 else false)
358358 then 17
359359 else if (if ((num == 36))
360360 then if ((bet == 72))
361361 then true
362362 else (bet == 84)
363363 else false)
364364 then 17
365365 else 0
366366
367367
368368 func streetBet (num,bet) = if (if ((bet == 97))
369369 then if (if ((num == 0))
370370 then true
371371 else (num == 1))
372372 then true
373373 else (num == 2)
374374 else false)
375375 then 11
376376 else if (if ((bet == 98))
377377 then if (if ((num == 0))
378378 then true
379379 else (num == 2))
380380 then true
381381 else (num == 3)
382382 else false)
383383 then 11
384384 else if (if ((bet == 99))
385385 then if (if ((num == 1))
386386 then true
387387 else (num == 2))
388388 then true
389389 else (num == 3)
390390 else false)
391391 then 11
392392 else if (if ((bet == 100))
393393 then if (if ((num == 4))
394394 then true
395395 else (num == 5))
396396 then true
397397 else (num == 6)
398398 else false)
399399 then 11
400400 else if (if ((bet == 101))
401401 then if (if ((num == 7))
402402 then true
403403 else (num == 8))
404404 then true
405405 else (num == 9)
406406 else false)
407407 then 11
408408 else if (if ((bet == 102))
409409 then if (if ((num == 10))
410410 then true
411411 else (num == 11))
412412 then true
413413 else (num == 12)
414414 else false)
415415 then 11
416416 else if (if ((bet == 103))
417417 then if (if ((num == 13))
418418 then true
419419 else (num == 14))
420420 then true
421421 else (num == 15)
422422 else false)
423423 then 11
424424 else if (if ((bet == 104))
425425 then if (if ((num == 16))
426426 then true
427427 else (num == 17))
428428 then true
429429 else (num == 18)
430430 else false)
431431 then 11
432432 else if (if ((bet == 105))
433433 then if (if ((num == 19))
434434 then true
435435 else (num == 20))
436436 then true
437437 else (num == 21)
438438 else false)
439439 then 11
440440 else if (if ((bet == 106))
441441 then if (if ((num == 22))
442442 then true
443443 else (num == 23))
444444 then true
445445 else (num == 24)
446446 else false)
447447 then 11
448448 else if (if ((bet == 107))
449449 then if (if ((num == 25))
450450 then true
451451 else (num == 26))
452452 then true
453453 else (num == 27)
454454 else false)
455455 then 11
456456 else if (if ((bet == 108))
457457 then if (if ((num == 28))
458458 then true
459459 else (num == 29))
460460 then true
461461 else (num == 30)
462462 else false)
463463 then 11
464464 else if (if ((bet == 109))
465465 then if (if ((num == 31))
466466 then true
467467 else (num == 32))
468468 then true
469469 else (num == 33)
470470 else false)
471471 then 11
472472 else if (if ((bet == 110))
473473 then if (if ((num == 34))
474474 then true
475475 else (num == 35))
476476 then true
477477 else (num == 36)
478478 else false)
479479 then 11
480480 else 0
481481
482482
483483 func cornerBet (num,bet) = if (if ((bet == 111))
484484 then if (if (if ((num == 0))
485485 then true
486486 else (num == 1))
487487 then true
488488 else (num == 2))
489489 then true
490490 else (num == 3)
491491 else false)
492492 then 8
493493 else if (if ((bet == 112))
494494 then if (if (if ((num == 1))
495495 then true
496496 else (num == 2))
497497 then true
498498 else (num == 4))
499499 then true
500500 else (num == 5)
501501 else false)
502502 then 8
503503 else if (if ((bet == 113))
504504 then if (if (if ((num == 2))
505505 then true
506506 else (num == 3))
507507 then true
508508 else (num == 5))
509509 then true
510510 else (num == 6)
511511 else false)
512512 then 8
513513 else if (if ((bet == 114))
514514 then if (if (if ((num == 4))
515515 then true
516516 else (num == 5))
517517 then true
518518 else (num == 7))
519519 then true
520520 else (num == 8)
521521 else false)
522522 then 8
523523 else if (if ((bet == 115))
524524 then if (if (if ((num == 5))
525525 then true
526526 else (num == 6))
527527 then true
528528 else (num == 8))
529529 then true
530530 else (num == 9)
531531 else false)
532532 then 8
533533 else if (if ((bet == 116))
534534 then if (if (if ((num == 7))
535535 then true
536536 else (num == 8))
537537 then true
538538 else (num == 10))
539539 then true
540540 else (num == 11)
541541 else false)
542542 then 8
543543 else if (if ((bet == 117))
544544 then if (if (if ((num == 8))
545545 then true
546546 else (num == 9))
547547 then true
548548 else (num == 11))
549549 then true
550550 else (num == 12)
551551 else false)
552552 then 8
553553 else if (if ((bet == 118))
554554 then if (if (if ((num == 10))
555555 then true
556556 else (num == 11))
557557 then true
558558 else (num == 13))
559559 then true
560560 else (num == 14)
561561 else false)
562562 then 8
563563 else if (if ((bet == 119))
564564 then if (if (if ((num == 11))
565565 then true
566566 else (num == 12))
567567 then true
568568 else (num == 14))
569569 then true
570570 else (num == 15)
571571 else false)
572572 then 8
573573 else if (if ((bet == 120))
574574 then if (if (if ((num == 13))
575575 then true
576576 else (num == 14))
577577 then true
578578 else (num == 16))
579579 then true
580580 else (num == 17)
581581 else false)
582582 then 8
583583 else if (if ((bet == 121))
584584 then if (if (if ((num == 14))
585585 then true
586586 else (num == 15))
587587 then true
588588 else (num == 17))
589589 then true
590590 else (num == 18)
591591 else false)
592592 then 8
593593 else if (if ((bet == 122))
594594 then if (if (if ((num == 16))
595595 then true
596596 else (num == 17))
597597 then true
598598 else (num == 19))
599599 then true
600600 else (num == 20)
601601 else false)
602602 then 8
603603 else if (if ((bet == 123))
604604 then if (if (if ((num == 17))
605605 then true
606606 else (num == 18))
607607 then true
608608 else (num == 20))
609609 then true
610610 else (num == 21)
611611 else false)
612612 then 8
613613 else if (if ((bet == 124))
614614 then if (if (if ((num == 19))
615615 then true
616616 else (num == 20))
617617 then true
618618 else (num == 22))
619619 then true
620620 else (num == 23)
621621 else false)
622622 then 8
623623 else if (if ((bet == 125))
624624 then if (if (if ((num == 20))
625625 then true
626626 else (num == 21))
627627 then true
628628 else (num == 23))
629629 then true
630630 else (num == 24)
631631 else false)
632632 then 8
633633 else if (if ((bet == 126))
634634 then if (if (if ((num == 22))
635635 then true
636636 else (num == 23))
637637 then true
638638 else (num == 25))
639639 then true
640640 else (num == 26)
641641 else false)
642642 then 8
643643 else if (if ((bet == 127))
644644 then if (if (if ((num == 23))
645645 then true
646646 else (num == 24))
647647 then true
648648 else (num == 26))
649649 then true
650650 else (num == 27)
651651 else false)
652652 then 8
653653 else if (if ((bet == 128))
654654 then if (if (if ((num == 25))
655655 then true
656656 else (num == 26))
657657 then true
658658 else (num == 28))
659659 then true
660660 else (num == 29)
661661 else false)
662662 then 8
663663 else if (if ((bet == 129))
664664 then if (if (if ((num == 26))
665665 then true
666666 else (num == 27))
667667 then true
668668 else (num == 29))
669669 then true
670670 else (num == 30)
671671 else false)
672672 then 8
673673 else if (if ((bet == 130))
674674 then if (if (if ((num == 28))
675675 then true
676676 else (num == 29))
677677 then true
678678 else (num == 31))
679679 then true
680680 else (num == 32)
681681 else false)
682682 then 8
683683 else if (if ((bet == 131))
684684 then if (if (if ((num == 29))
685685 then true
686686 else (num == 30))
687687 then true
688688 else (num == 32))
689689 then true
690690 else (num == 33)
691691 else false)
692692 then 8
693693 else if (if ((bet == 132))
694694 then if (if (if ((num == 31))
695695 then true
696696 else (num == 32))
697697 then true
698698 else (num == 34))
699699 then true
700700 else (num == 35)
701701 else false)
702702 then 8
703703 else if (if ((bet == 133))
704704 then if (if (if ((num == 32))
705705 then true
706706 else (num == 33))
707707 then true
708708 else (num == 35))
709709 then true
710710 else (num == 36)
711711 else false)
712712 then 8
713713 else 0
714714
715715
716716 func lineBet (num,bet) = if (if (if ((bet == 134))
717717 then (num >= 1)
718718 else false)
719719 then (6 >= num)
720720 else false)
721721 then 5
722722 else if (if (if ((bet == 135))
723723 then (num >= 4)
724724 else false)
725725 then (9 >= num)
726726 else false)
727727 then 5
728728 else if (if (if ((bet == 136))
729729 then (num >= 7)
730730 else false)
731731 then (12 >= num)
732732 else false)
733733 then 5
734734 else if (if (if ((bet == 137))
735735 then (num >= 10)
736736 else false)
737737 then (15 >= num)
738738 else false)
739739 then 5
740740 else if (if (if ((bet == 138))
741741 then (num >= 13)
742742 else false)
743743 then (18 >= num)
744744 else false)
745745 then 5
746746 else if (if (if ((bet == 139))
747747 then (num >= 16)
748748 else false)
749749 then (21 >= num)
750750 else false)
751751 then 5
752752 else if (if (if ((bet == 140))
753753 then (num >= 19)
754754 else false)
755755 then (24 >= num)
756756 else false)
757757 then 5
758758 else if (if (if ((bet == 141))
759759 then (num >= 22)
760760 else false)
761761 then (27 >= num)
762762 else false)
763763 then 5
764764 else if (if (if ((bet == 142))
765765 then (num >= 25)
766766 else false)
767767 then (30 >= num)
768768 else false)
769769 then 5
770770 else if (if (if ((bet == 143))
771771 then (num >= 28)
772772 else false)
773773 then (33 >= num)
774774 else false)
775775 then 5
776776 else if (if (if ((bet == 144))
777777 then (num >= 31)
778778 else false)
779779 then (36 >= num)
780780 else false)
781781 then 5
782782 else 0
783783
784784
785785 func columnBet (num,bet) = if (if ((bet == 145))
786786 then if (if (if (if (if (if (if (if (if (if (if (if ((num == 0))
787787 then true
788788 else (num == 1))
789789 then true
790790 else (num == 4))
791791 then true
792792 else (num == 7))
793793 then true
794794 else (num == 10))
795795 then true
796796 else (num == 13))
797797 then true
798798 else (num == 16))
799799 then true
800800 else (num == 19))
801801 then true
802802 else (num == 22))
803803 then true
804804 else (num == 25))
805805 then true
806806 else (num == 28))
807807 then true
808808 else (num == 31))
809809 then true
810810 else (num == 34)
811811 else false)
812812 then 2
813813 else if (if ((bet == 146))
814814 then if (if (if (if (if (if (if (if (if (if (if (if ((num == 0))
815815 then true
816816 else (num == 2))
817817 then true
818818 else (num == 5))
819819 then true
820820 else (num == 8))
821821 then true
822822 else (num == 11))
823823 then true
824824 else (num == 14))
825825 then true
826826 else (num == 17))
827827 then true
828828 else (num == 20))
829829 then true
830830 else (num == 23))
831831 then true
832832 else (num == 26))
833833 then true
834834 else (num == 29))
835835 then true
836836 else (num == 32))
837837 then true
838838 else (num == 35)
839839 else false)
840840 then 2
841841 else if (if ((bet == 147))
842842 then if (if (if (if (if (if (if (if (if (if (if (if ((num == 0))
843843 then true
844844 else (num == 3))
845845 then true
846846 else (num == 6))
847847 then true
848848 else (num == 9))
849849 then true
850850 else (num == 12))
851851 then true
852852 else (num == 15))
853853 then true
854854 else (num == 18))
855855 then true
856856 else (num == 21))
857857 then true
858858 else (num == 24))
859859 then true
860860 else (num == 27))
861861 then true
862862 else (num == 30))
863863 then true
864864 else (num == 33))
865865 then true
866866 else (num == 36)
867867 else false)
868868 then 2
869869 else 0
870870
871871
872872 func dozenBet (num,bet) = if (if (if ((bet == 148))
873873 then (num >= 1)
874874 else false)
875875 then (12 >= num)
876876 else false)
877877 then 2
878878 else if (if (if ((bet == 149))
879879 then (num >= 13)
880880 else false)
881881 then (24 >= num)
882882 else false)
883883 then 2
884884 else if (if (if ((bet == 150))
885885 then (num >= 25)
886886 else false)
887887 then (36 >= num)
888888 else false)
889889 then 2
890890 else 0
891891
892892
893893 func colorBet (num,bet) = if (if ((bet == 151))
894894 then if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if ((num == 1))
895895 then true
896896 else (num == 3))
897897 then true
898898 else (num == 5))
899899 then true
900900 else (num == 7))
901901 then true
902902 else (num == 9))
903903 then true
904904 else (num == 12))
905905 then true
906906 else (num == 14))
907907 then true
908908 else (num == 16))
909909 then true
910910 else (num == 18))
911911 then true
912912 else (num == 19))
913913 then true
914914 else (num == 21))
915915 then true
916916 else (num == 23))
917917 then true
918918 else (num == 25))
919919 then true
920920 else (num == 27))
921921 then true
922922 else (num == 30))
923923 then true
924924 else (num == 32))
925925 then true
926926 else (num == 34))
927927 then true
928928 else (num == 36)
929929 else false)
930930 then 2
931931 else if (if ((bet == 152))
932932 then if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if ((num == 2))
933933 then true
934934 else (num == 4))
935935 then true
936936 else (num == 6))
937937 then true
938938 else (num == 8))
939939 then true
940940 else (num == 10))
941941 then true
942942 else (num == 11))
943943 then true
944944 else (num == 13))
945945 then true
946946 else (num == 15))
947947 then true
948948 else (num == 17))
949949 then true
950950 else (num == 20))
951951 then true
952952 else (num == 22))
953953 then true
954954 else (num == 24))
955955 then true
956956 else (num == 26))
957957 then true
958958 else (num == 28))
959959 then true
960960 else (num == 29))
961961 then true
962962 else (num == 31))
963963 then true
964964 else (num == 33))
965965 then true
966966 else (num == 35)
967967 else false)
968968 then 2
969969 else 0
970970
971971
972972 func evenOddBet (num,bet) = {
973973 let rem = (num % 2)
974974 if (if (if ((num > 0))
975975 then (bet == 153)
976976 else false)
977977 then (rem == 0)
978978 else false)
979979 then 1
980980 else if (if (if ((num > 0))
981981 then (bet == 154)
982982 else false)
983983 then (rem != 0)
984984 else false)
985985 then 1
986986 else 0
987987 }
988988
989989
990990 func lowHighBet (num,bet) = if (if (if ((bet == 155))
991991 then (num >= 1)
992992 else false)
993993 then (18 >= num)
994994 else false)
995995 then 1
996996 else if (if (if ((bet == 156))
997997 then (num >= 19)
998998 else false)
999999 then (36 >= num)
10001000 else false)
10011001 then 1
10021002 else 0
10031003
10041004
10051005 func rouletteCalc (num,bet,betValuet) = if (if ((bet >= 0))
10061006 then (36 >= bet)
10071007 else false)
10081008 then (straightUpBet(num, bet) * betValuet)
10091009 else if (if ((bet >= 37))
10101010 then (96 >= bet)
10111011 else false)
10121012 then (splitBet(num, bet) * betValuet)
10131013 else if (if ((bet >= 97))
10141014 then (110 >= bet)
10151015 else false)
10161016 then (streetBet(num, bet) * betValuet)
10171017 else if (if ((bet >= 111))
10181018 then (133 >= bet)
10191019 else false)
10201020 then (cornerBet(num, bet) * betValuet)
10211021 else if (if ((bet >= 134))
10221022 then (144 >= bet)
10231023 else false)
10241024 then (lineBet(num, bet) * betValuet)
10251025 else if (if ((bet >= 145))
10261026 then (147 >= bet)
10271027 else false)
10281028 then (columnBet(num, bet) * betValuet)
10291029 else if (if ((bet >= 148))
10301030 then (150 >= bet)
10311031 else false)
10321032 then (dozenBet(num, bet) * betValuet)
10331033 else if (if ((bet == 151))
10341034 then true
10351035 else (bet == 152))
10361036 then (colorBet(num, bet) * betValuet)
10371037 else if (if ((bet == 153))
10381038 then true
10391039 else (bet == 154))
10401040 then (evenOddBet(num, bet) * betValuet)
10411041 else if (if ((bet == 155))
10421042 then true
10431043 else (bet == 156))
10441044 then (lowHighBet(num, bet) * betValuet)
10451045 else throw("Random number out of range, 0 <= rand <= 36")
10461046
10471047
10481048 func IncrementGameNum () = {
10491049 let gameNum = match getInteger(this, GAMESCOUNTERKEY) {
10501050 case num: Int =>
10511051 num
10521052 case _ =>
10531053 0
10541054 }
10551055 (gameNum + 1)
10561056 }
10571057
10581058
10591059 func ExtractReservedAmt () = match getInteger(this, RESERVATIONKEY) {
10601060 case a: Int =>
10611061 a
10621062 case _ =>
10631063 0
10641064 }
10651065
10661066
10671067 func ValidateAndIncreaseReservedAmt (winAmt) = {
10681068 let newReservedAmount = (ExtractReservedAmt() + winAmt)
10691069 let balance = assetBalance(this, WBET)
10701070 if ((newReservedAmount > balance))
10711071 then throw("Insufficient funds on Wavesbet Dice account. Transaction was rejected for your safety.")
10721072 else newReservedAmount
10731073 }
10741074
10751075
10761076 func FormatGameDataStr (gameState,playerPubKey58,bet1,bet2,bet3) = {
10771077 let fullStateStr = (((((gameState + "_") + (playerPubKey58 + "_")) + (bet1 + "_")) + (bet2 + "_")) + bet3)
10781078 fullStateStr
10791079 }
10801080
10811081
10821082 func GenerateRandInt (gameId,rsaSign) = {
10831083 let rsaSigValid = rsaVerify(SHA256, toBytes(gameId), rsaSign, RSAPUBLIC)
10841084 if (rsaSigValid)
10851085 then {
10861086 let rand = ((toInt(sha256(rsaSign)) % 100) * 37)
10871087 if ((0 > rand))
10881088 then ((-1 * rand) + 1)
10891089 else (rand + 1)
10901090 }
10911091 else throw("Invalid RSA signature")
10921092 }
10931093
10941094
10951095 func RandToStr (r) = if (if ((r >= 1))
10961096 then (36 >= r)
10971097 else false)
10981098 then toString(r)
10991099 else throw(("Unsupported r parameter passed: expected=[0,...,36] actual=" + toString(r)))
11001100
11011101
11021102 func formatBet (bet,betValue) = if ((10 > bet))
11031103 then ((("00" + toString(bet)) + "-") + toString(betValue))
11041104 else if (if ((bet >= 10))
11051105 then (100 > bet)
11061106 else false)
11071107 then ((("0" + toString(bet)) + "-") + toString(betValue))
11081108 else ((toString(bet) + "-") + toString(betValue))
11091109
11101110
11111111 func validateBet (bet,betValue) = if (if ((0 > bet))
11121112 then true
11131113 else (bet > 156))
11141114 then throw("invalid play, play must be between 0 and 156.")
11151115 else if ((0 > betValue))
11161116 then throw("Bet value must be greater than or equal to 0")
11171117 else formatBet(bet, betValue)
11181118
11191119
11201120 @Callable(i)
11211121 func playRoulette (bet1,val1,bet2,val2,bet3,val3) = {
11221122 let gameId = toBase58String(i.transactionId)
11231123 let gameIdUsed = isDefined(getString(this, gameId))
11241124 let payment = extract(i.payment)
11251125 let feeAssetId = isDefined(i.feeAssetId)
11261126 let playerBalance = wavesBalance(i.caller)
11271127 let playAmount = (((val1 + val2) + val3) * WAVELET)
11281128 if ((payment.assetId != WBET))
11291129 then throw("Payment should be in Wavesbet")
11301130 else if ((1000000 > playerBalance))
11311131 then throw("There are not enough waves, it takes 0.01 Waves to bet. Game aborted.")
11321132 else if (feeAssetId)
11331133 then throw("Transaction's fee must be in Waves. Game aborted.")
11341134 else if (gameIdUsed)
11351135 then throw("Passed gameId had been used before. Game aborted.")
11361136 else if ((playAmount != payment.amount))
11371137 then throw((("Payment value is different from bet value. " + toString(playAmount)) + toString(payment.amount)))
11381138 else {
11391139 let newGameNum = IncrementGameNum()
11401140 let playerPubKey58 = toBase58String(i.callerPublicKey)
11411141 let gameDataStr = FormatGameDataStr(STATESUBMITTED, playerPubKey58, validateBet(bet1, val1), validateBet(bet2, val2), validateBet(bet3, val3))
11421142 ScriptResult(WriteSet([DataEntry(GAMESCOUNTERKEY, newGameNum), DataEntry(gameId, gameDataStr)]), TransferSet(nil))
11431143 }
11441144 }
11451145
11461146
11471147
11481148 @Callable(i)
11491149 func withdraw (gameId,rsaSig) = {
11501150 let gameDataList = split(gameId, "_")
11511151 let gameState = gameDataList[0]
11521152 let playerPubKey58 = gameDataList[1]
11531153 let playerAddress = addressFromPublicKey(fromBase58String(playerPubKey58))
11541154 if ((gameState != STATESUBMITTED))
1155- then throw("Invalid game state for passed gameId. Game aborted.")
1155+ then throw(("Invalid game state for passed gameId. Game aborted. " + gameState))
11561156 else {
11571157 let rand = GenerateRandInt(gameId, rsaSig)
11581158 let randStr = RandToStr(rand)
11591159 let result1 = rouletteCalc(rand, parseIntValue(take(gameDataList[3], 3)), parseIntValue(drop(gameDataList[3], 4)))
11601160 let result2 = rouletteCalc(rand, parseIntValue(take(gameDataList[4], 3)), parseIntValue(drop(gameDataList[4], 4)))
11611161 let result3 = rouletteCalc(rand, parseIntValue(take(gameDataList[5], 3)), parseIntValue(drop(gameDataList[5], 4)))
11621162 let winAmt = (((result1 + result2) + result3) * WAVELET)
11631163 if ((winAmt > 0))
11641164 then {
11651165 let newGameDataStr = ((((((((((((STATEWON + "_") + playerPubKey58) + "_") + gameDataList[3]) + "_") + gameDataList[4]) + "_") + gameDataList[5]) + "_") + toString(winAmt)) + "_") + randStr)
11661166 ScriptResult(WriteSet([DataEntry(gameId, newGameDataStr)]), TransferSet([ScriptTransfer(playerAddress, winAmt, WBET)]))
11671167 }
11681168 else {
11691169 let newGameDataStr = ((((((((((((STATELOST + "_") + playerPubKey58) + "_") + gameDataList[3]) + "_") + gameDataList[4]) + "_") + gameDataList[5]) + "_") + toString(winAmt)) + "_") + randStr)
11701170 WriteSet([DataEntry(gameId, newGameDataStr)])
11711171 }
11721172 }
11731173 }
11741174
11751175

github/deemru/w8io/169f3d6 
118.54 ms