tx · HnqEqJVcVy4Ks2VZeD4e4Zu4pqJqAkiaNEdEkszEbEyd 3Mz7zzdQoHabgytXU3UuTAzADXPBBLgFqu8: -0.01400000 Waves 2020.02.04 21:29 [884791] smart account 3Mz7zzdQoHabgytXU3UuTAzADXPBBLgFqu8 > SELF 0.00000000 Waves
{ "type": 13, "id": "HnqEqJVcVy4Ks2VZeD4e4Zu4pqJqAkiaNEdEkszEbEyd", "fee": 1400000, "feeAssetId": null, "timestamp": 1580841012539, "version": 1, "sender": "3Mz7zzdQoHabgytXU3UuTAzADXPBBLgFqu8", "senderPublicKey": "6uncmj7GmSzxFAGGX8NcToqPxTxWUHW7Aj1WSbMH2qXw", "proofs": [ "4QoaMmJjr5PX42rwqJV2onqJSquysiqJGkn13x8GAD7JYFXH1Z71zLbChAFrBPcA7NEYh4d6Z5wiVYCRwLR8Hmjb" ], "script": "base64:AAIDAAAAAAAAAA4IARIECgIBCBIECgIIAgAAACAAAAAACVJTQVBVQkxJQwkAAlsAAAABAgAAAY9iYXNlNjQ6TUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUFnNGRBUjZYYkJEQVM5aHIvRWozZEp2NkZmYzQ2NngvbU9HTVdVM2xyQUJzM3FhOEJIbXVKR25rZmJwRWYydkF3WVRPV1B2dnpmTTEwT0JiZmxvU3lxM2M5TUt2eVRlMWx1QkxHcVc0dlpVWEl5dlNnejFsaXlVVmVmSVF5M2R5RjlqYmVUWmJDMGJiY1QvN08zREVMKzAxejZBK3JEQ2FjU1owbEdvbFNRNkFuaEx4eklrVnBPUUpickJtQyt4K1p1WlBDTVd6SnluZDVhZU9uN2phai9ta1JWeXhlNmcvME9oV3o0TmlpWlhldU1SQis4bUt5MGZXRC9VbElsWldIc0FTMlptcmtYS3FqTHEwLzB3cjhJTEprem5qU3Fkbkk1SWJqZzN1UXJqLzRBTitpOXIyOGFRNzMvWmtQdFk1U2J3MEFPaUFCQnU3Z0htcTlheVZ4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AAAAAAAAMCAAAAAV8FAAAAB3JhbmRTdHIJAQAAAAxTY3JpcHRSZXN1bHQAAAACCQEAAAAIV3JpdGVTZXQAAAABCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACBQAAAAZnYW1lSWQFAAAADm5ld0dhbWVEYXRhU3RyCQAETAAAAAIFAAAAEWRlY3JlYXNlZFJlc2VydmVzBQAAAANuaWwJAQAAAAtUcmFuc2ZlclNldAAAAAEJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwUAAAANcGxheWVyQWRkcmVzcwUAAAAGd2luQW10BQAAAARXQkVUBQAAAANuaWwEAAAADm5ld0dhbWVEYXRhU3RyCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgIAAAAETE9TVAIAAAABXwkAAZEAAAACBQAAAAxnYW1lRGF0YUxpc3QAAAAAAAAAAAECAAAAAV8FAAAADnBsYXllclB1YktleTU4AgAAAAFfCQABkQAAAAIFAAAADGdhbWVEYXRhTGlzdAAAAAAAAAAAAwIAAAABXwUAAAAHcmFuZFN0cgkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgUAAAAGZ2FtZUlkBQAAAA5uZXdHYW1lRGF0YVN0cgkABEwAAAACBQAAABFkZWNyZWFzZWRSZXNlcnZlcwUAAAADbmlsAAAAAJwUPNk=", "chainId": 84, "height": 884791, "spentComplexity": 0 } View: original | compacted Prev: GYG4oSfpNoQCf9B55s1XjYnX4hsZHnYwpZHLGF3ih5ud Next: 2PgnDTGxoosRobtBL72DhVhrsHuTg6XimTx12g7uJcmC Diff:
Old | New | Differences | |
---|---|---|---|
1144 | 1144 | ||
1145 | 1145 | ||
1146 | 1146 | func GetWriteSet (gameIdO,betId,gameId,winAmt,gameDataStr) = if ((gameIdO == "new")) | |
1147 | - | then WriteSet([DataEntry(GAMESCOUNTERKEY, IncrementValue(GAMESCOUNTERKEY)), DataEntry(RESERVATIONKEY, | |
1148 | - | else WriteSet([DataEntry(RESERVATIONKEY, | |
1147 | + | then WriteSet([DataEntry(GAMESCOUNTERKEY, IncrementValue(GAMESCOUNTERKEY)), DataEntry(RESERVATIONKEY, ValidateAndIncreaseReservedAmt(winAmt)), DataEntry(betId, 1), DataEntry(gameId, gameDataStr)]) | |
1148 | + | else WriteSet([DataEntry(RESERVATIONKEY, ValidateAndIncreaseReservedAmt(winAmt)), DataEntry(gameIdO, IncrementValue(gameIdO)), DataEntry(gameId, gameDataStr)]) | |
1149 | 1149 | ||
1150 | 1150 | ||
1151 | 1151 | @Callable(i) |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 3 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let RSAPUBLIC = fromBase64String("base64:MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAg4dAR6XbBDAS9hr/Ej3dJv6Ffc466x/mOGMWU3lrABs3qa8BHmuJGnkfbpEf2vAwYTOWPvvzfM10OBbfloSyq3c9MKvyTe1luBLGqW4vZUXIyvSgz1liyUVefIQy3dyF9jbeTZbC0bbcT/7O3DEL+01z6A+rDCacSZ0lGolSQ6AnhLxzIkVpOQJbrBmC+x+ZuZPCMWzJynd5aeOn7jaj/mkRVyxe6g/0OhWz4NiiZXeuMRB+8mKy0fWD/UlIlZWHsAS2ZmrkXKqjLq0/0wr8ILJkznjSqdnI5Ibjg3uQrj/4AN+i9r28aQ73/ZkPtY5Sbw0AOiABBu7gHmq9ayVxZQIDAQAB") | |
5 | 5 | ||
6 | 6 | let GAMESCOUNTERKEY = "$GAME_NUM" | |
7 | 7 | ||
8 | 8 | let RESERVATIONKEY = "$RESERVED_AMOUNT" | |
9 | 9 | ||
10 | 10 | let WBET = base58'A4q1mYKo11yuH9gmvDodeJoksagcyQzeFE9JtphMWddw' | |
11 | 11 | ||
12 | 12 | let WALLETWAVESBET = Address(base58'3MtCy2PCFPyu8A9SRNL4qUo1V17SGLHftD8') | |
13 | 13 | ||
14 | 14 | let WALLETMCAFEE = Address(base58'3MtCy2PCFPyu8A9SRNL4qUo1V17SGLHftD8') | |
15 | 15 | ||
16 | 16 | let WAVELET = 100000000 | |
17 | 17 | ||
18 | 18 | let FEEWAVESBET = 4 | |
19 | 19 | ||
20 | 20 | let FEEMCAFEE = 2 | |
21 | 21 | ||
22 | 22 | let BETMIN = (1 * WAVELET) | |
23 | 23 | ||
24 | 24 | let BETMAX = (20000000 * WAVELET) | |
25 | 25 | ||
26 | 26 | func straightUpBet (rand,bet) = if ((rand == bet)) | |
27 | 27 | then true | |
28 | 28 | else false | |
29 | 29 | ||
30 | 30 | ||
31 | 31 | func splitBet (rand,bet) = if (if ((rand == 0)) | |
32 | 32 | then if (if ((bet == 37)) | |
33 | 33 | then true | |
34 | 34 | else (bet == 38)) | |
35 | 35 | then true | |
36 | 36 | else (bet == 39) | |
37 | 37 | else false) | |
38 | 38 | then true | |
39 | 39 | else if (if ((rand == 1)) | |
40 | 40 | then if (if ((bet == 37)) | |
41 | 41 | then true | |
42 | 42 | else (bet == 40)) | |
43 | 43 | then true | |
44 | 44 | else (bet == 85) | |
45 | 45 | else false) | |
46 | 46 | then true | |
47 | 47 | else if (if ((rand == 2)) | |
48 | 48 | then if (if (if ((bet == 38)) | |
49 | 49 | then true | |
50 | 50 | else (bet == 41)) | |
51 | 51 | then true | |
52 | 52 | else (bet == 73)) | |
53 | 53 | then true | |
54 | 54 | else (bet == 85) | |
55 | 55 | else false) | |
56 | 56 | then true | |
57 | 57 | else if (if ((rand == 3)) | |
58 | 58 | then if (if ((bet == 39)) | |
59 | 59 | then true | |
60 | 60 | else (bet == 42)) | |
61 | 61 | then true | |
62 | 62 | else (bet == 73) | |
63 | 63 | else false) | |
64 | 64 | then true | |
65 | 65 | else if (if ((rand == 4)) | |
66 | 66 | then if (if ((bet == 40)) | |
67 | 67 | then true | |
68 | 68 | else (bet == 43)) | |
69 | 69 | then true | |
70 | 70 | else (bet == 86) | |
71 | 71 | else false) | |
72 | 72 | then true | |
73 | 73 | else if (if ((rand == 5)) | |
74 | 74 | then if (if (if ((bet == 41)) | |
75 | 75 | then true | |
76 | 76 | else (bet == 44)) | |
77 | 77 | then true | |
78 | 78 | else (bet == 74)) | |
79 | 79 | then true | |
80 | 80 | else (bet == 86) | |
81 | 81 | else false) | |
82 | 82 | then true | |
83 | 83 | else if (if ((rand == 6)) | |
84 | 84 | then if (if ((bet == 42)) | |
85 | 85 | then true | |
86 | 86 | else (bet == 45)) | |
87 | 87 | then true | |
88 | 88 | else (bet == 74) | |
89 | 89 | else false) | |
90 | 90 | then true | |
91 | 91 | else if (if ((rand == 7)) | |
92 | 92 | then if (if ((bet == 43)) | |
93 | 93 | then true | |
94 | 94 | else (bet == 46)) | |
95 | 95 | then true | |
96 | 96 | else (bet == 87) | |
97 | 97 | else false) | |
98 | 98 | then true | |
99 | 99 | else if (if ((rand == 8)) | |
100 | 100 | then if (if (if ((bet == 44)) | |
101 | 101 | then true | |
102 | 102 | else (bet == 47)) | |
103 | 103 | then true | |
104 | 104 | else (bet == 75)) | |
105 | 105 | then true | |
106 | 106 | else (bet == 87) | |
107 | 107 | else false) | |
108 | 108 | then true | |
109 | 109 | else if (if ((rand == 9)) | |
110 | 110 | then if (if ((bet == 45)) | |
111 | 111 | then true | |
112 | 112 | else (bet == 48)) | |
113 | 113 | then true | |
114 | 114 | else (bet == 75) | |
115 | 115 | else false) | |
116 | 116 | then true | |
117 | 117 | else if (if ((rand == 10)) | |
118 | 118 | then if (if ((bet == 46)) | |
119 | 119 | then true | |
120 | 120 | else (bet == 49)) | |
121 | 121 | then true | |
122 | 122 | else (bet == 88) | |
123 | 123 | else false) | |
124 | 124 | then true | |
125 | 125 | else if (if ((rand == 11)) | |
126 | 126 | then if (if (if ((bet == 47)) | |
127 | 127 | then true | |
128 | 128 | else (bet == 50)) | |
129 | 129 | then true | |
130 | 130 | else (bet == 76)) | |
131 | 131 | then true | |
132 | 132 | else (bet == 88) | |
133 | 133 | else false) | |
134 | 134 | then true | |
135 | 135 | else if (if ((rand == 12)) | |
136 | 136 | then if (if ((bet == 48)) | |
137 | 137 | then true | |
138 | 138 | else (bet == 51)) | |
139 | 139 | then true | |
140 | 140 | else (bet == 76) | |
141 | 141 | else false) | |
142 | 142 | then true | |
143 | 143 | else if (if ((rand == 13)) | |
144 | 144 | then if (if ((bet == 49)) | |
145 | 145 | then true | |
146 | 146 | else (bet == 52)) | |
147 | 147 | then true | |
148 | 148 | else (bet == 89) | |
149 | 149 | else false) | |
150 | 150 | then true | |
151 | 151 | else if (if ((rand == 14)) | |
152 | 152 | then if (if (if ((bet == 50)) | |
153 | 153 | then true | |
154 | 154 | else (bet == 53)) | |
155 | 155 | then true | |
156 | 156 | else (bet == 77)) | |
157 | 157 | then true | |
158 | 158 | else (bet == 89) | |
159 | 159 | else false) | |
160 | 160 | then true | |
161 | 161 | else if (if ((rand == 15)) | |
162 | 162 | then if (if ((bet == 51)) | |
163 | 163 | then true | |
164 | 164 | else (bet == 54)) | |
165 | 165 | then true | |
166 | 166 | else (bet == 77) | |
167 | 167 | else false) | |
168 | 168 | then true | |
169 | 169 | else if (if ((rand == 16)) | |
170 | 170 | then if (if ((bet == 52)) | |
171 | 171 | then true | |
172 | 172 | else (bet == 55)) | |
173 | 173 | then true | |
174 | 174 | else (bet == 90) | |
175 | 175 | else false) | |
176 | 176 | then true | |
177 | 177 | else if (if ((rand == 17)) | |
178 | 178 | then if (if (if ((bet == 53)) | |
179 | 179 | then true | |
180 | 180 | else (bet == 56)) | |
181 | 181 | then true | |
182 | 182 | else (bet == 78)) | |
183 | 183 | then true | |
184 | 184 | else (bet == 90) | |
185 | 185 | else false) | |
186 | 186 | then true | |
187 | 187 | else if (if ((rand == 18)) | |
188 | 188 | then if (if ((bet == 54)) | |
189 | 189 | then true | |
190 | 190 | else (bet == 57)) | |
191 | 191 | then true | |
192 | 192 | else (bet == 78) | |
193 | 193 | else false) | |
194 | 194 | then true | |
195 | 195 | else if (if ((rand == 19)) | |
196 | 196 | then if (if ((bet == 55)) | |
197 | 197 | then true | |
198 | 198 | else (bet == 58)) | |
199 | 199 | then true | |
200 | 200 | else (bet == 91) | |
201 | 201 | else false) | |
202 | 202 | then true | |
203 | 203 | else if (if ((rand == 20)) | |
204 | 204 | then if (if (if ((bet == 56)) | |
205 | 205 | then true | |
206 | 206 | else (bet == 59)) | |
207 | 207 | then true | |
208 | 208 | else (bet == 79)) | |
209 | 209 | then true | |
210 | 210 | else (bet == 91) | |
211 | 211 | else false) | |
212 | 212 | then true | |
213 | 213 | else if (if ((rand == 21)) | |
214 | 214 | then if (if ((bet == 57)) | |
215 | 215 | then true | |
216 | 216 | else (bet == 60)) | |
217 | 217 | then true | |
218 | 218 | else (bet == 79) | |
219 | 219 | else false) | |
220 | 220 | then true | |
221 | 221 | else if (if ((rand == 22)) | |
222 | 222 | then if (if ((bet == 58)) | |
223 | 223 | then true | |
224 | 224 | else (bet == 61)) | |
225 | 225 | then true | |
226 | 226 | else (bet == 92) | |
227 | 227 | else false) | |
228 | 228 | then true | |
229 | 229 | else if (if ((rand == 23)) | |
230 | 230 | then if (if (if ((bet == 59)) | |
231 | 231 | then true | |
232 | 232 | else (bet == 62)) | |
233 | 233 | then true | |
234 | 234 | else (bet == 80)) | |
235 | 235 | then true | |
236 | 236 | else (bet == 92) | |
237 | 237 | else false) | |
238 | 238 | then true | |
239 | 239 | else if (if ((rand == 24)) | |
240 | 240 | then if (if ((bet == 60)) | |
241 | 241 | then true | |
242 | 242 | else (bet == 63)) | |
243 | 243 | then true | |
244 | 244 | else (bet == 80) | |
245 | 245 | else false) | |
246 | 246 | then true | |
247 | 247 | else if (if ((rand == 25)) | |
248 | 248 | then if (if ((bet == 61)) | |
249 | 249 | then true | |
250 | 250 | else (bet == 64)) | |
251 | 251 | then true | |
252 | 252 | else (bet == 93) | |
253 | 253 | else false) | |
254 | 254 | then true | |
255 | 255 | else if (if ((rand == 26)) | |
256 | 256 | then if (if (if ((bet == 62)) | |
257 | 257 | then true | |
258 | 258 | else (bet == 65)) | |
259 | 259 | then true | |
260 | 260 | else (bet == 81)) | |
261 | 261 | then true | |
262 | 262 | else (bet == 93) | |
263 | 263 | else false) | |
264 | 264 | then true | |
265 | 265 | else if (if ((rand == 27)) | |
266 | 266 | then if (if ((bet == 63)) | |
267 | 267 | then true | |
268 | 268 | else (bet == 66)) | |
269 | 269 | then true | |
270 | 270 | else (bet == 81) | |
271 | 271 | else false) | |
272 | 272 | then true | |
273 | 273 | else if (if ((rand == 28)) | |
274 | 274 | then if (if ((bet == 64)) | |
275 | 275 | then true | |
276 | 276 | else (bet == 67)) | |
277 | 277 | then true | |
278 | 278 | else (bet == 94) | |
279 | 279 | else false) | |
280 | 280 | then true | |
281 | 281 | else if (if ((rand == 29)) | |
282 | 282 | then if (if (if ((bet == 65)) | |
283 | 283 | then true | |
284 | 284 | else (bet == 68)) | |
285 | 285 | then true | |
286 | 286 | else (bet == 82)) | |
287 | 287 | then true | |
288 | 288 | else (bet == 94) | |
289 | 289 | else false) | |
290 | 290 | then true | |
291 | 291 | else if (if ((rand == 30)) | |
292 | 292 | then if (if ((bet == 66)) | |
293 | 293 | then true | |
294 | 294 | else (bet == 69)) | |
295 | 295 | then true | |
296 | 296 | else (bet == 82) | |
297 | 297 | else false) | |
298 | 298 | then true | |
299 | 299 | else if (if ((rand == 31)) | |
300 | 300 | then if (if ((bet == 67)) | |
301 | 301 | then true | |
302 | 302 | else (bet == 70)) | |
303 | 303 | then true | |
304 | 304 | else (bet == 95) | |
305 | 305 | else false) | |
306 | 306 | then true | |
307 | 307 | else if (if ((rand == 32)) | |
308 | 308 | then if (if (if ((bet == 68)) | |
309 | 309 | then true | |
310 | 310 | else (bet == 71)) | |
311 | 311 | then true | |
312 | 312 | else (bet == 83)) | |
313 | 313 | then true | |
314 | 314 | else (bet == 95) | |
315 | 315 | else false) | |
316 | 316 | then true | |
317 | 317 | else if (if ((rand == 33)) | |
318 | 318 | then if (if ((bet == 69)) | |
319 | 319 | then true | |
320 | 320 | else (bet == 72)) | |
321 | 321 | then true | |
322 | 322 | else (bet == 83) | |
323 | 323 | else false) | |
324 | 324 | then true | |
325 | 325 | else if (if ((rand == 34)) | |
326 | 326 | then if ((bet == 70)) | |
327 | 327 | then true | |
328 | 328 | else (bet == 96) | |
329 | 329 | else false) | |
330 | 330 | then true | |
331 | 331 | else if (if ((rand == 35)) | |
332 | 332 | then if (if ((bet == 71)) | |
333 | 333 | then true | |
334 | 334 | else (bet == 84)) | |
335 | 335 | then true | |
336 | 336 | else (bet == 96) | |
337 | 337 | else false) | |
338 | 338 | then true | |
339 | 339 | else if (if ((rand == 36)) | |
340 | 340 | then if ((bet == 72)) | |
341 | 341 | then true | |
342 | 342 | else (bet == 84) | |
343 | 343 | else false) | |
344 | 344 | then true | |
345 | 345 | else false | |
346 | 346 | ||
347 | 347 | ||
348 | 348 | func streetBet (rand,bet) = if (if ((bet == 97)) | |
349 | 349 | then if (if ((rand == 0)) | |
350 | 350 | then true | |
351 | 351 | else (rand == 1)) | |
352 | 352 | then true | |
353 | 353 | else (rand == 2) | |
354 | 354 | else false) | |
355 | 355 | then true | |
356 | 356 | else if (if ((bet == 98)) | |
357 | 357 | then if (if ((rand == 0)) | |
358 | 358 | then true | |
359 | 359 | else (rand == 2)) | |
360 | 360 | then true | |
361 | 361 | else (rand == 3) | |
362 | 362 | else false) | |
363 | 363 | then true | |
364 | 364 | else if (if ((bet == 99)) | |
365 | 365 | then if (if ((rand == 1)) | |
366 | 366 | then true | |
367 | 367 | else (rand == 2)) | |
368 | 368 | then true | |
369 | 369 | else (rand == 3) | |
370 | 370 | else false) | |
371 | 371 | then true | |
372 | 372 | else if (if ((bet == 100)) | |
373 | 373 | then if (if ((rand == 4)) | |
374 | 374 | then true | |
375 | 375 | else (rand == 5)) | |
376 | 376 | then true | |
377 | 377 | else (rand == 6) | |
378 | 378 | else false) | |
379 | 379 | then true | |
380 | 380 | else if (if ((bet == 101)) | |
381 | 381 | then if (if ((rand == 7)) | |
382 | 382 | then true | |
383 | 383 | else (rand == 8)) | |
384 | 384 | then true | |
385 | 385 | else (rand == 9) | |
386 | 386 | else false) | |
387 | 387 | then true | |
388 | 388 | else if (if ((bet == 102)) | |
389 | 389 | then if (if ((rand == 10)) | |
390 | 390 | then true | |
391 | 391 | else (rand == 11)) | |
392 | 392 | then true | |
393 | 393 | else (rand == 12) | |
394 | 394 | else false) | |
395 | 395 | then true | |
396 | 396 | else if (if ((bet == 103)) | |
397 | 397 | then if (if ((rand == 13)) | |
398 | 398 | then true | |
399 | 399 | else (rand == 14)) | |
400 | 400 | then true | |
401 | 401 | else (rand == 15) | |
402 | 402 | else false) | |
403 | 403 | then true | |
404 | 404 | else if (if ((bet == 104)) | |
405 | 405 | then if (if ((rand == 16)) | |
406 | 406 | then true | |
407 | 407 | else (rand == 17)) | |
408 | 408 | then true | |
409 | 409 | else (rand == 18) | |
410 | 410 | else false) | |
411 | 411 | then true | |
412 | 412 | else if (if ((bet == 105)) | |
413 | 413 | then if (if ((rand == 19)) | |
414 | 414 | then true | |
415 | 415 | else (rand == 20)) | |
416 | 416 | then true | |
417 | 417 | else (rand == 21) | |
418 | 418 | else false) | |
419 | 419 | then true | |
420 | 420 | else if (if ((bet == 106)) | |
421 | 421 | then if (if ((rand == 22)) | |
422 | 422 | then true | |
423 | 423 | else (rand == 23)) | |
424 | 424 | then true | |
425 | 425 | else (rand == 24) | |
426 | 426 | else false) | |
427 | 427 | then true | |
428 | 428 | else if (if ((bet == 107)) | |
429 | 429 | then if (if ((rand == 25)) | |
430 | 430 | then true | |
431 | 431 | else (rand == 26)) | |
432 | 432 | then true | |
433 | 433 | else (rand == 27) | |
434 | 434 | else false) | |
435 | 435 | then true | |
436 | 436 | else if (if ((bet == 108)) | |
437 | 437 | then if (if ((rand == 28)) | |
438 | 438 | then true | |
439 | 439 | else (rand == 29)) | |
440 | 440 | then true | |
441 | 441 | else (rand == 30) | |
442 | 442 | else false) | |
443 | 443 | then true | |
444 | 444 | else if (if ((bet == 109)) | |
445 | 445 | then if (if ((rand == 31)) | |
446 | 446 | then true | |
447 | 447 | else (rand == 32)) | |
448 | 448 | then true | |
449 | 449 | else (rand == 33) | |
450 | 450 | else false) | |
451 | 451 | then true | |
452 | 452 | else if (if ((bet == 110)) | |
453 | 453 | then if (if ((rand == 34)) | |
454 | 454 | then true | |
455 | 455 | else (rand == 35)) | |
456 | 456 | then true | |
457 | 457 | else (rand == 36) | |
458 | 458 | else false) | |
459 | 459 | then true | |
460 | 460 | else false | |
461 | 461 | ||
462 | 462 | ||
463 | 463 | func cornerBet (rand,bet) = if (if ((bet == 111)) | |
464 | 464 | then if (if (if ((rand == 0)) | |
465 | 465 | then true | |
466 | 466 | else (rand == 1)) | |
467 | 467 | then true | |
468 | 468 | else (rand == 2)) | |
469 | 469 | then true | |
470 | 470 | else (rand == 3) | |
471 | 471 | else false) | |
472 | 472 | then true | |
473 | 473 | else if (if ((bet == 112)) | |
474 | 474 | then if (if (if ((rand == 1)) | |
475 | 475 | then true | |
476 | 476 | else (rand == 2)) | |
477 | 477 | then true | |
478 | 478 | else (rand == 4)) | |
479 | 479 | then true | |
480 | 480 | else (rand == 5) | |
481 | 481 | else false) | |
482 | 482 | then true | |
483 | 483 | else if (if ((bet == 113)) | |
484 | 484 | then if (if (if ((rand == 2)) | |
485 | 485 | then true | |
486 | 486 | else (rand == 3)) | |
487 | 487 | then true | |
488 | 488 | else (rand == 5)) | |
489 | 489 | then true | |
490 | 490 | else (rand == 6) | |
491 | 491 | else false) | |
492 | 492 | then true | |
493 | 493 | else if (if ((bet == 114)) | |
494 | 494 | then if (if (if ((rand == 4)) | |
495 | 495 | then true | |
496 | 496 | else (rand == 5)) | |
497 | 497 | then true | |
498 | 498 | else (rand == 7)) | |
499 | 499 | then true | |
500 | 500 | else (rand == 8) | |
501 | 501 | else false) | |
502 | 502 | then true | |
503 | 503 | else if (if ((bet == 115)) | |
504 | 504 | then if (if (if ((rand == 5)) | |
505 | 505 | then true | |
506 | 506 | else (rand == 6)) | |
507 | 507 | then true | |
508 | 508 | else (rand == 8)) | |
509 | 509 | then true | |
510 | 510 | else (rand == 9) | |
511 | 511 | else false) | |
512 | 512 | then true | |
513 | 513 | else if (if ((bet == 116)) | |
514 | 514 | then if (if (if ((rand == 7)) | |
515 | 515 | then true | |
516 | 516 | else (rand == 8)) | |
517 | 517 | then true | |
518 | 518 | else (rand == 10)) | |
519 | 519 | then true | |
520 | 520 | else (rand == 11) | |
521 | 521 | else false) | |
522 | 522 | then true | |
523 | 523 | else if (if ((bet == 117)) | |
524 | 524 | then if (if (if ((rand == 8)) | |
525 | 525 | then true | |
526 | 526 | else (rand == 9)) | |
527 | 527 | then true | |
528 | 528 | else (rand == 11)) | |
529 | 529 | then true | |
530 | 530 | else (rand == 12) | |
531 | 531 | else false) | |
532 | 532 | then true | |
533 | 533 | else if (if ((bet == 118)) | |
534 | 534 | then if (if (if ((rand == 10)) | |
535 | 535 | then true | |
536 | 536 | else (rand == 11)) | |
537 | 537 | then true | |
538 | 538 | else (rand == 13)) | |
539 | 539 | then true | |
540 | 540 | else (rand == 14) | |
541 | 541 | else false) | |
542 | 542 | then true | |
543 | 543 | else if (if ((bet == 119)) | |
544 | 544 | then if (if (if ((rand == 11)) | |
545 | 545 | then true | |
546 | 546 | else (rand == 12)) | |
547 | 547 | then true | |
548 | 548 | else (rand == 14)) | |
549 | 549 | then true | |
550 | 550 | else (rand == 15) | |
551 | 551 | else false) | |
552 | 552 | then true | |
553 | 553 | else if (if ((bet == 120)) | |
554 | 554 | then if (if (if ((rand == 13)) | |
555 | 555 | then true | |
556 | 556 | else (rand == 14)) | |
557 | 557 | then true | |
558 | 558 | else (rand == 16)) | |
559 | 559 | then true | |
560 | 560 | else (rand == 17) | |
561 | 561 | else false) | |
562 | 562 | then true | |
563 | 563 | else if (if ((bet == 121)) | |
564 | 564 | then if (if (if ((rand == 14)) | |
565 | 565 | then true | |
566 | 566 | else (rand == 15)) | |
567 | 567 | then true | |
568 | 568 | else (rand == 17)) | |
569 | 569 | then true | |
570 | 570 | else (rand == 18) | |
571 | 571 | else false) | |
572 | 572 | then true | |
573 | 573 | else if (if ((bet == 122)) | |
574 | 574 | then if (if (if ((rand == 16)) | |
575 | 575 | then true | |
576 | 576 | else (rand == 17)) | |
577 | 577 | then true | |
578 | 578 | else (rand == 19)) | |
579 | 579 | then true | |
580 | 580 | else (rand == 20) | |
581 | 581 | else false) | |
582 | 582 | then true | |
583 | 583 | else if (if ((bet == 123)) | |
584 | 584 | then if (if (if ((rand == 17)) | |
585 | 585 | then true | |
586 | 586 | else (rand == 18)) | |
587 | 587 | then true | |
588 | 588 | else (rand == 20)) | |
589 | 589 | then true | |
590 | 590 | else (rand == 21) | |
591 | 591 | else false) | |
592 | 592 | then true | |
593 | 593 | else if (if ((bet == 124)) | |
594 | 594 | then if (if (if ((rand == 19)) | |
595 | 595 | then true | |
596 | 596 | else (rand == 20)) | |
597 | 597 | then true | |
598 | 598 | else (rand == 22)) | |
599 | 599 | then true | |
600 | 600 | else (rand == 23) | |
601 | 601 | else false) | |
602 | 602 | then true | |
603 | 603 | else if (if ((bet == 125)) | |
604 | 604 | then if (if (if ((rand == 20)) | |
605 | 605 | then true | |
606 | 606 | else (rand == 21)) | |
607 | 607 | then true | |
608 | 608 | else (rand == 23)) | |
609 | 609 | then true | |
610 | 610 | else (rand == 24) | |
611 | 611 | else false) | |
612 | 612 | then true | |
613 | 613 | else if (if ((bet == 126)) | |
614 | 614 | then if (if (if ((rand == 22)) | |
615 | 615 | then true | |
616 | 616 | else (rand == 23)) | |
617 | 617 | then true | |
618 | 618 | else (rand == 25)) | |
619 | 619 | then true | |
620 | 620 | else (rand == 26) | |
621 | 621 | else false) | |
622 | 622 | then true | |
623 | 623 | else if (if ((bet == 127)) | |
624 | 624 | then if (if (if ((rand == 23)) | |
625 | 625 | then true | |
626 | 626 | else (rand == 24)) | |
627 | 627 | then true | |
628 | 628 | else (rand == 26)) | |
629 | 629 | then true | |
630 | 630 | else (rand == 27) | |
631 | 631 | else false) | |
632 | 632 | then true | |
633 | 633 | else if (if ((bet == 128)) | |
634 | 634 | then if (if (if ((rand == 25)) | |
635 | 635 | then true | |
636 | 636 | else (rand == 26)) | |
637 | 637 | then true | |
638 | 638 | else (rand == 28)) | |
639 | 639 | then true | |
640 | 640 | else (rand == 29) | |
641 | 641 | else false) | |
642 | 642 | then true | |
643 | 643 | else if (if ((bet == 129)) | |
644 | 644 | then if (if (if ((rand == 26)) | |
645 | 645 | then true | |
646 | 646 | else (rand == 27)) | |
647 | 647 | then true | |
648 | 648 | else (rand == 29)) | |
649 | 649 | then true | |
650 | 650 | else (rand == 30) | |
651 | 651 | else false) | |
652 | 652 | then true | |
653 | 653 | else if (if ((bet == 130)) | |
654 | 654 | then if (if (if ((rand == 28)) | |
655 | 655 | then true | |
656 | 656 | else (rand == 29)) | |
657 | 657 | then true | |
658 | 658 | else (rand == 31)) | |
659 | 659 | then true | |
660 | 660 | else (rand == 32) | |
661 | 661 | else false) | |
662 | 662 | then true | |
663 | 663 | else if (if ((bet == 131)) | |
664 | 664 | then if (if (if ((rand == 29)) | |
665 | 665 | then true | |
666 | 666 | else (rand == 30)) | |
667 | 667 | then true | |
668 | 668 | else (rand == 32)) | |
669 | 669 | then true | |
670 | 670 | else (rand == 33) | |
671 | 671 | else false) | |
672 | 672 | then true | |
673 | 673 | else if (if ((bet == 132)) | |
674 | 674 | then if (if (if ((rand == 31)) | |
675 | 675 | then true | |
676 | 676 | else (rand == 32)) | |
677 | 677 | then true | |
678 | 678 | else (rand == 34)) | |
679 | 679 | then true | |
680 | 680 | else (rand == 35) | |
681 | 681 | else false) | |
682 | 682 | then true | |
683 | 683 | else if (if ((bet == 133)) | |
684 | 684 | then if (if (if ((rand == 32)) | |
685 | 685 | then true | |
686 | 686 | else (rand == 33)) | |
687 | 687 | then true | |
688 | 688 | else (rand == 35)) | |
689 | 689 | then true | |
690 | 690 | else (rand == 36) | |
691 | 691 | else false) | |
692 | 692 | then true | |
693 | 693 | else false | |
694 | 694 | ||
695 | 695 | ||
696 | 696 | func lineBet (rand,bet) = if (if (if ((bet == 134)) | |
697 | 697 | then (rand >= 1) | |
698 | 698 | else false) | |
699 | 699 | then (6 >= rand) | |
700 | 700 | else false) | |
701 | 701 | then true | |
702 | 702 | else if (if (if ((bet == 135)) | |
703 | 703 | then (rand >= 4) | |
704 | 704 | else false) | |
705 | 705 | then (9 >= rand) | |
706 | 706 | else false) | |
707 | 707 | then true | |
708 | 708 | else if (if (if ((bet == 136)) | |
709 | 709 | then (rand >= 7) | |
710 | 710 | else false) | |
711 | 711 | then (12 >= rand) | |
712 | 712 | else false) | |
713 | 713 | then true | |
714 | 714 | else if (if (if ((bet == 137)) | |
715 | 715 | then (rand >= 10) | |
716 | 716 | else false) | |
717 | 717 | then (15 >= rand) | |
718 | 718 | else false) | |
719 | 719 | then true | |
720 | 720 | else if (if (if ((bet == 138)) | |
721 | 721 | then (rand >= 13) | |
722 | 722 | else false) | |
723 | 723 | then (18 >= rand) | |
724 | 724 | else false) | |
725 | 725 | then true | |
726 | 726 | else if (if (if ((bet == 139)) | |
727 | 727 | then (rand >= 16) | |
728 | 728 | else false) | |
729 | 729 | then (21 >= rand) | |
730 | 730 | else false) | |
731 | 731 | then true | |
732 | 732 | else if (if (if ((bet == 140)) | |
733 | 733 | then (rand >= 19) | |
734 | 734 | else false) | |
735 | 735 | then (24 >= rand) | |
736 | 736 | else false) | |
737 | 737 | then true | |
738 | 738 | else if (if (if ((bet == 141)) | |
739 | 739 | then (rand >= 22) | |
740 | 740 | else false) | |
741 | 741 | then (27 >= rand) | |
742 | 742 | else false) | |
743 | 743 | then true | |
744 | 744 | else if (if (if ((bet == 142)) | |
745 | 745 | then (rand >= 25) | |
746 | 746 | else false) | |
747 | 747 | then (30 >= rand) | |
748 | 748 | else false) | |
749 | 749 | then true | |
750 | 750 | else if (if (if ((bet == 143)) | |
751 | 751 | then (rand >= 28) | |
752 | 752 | else false) | |
753 | 753 | then (33 >= rand) | |
754 | 754 | else false) | |
755 | 755 | then true | |
756 | 756 | else if (if (if ((bet == 144)) | |
757 | 757 | then (rand >= 31) | |
758 | 758 | else false) | |
759 | 759 | then (36 >= rand) | |
760 | 760 | else false) | |
761 | 761 | then true | |
762 | 762 | else false | |
763 | 763 | ||
764 | 764 | ||
765 | 765 | func columnBet (rand,bet) = if (if ((bet == 145)) | |
766 | 766 | then if (if (if (if (if (if (if (if (if (if (if (if ((rand == 0)) | |
767 | 767 | then true | |
768 | 768 | else (rand == 1)) | |
769 | 769 | then true | |
770 | 770 | else (rand == 4)) | |
771 | 771 | then true | |
772 | 772 | else (rand == 7)) | |
773 | 773 | then true | |
774 | 774 | else (rand == 10)) | |
775 | 775 | then true | |
776 | 776 | else (rand == 13)) | |
777 | 777 | then true | |
778 | 778 | else (rand == 16)) | |
779 | 779 | then true | |
780 | 780 | else (rand == 19)) | |
781 | 781 | then true | |
782 | 782 | else (rand == 22)) | |
783 | 783 | then true | |
784 | 784 | else (rand == 25)) | |
785 | 785 | then true | |
786 | 786 | else (rand == 28)) | |
787 | 787 | then true | |
788 | 788 | else (rand == 31)) | |
789 | 789 | then true | |
790 | 790 | else (rand == 34) | |
791 | 791 | else false) | |
792 | 792 | then true | |
793 | 793 | else if (if ((bet == 146)) | |
794 | 794 | then if (if (if (if (if (if (if (if (if (if (if (if ((rand == 0)) | |
795 | 795 | then true | |
796 | 796 | else (rand == 2)) | |
797 | 797 | then true | |
798 | 798 | else (rand == 5)) | |
799 | 799 | then true | |
800 | 800 | else (rand == 8)) | |
801 | 801 | then true | |
802 | 802 | else (rand == 11)) | |
803 | 803 | then true | |
804 | 804 | else (rand == 14)) | |
805 | 805 | then true | |
806 | 806 | else (rand == 17)) | |
807 | 807 | then true | |
808 | 808 | else (rand == 20)) | |
809 | 809 | then true | |
810 | 810 | else (rand == 23)) | |
811 | 811 | then true | |
812 | 812 | else (rand == 26)) | |
813 | 813 | then true | |
814 | 814 | else (rand == 29)) | |
815 | 815 | then true | |
816 | 816 | else (rand == 32)) | |
817 | 817 | then true | |
818 | 818 | else (rand == 35) | |
819 | 819 | else false) | |
820 | 820 | then true | |
821 | 821 | else if (if ((bet == 147)) | |
822 | 822 | then if (if (if (if (if (if (if (if (if (if (if (if ((rand == 0)) | |
823 | 823 | then true | |
824 | 824 | else (rand == 3)) | |
825 | 825 | then true | |
826 | 826 | else (rand == 6)) | |
827 | 827 | then true | |
828 | 828 | else (rand == 9)) | |
829 | 829 | then true | |
830 | 830 | else (rand == 12)) | |
831 | 831 | then true | |
832 | 832 | else (rand == 15)) | |
833 | 833 | then true | |
834 | 834 | else (rand == 18)) | |
835 | 835 | then true | |
836 | 836 | else (rand == 21)) | |
837 | 837 | then true | |
838 | 838 | else (rand == 24)) | |
839 | 839 | then true | |
840 | 840 | else (rand == 27)) | |
841 | 841 | then true | |
842 | 842 | else (rand == 30)) | |
843 | 843 | then true | |
844 | 844 | else (rand == 33)) | |
845 | 845 | then true | |
846 | 846 | else (rand == 36) | |
847 | 847 | else false) | |
848 | 848 | then true | |
849 | 849 | else false | |
850 | 850 | ||
851 | 851 | ||
852 | 852 | func dozenBet (rand,bet) = if (if (if ((bet == 148)) | |
853 | 853 | then (rand >= 1) | |
854 | 854 | else false) | |
855 | 855 | then (12 >= rand) | |
856 | 856 | else false) | |
857 | 857 | then true | |
858 | 858 | else if (if (if ((bet == 149)) | |
859 | 859 | then (rand >= 13) | |
860 | 860 | else false) | |
861 | 861 | then (24 >= rand) | |
862 | 862 | else false) | |
863 | 863 | then true | |
864 | 864 | else if (if (if ((bet == 150)) | |
865 | 865 | then (rand >= 25) | |
866 | 866 | else false) | |
867 | 867 | then (36 >= rand) | |
868 | 868 | else false) | |
869 | 869 | then true | |
870 | 870 | else false | |
871 | 871 | ||
872 | 872 | ||
873 | 873 | func colorBet (rand,bet) = if (if ((bet == 151)) | |
874 | 874 | then if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if ((rand == 1)) | |
875 | 875 | then true | |
876 | 876 | else (rand == 3)) | |
877 | 877 | then true | |
878 | 878 | else (rand == 5)) | |
879 | 879 | then true | |
880 | 880 | else (rand == 7)) | |
881 | 881 | then true | |
882 | 882 | else (rand == 9)) | |
883 | 883 | then true | |
884 | 884 | else (rand == 12)) | |
885 | 885 | then true | |
886 | 886 | else (rand == 14)) | |
887 | 887 | then true | |
888 | 888 | else (rand == 16)) | |
889 | 889 | then true | |
890 | 890 | else (rand == 18)) | |
891 | 891 | then true | |
892 | 892 | else (rand == 19)) | |
893 | 893 | then true | |
894 | 894 | else (rand == 21)) | |
895 | 895 | then true | |
896 | 896 | else (rand == 23)) | |
897 | 897 | then true | |
898 | 898 | else (rand == 25)) | |
899 | 899 | then true | |
900 | 900 | else (rand == 27)) | |
901 | 901 | then true | |
902 | 902 | else (rand == 30)) | |
903 | 903 | then true | |
904 | 904 | else (rand == 32)) | |
905 | 905 | then true | |
906 | 906 | else (rand == 34)) | |
907 | 907 | then true | |
908 | 908 | else (rand == 36) | |
909 | 909 | else false) | |
910 | 910 | then true | |
911 | 911 | else if (if ((bet == 152)) | |
912 | 912 | then if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if ((rand == 2)) | |
913 | 913 | then true | |
914 | 914 | else (rand == 4)) | |
915 | 915 | then true | |
916 | 916 | else (rand == 6)) | |
917 | 917 | then true | |
918 | 918 | else (rand == 8)) | |
919 | 919 | then true | |
920 | 920 | else (rand == 10)) | |
921 | 921 | then true | |
922 | 922 | else (rand == 11)) | |
923 | 923 | then true | |
924 | 924 | else (rand == 13)) | |
925 | 925 | then true | |
926 | 926 | else (rand == 15)) | |
927 | 927 | then true | |
928 | 928 | else (rand == 17)) | |
929 | 929 | then true | |
930 | 930 | else (rand == 20)) | |
931 | 931 | then true | |
932 | 932 | else (rand == 22)) | |
933 | 933 | then true | |
934 | 934 | else (rand == 24)) | |
935 | 935 | then true | |
936 | 936 | else (rand == 26)) | |
937 | 937 | then true | |
938 | 938 | else (rand == 28)) | |
939 | 939 | then true | |
940 | 940 | else (rand == 29)) | |
941 | 941 | then true | |
942 | 942 | else (rand == 31)) | |
943 | 943 | then true | |
944 | 944 | else (rand == 33)) | |
945 | 945 | then true | |
946 | 946 | else (rand == 35) | |
947 | 947 | else false) | |
948 | 948 | then true | |
949 | 949 | else false | |
950 | 950 | ||
951 | 951 | ||
952 | 952 | func evenOddBet (rand,bet) = { | |
953 | 953 | let rem = (rand % 2) | |
954 | 954 | if (if (if ((rand > 0)) | |
955 | 955 | then (bet == 153) | |
956 | 956 | else false) | |
957 | 957 | then (rem == 0) | |
958 | 958 | else false) | |
959 | 959 | then true | |
960 | 960 | else if (if (if ((rand > 0)) | |
961 | 961 | then (bet == 154) | |
962 | 962 | else false) | |
963 | 963 | then (rem != 0) | |
964 | 964 | else false) | |
965 | 965 | then true | |
966 | 966 | else false | |
967 | 967 | } | |
968 | 968 | ||
969 | 969 | ||
970 | 970 | func lowHighBet (rand,bet) = if (if (if ((bet == 155)) | |
971 | 971 | then (rand >= 1) | |
972 | 972 | else false) | |
973 | 973 | then (18 >= rand) | |
974 | 974 | else false) | |
975 | 975 | then true | |
976 | 976 | else if (if (if ((bet == 156)) | |
977 | 977 | then (rand >= 19) | |
978 | 978 | else false) | |
979 | 979 | then (36 >= rand) | |
980 | 980 | else false) | |
981 | 981 | then true | |
982 | 982 | else false | |
983 | 983 | ||
984 | 984 | ||
985 | 985 | func rouletteWin (rand,bet) = if (if ((bet >= 0)) | |
986 | 986 | then (36 >= bet) | |
987 | 987 | else false) | |
988 | 988 | then straightUpBet(rand, bet) | |
989 | 989 | else if (if ((bet >= 37)) | |
990 | 990 | then (96 >= bet) | |
991 | 991 | else false) | |
992 | 992 | then splitBet(rand, bet) | |
993 | 993 | else if (if ((bet >= 97)) | |
994 | 994 | then (110 >= bet) | |
995 | 995 | else false) | |
996 | 996 | then streetBet(rand, bet) | |
997 | 997 | else if (if ((bet >= 111)) | |
998 | 998 | then (133 >= bet) | |
999 | 999 | else false) | |
1000 | 1000 | then cornerBet(rand, bet) | |
1001 | 1001 | else if (if ((bet >= 134)) | |
1002 | 1002 | then (144 >= bet) | |
1003 | 1003 | else false) | |
1004 | 1004 | then lineBet(rand, bet) | |
1005 | 1005 | else if (if ((bet >= 145)) | |
1006 | 1006 | then (147 >= bet) | |
1007 | 1007 | else false) | |
1008 | 1008 | then columnBet(rand, bet) | |
1009 | 1009 | else if (if ((bet >= 148)) | |
1010 | 1010 | then (150 >= bet) | |
1011 | 1011 | else false) | |
1012 | 1012 | then dozenBet(rand, bet) | |
1013 | 1013 | else if (if ((bet == 151)) | |
1014 | 1014 | then true | |
1015 | 1015 | else (bet == 152)) | |
1016 | 1016 | then colorBet(rand, bet) | |
1017 | 1017 | else if (if ((bet == 153)) | |
1018 | 1018 | then true | |
1019 | 1019 | else (bet == 154)) | |
1020 | 1020 | then evenOddBet(rand, bet) | |
1021 | 1021 | else if (if ((bet == 155)) | |
1022 | 1022 | then true | |
1023 | 1023 | else (bet == 156)) | |
1024 | 1024 | then lowHighBet(rand, bet) | |
1025 | 1025 | else throw("Random randber out of range, 0 <= rand <= 36") | |
1026 | 1026 | ||
1027 | 1027 | ||
1028 | 1028 | func getWinAmount (bet,amount) = if (if ((bet >= 0)) | |
1029 | 1029 | then (36 >= bet) | |
1030 | 1030 | else false) | |
1031 | 1031 | then (amount * 35) | |
1032 | 1032 | else if (if ((bet >= 37)) | |
1033 | 1033 | then (96 >= bet) | |
1034 | 1034 | else false) | |
1035 | 1035 | then (amount * 17) | |
1036 | 1036 | else if (if ((bet >= 97)) | |
1037 | 1037 | then (110 >= bet) | |
1038 | 1038 | else false) | |
1039 | 1039 | then (amount * 11) | |
1040 | 1040 | else if (if ((bet >= 111)) | |
1041 | 1041 | then (133 >= bet) | |
1042 | 1042 | else false) | |
1043 | 1043 | then (amount * 8) | |
1044 | 1044 | else if (if ((bet >= 134)) | |
1045 | 1045 | then (144 >= bet) | |
1046 | 1046 | else false) | |
1047 | 1047 | then (amount * 5) | |
1048 | 1048 | else if (if ((bet >= 145)) | |
1049 | 1049 | then (147 >= bet) | |
1050 | 1050 | else false) | |
1051 | 1051 | then (amount * 2) | |
1052 | 1052 | else if (if ((bet >= 148)) | |
1053 | 1053 | then (150 >= bet) | |
1054 | 1054 | else false) | |
1055 | 1055 | then (amount * 2) | |
1056 | 1056 | else if (if ((bet == 151)) | |
1057 | 1057 | then true | |
1058 | 1058 | else (bet == 152)) | |
1059 | 1059 | then (amount * 2) | |
1060 | 1060 | else if (if ((bet == 153)) | |
1061 | 1061 | then true | |
1062 | 1062 | else (bet == 154)) | |
1063 | 1063 | then amount | |
1064 | 1064 | else if (if ((bet == 155)) | |
1065 | 1065 | then true | |
1066 | 1066 | else (bet == 156)) | |
1067 | 1067 | then amount | |
1068 | 1068 | else throw("Bet number out of range, 0 <= rand <= 156") | |
1069 | 1069 | ||
1070 | 1070 | ||
1071 | 1071 | func IncrementValue (value) = { | |
1072 | 1072 | let provNum = match getInteger(this, value) { | |
1073 | 1073 | case num: Int => | |
1074 | 1074 | num | |
1075 | 1075 | case _ => | |
1076 | 1076 | 0 | |
1077 | 1077 | } | |
1078 | 1078 | (provNum + 1) | |
1079 | 1079 | } | |
1080 | 1080 | ||
1081 | 1081 | ||
1082 | 1082 | func ExtractValue (value) = match getInteger(this, value) { | |
1083 | 1083 | case a: Int => | |
1084 | 1084 | a | |
1085 | 1085 | case _ => | |
1086 | 1086 | 0 | |
1087 | 1087 | } | |
1088 | 1088 | ||
1089 | 1089 | ||
1090 | 1090 | func ValidateAndIncreaseReservedAmt (winAmt) = { | |
1091 | 1091 | let newReservedAmount = (ExtractValue(RESERVATIONKEY) + winAmt) | |
1092 | 1092 | let balance = assetBalance(this, WBET) | |
1093 | 1093 | if ((newReservedAmount > balance)) | |
1094 | 1094 | then throw("Insufficient funds on Wavesbet Roulette account. Transaction was rejected for your safety.") | |
1095 | 1095 | else newReservedAmount | |
1096 | 1096 | } | |
1097 | 1097 | ||
1098 | 1098 | ||
1099 | 1099 | func DecreaseReservedAmt (winAmt) = { | |
1100 | 1100 | let newReservedAmount = (ExtractValue(RESERVATIONKEY) - winAmt) | |
1101 | 1101 | if ((0 > newReservedAmount)) | |
1102 | 1102 | then throw("Invalid roulette account state - reserved amount is less than 0") | |
1103 | 1103 | else DataEntry(RESERVATIONKEY, newReservedAmount) | |
1104 | 1104 | } | |
1105 | 1105 | ||
1106 | 1106 | ||
1107 | 1107 | func GenerateRandInt (gameId,rsaSign) = { | |
1108 | 1108 | let rsaSigValid = rsaVerify(SHA256, toBytes(gameId), rsaSign, RSAPUBLIC) | |
1109 | 1109 | if (rsaSigValid) | |
1110 | 1110 | then { | |
1111 | 1111 | let rand = (toInt(sha256(rsaSign)) % 36) | |
1112 | 1112 | if ((0 > rand)) | |
1113 | 1113 | then ((-1 * rand) + 1) | |
1114 | 1114 | else (rand + 1) | |
1115 | 1115 | } | |
1116 | 1116 | else throw("Invalid RSA signature") | |
1117 | 1117 | } | |
1118 | 1118 | ||
1119 | 1119 | ||
1120 | 1120 | func RandToStr (r) = if (if ((r >= 1)) | |
1121 | 1121 | then (36 >= r) | |
1122 | 1122 | else false) | |
1123 | 1123 | then toString(r) | |
1124 | 1124 | else throw(("Unsupported r parameter passed: expected=[0,...,36] actual=" + toString(r))) | |
1125 | 1125 | ||
1126 | 1126 | ||
1127 | 1127 | func ExtractString (id) = { | |
1128 | 1128 | let rawDataStr = match getString(this, id) { | |
1129 | 1129 | case str: String => | |
1130 | 1130 | str | |
1131 | 1131 | case _ => | |
1132 | 1132 | throw(("Couldn't find string by " + id)) | |
1133 | 1133 | } | |
1134 | 1134 | rawDataStr | |
1135 | 1135 | } | |
1136 | 1136 | ||
1137 | 1137 | ||
1138 | 1138 | func GetGameId (betIdO,betId) = if ((betIdO == "new")) | |
1139 | 1139 | then (("game_" + betId) + "_bet_1") | |
1140 | 1140 | else { | |
1141 | 1141 | let beti = toString(IncrementValue(betIdO)) | |
1142 | 1142 | ((("game_" + betIdO) + "_bet_") + beti) | |
1143 | 1143 | } | |
1144 | 1144 | ||
1145 | 1145 | ||
1146 | 1146 | func GetWriteSet (gameIdO,betId,gameId,winAmt,gameDataStr) = if ((gameIdO == "new")) | |
1147 | - | then WriteSet([DataEntry(GAMESCOUNTERKEY, IncrementValue(GAMESCOUNTERKEY)), DataEntry(RESERVATIONKEY, | |
1148 | - | else WriteSet([DataEntry(RESERVATIONKEY, | |
1147 | + | then WriteSet([DataEntry(GAMESCOUNTERKEY, IncrementValue(GAMESCOUNTERKEY)), DataEntry(RESERVATIONKEY, ValidateAndIncreaseReservedAmt(winAmt)), DataEntry(betId, 1), DataEntry(gameId, gameDataStr)]) | |
1148 | + | else WriteSet([DataEntry(RESERVATIONKEY, ValidateAndIncreaseReservedAmt(winAmt)), DataEntry(gameIdO, IncrementValue(gameIdO)), DataEntry(gameId, gameDataStr)]) | |
1149 | 1149 | ||
1150 | 1150 | ||
1151 | 1151 | @Callable(i) | |
1152 | 1152 | func playRoulette (bet,gameIdO) = { | |
1153 | 1153 | let betId = toBase58String(i.transactionId) | |
1154 | 1154 | let payment = extract(i.payment) | |
1155 | 1155 | let feeAssetId = isDefined(i.feeAssetId) | |
1156 | 1156 | let playerBalance = wavesBalance(i.caller) | |
1157 | 1157 | let gameId = GetGameId(gameIdO, betId) | |
1158 | 1158 | let gameIdUsed = isDefined(getString(this, gameId)) | |
1159 | 1159 | let winAmt = getWinAmount(bet, payment.amount) | |
1160 | 1160 | if ((payment.assetId != WBET)) | |
1161 | 1161 | then throw("Payment should be in Wavesbet") | |
1162 | 1162 | else if ((1000000 > playerBalance)) | |
1163 | 1163 | then throw("There are not enough waves, it takes 0.01 Waves to bet. Game aborted.") | |
1164 | 1164 | else if (feeAssetId) | |
1165 | 1165 | then throw("Transaction's fee must be in Waves. Game aborted.") | |
1166 | 1166 | else if (gameIdUsed) | |
1167 | 1167 | then throw("Passed gameId had been used before. Game aborted.") | |
1168 | 1168 | else { | |
1169 | 1169 | let playerPubKey58 = toBase58String(i.callerPublicKey) | |
1170 | 1170 | let gameDataStr = (((((("SUBMITTED" + "_") + toString(bet)) + "_") + playerPubKey58) + "_") + toString(winAmt)) | |
1171 | 1171 | ScriptResult(GetWriteSet(gameIdO, betId, gameId, winAmt, gameDataStr), TransferSet(nil)) | |
1172 | 1172 | } | |
1173 | 1173 | } | |
1174 | 1174 | ||
1175 | 1175 | ||
1176 | 1176 | ||
1177 | 1177 | @Callable(i) | |
1178 | 1178 | func withdraw (gameId,rsaSig) = { | |
1179 | 1179 | let gameDataList = split(ExtractString(gameId), "_") | |
1180 | 1180 | let gameState = gameDataList[0] | |
1181 | 1181 | let bet = parseIntValue(gameDataList[1]) | |
1182 | 1182 | let playerPubKey58 = gameDataList[2] | |
1183 | 1183 | let winAmt = parseIntValue(gameDataList[3]) | |
1184 | 1184 | let playerAddress = addressFromPublicKey(fromBase58String(playerPubKey58)) | |
1185 | 1185 | let decreasedReserves = DecreaseReservedAmt(winAmt) | |
1186 | 1186 | if ((gameState != "SUBMITTED")) | |
1187 | 1187 | then throw("Invalid game state for passed gameId. Game aborted. ") | |
1188 | 1188 | else { | |
1189 | 1189 | let gameDataString = split(gameId, "_") | |
1190 | 1190 | let rand = GenerateRandInt(gameDataString[1], rsaSig) | |
1191 | 1191 | let randStr = RandToStr(rand) | |
1192 | 1192 | if (rouletteWin(rand, bet)) | |
1193 | 1193 | then { | |
1194 | 1194 | let newGameDataStr = (((((((("WON" + "_") + gameDataList[1]) + "_") + playerPubKey58) + "_") + gameDataList[3]) + "_") + randStr) | |
1195 | 1195 | ScriptResult(WriteSet([DataEntry(gameId, newGameDataStr), decreasedReserves]), TransferSet([ScriptTransfer(playerAddress, winAmt, WBET)])) | |
1196 | 1196 | } | |
1197 | 1197 | else { | |
1198 | 1198 | let newGameDataStr = (((((((("LOST" + "_") + gameDataList[1]) + "_") + playerPubKey58) + "_") + gameDataList[3]) + "_") + randStr) | |
1199 | 1199 | WriteSet([DataEntry(gameId, newGameDataStr), decreasedReserves]) | |
1200 | 1200 | } | |
1201 | 1201 | } | |
1202 | 1202 | } | |
1203 | 1203 | ||
1204 | 1204 |
github/deemru/w8io/169f3d6 96.83 ms ◑