tx · FR9MHPyNyzhst1bMcY8W7Cc5E26Y1wXjkgPWTJAsMiwF

3NA7cHZ9oBicev5AEn3BidRAyitA3HdjRbE:  -0.05000000 Waves

2019.11.26 05:11 [781615] smart account 3NA7cHZ9oBicev5AEn3BidRAyitA3HdjRbE > SELF 0.00000000 Waves

{ "type": 13, "id": "FR9MHPyNyzhst1bMcY8W7Cc5E26Y1wXjkgPWTJAsMiwF", "fee": 5000000, "feeAssetId": null, "timestamp": 1574734293890, "version": 1, "sender": "3NA7cHZ9oBicev5AEn3BidRAyitA3HdjRbE", "senderPublicKey": "FEmBffz5oKcY5pLrHbwcj8jxovWVvTYCeNRzNT6uHBJc", "proofs": [ "oaYuWQt3SKsXGEJyGqbhA4zvPkCA72SarUo9LGv2r4bqoUe7cNKs1ZjEt41UdezZchT5XY4CRcvJ5utw7eA4FDx" ], "script": "base64:AAIDAAAAAAAAAAcIARIDCgEIAAAALQAAAAAJUlNBUFVCTElDCQACWwAAAAECAAABj2Jhc2U2NDpNSUlCSWpBTkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQWc0ZEFSNlhiQkRBUzloci9FajNkSnY2RmZjNDY2eC9tT0dNV1UzbHJBQnMzcWE4QkhtdUpHbmtmYnBFZjJ2QXdZVE9XUHZ2emZNMTBPQmJmbG9TeXEzYzlNS3Z5VGUxbHVCTEdxVzR2WlVYSXl2U2d6MWxpeVVWZWZJUXkzZHlGOWpiZVRaYkMwYmJjVC83TzNERUwrMDF6NkErckRDYWNTWjBsR29sU1E2QW5oTHh6SWtWcE9RSmJyQm1DK3grWnVaUENNV3pKeW5kNWFlT243amFqL21rUlZ5eGU2Zy8wT2hXejROaWlaWGV1TVJCKzhtS3kwZldEL1VsSWxaV0hzQVMyWm1ya1hLcWpMcTAvMHdyOElMSmt6bmpTcWRuSTVJYmpnM3VRcmovNEFOK2k5cjI4YVE3My9aa1B0WTVTYncwQU9pQUJCdTdnSG1xOWF5VnhaUUlEQVFBQgA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AAAIFAAAAD0dBTUVTQ09VTlRFUktFWQUAAAAKbmV3R2FtZU51bQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgUAAAAGZ2FtZUlkBQAAAAtnYW1lRGF0YVN0cgUAAAADbmlsCQEAAAALVHJhbnNmZXJTZXQAAAABCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMFAAAADldBTExFVFdBVkVTQkVUCQAAawAAAAMIBQAAAAdwYXltZW50AAAABmFtb3VudAUAAAALRkVFV0FWRVNCRVQAAAAAAAAAAGQFAAAABFdCRVQJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwUAAAAMV0FMTEVUTUNBRkVFCQAAawAAAAMIBQAAAAdwYXltZW50AAAABmFtb3VudAUAAAAJRkVFTUNBRkVFAAAAAAAAAABkBQAAAARXQkVUBQAAAANuaWwAAAAAQ6Y1zA==", "chainId": 84, "height": 781615, "spentComplexity": 0 } View: original | compacted Prev: E1GTgFtd4r6QnUuikU2gZoJwVLWzZ5N8bLEWfx316X4s Next: 6gYp51dVNXQ8pkxbn82hGwRKrgUKVqVRSxNKsbcXRhxT Diff:
OldNewDifferences
460460 let betNum1 = parseIntValue(betContents[2])
461461 let betNum2 = parseIntValue(betContents[3])
462462 let betNum3 = parseIntValue(betContents[4])
463- let t = if (is0to36(betNum1))
463+ let t = if (if (is0to36(betNum1))
464+ then true
465+ else (size(betContents) != 5))
464466 then if ((betType == TSPLIT))
465467 then isSplit(betNum1, betNum2, betNum3)
466468 else if ((betType == TSTREET))
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 let TSTRAIGHT = 1
3333
3434 let TSPLIT = 2
3535
3636 let TSTREET = 3
3737
3838 let TCORNER = 4
3939
4040 let TLINE = 5
4141
4242 let TCOLUMN = 6
4343
4444 let TDOZEN = 7
4545
4646 let TRED = 8
4747
4848 let TBLACK = 9
4949
5050 let TODD = 10
5151
5252 let TEVEN = 11
5353
5454 let T1TO18 = 12
5555
5656 let T19TO36 = 13
5757
5858 let HORIZONTAL = 1
5959
6060 let VERTICAL = 2
6161
6262 func is0to36 (num) = if (if ((num >= 0))
6363 then (37 > num)
6464 else false)
6565 then true
6666 else throw("Invalid range, try between 0 and 36. Game aborted!")
6767
6868
6969 func isSplit (num1,num2,direction) = if ((direction == HORIZONTAL))
7070 then if (if (if (if (if ((num1 > 0))
7171 then (34 > num1)
7272 else false)
7373 then true
7474 else if ((num1 == 0))
7575 then (num2 == 1)
7676 else false)
7777 then true
7878 else if ((num1 == 0))
7979 then (num2 == 2)
8080 else false)
8181 then true
8282 else if ((num1 == 0))
8383 then (num2 == 3)
8484 else false)
8585 then true
8686 else throw("Invalid hotizontal split move. Game aborted!")
8787 else if ((direction == VERTICAL))
8888 then if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if ((num1 == 1))
8989 then true
9090 else (num1 == 2))
9191 then true
9292 else (num1 == 4))
9393 then true
9494 else (num1 == 5))
9595 then true
9696 else (num1 == 7))
9797 then true
9898 else (num1 == 8))
9999 then true
100100 else (num1 == 10))
101101 then true
102102 else (num1 == 11))
103103 then true
104104 else (num1 == 13))
105105 then true
106106 else (num1 == 14))
107107 then true
108108 else (num1 == 16))
109109 then true
110110 else (num1 == 17))
111111 then true
112112 else (num1 == 19))
113113 then true
114114 else (num1 == 20))
115115 then true
116116 else (num1 == 22))
117117 then true
118118 else (num1 == 23))
119119 then true
120120 else (num1 == 25))
121121 then true
122122 else (num1 == 26))
123123 then true
124124 else (num1 == 28))
125125 then true
126126 else (num1 == 29))
127127 then true
128128 else (num1 == 31))
129129 then true
130130 else (num1 == 32))
131131 then true
132132 else (num1 == 34))
133133 then true
134134 else (num1 == 35))
135135 then true
136136 else throw("Invalid vertical split move. Game aborted!")
137137 else throw("Invalid split move. Game aborted!")
138138
139139
140140 func isStreet (num1,num2) = if (if (if (if (if (if (if (if (if (if (if (if (if (if ((num1 == 1))
141141 then true
142142 else (num1 == 4))
143143 then true
144144 else (num1 == 7))
145145 then true
146146 else (num1 == 10))
147147 then true
148148 else (num1 == 13))
149149 then true
150150 else (num1 == 16))
151151 then true
152152 else (num1 == 19))
153153 then true
154154 else (num1 == 22))
155155 then true
156156 else (num1 == 25))
157157 then true
158158 else (num1 == 28))
159159 then true
160160 else (num1 == 31))
161161 then true
162162 else (num1 == 34))
163163 then true
164164 else if ((num1 == 0))
165165 then (num2 == 1)
166166 else false)
167167 then true
168168 else if ((num1 == 0))
169169 then (num2 == 3)
170170 else false)
171171 then true
172172 else throw("Invalid street move. Game aborted!")
173173
174174
175175 func isCorner (num1,num2) = if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if ((num1 == 1))
176176 then true
177177 else (num1 == 2))
178178 then true
179179 else (num1 == 4))
180180 then true
181181 else (num1 == 5))
182182 then true
183183 else (num1 == 7))
184184 then true
185185 else (num1 == 8))
186186 then true
187187 else (num1 == 10))
188188 then true
189189 else (num1 == 11))
190190 then true
191191 else (num1 == 13))
192192 then true
193193 else (num1 == 14))
194194 then true
195195 else (num1 == 16))
196196 then true
197197 else (num1 == 17))
198198 then true
199199 else (num1 == 19))
200200 then true
201201 else (num1 == 20))
202202 then true
203203 else (num1 == 22))
204204 then true
205205 else (num1 == 23))
206206 then true
207207 else (num1 == 25))
208208 then true
209209 else (num1 == 26))
210210 then true
211211 else (num1 == 28))
212212 then true
213213 else (num1 == 29))
214214 then true
215215 else (num1 == 31))
216216 then true
217217 else (num1 == 32))
218218 then true
219219 else if ((num1 == 0))
220220 then (num2 == 1)
221221 else false)
222222 then true
223223 else throw("Invalid corner move. Game aborted!")
224224
225225
226226 func isLine (num) = if (if (if (if (if (if (if (if (if (if (if ((num == 1))
227227 then true
228228 else (num == 4))
229229 then true
230230 else (num == 7))
231231 then true
232232 else (num == 10))
233233 then true
234234 else (num == 13))
235235 then true
236236 else (num == 16))
237237 then true
238238 else (num == 19))
239239 then true
240240 else (num == 22))
241241 then true
242242 else (num == 25))
243243 then true
244244 else (num == 28))
245245 then true
246246 else (num == 31))
247247 then true
248248 else throw("Invalid line move. Game aborted!")
249249
250250
251251 func isColumn (num,column) = if ((column == 1))
252252 then if (if (if (if (if (if (if (if (if (if (if (if ((num == 1))
253253 then true
254254 else (num == 4))
255255 then true
256256 else (num == 7))
257257 then true
258258 else (num == 10))
259259 then true
260260 else (num == 13))
261261 then true
262262 else (num == 16))
263263 then true
264264 else (num == 19))
265265 then true
266266 else (num == 22))
267267 then true
268268 else (num == 25))
269269 then true
270270 else (num == 28))
271271 then true
272272 else (num == 31))
273273 then true
274274 else (num == 34))
275275 then true
276276 else throw("Invalid column 1 move. Game aborted!")
277277 else if ((column == 2))
278278 then if (if (if (if (if (if (if (if (if (if (if (if ((num == 2))
279279 then true
280280 else (num == 5))
281281 then true
282282 else (num == 8))
283283 then true
284284 else (num == 11))
285285 then true
286286 else (num == 14))
287287 then true
288288 else (num == 17))
289289 then true
290290 else (num == 20))
291291 then true
292292 else (num == 23))
293293 then true
294294 else (num == 26))
295295 then true
296296 else (num == 29))
297297 then true
298298 else (num == 32))
299299 then true
300300 else (num == 35))
301301 then true
302302 else throw("Invalid column 2 move. Game aborted!")
303303 else if ((column == 3))
304304 then if (if (if (if (if (if (if (if (if (if (if (if ((num == 3))
305305 then true
306306 else (num == 6))
307307 then true
308308 else (num == 9))
309309 then true
310310 else (num == 12))
311311 then true
312312 else (num == 15))
313313 then true
314314 else (num == 18))
315315 then true
316316 else (num == 21))
317317 then true
318318 else (num == 24))
319319 then true
320320 else (num == 27))
321321 then true
322322 else (num == 30))
323323 then true
324324 else (num == 33))
325325 then true
326326 else (num == 36))
327327 then true
328328 else throw("Invalid column 3 move. Game aborted!")
329329 else throw("Invalid column move. Game aborted!")
330330
331331
332332 func isDozen (num,dozen) = if ((dozen == 1))
333333 then if (if ((num > 0))
334334 then (13 > num)
335335 else false)
336336 then true
337337 else throw("Invalid dozen 1 move. Game aborted!")
338338 else if ((dozen == 2))
339339 then if (if ((num > 12))
340340 then (25 > num)
341341 else false)
342342 then true
343343 else throw("Invalid dozen 2 move. Game aborted!")
344344 else if ((dozen == 3))
345345 then if (if ((num > 24))
346346 then (37 > num)
347347 else false)
348348 then true
349349 else throw("Invalid dozen 3 move. Game aborted!")
350350 else throw("Invalid dozen move. Game aborted!")
351351
352352
353353 func isRed (num) = if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if ((num == 1))
354354 then true
355355 else (num == 3))
356356 then true
357357 else (num == 5))
358358 then true
359359 else (num == 7))
360360 then true
361361 else (num == 9))
362362 then true
363363 else (num == 12))
364364 then true
365365 else (num == 14))
366366 then true
367367 else (num == 16))
368368 then true
369369 else (num == 18))
370370 then true
371371 else (num == 19))
372372 then true
373373 else (num == 21))
374374 then true
375375 else (num == 23))
376376 then true
377377 else (num == 25))
378378 then true
379379 else (num == 27))
380380 then true
381381 else (num == 30))
382382 then true
383383 else (num == 32))
384384 then true
385385 else (num == 34))
386386 then true
387387 else (num == 36))
388388 then true
389389 else throw("Invalid color, expected red color, try again. Game aborted!")
390390
391391
392392 func isBlack (num) = if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if ((num == 2))
393393 then true
394394 else (num == 4))
395395 then true
396396 else (num == 6))
397397 then true
398398 else (num == 8))
399399 then true
400400 else (num == 10))
401401 then true
402402 else (num == 11))
403403 then true
404404 else (num == 13))
405405 then true
406406 else (num == 15))
407407 then true
408408 else (num == 17))
409409 then true
410410 else (num == 20))
411411 then true
412412 else (num == 22))
413413 then true
414414 else (num == 24))
415415 then true
416416 else (num == 26))
417417 then true
418418 else (num == 28))
419419 then true
420420 else (num == 29))
421421 then true
422422 else (num == 31))
423423 then true
424424 else (num == 33))
425425 then true
426426 else (num == 35))
427427 then true
428428 else throw("Invalid color, expected black color, try again. Game aborted!")
429429
430430
431431 func isOdd (num) = if (((num % 2) != 0))
432432 then true
433433 else throw("Invalid move, number is not odd. Game aborted!")
434434
435435
436436 func isEven (num) = if (((num % 2) == 0))
437437 then true
438438 else throw("Invalid move, number is not even. Game aborted!")
439439
440440
441441 func is1to18 (num) = if (if ((num > 0))
442442 then (19 > num)
443443 else false)
444444 then true
445445 else throw("Invalid range for 1to18, try between 1 and 18. Game aborted!")
446446
447447
448448 func is19to36 (num) = if (if ((num > 18))
449449 then (37 > num)
450450 else false)
451451 then true
452452 else throw("Invalid range for 19to36, try between 1 and 18. Game aborted!")
453453
454454
455455 func validateBet (bet) = if ((size(bet) > 10))
456456 then {
457457 let betContents = split(bet, "_")
458458 let betType = parseIntValue(betContents[0])
459459 let betAmount = parseIntValue(betContents[1])
460460 let betNum1 = parseIntValue(betContents[2])
461461 let betNum2 = parseIntValue(betContents[3])
462462 let betNum3 = parseIntValue(betContents[4])
463- let t = if (is0to36(betNum1))
463+ let t = if (if (is0to36(betNum1))
464+ then true
465+ else (size(betContents) != 5))
464466 then if ((betType == TSPLIT))
465467 then isSplit(betNum1, betNum2, betNum3)
466468 else if ((betType == TSTREET))
467469 then isStreet(betNum1, betNum2)
468470 else if ((betType == TCOLUMN))
469471 then isCorner(betNum1, betNum2)
470472 else if ((betType == TLINE))
471473 then isLine(betNum1)
472474 else if ((betType == TCOLUMN))
473475 then isColumn(betNum1, betNum2)
474476 else if ((betType == TDOZEN))
475477 then isDozen(betNum1, betNum2)
476478 else if ((betType == TRED))
477479 then isRed(betNum1)
478480 else if ((betType == TBLACK))
479481 then isBlack(betNum1)
480482 else if ((betType == TODD))
481483 then isOdd(betNum1)
482484 else if ((betType == TEVEN))
483485 then isEven(betNum1)
484486 else if ((betType == T1TO18))
485487 then is1to18(betNum1)
486488 else if ((betType == T19TO36))
487489 then is19to36(betNum1)
488490 else throw("Invalid bet type, Game aborted!")
489491 else throw("Invalid bet, Game aborted!")
490492 betAmount
491493 }
492494 else 0
493495
494496
495497 func validateBetsAndGetAmt (bets) = ((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((validateBet(bets[0]) + validateBet(bets[1])) + validateBet(bets[2])) + validateBet(bets[3])) + validateBet(bets[4])) + validateBet(bets[5])) + validateBet(bets[6])) + validateBet(bets[7])) + validateBet(bets[8])) + validateBet(bets[9])) + validateBet(bets[10])) + validateBet(bets[11])) + validateBet(bets[12])) + validateBet(bets[13])) + validateBet(bets[14])) + validateBet(bets[15])) + validateBet(bets[16])) + validateBet(bets[17])) + validateBet(bets[18])) + validateBet(bets[19])) + validateBet(bets[20])) + validateBet(bets[21])) + validateBet(bets[22])) + validateBet(bets[23])) + validateBet(bets[24])) + validateBet(bets[25])) + validateBet(bets[26])) + validateBet(bets[27])) + validateBet(bets[28])) + validateBet(bets[29])) + validateBet(bets[30])) + validateBet(bets[31])) + validateBet(bets[32])) + validateBet(bets[33])) + validateBet(bets[34])) + validateBet(bets[35])) + validateBet(bets[36])) + validateBet(bets[37])) + validateBet(bets[38])) + validateBet(bets[39])) + validateBet(bets[40])) + validateBet(bets[41])) + validateBet(bets[42])) + validateBet(bets[43])) + validateBet(bets[44])) + validateBet(bets[45])) + validateBet(bets[46])) + validateBet(bets[47])) + validateBet(bets[48])) + validateBet(bets[49])) + validateBet(bets[50])) + validateBet(bets[51])) + validateBet(bets[52])) + validateBet(bets[53])) + validateBet(bets[54])) + validateBet(bets[55])) + validateBet(bets[56])) + validateBet(bets[57])) + validateBet(bets[58])) + validateBet(bets[59])) + validateBet(bets[60])) + validateBet(bets[61])) + validateBet(bets[62])) + validateBet(bets[63])) + validateBet(bets[64])) + validateBet(bets[65])) + validateBet(bets[66])) + validateBet(bets[67])) + validateBet(bets[68])) + validateBet(bets[69])) + validateBet(bets[70])) + validateBet(bets[71])) + validateBet(bets[72])) + validateBet(bets[73])) + validateBet(bets[74])) + validateBet(bets[75])) + validateBet(bets[76])) + validateBet(bets[77])) + validateBet(bets[78])) + validateBet(bets[79])) + validateBet(bets[80])) + validateBet(bets[81])) + validateBet(bets[82])) + validateBet(bets[83])) + validateBet(bets[84]))
496498
497499
498500 func IncrementGameNum () = {
499501 let gameNum = match getInteger(this, GAMESCOUNTERKEY) {
500502 case num: Int =>
501503 num
502504 case _ =>
503505 0
504506 }
505507 (gameNum + 1)
506508 }
507509
508510
509511 @Callable(i)
510512 func playRoulette (bets) = {
511513 let gameId = toBase58String(i.transactionId)
512514 let payment = extract(i.payment)
513515 let feeAssetId = isDefined(i.feeAssetId)
514516 let gameIdUsed = isDefined(getString(this, gameId))
515517 let playerBalance = wavesBalance(i.caller)
516518 let betList = split(bets, "|")
517519 if ((payment.assetId != WBET))
518520 then throw("Payment should be in WBET. Game aborted.")
519521 else if ((1000000 > playerBalance))
520522 then throw("There are not enough waves, it takes 0.01 Waves to bet. Game aborted.")
521523 else if (feeAssetId)
522524 then throw("Transaction's fee must be in Waves. Game aborted.")
523525 else if (gameIdUsed)
524526 then throw("Passed gameId had been used before. Game aborted.")
525527 else if ((10 > size(bets)))
526528 then throw("No valid bets. Game aborted.")
527529 else {
528530 let p = validateBetsAndGetAmt(betList)
529531 let newGameNum = IncrementGameNum()
530532 let playerPubKey58 = toBase58String(i.callerPublicKey)
531533 let gameDataStr = ((STATESUBMITTED + "-") + bets)
532534 ScriptResult(WriteSet([DataEntry(GAMESCOUNTERKEY, newGameNum), DataEntry(gameId, gameDataStr)]), TransferSet([ScriptTransfer(WALLETWAVESBET, fraction(payment.amount, FEEWAVESBET, 100), WBET), ScriptTransfer(WALLETMCAFEE, fraction(payment.amount, FEEMCAFEE, 100), WBET)]))
533535 }
534536 }
535537
536538

github/deemru/w8io/026f985 
58.60 ms