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:AAIDAAAAAAAAAAAAAAADAAAAAAxudW1iZXJzQ291bnQAAAAAAAAAACUAAAAAB05VTUJFUlMJAARMAAAAAgAAAAAAAAAAAAkABEwAAAACAAAAAAAAAAABCQAETAAAAAIAAAAAAAAAAAIJAARMAAAAAgAAAAAAAAAAAwkABEwAAAACAAAAAAAAAAAECQAETAAAAAIAAAAAAAAAAAUJAARMAAAAAgAAAAAAAAAABgkABEwAAAACAAAAAAAAAAAHCQAETAAAAAIAAAAAAAAAAAgJAARMAAAAAgAAAAAAAAAACQkABEwAAAACAAAAAAAAAAAKCQAETAAAAAIAAAAAAAAAAAsJAARMAAAAAgAAAAAAAAAADAkABEwAAAACAAAAAAAAAAANCQAETAAAAAIAAAAAAAAAAA4JAARMAAAAAgAAAAAAAAAADwkABEwAAAACAAAAAAAAAAAQCQAETAAAAAIAAAAAAAAAABEJAARMAAAAAgAAAAAAAAAAEgkABEwAAAACAAAAAAAAAAATCQAETAAAAAIAAAAAAAAAABQJAARMAAAAAgAAAAAAAAAAFQkABEwAAAACAAAAAAAAAAAWCQAETAAAAAIAAAAAAAAAABcJAARMAA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hbnNmZXIAAAADBQAAAAlhbWFkZHJlc3MDCQEAAAAOZ2V0T25lZG96ZW5XaW4AAAAACQAAZQAAAAIJAABkAAAAAgUAAAABawkAAGgAAAACBQAAAAFrAAAAAAAAAAACBQAAAAljb21pc3Npb24AAAAAAAAAAAAFAAAABHVuaXQJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwUAAAAJYW1hZGRyZXNzAwkBAAAADmdldFR3b2RvemVuV2luAAAAAAkAAGUAAAACCQAAZAAAAAIFAAAAAWwJAABoAAAAAgUAAAABbAAAAAAAAAAAAgUAAAAJY29taXNzaW9uAAAAAAAAAAAABQAAAAR1bml0CQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMFAAAACWFtYWRkcmVzcwMJAQAAABBnZXRUaHJlZWRvemVuV2luAAAAAAkAAGUAAAACCQAAZAAAAAIFAAAAAW0JAABoAAAAAgUAAAABbQAAAAAAAAAAAgUAAAAJY29taXNzaW9uAAAAAAAAAAAABQAAAAR1bml0BQAAAANuaWwAAAAAMilv1Q==", "chainId": 84, "height": 656661, "spentComplexity": 0 } View: original | compacted Prev: mHTsfbzqT24RQ3LEhi5fmeP88SwLMo7f1np5JyrhHsr Next: Hw3vvuPL3PtFCctoUBkzrg4aD6aCAHwLNPngD1DAbSC2 Diff:
OldNewDifferences
2727 then throw("Payment should be in Waves")
2828 else if ((payment.amount != totalbet))
2929 then throw("Error")
30- else if ((payment.amount > 100000000))
30+ else if ((payment.amount > 10000000))
3131 then throw("Max bet 100Waves")
3232 else {
3333 func getSingleWin () = if (if ((a != 0))
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let numbersCount = 37
55
66 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]
77
88 func getNumber (inv) = {
99 let hash = sha256((inv.transactionId + inv.callerPublicKey))
1010 let index = toInt(hash)
1111 NUMBERS[(index % numbersCount)]
1212 }
1313
1414
1515 @Callable(inv)
1616 func spin (num,a,b,c,d,e,f,g,h,i,j,k,l,m,totalbet) = {
1717 let player = toBase58String(inv.caller.bytes)
1818 let amaddress = inv.caller
1919 let timestamp = toString(lastBlock.timestamp)
2020 let MaxBet = (wavesBalance(this) / 35)
2121 let payment = extract(inv.payment)
2222 let comission = 500000
2323 let dropnum = getNumber(inv)
2424 if (!(isDefined(inv.payment)))
2525 then throw("Should be with Payment in Waves")
2626 else if (isDefined(payment.assetId))
2727 then throw("Payment should be in Waves")
2828 else if ((payment.amount != totalbet))
2929 then throw("Error")
30- else if ((payment.amount > 100000000))
30+ else if ((payment.amount > 10000000))
3131 then throw("Max bet 100Waves")
3232 else {
3333 func getSingleWin () = if (if ((a != 0))
3434 then (num == getNumber(inv))
3535 else false)
3636 then true
3737 else false
3838
3939 func getODDWin () = if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if ((b != 0))
4040 then (dropnum == 1)
4141 else false)
4242 then true
4343 else (dropnum == 3))
4444 then true
4545 else (dropnum == 5))
4646 then true
4747 else (dropnum == 7))
4848 then true
4949 else (dropnum == 9))
5050 then true
5151 else (dropnum == 11))
5252 then true
5353 else (dropnum == 13))
5454 then true
5555 else (dropnum == 15))
5656 then true
5757 else (dropnum == 17))
5858 then true
5959 else (dropnum == 19))
6060 then true
6161 else (dropnum == 21))
6262 then true
6363 else (dropnum == 23))
6464 then true
6565 else (dropnum == 25))
6666 then true
6767 else (dropnum == 27))
6868 then true
6969 else (dropnum == 29))
7070 then true
7171 else (dropnum == 31))
7272 then true
7373 else (dropnum == 33))
7474 then true
7575 else (dropnum == 35))
7676 then true
7777 else false
7878
7979 func getEvenWin () = if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if ((c != 0))
8080 then (dropnum == 2)
8181 else false)
8282 then true
8383 else (dropnum == 4))
8484 then true
8585 else (dropnum == 6))
8686 then true
8787 else (dropnum == 8))
8888 then true
8989 else (dropnum == 10))
9090 then true
9191 else (dropnum == 12))
9292 then true
9393 else (dropnum == 14))
9494 then true
9595 else (dropnum == 16))
9696 then true
9797 else (dropnum == 18))
9898 then true
9999 else (dropnum == 20))
100100 then true
101101 else (dropnum == 22))
102102 then true
103103 else (dropnum == 24))
104104 then true
105105 else (dropnum == 26))
106106 then true
107107 else (dropnum == 28))
108108 then true
109109 else (dropnum == 30))
110110 then true
111111 else (dropnum == 32))
112112 then true
113113 else (dropnum == 34))
114114 then true
115115 else (dropnum == 36))
116116 then true
117117 else false
118118
119119 func getRedWin () = if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if ((d != 0))
120120 then (dropnum == 1)
121121 else false)
122122 then true
123123 else (dropnum == 3))
124124 then true
125125 else (dropnum == 5))
126126 then true
127127 else (dropnum == 7))
128128 then true
129129 else (dropnum == 9))
130130 then true
131131 else (dropnum == 12))
132132 then true
133133 else (dropnum == 14))
134134 then true
135135 else (dropnum == 16))
136136 then true
137137 else (dropnum == 18))
138138 then true
139139 else (dropnum == 19))
140140 then true
141141 else (dropnum == 21))
142142 then true
143143 else (dropnum == 23))
144144 then true
145145 else (dropnum == 25))
146146 then true
147147 else (dropnum == 27))
148148 then true
149149 else (dropnum == 30))
150150 then true
151151 else (dropnum == 32))
152152 then true
153153 else (dropnum == 34))
154154 then true
155155 else (dropnum == 36))
156156 then true
157157 else false
158158
159159 func getBlackWin () = if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if ((e != 0))
160160 then (dropnum == 2)
161161 else false)
162162 then true
163163 else (dropnum == 4))
164164 then true
165165 else (dropnum == 6))
166166 then true
167167 else (dropnum == 8))
168168 then true
169169 else (dropnum == 10))
170170 then true
171171 else (dropnum == 11))
172172 then true
173173 else (dropnum == 13))
174174 then true
175175 else (dropnum == 15))
176176 then true
177177 else (dropnum == 17))
178178 then true
179179 else (dropnum == 20))
180180 then true
181181 else (dropnum == 22))
182182 then true
183183 else (dropnum == 24))
184184 then true
185185 else (dropnum == 26))
186186 then true
187187 else (dropnum == 28))
188188 then true
189189 else (dropnum == 29))
190190 then true
191191 else (dropnum == 31))
192192 then true
193193 else (dropnum == 33))
194194 then true
195195 else (dropnum == 35))
196196 then true
197197 else false
198198
199199 func getTwotorWin () = if (if (if (if (if (if (if (if (if (if (if (if (if ((f != 0))
200200 then (dropnum == 3)
201201 else false)
202202 then true
203203 else (dropnum == 6))
204204 then true
205205 else (dropnum == 9))
206206 then true
207207 else (dropnum == 12))
208208 then true
209209 else (dropnum == 15))
210210 then true
211211 else (dropnum == 18))
212212 then true
213213 else (dropnum == 21))
214214 then true
215215 else (dropnum == 24))
216216 then true
217217 else (dropnum == 27))
218218 then true
219219 else (dropnum == 30))
220220 then true
221221 else (dropnum == 33))
222222 then true
223223 else (dropnum == 36))
224224 then true
225225 else false
226226
227227 func getTwotomWin () = if (if (if (if (if (if (if (if (if (if (if (if (if ((g != 0))
228228 then (dropnum == 2)
229229 else false)
230230 then true
231231 else (dropnum == 5))
232232 then true
233233 else (dropnum == 8))
234234 then true
235235 else (dropnum == 11))
236236 then true
237237 else (dropnum == 14))
238238 then true
239239 else (dropnum == 17))
240240 then true
241241 else (dropnum == 20))
242242 then true
243243 else (dropnum == 23))
244244 then true
245245 else (dropnum == 26))
246246 then true
247247 else (dropnum == 29))
248248 then true
249249 else (dropnum == 32))
250250 then true
251251 else (dropnum == 35))
252252 then true
253253 else false
254254
255255 func getTwotolWin () = if (if (if (if (if (if (if (if (if (if (if (if (if ((h != 0))
256256 then (dropnum == 1)
257257 else false)
258258 then true
259259 else (dropnum == 4))
260260 then true
261261 else (dropnum == 7))
262262 then true
263263 else (dropnum == 10))
264264 then true
265265 else (dropnum == 13))
266266 then true
267267 else (dropnum == 16))
268268 then true
269269 else (dropnum == 19))
270270 then true
271271 else (dropnum == 22))
272272 then true
273273 else (dropnum == 25))
274274 then true
275275 else (dropnum == 28))
276276 then true
277277 else (dropnum == 31))
278278 then true
279279 else (dropnum == 34))
280280 then true
281281 else false
282282
283283 func getLowhalfWin () = if (if ((i != 0))
284284 then (18 >= dropnum)
285285 else false)
286286 then true
287287 else false
288288
289289 func getHighhalfWin () = if (if ((j != 0))
290290 then (dropnum >= 19)
291291 else false)
292292 then true
293293 else false
294294
295295 func getOnedozenWin () = if (if ((k != 0))
296296 then (12 >= dropnum)
297297 else false)
298298 then true
299299 else false
300300
301301 func getTwodozenWin () = if (if (if (if (if (if (if (if (if (if (if (if (if ((l != 0))
302302 then (dropnum == 13)
303303 else false)
304304 then true
305305 else (dropnum == 14))
306306 then true
307307 else (dropnum == 15))
308308 then true
309309 else (dropnum == 16))
310310 then true
311311 else (dropnum == 17))
312312 then true
313313 else (dropnum == 18))
314314 then true
315315 else (dropnum == 19))
316316 then true
317317 else (dropnum == 20))
318318 then true
319319 else (dropnum == 21))
320320 then true
321321 else (dropnum == 22))
322322 then true
323323 else (dropnum == 23))
324324 then true
325325 else (dropnum == 24))
326326 then true
327327 else false
328328
329329 func getThreedozenWin () = if (if ((m != 0))
330330 then (dropnum >= 25)
331331 else false)
332332 then true
333333 else false
334334
335335 ScriptResult(WriteSet([DataEntry(player, dropnum)]), TransferSet([ScriptTransfer(amaddress, if (getSingleWin())
336336 then ((a * 35) - comission)
337337 else 0, unit), ScriptTransfer(amaddress, if (getODDWin())
338338 then ((b * 2) - comission)
339339 else 0, unit), ScriptTransfer(amaddress, if (getEvenWin())
340340 then ((c * 2) - comission)
341341 else 0, unit), ScriptTransfer(amaddress, if (getRedWin())
342342 then ((d * 2) - comission)
343343 else 0, unit), ScriptTransfer(amaddress, if (getBlackWin())
344344 then ((e * 2) - comission)
345345 else 0, unit), ScriptTransfer(amaddress, if (getTwotorWin())
346346 then ((f + (f * 2)) - comission)
347347 else 0, unit), ScriptTransfer(amaddress, if (getTwotomWin())
348348 then ((g + (g * 2)) - comission)
349349 else 0, unit), ScriptTransfer(amaddress, if (getTwotolWin())
350350 then ((h + (h * 2)) - comission)
351351 else 0, unit), ScriptTransfer(amaddress, if (getLowhalfWin())
352352 then ((i * 2) - comission)
353353 else 0, unit), ScriptTransfer(amaddress, if (getHighhalfWin())
354354 then ((j * 2) - comission)
355355 else 0, unit), ScriptTransfer(amaddress, if (getOnedozenWin())
356356 then ((k + (k * 2)) - comission)
357357 else 0, unit), ScriptTransfer(amaddress, if (getTwodozenWin())
358358 then ((l + (l * 2)) - comission)
359359 else 0, unit), ScriptTransfer(amaddress, if (getThreedozenWin())
360360 then ((m + (m * 2)) - comission)
361361 else 0, unit)]))
362362 }
363363 }
364364
365365

github/deemru/w8io/169f3d6 
51.18 ms