tx · 2vjcBi3enUk19jKpV2vnfhPXhWqxZ5pwjF3wLL7yzpvC

3NCs4motPXw3h6vyT7o6PAKmbo3e2jk8kHa:  -0.01400000 Waves

2019.10.26 01:38 [736248] smart account 3NCs4motPXw3h6vyT7o6PAKmbo3e2jk8kHa > SELF 0.00000000 Waves

{ "type": 13, "id": "2vjcBi3enUk19jKpV2vnfhPXhWqxZ5pwjF3wLL7yzpvC", "fee": 1400000, "feeAssetId": null, "timestamp": 1572041842529, "version": 1, "sender": "3NCs4motPXw3h6vyT7o6PAKmbo3e2jk8kHa", "senderPublicKey": "DdkgRd7YzZtSU3hXJc7sHsU7sM8nUSEwkzqZCaCTXKRe", "proofs": [ "5vAdFkWEYgsw7RMqBjFYv3nVq8QSCeG71DbW2A7goHmuMRTTRVdXSZiuPdRVZvrGPw7CQevdTxBeaBhGmCKRmeby" ], "script": "base64:AAIDAAAAAAAAAA4IARIECgIICBIECgIIAgAAACgAAAAACVJTQVBVQkxJQwkAAlsAAAABAgAAAY9iYXNlNjQ6TUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUFtT2xSQlRZRU8zSDdZOXJCbW9GUUZuNDM5MlB4MFF3MTNEc2RFaG56TUgyY2o2WTV5bVB1Q09MTU5lNXFyVXpRbDhvUkx6SUJ6RlZNWmx3VVlsMmJvc3JPSXhRYllGN1dWUVd2b1Z4RVQxWUlnRG0zTnp6T0xBNXVIN0NLTzBzbnNobU1GQ0RPWkVldzQxR2pLaDNQZ3grbmJBZ3VQOVpRUGZxU2FmRW1DM0NOLzR5RHNKcktyaVJuaVpKbzlqUy80TExzUkt3QjdIQVpIem9GOUxMN3RTWkgzaHRhTkd0YmRUa3haMVR6U1QzTWIyVlBTenNadlFEb2NYVVZPbUpPdTBvMjlhT1krR2tHL0c0UkNLMEZCV1FIRVV2QzUxVFJEUzVrOGphZDBPMU1vYmpRYzZiMThkK2Z1b1ZGZE5mWndHSCt1RnVkdFBHM1V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sYXllckNob2ljZQUAAAAIcm9sbFR5cGUFAAAADnBsYXllclB1YktleTU4BQAAAAZ3aW5BbXQFAAAAB3JhbmRTdHIJAQAAAAhXcml0ZVNldAAAAAEJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIFAAAABmdhbWVJZAUAAAAObmV3R2FtZURhdGFTdHIFAAAAA25pbAAAAAC+7+aq", "chainId": 84, "height": 736248, "spentComplexity": 0 } View: original | compacted Prev: CdoqtHKE8VTdPRECbQu1j5vKZvdi6TBKUqFL2Q4XmVnC Next: 4Jo2ENfW7ZBtadaNrgy8Eqf3VqUnN77e4RnuB6t1qQzy Diff:
OldNewDifferences
7676
7777 func E (F) = {
7878 let G = (C() + F)
79- let H = wavesBalance(this)
79+ let H = assetBalance(this, d)
8080 if ((G > H))
81- then throw("Insufficient funds on Wavesbet account. Transaction was rejected for your safety.")
81+ then throw("Insufficient funds on Waves Rider account. Transaction was rejected for your safety.")
8282 else G
8383 }
8484
9696
9797
9898 func L (M,N,O,P,F,Q) = {
99- let R = ((((((((I(M) + "_") + I(toString(N))) + "_") + I(O)) + "_") + I(P)) + "_") + I(toString(F)))
99+ let R = ((((((((I(M) + "_") + I(N)) + "_") + I(O)) + "_") + I(P)) + "_") + I(toString(F)))
100100 if ((Q == ""))
101101 then R
102102 else ((R + "_") + I(Q))
125125 func Z (aa) = {
126126 let M = U(aa)
127127 let N = U(M[1])
128- let O = U(N[1])
129- let P = U(O[1])
128+ let ab = U(N[1])
129+ let P = U(ab[1])
130130 let F = U(P[1])
131-[M[0], N[0], O[0], P[0], F[0]]
131+[M[0], N[0], ab[0], P[0], F[0]]
132132 }
133133
134134
135-func ab (ac) = {
136- let ad = {
137- let A = getString(this, ac)
135+func ac (ad) = {
136+ let ae = {
137+ let A = getString(this, ad)
138138 if ($isInstanceOf(A, "String"))
139139 then {
140- let ae = A
141- ae
140+ let af = A
141+ af
142142 }
143- else throw(("Couldn't find game by " + ac))
143+ else throw(("Couldn't find game by " + ad))
144144 }
145- Z(ad)
145+ Z(ae)
146146 }
147147
148148
149-func af (ac,F) = {
149+func ag (ad,F) = {
150150 let G = (C() - F)
151151 if ((0 > G))
152152 then throw("Invalid Dice Roller account state - reserved amount is less than 0")
154154 }
155155
156156
157-func ag (ac,ah) = {
158- let ai = rsaVerify(SHA256, toBytes(ac), ah, a)
159- if (ai)
157+func ah (ad,ai) = {
158+ let aj = rsaVerify(SHA256, toBytes(ad), ai, a)
159+ if (aj)
160160 then {
161- let Q = (toInt(sha256(ah)) % 100)
162- if ((0 > Q))
163- then ((-1 * Q) + 1)
164- else (Q + 1)
161+ let ak = (toInt(sha256(ai)) % 100)
162+ if ((0 > ak))
163+ then ((-1 * ak) + 1)
164+ else (ak + 1)
165165 }
166166 else throw("Invalid RSA signature")
167167 }
168168
169169
170-func aj (ak) = if (if ((ak >= 1))
171- then (100 >= ak)
170+func al (am) = if (if ((am >= 1))
171+ then (100 >= am)
172172 else false)
173- then toString(ak)
174- else throw(("Unsupported r parameter passed: expected=[1,...,100] actual=" + toString(ak)))
173+ then toString(am)
174+ else throw(("Unsupported r parameter passed: expected=[1,...,100] actual=" + toString(am)))
175175
176176
177-func al (ac,am,F,an) = {
178- let ao = [ScriptTransfer(am, F, d)]
179- let ap = WriteSet([DataEntry("Game Id", ac), DataEntry("Player Address", toString(am))])
180- ScriptResult(ap, TransferSet(ao))
177+func an (ad,ao,F,ap) = {
178+ let aq = [ScriptTransfer(ao, F, base58'4vPcbA5yiwpWBVPALPGXus6fNdGEuYTpe4hAeSxM9Kj4')]
179+ let ar = WriteSet([DataEntry("Game Id", ad), DataEntry("Player Address", toString(ao))])
180+ ScriptResult(ar, TransferSet(aq))
181181 }
182182
183183
184-func aq (N,O) = if ((O == m))
185- then if ((N == 1))
184+func as (at,ab) = if ((ab == m))
185+ then if ((at == 1))
186186 then 9850000
187- else if ((N == 2))
187+ else if ((at == 2))
188188 then 4925000
189- else if ((N == 3))
189+ else if ((at == 3))
190190 then 3283330
191- else if ((N == 4))
191+ else if ((at == 4))
192192 then 2462500
193- else if ((N == 5))
193+ else if ((at == 5))
194194 then 1970000
195- else if ((N == 6))
195+ else if ((at == 6))
196196 then 1641660
197- else if ((N == 7))
197+ else if ((at == 7))
198198 then 1407140
199- else if ((N == 8))
199+ else if ((at == 8))
200200 then 1231250
201- else if ((N == 9))
201+ else if ((at == 9))
202202 then 1094440
203- else if ((N == 10))
203+ else if ((at == 10))
204204 then 985000
205- else if ((N == 11))
205+ else if ((at == 11))
206206 then 895450
207- else if ((N == 12))
207+ else if ((at == 12))
208208 then 820830
209- else if ((N == 13))
209+ else if ((at == 13))
210210 then 757690
211- else if ((N == 14))
211+ else if ((at == 14))
212212 then 703570
213- else if ((N == 15))
213+ else if ((at == 15))
214214 then 656660
215- else if ((N == 16))
215+ else if ((at == 16))
216216 then 615620
217- else if ((N == 17))
217+ else if ((at == 17))
218218 then 579410
219- else if ((N == 18))
219+ else if ((at == 18))
220220 then 547220
221- else if ((N == 19))
221+ else if ((at == 19))
222222 then 518420
223- else if ((N == 20))
223+ else if ((at == 20))
224224 then 492500
225- else if ((N == 21))
225+ else if ((at == 21))
226226 then 469040
227- else if ((N == 22))
227+ else if ((at == 22))
228228 then 447720
229- else if ((N == 23))
229+ else if ((at == 23))
230230 then 428260
231- else if ((N == 24))
231+ else if ((at == 24))
232232 then 410410
233- else if ((N == 25))
233+ else if ((at == 25))
234234 then 394000
235- else if ((N == 26))
235+ else if ((at == 26))
236236 then 378840
237- else if ((N == 27))
237+ else if ((at == 27))
238238 then 364810
239- else if ((N == 28))
239+ else if ((at == 28))
240240 then 351780
241- else if ((N == 29))
241+ else if ((at == 29))
242242 then 339650
243- else if ((N == 30))
243+ else if ((at == 30))
244244 then 328330
245- else if ((N == 31))
245+ else if ((at == 31))
246246 then 317740
247- else if ((N == 32))
247+ else if ((at == 32))
248248 then 307810
249- else if ((N == 33))
249+ else if ((at == 33))
250250 then 298480
251- else if ((N == 34))
251+ else if ((at == 34))
252252 then 289700
253- else if ((N == 35))
253+ else if ((at == 35))
254254 then 281420
255- else if ((N == 36))
255+ else if ((at == 36))
256256 then 273610
257- else if ((N == 37))
257+ else if ((at == 37))
258258 then 259210
259- else if ((N == 38))
259+ else if ((at == 38))
260260 then 259210
261- else if ((N == 39))
261+ else if ((at == 39))
262262 then 252560
263- else if ((N == 40))
263+ else if ((at == 40))
264264 then 246250
265- else if ((N == 41))
265+ else if ((at == 41))
266266 then 240240
267- else if ((N == 42))
267+ else if ((at == 42))
268268 then 234520
269- else if ((N == 43))
269+ else if ((at == 43))
270270 then 229060
271- else if ((N == 44))
271+ else if ((at == 44))
272272 then 223860
273- else if ((N == 45))
273+ else if ((at == 45))
274274 then 218880
275- else if ((N == 46))
275+ else if ((at == 46))
276276 then 214130
277- else if ((N == 47))
277+ else if ((at == 47))
278278 then 209570
279- else if ((N == 48))
279+ else if ((at == 48))
280280 then 205200
281- else if ((N == 49))
281+ else if ((at == 49))
282282 then 201020
283- else if ((N == 50))
283+ else if ((at == 50))
284284 then 197000
285- else if ((N == 51))
285+ else if ((at == 51))
286286 then 193130
287- else if ((N == 52))
287+ else if ((at == 52))
288288 then 189420
289- else if ((N == 53))
289+ else if ((at == 53))
290290 then 185840
291- else if ((N == 54))
291+ else if ((at == 54))
292292 then 182400
293- else if ((N == 55))
293+ else if ((at == 55))
294294 then 179090
295- else if ((N == 56))
295+ else if ((at == 56))
296296 then 175890
297- else if ((N == 57))
297+ else if ((at == 57))
298298 then 172800
299- else if ((N == 58))
299+ else if ((at == 58))
300300 then 169820
301- else if ((N == 59))
301+ else if ((at == 59))
302302 then 166940
303- else if ((N == 60))
303+ else if ((at == 60))
304304 then 164160
305- else if ((N == 61))
305+ else if ((at == 61))
306306 then 161470
307- else if ((N == 62))
307+ else if ((at == 62))
308308 then 158870
309- else if ((N == 63))
309+ else if ((at == 63))
310310 then 156340
311- else if ((N == 64))
311+ else if ((at == 64))
312312 then 153900
313- else if ((N == 65))
313+ else if ((at == 65))
314314 then 151530
315- else if ((N == 66))
315+ else if ((at == 66))
316316 then 149240
317- else if ((N == 67))
317+ else if ((at == 67))
318318 then 147010
319- else if ((N == 68))
319+ else if ((at == 68))
320320 then 144850
321- else if ((N == 69))
321+ else if ((at == 69))
322322 then 142750
323- else if ((N == 70))
323+ else if ((at == 70))
324324 then 140710
325- else if ((N == 71))
325+ else if ((at == 71))
326326 then 138730
327- else if ((N == 72))
327+ else if ((at == 72))
328328 then 136800
329- else if ((N == 73))
329+ else if ((at == 73))
330330 then 134930
331- else if ((N == 74))
331+ else if ((at == 74))
332332 then 133100
333- else if ((N == 75))
333+ else if ((at == 75))
334334 then 131330
335- else if ((N == 76))
335+ else if ((at == 76))
336336 then 129600
337- else if ((N == 77))
337+ else if ((at == 77))
338338 then 127920
339- else if ((N == 78))
339+ else if ((at == 78))
340340 then 126280
341- else if ((N == 79))
341+ else if ((at == 79))
342342 then 124680
343- else if ((N == 80))
343+ else if ((at == 80))
344344 then 123120
345- else if ((N == 81))
345+ else if ((at == 81))
346346 then 121600
347- else if ((N == 82))
347+ else if ((at == 82))
348348 then 120120
349- else if ((N == 83))
349+ else if ((at == 83))
350350 then 118670
351- else if ((N == 84))
351+ else if ((at == 84))
352352 then 117260
353- else if ((N == 85))
353+ else if ((at == 85))
354354 then 115880
355- else if ((N == 86))
355+ else if ((at == 86))
356356 then 114530
357- else if ((N == 87))
357+ else if ((at == 87))
358358 then 113210
359- else if ((N == 88))
359+ else if ((at == 88))
360360 then 111930
361- else if ((N == 89))
361+ else if ((at == 89))
362362 then 110670
363- else if ((N == 90))
363+ else if ((at == 90))
364364 then 109440
365- else if ((N == 91))
365+ else if ((at == 91))
366366 then 108240
367- else if ((N == 92))
367+ else if ((at == 92))
368368 then 107060
369- else if ((N == 93))
369+ else if ((at == 93))
370370 then 105910
371- else if ((N == 94))
371+ else if ((at == 94))
372372 then 104780
373- else if ((N == 95))
373+ else if ((at == 95))
374374 then 103680
375- else if ((N == 96))
375+ else if ((at == 96))
376376 then 103680
377377 else 100000
378- else if ((O == n))
379- then if ((N == 4))
378+ else if ((ab == n))
379+ then if ((at == 4))
380380 then 103680
381- else if ((N == 5))
381+ else if ((at == 5))
382382 then 103680
383- else if ((N == 6))
383+ else if ((at == 6))
384384 then 104780
385- else if ((N == 7))
385+ else if ((at == 7))
386386 then 105910
387- else if ((N == 8))
387+ else if ((at == 8))
388388 then 107060
389- else if ((N == 9))
389+ else if ((at == 9))
390390 then 108240
391- else if ((N == 10))
391+ else if ((at == 10))
392392 then 109440
393- else if ((N == 11))
393+ else if ((at == 11))
394394 then 110670
395- else if ((N == 12))
395+ else if ((at == 12))
396396 then 111930
397- else if ((N == 13))
397+ else if ((at == 13))
398398 then 113210
399- else if ((N == 14))
399+ else if ((at == 14))
400400 then 114530
401- else if ((N == 15))
401+ else if ((at == 15))
402402 then 115880
403- else if ((N == 16))
403+ else if ((at == 16))
404404 then 117260
405- else if ((N == 17))
405+ else if ((at == 17))
406406 then 118670
407- else if ((N == 18))
407+ else if ((at == 18))
408408 then 120120
409- else if ((N == 19))
409+ else if ((at == 19))
410410 then 121600
411- else if ((N == 20))
411+ else if ((at == 20))
412412 then 123120
413- else if ((N == 21))
413+ else if ((at == 21))
414414 then 124680
415- else if ((N == 22))
415+ else if ((at == 22))
416416 then 126280
417- else if ((N == 23))
417+ else if ((at == 23))
418418 then 127920
419- else if ((N == 24))
419+ else if ((at == 24))
420420 then 129600
421- else if ((N == 25))
421+ else if ((at == 25))
422422 then 131330
423- else if ((N == 26))
423+ else if ((at == 26))
424424 then 133100
425- else if ((N == 27))
425+ else if ((at == 27))
426426 then 134930
427- else if ((N == 28))
427+ else if ((at == 28))
428428 then 136800
429- else if ((N == 29))
429+ else if ((at == 29))
430430 then 138730
431- else if ((N == 30))
431+ else if ((at == 30))
432432 then 140710
433- else if ((N == 31))
433+ else if ((at == 31))
434434 then 142750
435- else if ((N == 32))
435+ else if ((at == 32))
436436 then 144850
437- else if ((N == 33))
437+ else if ((at == 33))
438438 then 147010
439- else if ((N == 34))
439+ else if ((at == 34))
440440 then 149240
441- else if ((N == 35))
441+ else if ((at == 35))
442442 then 151530
443- else if ((N == 36))
443+ else if ((at == 36))
444444 then 153900
445- else if ((N == 37))
445+ else if ((at == 37))
446446 then 156340
447- else if ((N == 38))
447+ else if ((at == 38))
448448 then 158870
449- else if ((N == 39))
449+ else if ((at == 39))
450450 then 161470
451- else if ((N == 40))
451+ else if ((at == 40))
452452 then 164160
453- else if ((N == 41))
453+ else if ((at == 41))
454454 then 166940
455- else if ((N == 42))
455+ else if ((at == 42))
456456 then 169820
457- else if ((N == 43))
457+ else if ((at == 43))
458458 then 172800
459- else if ((N == 44))
459+ else if ((at == 44))
460460 then 175890
461- else if ((N == 45))
461+ else if ((at == 45))
462462 then 179090
463- else if ((N == 46))
463+ else if ((at == 46))
464464 then 185840
465- else if ((N == 47))
465+ else if ((at == 47))
466466 then 185840
467- else if ((N == 48))
467+ else if ((at == 48))
468468 then 189420
469- else if ((N == 49))
469+ else if ((at == 49))
470470 then 193130
471- else if ((N == 50))
471+ else if ((at == 50))
472472 then 197000
473- else if ((N == 51))
473+ else if ((at == 51))
474474 then 201020
475- else if ((N == 52))
475+ else if ((at == 52))
476476 then 205200
477- else if ((N == 53))
477+ else if ((at == 53))
478478 then 209570
479- else if ((N == 54))
479+ else if ((at == 54))
480480 then 214130
481- else if ((N == 55))
481+ else if ((at == 55))
482482 then 218880
483- else if ((N == 56))
483+ else if ((at == 56))
484484 then 223860
485- else if ((N == 57))
485+ else if ((at == 57))
486486 then 229060
487- else if ((N == 58))
487+ else if ((at == 58))
488488 then 234520
489- else if ((N == 59))
489+ else if ((at == 59))
490490 then 240240
491- else if ((N == 60))
491+ else if ((at == 60))
492492 then 246250
493- else if ((N == 61))
493+ else if ((at == 61))
494494 then 252560
495- else if ((N == 62))
495+ else if ((at == 62))
496496 then 259210
497- else if ((N == 63))
497+ else if ((at == 63))
498498 then 259210
499- else if ((N == 64))
499+ else if ((at == 64))
500500 then 273610
501- else if ((N == 65))
501+ else if ((at == 65))
502502 then 281420
503- else if ((N == 66))
503+ else if ((at == 66))
504504 then 289700
505- else if ((N == 67))
505+ else if ((at == 67))
506506 then 298480
507- else if ((N == 68))
507+ else if ((at == 68))
508508 then 307810
509- else if ((N == 69))
509+ else if ((at == 69))
510510 then 317740
511- else if ((N == 70))
511+ else if ((at == 70))
512512 then 328330
513- else if ((N == 71))
513+ else if ((at == 71))
514514 then 339650
515- else if ((N == 72))
515+ else if ((at == 72))
516516 then 351780
517- else if ((N == 73))
517+ else if ((at == 73))
518518 then 364810
519- else if ((N == 74))
519+ else if ((at == 74))
520520 then 378840
521- else if ((N == 75))
521+ else if ((at == 75))
522522 then 394000
523- else if ((N == 76))
523+ else if ((at == 76))
524524 then 410410
525- else if ((N == 77))
525+ else if ((at == 77))
526526 then 428260
527- else if ((N == 78))
527+ else if ((at == 78))
528528 then 447720
529- else if ((N == 79))
529+ else if ((at == 79))
530530 then 469040
531- else if ((N == 80))
531+ else if ((at == 80))
532532 then 492500
533- else if ((N == 81))
533+ else if ((at == 81))
534534 then 518420
535- else if ((N == 82))
535+ else if ((at == 82))
536536 then 547220
537- else if ((N == 83))
537+ else if ((at == 83))
538538 then 579410
539- else if ((N == 84))
539+ else if ((at == 84))
540540 then 615620
541- else if ((N == 85))
541+ else if ((at == 85))
542542 then 656660
543- else if ((N == 86))
543+ else if ((at == 86))
544544 then 703570
545- else if ((N == 87))
545+ else if ((at == 87))
546546 then 757690
547- else if ((N == 88))
547+ else if ((at == 88))
548548 then 820830
549- else if ((N == 89))
549+ else if ((at == 89))
550550 then 895450
551- else if ((N == 90))
551+ else if ((at == 90))
552552 then 985000
553- else if ((N == 91))
553+ else if ((at == 91))
554554 then 1094440
555- else if ((N == 92))
555+ else if ((at == 92))
556556 then 1231250
557- else if ((N == 93))
557+ else if ((at == 93))
558558 then 1407140
559- else if ((N == 94))
559+ else if ((at == 94))
560560 then 1641660
561- else if ((N == 95))
561+ else if ((at == 95))
562562 then 1970000
563- else if ((N == 96))
563+ else if ((at == 96))
564564 then 2462500
565- else if ((N == 97))
565+ else if ((at == 97))
566566 then 3283330
567- else if ((N == 98))
567+ else if ((at == 98))
568568 then 4925000
569- else if ((N == 99))
569+ else if ((at == 99))
570570 then 9850000
571571 else 100000
572572 else 100000
573573
574574
575-func ar (O,N,Q) = if ((O == m))
576- then if ((N >= Q))
575+func au (av,at,aw) = if ((av == m))
576+ then if ((at >= aw))
577577 then true
578578 else false
579- else if ((O == n))
580- then if ((Q >= N))
579+ else if ((av == n))
580+ then if ((aw >= at))
581581 then true
582582 else false
583583 else false
584584
585585
586-func as (at,N,O) = if (if ((o > at))
586+func ax (ay,at,ab) = if (if ((o > ay))
587587 then true
588- else (at > p))
588+ else (ay > p))
589589 then throw(((("Bet amount is not in range: minBet=" + toString((o / 100000000))) + " maxBet=") + toString((p / 100000000))))
590- else if (if ((O != m))
591- then (O != n)
590+ else if (if ((ab != m))
591+ then (ab != n)
592592 else false)
593593 then throw("Invalid Roll type, try with OVER or UNDER")
594- else if (if ((q > N))
594+ else if (if ((q > at))
595595 then true
596- else (N > r))
596+ else (at > r))
597597 then throw(((("Prediction is out of the condition: " + toString(q)) + " <= predction <= ") + toString(r)))
598598 else {
599- let au = aq(N, O)
600- ((((at * au) / 100000) * (100 - (h + i))) / 100)
599+ let az = as(at, ab)
600+ ((((ay * az) / 100000) * (100 - (h + i))) / 100)
601601 }
602602
603603
604-@Callable(av)
605-func playDice (O,N) = {
606- let ac = toBase58String(av.transactionId)
607- let aw = isDefined(getString(this, ac))
608- let ax = extract(av.payment)
609- let ay = isDefined(av.feeAssetId)
610- let F = as(ax.amount, N, O)
611- let az = wavesBalance(av.caller)
612- if ((100000 > az))
613- then throw("There are not enough waves, it takes 0.01 Waves to bet. Game aborted.")
614- else if ((ax.assetId != d))
615- then throw("Bet amount must be in Wbet. Game aborted.")
616- else if (ay)
604+@Callable(aA)
605+func playDice (ab,at) = {
606+ let aB = parseIntValue(at)
607+ let ad = toBase58String(aA.transactionId)
608+ let aC = extract(aA.payment)
609+ let aD = isDefined(aA.feeAssetId)
610+ let az = as(aB, ab)
611+ let F = ax(aC.amount, aB, ab)
612+ let aE = wavesBalance(aA.caller)
613+ let aF = isDefined(getString(this, ad))
614+ if ((aC.assetId != d))
615+ then throw("Payment should be in Wavesbet")
616+ else if ((100000 > aE))
617+ then throw("There are not enough waves, it takes 0.01 Waves to bet. Game aborted.")
618+ else if (aD)
617619 then throw("Transaction's fee must be in Waves. Game aborted.")
618- else if (aw)
620+ else if (aF)
619621 then throw("Passed gameId had been used before. Game aborted.")
620622 else {
621- let aA = y()
622- let P = toBase58String(av.callerPublicKey)
623- let aB = L(j, N, O, P, F, "")
624- ScriptResult(WriteSet([DataEntry(b, aA), DataEntry(ac, aB)]), TransferSet([ScriptTransfer(e, ((ax.amount * h) / 100), d), ScriptTransfer(this, 500000, unit)]))
623+ let aG = y()
624+ let P = toBase58String(aA.callerPublicKey)
625+ let aH = L(j, at, ab, P, F, "")
626+ ScriptResult(WriteSet([DataEntry(c, E(F)), DataEntry(b, aG), DataEntry(ad, aH)]), TransferSet([ScriptTransfer(e, ((aC.amount * h) / 100), d), ScriptTransfer(this, 500000, unit)]))
625627 }
626628 }
627629
628630
629631
630-@Callable(av)
631-func withdraw (ac,ah) = {
632- let aC = ab(ac)
633- let M = aC[s]
634- let aD = parseIntValue(aC[t])
635- let O = aC[u]
636- let P = aC[v]
637- let F = parseIntValue(aC[w])
638- let am = addressFromPublicKey(fromBase58String(P))
632+@Callable(aA)
633+func withdraw (ad,aI) = {
634+ let aJ = ac(ad)
635+ let M = aJ[s]
636+ let N = aJ[t]
637+ let ab = aJ[u]
638+ let F = parseIntValue(aJ[w])
639+ let P = aJ[v]
640+ let ao = addressFromPublicKey(fromBase58String(P))
641+ let aK = ag(ad, F)
639642 if ((M != j))
640- then throw("Invalid game state for passed gameId. Game aborted.")
643+ then throw("Invalid game state for passed gameId")
641644 else {
642- let Q = ag(ac, ah)
643- let aE = aj(Q)
644- if (ar(O, aD, Q))
645+ let ak = ah(ad, aI)
646+ let aL = al(ak)
647+ if (au(ab, parseIntValue(N), ak))
645648 then {
646- let an = L(k, aD, O, P, F, aE)
647- al(ac, am, F, an)
649+ let ap = L(k, N, ab, P, F, aL)
650+ an(ad, ao, F, ap)
648651 }
649652 else {
650- let an = L(l, aD, O, P, F, aE)
651- WriteSet([DataEntry(ac, an)])
653+ let ap = L(l, N, ab, P, F, aL)
654+ WriteSet([DataEntry(ad, ap)])
652655 }
653656 }
654657 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = fromBase64String("base64:MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAmOlRBTYEO3H7Y9rBmoFQFn4392Px0Qw13DsdEhnzMH2cj6Y5ymPuCOLMNe5qrUzQl8oRLzIBzFVMZlwUYl2bosrOIxQbYF7WVQWvoVxET1YIgDm3NzzOLA5uH7CKO0snshmMFCDOZEew41GjKh3Pgx+nbAguP9ZQPfqSafEmC3CN/4yDsJrKriRniZJo9jS/4LLsRKwB7HAZHzoF9LL7tSZH3htaNGtbdTkxZ1TzST3Mb2VPSzsZvQDocXUVOmJOu0o29aOY+GkG/G4RCK0FBWQHEUvC51TRDS5k8jad0O1MobjQc6b18d+fuoVFdNfZwGH+uFudtPG3UJTf2mkzZQIDAQAB")
55
66 let b = "$GAME_NUM"
77
88 let c = "$RESERVED_AMOUNT"
99
1010 let d = base58'23vgV9p9pD83A7CFbsDEc4zjanep7UeFo4ZRS6oGorhv'
1111
1212 let e = Address(base58'3N2tusqAtDctK8iSTXS6F9rimmftmSuwLUX')
1313
1414 let f = Address(base58'')
1515
1616 let g = ((100 * 1000) * 1000)
1717
1818 let h = 4
1919
2020 let i = 2
2121
2222 let j = "SUBMITTED"
2323
2424 let k = "WON"
2525
2626 let l = "LOST"
2727
2828 let m = "UNDER"
2929
3030 let n = "OVER"
3131
3232 let o = (100 * g)
3333
3434 let p = ((1000 * 100) * g)
3535
3636 let q = 4
3737
3838 let r = 100
3939
4040 let s = 0
4141
4242 let t = 1
4343
4444 let u = 2
4545
4646 let v = 3
4747
4848 let w = 4
4949
5050 let x = 5
5151
5252 func y () = {
5353 let z = {
5454 let A = getInteger(this, b)
5555 if ($isInstanceOf(A, "Int"))
5656 then {
5757 let B = A
5858 B
5959 }
6060 else 0
6161 }
6262 (z + 1)
6363 }
6464
6565
6666 func C () = {
6767 let A = getInteger(this, c)
6868 if ($isInstanceOf(A, "Int"))
6969 then {
7070 let D = A
7171 D
7272 }
7373 else 0
7474 }
7575
7676
7777 func E (F) = {
7878 let G = (C() + F)
79- let H = wavesBalance(this)
79+ let H = assetBalance(this, d)
8080 if ((G > H))
81- then throw("Insufficient funds on Wavesbet account. Transaction was rejected for your safety.")
81+ then throw("Insufficient funds on Waves Rider account. Transaction was rejected for your safety.")
8282 else G
8383 }
8484
8585
8686 func I (J) = {
8787 let K = size(J)
8888 if ((K == 0))
8989 then throw("Parameter size must be greater then 0")
9090 else if ((K > 99))
9191 then throw("Parameter size must be less then 100")
9292 else if ((10 > K))
9393 then (("0" + toString(K)) + J)
9494 else (toString(K) + J)
9595 }
9696
9797
9898 func L (M,N,O,P,F,Q) = {
99- let R = ((((((((I(M) + "_") + I(toString(N))) + "_") + I(O)) + "_") + I(P)) + "_") + I(toString(F)))
99+ let R = ((((((((I(M) + "_") + I(N)) + "_") + I(O)) + "_") + I(P)) + "_") + I(toString(F)))
100100 if ((Q == ""))
101101 then R
102102 else ((R + "_") + I(Q))
103103 }
104104
105105
106106 func S (T) = if ((size(T) > 0))
107107 then drop(T, 1)
108108 else T
109109
110110
111111 func U (T) = {
112112 let K = size(T)
113113 if ((K > 0))
114114 then {
115115 let V = parseIntValue(take(T, 2))
116116 let W = take(drop(T, 2), V)
117117 let X = drop(T, (V + 2))
118118 let Y = S(X)
119119 [W, Y]
120120 }
121121 else throw("Empty string was passed into parseNextAttribute func")
122122 }
123123
124124
125125 func Z (aa) = {
126126 let M = U(aa)
127127 let N = U(M[1])
128- let O = U(N[1])
129- let P = U(O[1])
128+ let ab = U(N[1])
129+ let P = U(ab[1])
130130 let F = U(P[1])
131-[M[0], N[0], O[0], P[0], F[0]]
131+[M[0], N[0], ab[0], P[0], F[0]]
132132 }
133133
134134
135-func ab (ac) = {
136- let ad = {
137- let A = getString(this, ac)
135+func ac (ad) = {
136+ let ae = {
137+ let A = getString(this, ad)
138138 if ($isInstanceOf(A, "String"))
139139 then {
140- let ae = A
141- ae
140+ let af = A
141+ af
142142 }
143- else throw(("Couldn't find game by " + ac))
143+ else throw(("Couldn't find game by " + ad))
144144 }
145- Z(ad)
145+ Z(ae)
146146 }
147147
148148
149-func af (ac,F) = {
149+func ag (ad,F) = {
150150 let G = (C() - F)
151151 if ((0 > G))
152152 then throw("Invalid Dice Roller account state - reserved amount is less than 0")
153153 else DataEntry(c, G)
154154 }
155155
156156
157-func ag (ac,ah) = {
158- let ai = rsaVerify(SHA256, toBytes(ac), ah, a)
159- if (ai)
157+func ah (ad,ai) = {
158+ let aj = rsaVerify(SHA256, toBytes(ad), ai, a)
159+ if (aj)
160160 then {
161- let Q = (toInt(sha256(ah)) % 100)
162- if ((0 > Q))
163- then ((-1 * Q) + 1)
164- else (Q + 1)
161+ let ak = (toInt(sha256(ai)) % 100)
162+ if ((0 > ak))
163+ then ((-1 * ak) + 1)
164+ else (ak + 1)
165165 }
166166 else throw("Invalid RSA signature")
167167 }
168168
169169
170-func aj (ak) = if (if ((ak >= 1))
171- then (100 >= ak)
170+func al (am) = if (if ((am >= 1))
171+ then (100 >= am)
172172 else false)
173- then toString(ak)
174- else throw(("Unsupported r parameter passed: expected=[1,...,100] actual=" + toString(ak)))
173+ then toString(am)
174+ else throw(("Unsupported r parameter passed: expected=[1,...,100] actual=" + toString(am)))
175175
176176
177-func al (ac,am,F,an) = {
178- let ao = [ScriptTransfer(am, F, d)]
179- let ap = WriteSet([DataEntry("Game Id", ac), DataEntry("Player Address", toString(am))])
180- ScriptResult(ap, TransferSet(ao))
177+func an (ad,ao,F,ap) = {
178+ let aq = [ScriptTransfer(ao, F, base58'4vPcbA5yiwpWBVPALPGXus6fNdGEuYTpe4hAeSxM9Kj4')]
179+ let ar = WriteSet([DataEntry("Game Id", ad), DataEntry("Player Address", toString(ao))])
180+ ScriptResult(ar, TransferSet(aq))
181181 }
182182
183183
184-func aq (N,O) = if ((O == m))
185- then if ((N == 1))
184+func as (at,ab) = if ((ab == m))
185+ then if ((at == 1))
186186 then 9850000
187- else if ((N == 2))
187+ else if ((at == 2))
188188 then 4925000
189- else if ((N == 3))
189+ else if ((at == 3))
190190 then 3283330
191- else if ((N == 4))
191+ else if ((at == 4))
192192 then 2462500
193- else if ((N == 5))
193+ else if ((at == 5))
194194 then 1970000
195- else if ((N == 6))
195+ else if ((at == 6))
196196 then 1641660
197- else if ((N == 7))
197+ else if ((at == 7))
198198 then 1407140
199- else if ((N == 8))
199+ else if ((at == 8))
200200 then 1231250
201- else if ((N == 9))
201+ else if ((at == 9))
202202 then 1094440
203- else if ((N == 10))
203+ else if ((at == 10))
204204 then 985000
205- else if ((N == 11))
205+ else if ((at == 11))
206206 then 895450
207- else if ((N == 12))
207+ else if ((at == 12))
208208 then 820830
209- else if ((N == 13))
209+ else if ((at == 13))
210210 then 757690
211- else if ((N == 14))
211+ else if ((at == 14))
212212 then 703570
213- else if ((N == 15))
213+ else if ((at == 15))
214214 then 656660
215- else if ((N == 16))
215+ else if ((at == 16))
216216 then 615620
217- else if ((N == 17))
217+ else if ((at == 17))
218218 then 579410
219- else if ((N == 18))
219+ else if ((at == 18))
220220 then 547220
221- else if ((N == 19))
221+ else if ((at == 19))
222222 then 518420
223- else if ((N == 20))
223+ else if ((at == 20))
224224 then 492500
225- else if ((N == 21))
225+ else if ((at == 21))
226226 then 469040
227- else if ((N == 22))
227+ else if ((at == 22))
228228 then 447720
229- else if ((N == 23))
229+ else if ((at == 23))
230230 then 428260
231- else if ((N == 24))
231+ else if ((at == 24))
232232 then 410410
233- else if ((N == 25))
233+ else if ((at == 25))
234234 then 394000
235- else if ((N == 26))
235+ else if ((at == 26))
236236 then 378840
237- else if ((N == 27))
237+ else if ((at == 27))
238238 then 364810
239- else if ((N == 28))
239+ else if ((at == 28))
240240 then 351780
241- else if ((N == 29))
241+ else if ((at == 29))
242242 then 339650
243- else if ((N == 30))
243+ else if ((at == 30))
244244 then 328330
245- else if ((N == 31))
245+ else if ((at == 31))
246246 then 317740
247- else if ((N == 32))
247+ else if ((at == 32))
248248 then 307810
249- else if ((N == 33))
249+ else if ((at == 33))
250250 then 298480
251- else if ((N == 34))
251+ else if ((at == 34))
252252 then 289700
253- else if ((N == 35))
253+ else if ((at == 35))
254254 then 281420
255- else if ((N == 36))
255+ else if ((at == 36))
256256 then 273610
257- else if ((N == 37))
257+ else if ((at == 37))
258258 then 259210
259- else if ((N == 38))
259+ else if ((at == 38))
260260 then 259210
261- else if ((N == 39))
261+ else if ((at == 39))
262262 then 252560
263- else if ((N == 40))
263+ else if ((at == 40))
264264 then 246250
265- else if ((N == 41))
265+ else if ((at == 41))
266266 then 240240
267- else if ((N == 42))
267+ else if ((at == 42))
268268 then 234520
269- else if ((N == 43))
269+ else if ((at == 43))
270270 then 229060
271- else if ((N == 44))
271+ else if ((at == 44))
272272 then 223860
273- else if ((N == 45))
273+ else if ((at == 45))
274274 then 218880
275- else if ((N == 46))
275+ else if ((at == 46))
276276 then 214130
277- else if ((N == 47))
277+ else if ((at == 47))
278278 then 209570
279- else if ((N == 48))
279+ else if ((at == 48))
280280 then 205200
281- else if ((N == 49))
281+ else if ((at == 49))
282282 then 201020
283- else if ((N == 50))
283+ else if ((at == 50))
284284 then 197000
285- else if ((N == 51))
285+ else if ((at == 51))
286286 then 193130
287- else if ((N == 52))
287+ else if ((at == 52))
288288 then 189420
289- else if ((N == 53))
289+ else if ((at == 53))
290290 then 185840
291- else if ((N == 54))
291+ else if ((at == 54))
292292 then 182400
293- else if ((N == 55))
293+ else if ((at == 55))
294294 then 179090
295- else if ((N == 56))
295+ else if ((at == 56))
296296 then 175890
297- else if ((N == 57))
297+ else if ((at == 57))
298298 then 172800
299- else if ((N == 58))
299+ else if ((at == 58))
300300 then 169820
301- else if ((N == 59))
301+ else if ((at == 59))
302302 then 166940
303- else if ((N == 60))
303+ else if ((at == 60))
304304 then 164160
305- else if ((N == 61))
305+ else if ((at == 61))
306306 then 161470
307- else if ((N == 62))
307+ else if ((at == 62))
308308 then 158870
309- else if ((N == 63))
309+ else if ((at == 63))
310310 then 156340
311- else if ((N == 64))
311+ else if ((at == 64))
312312 then 153900
313- else if ((N == 65))
313+ else if ((at == 65))
314314 then 151530
315- else if ((N == 66))
315+ else if ((at == 66))
316316 then 149240
317- else if ((N == 67))
317+ else if ((at == 67))
318318 then 147010
319- else if ((N == 68))
319+ else if ((at == 68))
320320 then 144850
321- else if ((N == 69))
321+ else if ((at == 69))
322322 then 142750
323- else if ((N == 70))
323+ else if ((at == 70))
324324 then 140710
325- else if ((N == 71))
325+ else if ((at == 71))
326326 then 138730
327- else if ((N == 72))
327+ else if ((at == 72))
328328 then 136800
329- else if ((N == 73))
329+ else if ((at == 73))
330330 then 134930
331- else if ((N == 74))
331+ else if ((at == 74))
332332 then 133100
333- else if ((N == 75))
333+ else if ((at == 75))
334334 then 131330
335- else if ((N == 76))
335+ else if ((at == 76))
336336 then 129600
337- else if ((N == 77))
337+ else if ((at == 77))
338338 then 127920
339- else if ((N == 78))
339+ else if ((at == 78))
340340 then 126280
341- else if ((N == 79))
341+ else if ((at == 79))
342342 then 124680
343- else if ((N == 80))
343+ else if ((at == 80))
344344 then 123120
345- else if ((N == 81))
345+ else if ((at == 81))
346346 then 121600
347- else if ((N == 82))
347+ else if ((at == 82))
348348 then 120120
349- else if ((N == 83))
349+ else if ((at == 83))
350350 then 118670
351- else if ((N == 84))
351+ else if ((at == 84))
352352 then 117260
353- else if ((N == 85))
353+ else if ((at == 85))
354354 then 115880
355- else if ((N == 86))
355+ else if ((at == 86))
356356 then 114530
357- else if ((N == 87))
357+ else if ((at == 87))
358358 then 113210
359- else if ((N == 88))
359+ else if ((at == 88))
360360 then 111930
361- else if ((N == 89))
361+ else if ((at == 89))
362362 then 110670
363- else if ((N == 90))
363+ else if ((at == 90))
364364 then 109440
365- else if ((N == 91))
365+ else if ((at == 91))
366366 then 108240
367- else if ((N == 92))
367+ else if ((at == 92))
368368 then 107060
369- else if ((N == 93))
369+ else if ((at == 93))
370370 then 105910
371- else if ((N == 94))
371+ else if ((at == 94))
372372 then 104780
373- else if ((N == 95))
373+ else if ((at == 95))
374374 then 103680
375- else if ((N == 96))
375+ else if ((at == 96))
376376 then 103680
377377 else 100000
378- else if ((O == n))
379- then if ((N == 4))
378+ else if ((ab == n))
379+ then if ((at == 4))
380380 then 103680
381- else if ((N == 5))
381+ else if ((at == 5))
382382 then 103680
383- else if ((N == 6))
383+ else if ((at == 6))
384384 then 104780
385- else if ((N == 7))
385+ else if ((at == 7))
386386 then 105910
387- else if ((N == 8))
387+ else if ((at == 8))
388388 then 107060
389- else if ((N == 9))
389+ else if ((at == 9))
390390 then 108240
391- else if ((N == 10))
391+ else if ((at == 10))
392392 then 109440
393- else if ((N == 11))
393+ else if ((at == 11))
394394 then 110670
395- else if ((N == 12))
395+ else if ((at == 12))
396396 then 111930
397- else if ((N == 13))
397+ else if ((at == 13))
398398 then 113210
399- else if ((N == 14))
399+ else if ((at == 14))
400400 then 114530
401- else if ((N == 15))
401+ else if ((at == 15))
402402 then 115880
403- else if ((N == 16))
403+ else if ((at == 16))
404404 then 117260
405- else if ((N == 17))
405+ else if ((at == 17))
406406 then 118670
407- else if ((N == 18))
407+ else if ((at == 18))
408408 then 120120
409- else if ((N == 19))
409+ else if ((at == 19))
410410 then 121600
411- else if ((N == 20))
411+ else if ((at == 20))
412412 then 123120
413- else if ((N == 21))
413+ else if ((at == 21))
414414 then 124680
415- else if ((N == 22))
415+ else if ((at == 22))
416416 then 126280
417- else if ((N == 23))
417+ else if ((at == 23))
418418 then 127920
419- else if ((N == 24))
419+ else if ((at == 24))
420420 then 129600
421- else if ((N == 25))
421+ else if ((at == 25))
422422 then 131330
423- else if ((N == 26))
423+ else if ((at == 26))
424424 then 133100
425- else if ((N == 27))
425+ else if ((at == 27))
426426 then 134930
427- else if ((N == 28))
427+ else if ((at == 28))
428428 then 136800
429- else if ((N == 29))
429+ else if ((at == 29))
430430 then 138730
431- else if ((N == 30))
431+ else if ((at == 30))
432432 then 140710
433- else if ((N == 31))
433+ else if ((at == 31))
434434 then 142750
435- else if ((N == 32))
435+ else if ((at == 32))
436436 then 144850
437- else if ((N == 33))
437+ else if ((at == 33))
438438 then 147010
439- else if ((N == 34))
439+ else if ((at == 34))
440440 then 149240
441- else if ((N == 35))
441+ else if ((at == 35))
442442 then 151530
443- else if ((N == 36))
443+ else if ((at == 36))
444444 then 153900
445- else if ((N == 37))
445+ else if ((at == 37))
446446 then 156340
447- else if ((N == 38))
447+ else if ((at == 38))
448448 then 158870
449- else if ((N == 39))
449+ else if ((at == 39))
450450 then 161470
451- else if ((N == 40))
451+ else if ((at == 40))
452452 then 164160
453- else if ((N == 41))
453+ else if ((at == 41))
454454 then 166940
455- else if ((N == 42))
455+ else if ((at == 42))
456456 then 169820
457- else if ((N == 43))
457+ else if ((at == 43))
458458 then 172800
459- else if ((N == 44))
459+ else if ((at == 44))
460460 then 175890
461- else if ((N == 45))
461+ else if ((at == 45))
462462 then 179090
463- else if ((N == 46))
463+ else if ((at == 46))
464464 then 185840
465- else if ((N == 47))
465+ else if ((at == 47))
466466 then 185840
467- else if ((N == 48))
467+ else if ((at == 48))
468468 then 189420
469- else if ((N == 49))
469+ else if ((at == 49))
470470 then 193130
471- else if ((N == 50))
471+ else if ((at == 50))
472472 then 197000
473- else if ((N == 51))
473+ else if ((at == 51))
474474 then 201020
475- else if ((N == 52))
475+ else if ((at == 52))
476476 then 205200
477- else if ((N == 53))
477+ else if ((at == 53))
478478 then 209570
479- else if ((N == 54))
479+ else if ((at == 54))
480480 then 214130
481- else if ((N == 55))
481+ else if ((at == 55))
482482 then 218880
483- else if ((N == 56))
483+ else if ((at == 56))
484484 then 223860
485- else if ((N == 57))
485+ else if ((at == 57))
486486 then 229060
487- else if ((N == 58))
487+ else if ((at == 58))
488488 then 234520
489- else if ((N == 59))
489+ else if ((at == 59))
490490 then 240240
491- else if ((N == 60))
491+ else if ((at == 60))
492492 then 246250
493- else if ((N == 61))
493+ else if ((at == 61))
494494 then 252560
495- else if ((N == 62))
495+ else if ((at == 62))
496496 then 259210
497- else if ((N == 63))
497+ else if ((at == 63))
498498 then 259210
499- else if ((N == 64))
499+ else if ((at == 64))
500500 then 273610
501- else if ((N == 65))
501+ else if ((at == 65))
502502 then 281420
503- else if ((N == 66))
503+ else if ((at == 66))
504504 then 289700
505- else if ((N == 67))
505+ else if ((at == 67))
506506 then 298480
507- else if ((N == 68))
507+ else if ((at == 68))
508508 then 307810
509- else if ((N == 69))
509+ else if ((at == 69))
510510 then 317740
511- else if ((N == 70))
511+ else if ((at == 70))
512512 then 328330
513- else if ((N == 71))
513+ else if ((at == 71))
514514 then 339650
515- else if ((N == 72))
515+ else if ((at == 72))
516516 then 351780
517- else if ((N == 73))
517+ else if ((at == 73))
518518 then 364810
519- else if ((N == 74))
519+ else if ((at == 74))
520520 then 378840
521- else if ((N == 75))
521+ else if ((at == 75))
522522 then 394000
523- else if ((N == 76))
523+ else if ((at == 76))
524524 then 410410
525- else if ((N == 77))
525+ else if ((at == 77))
526526 then 428260
527- else if ((N == 78))
527+ else if ((at == 78))
528528 then 447720
529- else if ((N == 79))
529+ else if ((at == 79))
530530 then 469040
531- else if ((N == 80))
531+ else if ((at == 80))
532532 then 492500
533- else if ((N == 81))
533+ else if ((at == 81))
534534 then 518420
535- else if ((N == 82))
535+ else if ((at == 82))
536536 then 547220
537- else if ((N == 83))
537+ else if ((at == 83))
538538 then 579410
539- else if ((N == 84))
539+ else if ((at == 84))
540540 then 615620
541- else if ((N == 85))
541+ else if ((at == 85))
542542 then 656660
543- else if ((N == 86))
543+ else if ((at == 86))
544544 then 703570
545- else if ((N == 87))
545+ else if ((at == 87))
546546 then 757690
547- else if ((N == 88))
547+ else if ((at == 88))
548548 then 820830
549- else if ((N == 89))
549+ else if ((at == 89))
550550 then 895450
551- else if ((N == 90))
551+ else if ((at == 90))
552552 then 985000
553- else if ((N == 91))
553+ else if ((at == 91))
554554 then 1094440
555- else if ((N == 92))
555+ else if ((at == 92))
556556 then 1231250
557- else if ((N == 93))
557+ else if ((at == 93))
558558 then 1407140
559- else if ((N == 94))
559+ else if ((at == 94))
560560 then 1641660
561- else if ((N == 95))
561+ else if ((at == 95))
562562 then 1970000
563- else if ((N == 96))
563+ else if ((at == 96))
564564 then 2462500
565- else if ((N == 97))
565+ else if ((at == 97))
566566 then 3283330
567- else if ((N == 98))
567+ else if ((at == 98))
568568 then 4925000
569- else if ((N == 99))
569+ else if ((at == 99))
570570 then 9850000
571571 else 100000
572572 else 100000
573573
574574
575-func ar (O,N,Q) = if ((O == m))
576- then if ((N >= Q))
575+func au (av,at,aw) = if ((av == m))
576+ then if ((at >= aw))
577577 then true
578578 else false
579- else if ((O == n))
580- then if ((Q >= N))
579+ else if ((av == n))
580+ then if ((aw >= at))
581581 then true
582582 else false
583583 else false
584584
585585
586-func as (at,N,O) = if (if ((o > at))
586+func ax (ay,at,ab) = if (if ((o > ay))
587587 then true
588- else (at > p))
588+ else (ay > p))
589589 then throw(((("Bet amount is not in range: minBet=" + toString((o / 100000000))) + " maxBet=") + toString((p / 100000000))))
590- else if (if ((O != m))
591- then (O != n)
590+ else if (if ((ab != m))
591+ then (ab != n)
592592 else false)
593593 then throw("Invalid Roll type, try with OVER or UNDER")
594- else if (if ((q > N))
594+ else if (if ((q > at))
595595 then true
596- else (N > r))
596+ else (at > r))
597597 then throw(((("Prediction is out of the condition: " + toString(q)) + " <= predction <= ") + toString(r)))
598598 else {
599- let au = aq(N, O)
600- ((((at * au) / 100000) * (100 - (h + i))) / 100)
599+ let az = as(at, ab)
600+ ((((ay * az) / 100000) * (100 - (h + i))) / 100)
601601 }
602602
603603
604-@Callable(av)
605-func playDice (O,N) = {
606- let ac = toBase58String(av.transactionId)
607- let aw = isDefined(getString(this, ac))
608- let ax = extract(av.payment)
609- let ay = isDefined(av.feeAssetId)
610- let F = as(ax.amount, N, O)
611- let az = wavesBalance(av.caller)
612- if ((100000 > az))
613- then throw("There are not enough waves, it takes 0.01 Waves to bet. Game aborted.")
614- else if ((ax.assetId != d))
615- then throw("Bet amount must be in Wbet. Game aborted.")
616- else if (ay)
604+@Callable(aA)
605+func playDice (ab,at) = {
606+ let aB = parseIntValue(at)
607+ let ad = toBase58String(aA.transactionId)
608+ let aC = extract(aA.payment)
609+ let aD = isDefined(aA.feeAssetId)
610+ let az = as(aB, ab)
611+ let F = ax(aC.amount, aB, ab)
612+ let aE = wavesBalance(aA.caller)
613+ let aF = isDefined(getString(this, ad))
614+ if ((aC.assetId != d))
615+ then throw("Payment should be in Wavesbet")
616+ else if ((100000 > aE))
617+ then throw("There are not enough waves, it takes 0.01 Waves to bet. Game aborted.")
618+ else if (aD)
617619 then throw("Transaction's fee must be in Waves. Game aborted.")
618- else if (aw)
620+ else if (aF)
619621 then throw("Passed gameId had been used before. Game aborted.")
620622 else {
621- let aA = y()
622- let P = toBase58String(av.callerPublicKey)
623- let aB = L(j, N, O, P, F, "")
624- ScriptResult(WriteSet([DataEntry(b, aA), DataEntry(ac, aB)]), TransferSet([ScriptTransfer(e, ((ax.amount * h) / 100), d), ScriptTransfer(this, 500000, unit)]))
623+ let aG = y()
624+ let P = toBase58String(aA.callerPublicKey)
625+ let aH = L(j, at, ab, P, F, "")
626+ ScriptResult(WriteSet([DataEntry(c, E(F)), DataEntry(b, aG), DataEntry(ad, aH)]), TransferSet([ScriptTransfer(e, ((aC.amount * h) / 100), d), ScriptTransfer(this, 500000, unit)]))
625627 }
626628 }
627629
628630
629631
630-@Callable(av)
631-func withdraw (ac,ah) = {
632- let aC = ab(ac)
633- let M = aC[s]
634- let aD = parseIntValue(aC[t])
635- let O = aC[u]
636- let P = aC[v]
637- let F = parseIntValue(aC[w])
638- let am = addressFromPublicKey(fromBase58String(P))
632+@Callable(aA)
633+func withdraw (ad,aI) = {
634+ let aJ = ac(ad)
635+ let M = aJ[s]
636+ let N = aJ[t]
637+ let ab = aJ[u]
638+ let F = parseIntValue(aJ[w])
639+ let P = aJ[v]
640+ let ao = addressFromPublicKey(fromBase58String(P))
641+ let aK = ag(ad, F)
639642 if ((M != j))
640- then throw("Invalid game state for passed gameId. Game aborted.")
643+ then throw("Invalid game state for passed gameId")
641644 else {
642- let Q = ag(ac, ah)
643- let aE = aj(Q)
644- if (ar(O, aD, Q))
645+ let ak = ah(ad, aI)
646+ let aL = al(ak)
647+ if (au(ab, parseIntValue(N), ak))
645648 then {
646- let an = L(k, aD, O, P, F, aE)
647- al(ac, am, F, an)
649+ let ap = L(k, N, ab, P, F, aL)
650+ an(ad, ao, F, ap)
648651 }
649652 else {
650- let an = L(l, aD, O, P, F, aE)
651- WriteSet([DataEntry(ac, an)])
653+ let ap = L(l, N, ab, P, F, aL)
654+ WriteSet([DataEntry(ad, ap)])
652655 }
653656 }
654657 }
655658
656659

github/deemru/w8io/169f3d6 
2132.54 ms