tx · 4GJVSfNfXeuZfbcewX4xXWhiLfvwenoXR6csghkfb2ma

3Mz7zzdQoHabgytXU3UuTAzADXPBBLgFqu8:  -0.01400000 Waves

2019.12.27 03:28 [826698] smart account 3Mz7zzdQoHabgytXU3UuTAzADXPBBLgFqu8 > SELF 0.00000000 Waves

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

github/deemru/w8io/169f3d6 
104.26 ms