tx · AHEqAxUjZUtVidn6osez6DqAMjuMxHSL99TzYaAb6c8w

3MpJUfdgwaKfTjJgpGrhDVZJ9KBhaqruj3J:  -0.01400000 Waves

2019.09.01 15:45 [656894] smart account 3MpJUfdgwaKfTjJgpGrhDVZJ9KBhaqruj3J > SELF 0.00000000 Waves

{ "type": 13, "id": "AHEqAxUjZUtVidn6osez6DqAMjuMxHSL99TzYaAb6c8w", "fee": 1400000, "feeAssetId": null, "timestamp": 1567341964720, "version": 1, "sender": "3MpJUfdgwaKfTjJgpGrhDVZJ9KBhaqruj3J", "senderPublicKey": "EfGZvomWbCwnR6YbgmBF2rduFkMwzVuox5bvYVdaSeFX", "proofs": [ "5nuppAdFkM8cr1tpKd3qFbkEExysYVA8uDjiucDyRP8hkFftUW4BJHBqM7GJ6GXJeGycnLFRBZTyGd1TNVQQmHew" ], "script": "base64:AAIDAAAAAAAAAAAAAAADAAAAAAxudW1iZXJzQ291bnQAAAAAAAAAACUAAAAAB05VTUJFUlMJAARMAAAAAgAAAAAAAAAAAAkABEwAAAACAAAAAAAAAAABCQAETAAAAAIAAAAAAAAAAAIJAARMAAAAAgAAAAAAAAAAAwkABEwAAAACAAAAAAAAAAAECQAETAAAAAIAAAAAAAAAAAUJAARMAAAAAgAAAAAAAAAABgkABEwAAAACAAAAAAAAAAAHCQAETAAAAAIAAAAAAAAAAAgJAARMAAAAAgAAAAAAAAAACQkABEwAAAACAAAAAAAAAAAKCQAETAAAAAIAAAAAAAAAAAsJAARMAAAAAgAAAAAAAAAADAkABEwAAAACAAAAAAAAAAANCQAETAAAAAIAAAAAAAAAAA4JAARMAAAAAgAAAAAAAAAADwkABEwAAAACAAAAAAAAAAAQCQAETAAAAAIAAAAAAAAAABEJAARMAAAAAgAAAAAAAAAAEgkABEwAAAACAAAAAAAAAAATCQAETAAAAAIAAAAAAAAAABQJAARMAAAAAgAAAAAAAAAAFQkABEwAAAACAAAAAAAAAAAWCQAETAAAAAIAAAAAAAAAABcJAARMAAAAAgAA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UAAAAAAAAAAAIAAAAAAAAAAAAFAAAABHVuaXQJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwUAAAAJYW1hZGRyZXNzAwkBAAAADWdldExvd2hhbGZXaW4AAAAACQAAaAAAAAIFAAAAAWkAAAAAAAAAAAIAAAAAAAAAAAAFAAAABHVuaXQJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwUAAAAJYW1hZGRyZXNzAwkBAAAADmdldEhpZ2hoYWxmV2luAAAAAAkAAGgAAAACBQAAAAFqAAAAAAAAAAACAAAAAAAAAAAABQAAAAR1bml0CQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMFAAAACWFtYWRkcmVzcwMJAQAAAA5nZXRPbmVkb3plbldpbgAAAAAJAABkAAAAAgUAAAABawkAAGgAAAACBQAAAAFrAAAAAAAAAAACAAAAAAAAAAAABQAAAAR1bml0CQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMFAAAACWFtYWRkcmVzcwMJAQAAAA5nZXRUd29kb3plbldpbgAAAAAJAABkAAAAAgUAAAABbAkAAGgAAAACBQAAAAFsAAAAAAAAAAACAAAAAAAAAAAABQAAAAR1bml0CQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMFAAAACWFtYWRkcmVzcwMJAQAAABBnZXRUaHJlZWRvemVuV2luAAAAAAkAAGQAAAACBQAAAAFtCQAAaAAAAAIFAAAAAW0AAAAAAAAAAAIAAAAAAAAAAAAFAAAABHVuaXQFAAAAA25pbAAAAABbL4i8", "chainId": 84, "height": 656894, "spentComplexity": 0 } View: original | compacted Prev: 2EMcj2Cxf5NK8R2KSpMv4jb4wxSnCWS9UEyrPVsqtytc Next: none Diff:
OldNewDifferences
334334 then true
335335 else false
336336
337- ScriptResult(WriteSet([DataEntry(((("Player-" + player) + " GameID-") + toBase64String(inv.transactionId)), ((((((((((((((((((((((((((("Drop number:" + toString(dropnum)) + " Selected number:") + toString(a)) + " Odd:") + toString(b)) + " Even:") + toString(c)) + " Red:") + toString(d)) + " Black:") + toString(e)) + " 2to1Right:") + toString(f)) + " 2to1Mid:") + toString(g)) + " 2to1Left:") + toString(h)) + " 1-18:") + toString(i)) + " 19-36:") + toString(j)) + " 1-12:") + toString(k)) + " 13-24:") + toString(l)) + " 25-36:") + toString(m)))]), TransferSet([ScriptTransfer(amaddress, if (getSingleWin())
337+ ScriptResult(WriteSet([DataEntry(((("Player-" + player) + " GameID-") + toBase58String(inv.transactionId)), ((((((((((((((((((((((((((((("Drop number:" + toString(dropnum)) + " Selected number:") + toString(num)) + " Bets: Number:") + toString(a)) + " Odd:") + toString(b)) + " Even:") + toString(c)) + " Red:") + toString(d)) + " Black:") + toString(e)) + " 2to1Right:") + toString(f)) + " 2to1Mid:") + toString(g)) + " 2to1Left:") + toString(h)) + " 1-18:") + toString(i)) + " 19-36:") + toString(j)) + " 1-12:") + toString(k)) + " 13-24:") + toString(l)) + " 25-36:") + toString(m)))]), TransferSet([ScriptTransfer(amaddress, if (getSingleWin())
338338 then (a * 35)
339339 else 0, unit), ScriptTransfer(amaddress, if (getODDWin())
340340 then (b * 2)
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) / 2)
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")
3030 else if ((payment.amount > MaxBet))
3131 then throw("The rate cannot exceed the contract balance divided by the maximum multiplier")
3232 else if ((payment.amount > 10000000000))
3333 then throw("Max bet 100 Waves")
3434 else {
3535 func getSingleWin () = if (if ((a != 0))
3636 then (num == getNumber(inv))
3737 else false)
3838 then true
3939 else false
4040
4141 func getODDWin () = if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if ((b != 0))
4242 then (dropnum == 1)
4343 else false)
4444 then true
4545 else (dropnum == 3))
4646 then true
4747 else (dropnum == 5))
4848 then true
4949 else (dropnum == 7))
5050 then true
5151 else (dropnum == 9))
5252 then true
5353 else (dropnum == 11))
5454 then true
5555 else (dropnum == 13))
5656 then true
5757 else (dropnum == 15))
5858 then true
5959 else (dropnum == 17))
6060 then true
6161 else (dropnum == 19))
6262 then true
6363 else (dropnum == 21))
6464 then true
6565 else (dropnum == 23))
6666 then true
6767 else (dropnum == 25))
6868 then true
6969 else (dropnum == 27))
7070 then true
7171 else (dropnum == 29))
7272 then true
7373 else (dropnum == 31))
7474 then true
7575 else (dropnum == 33))
7676 then true
7777 else (dropnum == 35))
7878 then true
7979 else false
8080
8181 func getEvenWin () = if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if ((c != 0))
8282 then (dropnum == 2)
8383 else false)
8484 then true
8585 else (dropnum == 4))
8686 then true
8787 else (dropnum == 6))
8888 then true
8989 else (dropnum == 8))
9090 then true
9191 else (dropnum == 10))
9292 then true
9393 else (dropnum == 12))
9494 then true
9595 else (dropnum == 14))
9696 then true
9797 else (dropnum == 16))
9898 then true
9999 else (dropnum == 18))
100100 then true
101101 else (dropnum == 20))
102102 then true
103103 else (dropnum == 22))
104104 then true
105105 else (dropnum == 24))
106106 then true
107107 else (dropnum == 26))
108108 then true
109109 else (dropnum == 28))
110110 then true
111111 else (dropnum == 30))
112112 then true
113113 else (dropnum == 32))
114114 then true
115115 else (dropnum == 34))
116116 then true
117117 else (dropnum == 36))
118118 then true
119119 else false
120120
121121 func getRedWin () = if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if ((d != 0))
122122 then (dropnum == 1)
123123 else false)
124124 then true
125125 else (dropnum == 3))
126126 then true
127127 else (dropnum == 5))
128128 then true
129129 else (dropnum == 7))
130130 then true
131131 else (dropnum == 9))
132132 then true
133133 else (dropnum == 12))
134134 then true
135135 else (dropnum == 14))
136136 then true
137137 else (dropnum == 16))
138138 then true
139139 else (dropnum == 18))
140140 then true
141141 else (dropnum == 19))
142142 then true
143143 else (dropnum == 21))
144144 then true
145145 else (dropnum == 23))
146146 then true
147147 else (dropnum == 25))
148148 then true
149149 else (dropnum == 27))
150150 then true
151151 else (dropnum == 30))
152152 then true
153153 else (dropnum == 32))
154154 then true
155155 else (dropnum == 34))
156156 then true
157157 else (dropnum == 36))
158158 then true
159159 else false
160160
161161 func getBlackWin () = if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if ((e != 0))
162162 then (dropnum == 2)
163163 else false)
164164 then true
165165 else (dropnum == 4))
166166 then true
167167 else (dropnum == 6))
168168 then true
169169 else (dropnum == 8))
170170 then true
171171 else (dropnum == 10))
172172 then true
173173 else (dropnum == 11))
174174 then true
175175 else (dropnum == 13))
176176 then true
177177 else (dropnum == 15))
178178 then true
179179 else (dropnum == 17))
180180 then true
181181 else (dropnum == 20))
182182 then true
183183 else (dropnum == 22))
184184 then true
185185 else (dropnum == 24))
186186 then true
187187 else (dropnum == 26))
188188 then true
189189 else (dropnum == 28))
190190 then true
191191 else (dropnum == 29))
192192 then true
193193 else (dropnum == 31))
194194 then true
195195 else (dropnum == 33))
196196 then true
197197 else (dropnum == 35))
198198 then true
199199 else false
200200
201201 func getTwotorWin () = if (if (if (if (if (if (if (if (if (if (if (if (if ((f != 0))
202202 then (dropnum == 3)
203203 else false)
204204 then true
205205 else (dropnum == 6))
206206 then true
207207 else (dropnum == 9))
208208 then true
209209 else (dropnum == 12))
210210 then true
211211 else (dropnum == 15))
212212 then true
213213 else (dropnum == 18))
214214 then true
215215 else (dropnum == 21))
216216 then true
217217 else (dropnum == 24))
218218 then true
219219 else (dropnum == 27))
220220 then true
221221 else (dropnum == 30))
222222 then true
223223 else (dropnum == 33))
224224 then true
225225 else (dropnum == 36))
226226 then true
227227 else false
228228
229229 func getTwotomWin () = if (if (if (if (if (if (if (if (if (if (if (if (if ((g != 0))
230230 then (dropnum == 2)
231231 else false)
232232 then true
233233 else (dropnum == 5))
234234 then true
235235 else (dropnum == 8))
236236 then true
237237 else (dropnum == 11))
238238 then true
239239 else (dropnum == 14))
240240 then true
241241 else (dropnum == 17))
242242 then true
243243 else (dropnum == 20))
244244 then true
245245 else (dropnum == 23))
246246 then true
247247 else (dropnum == 26))
248248 then true
249249 else (dropnum == 29))
250250 then true
251251 else (dropnum == 32))
252252 then true
253253 else (dropnum == 35))
254254 then true
255255 else false
256256
257257 func getTwotolWin () = if (if (if (if (if (if (if (if (if (if (if (if (if ((h != 0))
258258 then (dropnum == 1)
259259 else false)
260260 then true
261261 else (dropnum == 4))
262262 then true
263263 else (dropnum == 7))
264264 then true
265265 else (dropnum == 10))
266266 then true
267267 else (dropnum == 13))
268268 then true
269269 else (dropnum == 16))
270270 then true
271271 else (dropnum == 19))
272272 then true
273273 else (dropnum == 22))
274274 then true
275275 else (dropnum == 25))
276276 then true
277277 else (dropnum == 28))
278278 then true
279279 else (dropnum == 31))
280280 then true
281281 else (dropnum == 34))
282282 then true
283283 else false
284284
285285 func getLowhalfWin () = if (if ((i != 0))
286286 then (18 >= dropnum)
287287 else false)
288288 then true
289289 else false
290290
291291 func getHighhalfWin () = if (if ((j != 0))
292292 then (dropnum >= 19)
293293 else false)
294294 then true
295295 else false
296296
297297 func getOnedozenWin () = if (if ((k != 0))
298298 then (12 >= dropnum)
299299 else false)
300300 then true
301301 else false
302302
303303 func getTwodozenWin () = if (if (if (if (if (if (if (if (if (if (if (if (if ((l != 0))
304304 then (dropnum == 13)
305305 else false)
306306 then true
307307 else (dropnum == 14))
308308 then true
309309 else (dropnum == 15))
310310 then true
311311 else (dropnum == 16))
312312 then true
313313 else (dropnum == 17))
314314 then true
315315 else (dropnum == 18))
316316 then true
317317 else (dropnum == 19))
318318 then true
319319 else (dropnum == 20))
320320 then true
321321 else (dropnum == 21))
322322 then true
323323 else (dropnum == 22))
324324 then true
325325 else (dropnum == 23))
326326 then true
327327 else (dropnum == 24))
328328 then true
329329 else false
330330
331331 func getThreedozenWin () = if (if ((m != 0))
332332 then (dropnum >= 25)
333333 else false)
334334 then true
335335 else false
336336
337- ScriptResult(WriteSet([DataEntry(((("Player-" + player) + " GameID-") + toBase64String(inv.transactionId)), ((((((((((((((((((((((((((("Drop number:" + toString(dropnum)) + " Selected number:") + toString(a)) + " Odd:") + toString(b)) + " Even:") + toString(c)) + " Red:") + toString(d)) + " Black:") + toString(e)) + " 2to1Right:") + toString(f)) + " 2to1Mid:") + toString(g)) + " 2to1Left:") + toString(h)) + " 1-18:") + toString(i)) + " 19-36:") + toString(j)) + " 1-12:") + toString(k)) + " 13-24:") + toString(l)) + " 25-36:") + toString(m)))]), TransferSet([ScriptTransfer(amaddress, if (getSingleWin())
337+ ScriptResult(WriteSet([DataEntry(((("Player-" + player) + " GameID-") + toBase58String(inv.transactionId)), ((((((((((((((((((((((((((((("Drop number:" + toString(dropnum)) + " Selected number:") + toString(num)) + " Bets: Number:") + toString(a)) + " Odd:") + toString(b)) + " Even:") + toString(c)) + " Red:") + toString(d)) + " Black:") + toString(e)) + " 2to1Right:") + toString(f)) + " 2to1Mid:") + toString(g)) + " 2to1Left:") + toString(h)) + " 1-18:") + toString(i)) + " 19-36:") + toString(j)) + " 1-12:") + toString(k)) + " 13-24:") + toString(l)) + " 25-36:") + toString(m)))]), TransferSet([ScriptTransfer(amaddress, if (getSingleWin())
338338 then (a * 35)
339339 else 0, unit), ScriptTransfer(amaddress, if (getODDWin())
340340 then (b * 2)
341341 else 0, unit), ScriptTransfer(amaddress, if (getEvenWin())
342342 then (c * 2)
343343 else 0, unit), ScriptTransfer(amaddress, if (getRedWin())
344344 then (d * 2)
345345 else 0, unit), ScriptTransfer(amaddress, if (getBlackWin())
346346 then (e * 2)
347347 else 0, unit), ScriptTransfer(amaddress, if (getLowhalfWin())
348348 then (i * 2)
349349 else 0, unit), ScriptTransfer(amaddress, if (getHighhalfWin())
350350 then (j * 2)
351351 else 0, unit), ScriptTransfer(amaddress, if (getOnedozenWin())
352352 then (k + (k * 2))
353353 else 0, unit), ScriptTransfer(amaddress, if (getTwodozenWin())
354354 then (l + (l * 2))
355355 else 0, unit), ScriptTransfer(amaddress, if (getThreedozenWin())
356356 then (m + (m * 2))
357357 else 0, unit)]))
358358 }
359359 }
360360
361361

github/deemru/w8io/169f3d6 
71.40 ms