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