tx · 7khEUTLx3T8ePDyR36gEovx6yDnV4Z1ttZe484mhXSTH 3MpJUfdgwaKfTjJgpGrhDVZJ9KBhaqruj3J: -0.01400000 Waves 2019.09.01 12:45 [656720] smart account 3MpJUfdgwaKfTjJgpGrhDVZJ9KBhaqruj3J > SELF 0.00000000 Waves
{ "type": 13, "id": "7khEUTLx3T8ePDyR36gEovx6yDnV4Z1ttZe484mhXSTH", "fee": 1400000, "feeAssetId": null, "timestamp": 1567331138754, "version": 1, "sender": "3MpJUfdgwaKfTjJgpGrhDVZJ9KBhaqruj3J", "senderPublicKey": "EfGZvomWbCwnR6YbgmBF2rduFkMwzVuox5bvYVdaSeFX", "proofs": [ "56wxYsD5Ans3XDJLmXJkzLBtpNEXABcWp614FsgiwzWECqs23cKBTbPmdpG5iDAiyQKbZ32R3xaECbutfJZbwdUJ" ], "script": "base64:AAIDAAAAAAAAAAAAAAADAAAAAAxudW1iZXJzQ291bnQAAAAAAAAAACUAAAAAB05VTUJFUlMJAARMAAAAAgAAAAAAAAAAAAkABEwAAAACAAAAAAAAAAABCQAETAAAAAIAAAAAAAAAAAIJAARMAAAAAgAAAAAAAAAAAwkABEwAAAACAAAAAAAAAAAECQAETAAAAAIAAAAAAAAAAAUJAARMAAAAAgAAAAAAAAAABgkABEwAAAACAAAAAAAAAAAHCQAETAAAAAIAAAAAAAAAAAgJAARMAAAAAgAAAAAAAAAACQkABEwAAAACAAAAAAAAAAAKCQAETAAAAAIAAAAAAAAAAAsJAARMAAAAAgAAAAAAAAAADAkABEwAAAACAAAAAAAAAAANCQAETAAAAAIAAAAAAAAAAA4JAARMAAAAAgAAAAAAAAAADwkABEwAAAACAAAAAAAAAAAQCQAETAAAAAIAAAAAAAAAABEJAARMAAAAAgAAAAAAAAAAEgkABEwAAAACAAAAAAAAAAATCQAETAAAAAIAAAAAAAAAABQJAARMAAAAAgAAAAAAAAAAFQkABEwAAAACAAAAAAAAAAAWCQAETAAAAAIAAAAAAAAAABcJAARMAAAAAgAAA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Xs5jFyG5FiQSf15PRgu Diff:
Old | New | Differences | |
---|---|---|---|
20 | 20 | let MaxBet = (wavesBalance(this) / 2) | |
21 | 21 | let payment = extract(inv.payment) | |
22 | 22 | let comission = 500000 | |
23 | - | let dropnum = | |
23 | + | let dropnum = 30 | |
24 | 24 | if (!(isDefined(inv.payment))) | |
25 | 25 | then throw("Should be with Payment in Waves") | |
26 | 26 | else if (isDefined(payment.assetId)) |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 3 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let numbersCount = 37 | |
5 | 5 | ||
6 | 6 | let NUMBERS = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36] | |
7 | 7 | ||
8 | 8 | func getNumber (inv) = { | |
9 | 9 | let hash = sha256((inv.transactionId + inv.callerPublicKey)) | |
10 | 10 | let index = toInt(hash) | |
11 | 11 | NUMBERS[(index % numbersCount)] | |
12 | 12 | } | |
13 | 13 | ||
14 | 14 | ||
15 | 15 | @Callable(inv) | |
16 | 16 | func spin (num,a,b,c,d,e,f,g,h,i,j,k,l,m,totalbet) = { | |
17 | 17 | let player = toBase58String(inv.caller.bytes) | |
18 | 18 | let amaddress = inv.caller | |
19 | 19 | let timestamp = toString(lastBlock.timestamp) | |
20 | 20 | let MaxBet = (wavesBalance(this) / 2) | |
21 | 21 | let payment = extract(inv.payment) | |
22 | 22 | let comission = 500000 | |
23 | - | let dropnum = | |
23 | + | let dropnum = 30 | |
24 | 24 | if (!(isDefined(inv.payment))) | |
25 | 25 | then throw("Should be with Payment in Waves") | |
26 | 26 | else if (isDefined(payment.assetId)) | |
27 | 27 | then throw("Payment should be in Waves") | |
28 | 28 | else if ((payment.amount != totalbet)) | |
29 | 29 | then throw("Error") | |
30 | 30 | else if ((payment.amount > MaxBet)) | |
31 | 31 | then throw("The rate cannot exceed the contract balance divided by the maximum multiplier") | |
32 | 32 | else if ((payment.amount > 10000000000)) | |
33 | 33 | then throw("Max bet 100 Waves") | |
34 | 34 | else { | |
35 | 35 | func getSingleWin () = if (if ((a != 0)) | |
36 | 36 | then (num == getNumber(inv)) | |
37 | 37 | else false) | |
38 | 38 | then true | |
39 | 39 | else false | |
40 | 40 | ||
41 | 41 | func getODDWin () = if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if ((b != 0)) | |
42 | 42 | then (dropnum == 1) | |
43 | 43 | else false) | |
44 | 44 | then true | |
45 | 45 | else (dropnum == 3)) | |
46 | 46 | then true | |
47 | 47 | else (dropnum == 5)) | |
48 | 48 | then true | |
49 | 49 | else (dropnum == 7)) | |
50 | 50 | then true | |
51 | 51 | else (dropnum == 9)) | |
52 | 52 | then true | |
53 | 53 | else (dropnum == 11)) | |
54 | 54 | then true | |
55 | 55 | else (dropnum == 13)) | |
56 | 56 | then true | |
57 | 57 | else (dropnum == 15)) | |
58 | 58 | then true | |
59 | 59 | else (dropnum == 17)) | |
60 | 60 | then true | |
61 | 61 | else (dropnum == 19)) | |
62 | 62 | then true | |
63 | 63 | else (dropnum == 21)) | |
64 | 64 | then true | |
65 | 65 | else (dropnum == 23)) | |
66 | 66 | then true | |
67 | 67 | else (dropnum == 25)) | |
68 | 68 | then true | |
69 | 69 | else (dropnum == 27)) | |
70 | 70 | then true | |
71 | 71 | else (dropnum == 29)) | |
72 | 72 | then true | |
73 | 73 | else (dropnum == 31)) | |
74 | 74 | then true | |
75 | 75 | else (dropnum == 33)) | |
76 | 76 | then true | |
77 | 77 | else (dropnum == 35)) | |
78 | 78 | then true | |
79 | 79 | else false | |
80 | 80 | ||
81 | 81 | func getEvenWin () = if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if ((c != 0)) | |
82 | 82 | then (dropnum == 2) | |
83 | 83 | else false) | |
84 | 84 | then true | |
85 | 85 | else (dropnum == 4)) | |
86 | 86 | then true | |
87 | 87 | else (dropnum == 6)) | |
88 | 88 | then true | |
89 | 89 | else (dropnum == 8)) | |
90 | 90 | then true | |
91 | 91 | else (dropnum == 10)) | |
92 | 92 | then true | |
93 | 93 | else (dropnum == 12)) | |
94 | 94 | then true | |
95 | 95 | else (dropnum == 14)) | |
96 | 96 | then true | |
97 | 97 | else (dropnum == 16)) | |
98 | 98 | then true | |
99 | 99 | else (dropnum == 18)) | |
100 | 100 | then true | |
101 | 101 | else (dropnum == 20)) | |
102 | 102 | then true | |
103 | 103 | else (dropnum == 22)) | |
104 | 104 | then true | |
105 | 105 | else (dropnum == 24)) | |
106 | 106 | then true | |
107 | 107 | else (dropnum == 26)) | |
108 | 108 | then true | |
109 | 109 | else (dropnum == 28)) | |
110 | 110 | then true | |
111 | 111 | else (dropnum == 30)) | |
112 | 112 | then true | |
113 | 113 | else (dropnum == 32)) | |
114 | 114 | then true | |
115 | 115 | else (dropnum == 34)) | |
116 | 116 | then true | |
117 | 117 | else (dropnum == 36)) | |
118 | 118 | then true | |
119 | 119 | else false | |
120 | 120 | ||
121 | 121 | func getRedWin () = if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if ((d != 0)) | |
122 | 122 | then (dropnum == 1) | |
123 | 123 | else false) | |
124 | 124 | then true | |
125 | 125 | else (dropnum == 3)) | |
126 | 126 | then true | |
127 | 127 | else (dropnum == 5)) | |
128 | 128 | then true | |
129 | 129 | else (dropnum == 7)) | |
130 | 130 | then true | |
131 | 131 | else (dropnum == 9)) | |
132 | 132 | then true | |
133 | 133 | else (dropnum == 12)) | |
134 | 134 | then true | |
135 | 135 | else (dropnum == 14)) | |
136 | 136 | then true | |
137 | 137 | else (dropnum == 16)) | |
138 | 138 | then true | |
139 | 139 | else (dropnum == 18)) | |
140 | 140 | then true | |
141 | 141 | else (dropnum == 19)) | |
142 | 142 | then true | |
143 | 143 | else (dropnum == 21)) | |
144 | 144 | then true | |
145 | 145 | else (dropnum == 23)) | |
146 | 146 | then true | |
147 | 147 | else (dropnum == 25)) | |
148 | 148 | then true | |
149 | 149 | else (dropnum == 27)) | |
150 | 150 | then true | |
151 | 151 | else (dropnum == 30)) | |
152 | 152 | then true | |
153 | 153 | else (dropnum == 32)) | |
154 | 154 | then true | |
155 | 155 | else (dropnum == 34)) | |
156 | 156 | then true | |
157 | 157 | else (dropnum == 36)) | |
158 | 158 | then true | |
159 | 159 | else false | |
160 | 160 | ||
161 | 161 | func getBlackWin () = if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if ((e != 0)) | |
162 | 162 | then (dropnum == 2) | |
163 | 163 | else false) | |
164 | 164 | then true | |
165 | 165 | else (dropnum == 4)) | |
166 | 166 | then true | |
167 | 167 | else (dropnum == 6)) | |
168 | 168 | then true | |
169 | 169 | else (dropnum == 8)) | |
170 | 170 | then true | |
171 | 171 | else (dropnum == 10)) | |
172 | 172 | then true | |
173 | 173 | else (dropnum == 11)) | |
174 | 174 | then true | |
175 | 175 | else (dropnum == 13)) | |
176 | 176 | then true | |
177 | 177 | else (dropnum == 15)) | |
178 | 178 | then true | |
179 | 179 | else (dropnum == 17)) | |
180 | 180 | then true | |
181 | 181 | else (dropnum == 20)) | |
182 | 182 | then true | |
183 | 183 | else (dropnum == 22)) | |
184 | 184 | then true | |
185 | 185 | else (dropnum == 24)) | |
186 | 186 | then true | |
187 | 187 | else (dropnum == 26)) | |
188 | 188 | then true | |
189 | 189 | else (dropnum == 28)) | |
190 | 190 | then true | |
191 | 191 | else (dropnum == 29)) | |
192 | 192 | then true | |
193 | 193 | else (dropnum == 31)) | |
194 | 194 | then true | |
195 | 195 | else (dropnum == 33)) | |
196 | 196 | then true | |
197 | 197 | else (dropnum == 35)) | |
198 | 198 | then true | |
199 | 199 | else false | |
200 | 200 | ||
201 | 201 | func getTwotorWin () = if (if (if (if (if (if (if (if (if (if (if (if (if ((f != 0)) | |
202 | 202 | then (dropnum == 3) | |
203 | 203 | else false) | |
204 | 204 | then true | |
205 | 205 | else (dropnum == 6)) | |
206 | 206 | then true | |
207 | 207 | else (dropnum == 9)) | |
208 | 208 | then true | |
209 | 209 | else (dropnum == 12)) | |
210 | 210 | then true | |
211 | 211 | else (dropnum == 15)) | |
212 | 212 | then true | |
213 | 213 | else (dropnum == 18)) | |
214 | 214 | then true | |
215 | 215 | else (dropnum == 21)) | |
216 | 216 | then true | |
217 | 217 | else (dropnum == 24)) | |
218 | 218 | then true | |
219 | 219 | else (dropnum == 27)) | |
220 | 220 | then true | |
221 | 221 | else (dropnum == 30)) | |
222 | 222 | then true | |
223 | 223 | else (dropnum == 33)) | |
224 | 224 | then true | |
225 | 225 | else (dropnum == 36)) | |
226 | 226 | then true | |
227 | 227 | else false | |
228 | 228 | ||
229 | 229 | func getTwotomWin () = if (if (if (if (if (if (if (if (if (if (if (if (if ((g != 0)) | |
230 | 230 | then (dropnum == 2) | |
231 | 231 | else false) | |
232 | 232 | then true | |
233 | 233 | else (dropnum == 5)) | |
234 | 234 | then true | |
235 | 235 | else (dropnum == 8)) | |
236 | 236 | then true | |
237 | 237 | else (dropnum == 11)) | |
238 | 238 | then true | |
239 | 239 | else (dropnum == 14)) | |
240 | 240 | then true | |
241 | 241 | else (dropnum == 17)) | |
242 | 242 | then true | |
243 | 243 | else (dropnum == 20)) | |
244 | 244 | then true | |
245 | 245 | else (dropnum == 23)) | |
246 | 246 | then true | |
247 | 247 | else (dropnum == 26)) | |
248 | 248 | then true | |
249 | 249 | else (dropnum == 29)) | |
250 | 250 | then true | |
251 | 251 | else (dropnum == 32)) | |
252 | 252 | then true | |
253 | 253 | else (dropnum == 35)) | |
254 | 254 | then true | |
255 | 255 | else false | |
256 | 256 | ||
257 | 257 | func getTwotolWin () = if (if (if (if (if (if (if (if (if (if (if (if (if ((h != 0)) | |
258 | 258 | then (dropnum == 1) | |
259 | 259 | else false) | |
260 | 260 | then true | |
261 | 261 | else (dropnum == 4)) | |
262 | 262 | then true | |
263 | 263 | else (dropnum == 7)) | |
264 | 264 | then true | |
265 | 265 | else (dropnum == 10)) | |
266 | 266 | then true | |
267 | 267 | else (dropnum == 13)) | |
268 | 268 | then true | |
269 | 269 | else (dropnum == 16)) | |
270 | 270 | then true | |
271 | 271 | else (dropnum == 19)) | |
272 | 272 | then true | |
273 | 273 | else (dropnum == 22)) | |
274 | 274 | then true | |
275 | 275 | else (dropnum == 25)) | |
276 | 276 | then true | |
277 | 277 | else (dropnum == 28)) | |
278 | 278 | then true | |
279 | 279 | else (dropnum == 31)) | |
280 | 280 | then true | |
281 | 281 | else (dropnum == 34)) | |
282 | 282 | then true | |
283 | 283 | else false | |
284 | 284 | ||
285 | 285 | func getLowhalfWin () = if (if ((i != 0)) | |
286 | 286 | then (18 >= dropnum) | |
287 | 287 | else false) | |
288 | 288 | then true | |
289 | 289 | else false | |
290 | 290 | ||
291 | 291 | func getHighhalfWin () = if (if ((j != 0)) | |
292 | 292 | then (dropnum >= 19) | |
293 | 293 | else false) | |
294 | 294 | then true | |
295 | 295 | else false | |
296 | 296 | ||
297 | 297 | func getOnedozenWin () = if (if ((k != 0)) | |
298 | 298 | then (12 >= dropnum) | |
299 | 299 | else false) | |
300 | 300 | then true | |
301 | 301 | else false | |
302 | 302 | ||
303 | 303 | func getTwodozenWin () = if (if (if (if (if (if (if (if (if (if (if (if (if ((l != 0)) | |
304 | 304 | then (dropnum == 13) | |
305 | 305 | else false) | |
306 | 306 | then true | |
307 | 307 | else (dropnum == 14)) | |
308 | 308 | then true | |
309 | 309 | else (dropnum == 15)) | |
310 | 310 | then true | |
311 | 311 | else (dropnum == 16)) | |
312 | 312 | then true | |
313 | 313 | else (dropnum == 17)) | |
314 | 314 | then true | |
315 | 315 | else (dropnum == 18)) | |
316 | 316 | then true | |
317 | 317 | else (dropnum == 19)) | |
318 | 318 | then true | |
319 | 319 | else (dropnum == 20)) | |
320 | 320 | then true | |
321 | 321 | else (dropnum == 21)) | |
322 | 322 | then true | |
323 | 323 | else (dropnum == 22)) | |
324 | 324 | then true | |
325 | 325 | else (dropnum == 23)) | |
326 | 326 | then true | |
327 | 327 | else (dropnum == 24)) | |
328 | 328 | then true | |
329 | 329 | else false | |
330 | 330 | ||
331 | 331 | func getThreedozenWin () = if (if ((m != 0)) | |
332 | 332 | then (dropnum >= 25) | |
333 | 333 | else false) | |
334 | 334 | then true | |
335 | 335 | else false | |
336 | 336 | ||
337 | 337 | ScriptResult(WriteSet([DataEntry(player, dropnum)]), TransferSet([ScriptTransfer(amaddress, if (getSingleWin()) | |
338 | 338 | then (a * 35) | |
339 | 339 | else 0, unit), ScriptTransfer(amaddress, if (getODDWin()) | |
340 | 340 | then (b * 2) | |
341 | 341 | else 0, unit), ScriptTransfer(amaddress, if (getEvenWin()) | |
342 | 342 | then (c * 2) | |
343 | 343 | else 0, unit), ScriptTransfer(amaddress, if (getRedWin()) | |
344 | 344 | then (d * 2) | |
345 | 345 | else 0, unit), ScriptTransfer(amaddress, if (getBlackWin()) | |
346 | 346 | then (e * 2) | |
347 | 347 | else 0, unit), ScriptTransfer(amaddress, if (getLowhalfWin()) | |
348 | 348 | then (i * 2) | |
349 | 349 | else 0, unit), ScriptTransfer(amaddress, if (getHighhalfWin()) | |
350 | 350 | then (j * 2) | |
351 | 351 | else 0, unit), ScriptTransfer(amaddress, if (getOnedozenWin()) | |
352 | 352 | then (k + (k * 2)) | |
353 | 353 | else 0, unit), ScriptTransfer(amaddress, if (getTwodozenWin()) | |
354 | 354 | then (l + (l * 2)) | |
355 | 355 | else 0, unit), ScriptTransfer(amaddress, if (getThreedozenWin()) | |
356 | 356 | then (m + (m * 2)) | |
357 | 357 | else 0, unit)])) | |
358 | 358 | } | |
359 | 359 | } | |
360 | 360 | ||
361 | 361 |
github/deemru/w8io/169f3d6 60.36 ms ◑