tx · E11Vwcd7JMLpZspUkL85345V6E6hA53KPXnF5TskYCcv

3NA8CCJEpWACAN7uMTTGiVERNtc4dSSayyE:  -0.01500000 Waves

2019.07.17 20:17 [590124] smart account 3NA8CCJEpWACAN7uMTTGiVERNtc4dSSayyE > SELF 0.00000000 Waves

{ "type": 13, "id": "E11Vwcd7JMLpZspUkL85345V6E6hA53KPXnF5TskYCcv", "fee": 1500000, "feeAssetId": null, "timestamp": 1563383830074, "version": 1, "sender": "3NA8CCJEpWACAN7uMTTGiVERNtc4dSSayyE", "senderPublicKey": "FgntDUgs7tdnp33MDzzH2k7CjvDsAxhC4r413RdQEF2F", "proofs": [ "5a8b3UenE8HhLmAhcMoxHKJKbTuEHHNxMWPnQ5oNw4J9vETJ8V8cUbDYJ6VQRkLK58jrj8EYYg5qt1uqfYjc3RhK" ], "script": "base64:AAIDAAAAAAAAAAAAAAAFAQAAAA5nZW5lcmF0ZU51bWJlcgAAAAEAAAADaW52BAAAAAhsYXN0UGxheQQAAAAHJG1hdGNoMAkABBwAAAACBQAAAAR0aGlzAgAAAAhsYXN0UGxheQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAKQnl0ZVZlY3RvcgQAAAABcwUAAAAHJG1hdGNoMAUAAAABcwMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAEVW5pdAQAAAABYQUAAAAHJG1hdGNoMAEAAAAMV2F2ZXNMb3R0b1YyCQEAAAAFdGhyb3cAAAAABAAAAANtYXgAAAAAAAAAAGMEAAAAA21pbgAAAAAAAAAAAQQAAAAEcmFuZAkAAMsAAAACCQAAywAAAAIJAADLAAAAAgkAAMsAAAACCQAAywAAAAIFAAAACGxhc3RQbGF5CAUAAAADaW52AAAADXRyYW5zYWN0aW9uSWQIBQAAAANpbnYAAAAPY2FsbGVyUHVibGljS2V5CAUAAAAJbGFzdEJsb2NrAAAAE2dlbmVyYXRpb25TaWduYXR1cmUJAAGaAAAAAQgFAAAACWxhc3RCbG9jawAAAAl0aW1lc3R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gUAAAADd2luCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACAgAAAAdwYXltZW50CAUAAAAHcGF5bWVudAAAAAZhbW91bnQJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAICAAAABnBheW91dAUAAAAGcGF5b3V0BQAAAANuaWwDBQAAAAN3aW4JAQAAAAxTY3JpcHRSZXN1bHQAAAACBQAAAA13cml0ZURpY2VQbGF5BQAAAAt3aW5UcmFuc2ZlcgkBAAAADFNjcmlwdFJlc3VsdAAAAAIFAAAADXdyaXRlRGljZVBsYXkJAQAAAAtUcmFuc2ZlclNldAAAAAEFAAAAA25pbAAAAAEAAAADaW52AQAAAAhwbGF5RGljZQAAAAIAAAAEdHlwZQAAAApwcmVkaWN0aW9uCQEAAAAJc3RhcnREaWNlAAAAAwUAAAADaW52BQAAAAR0eXBlBQAAAApwcmVkaWN0aW9uAAAAAN+v6AM=", "chainId": 84, "height": 590124, "spentComplexity": 0 } View: original | compacted Prev: 9oBEzwZjSAHV7yzjTinAUqfaoZaDJnrhsjWHe4apvabd Next: AoWxEKYz9qTKmh4Uw6FcQhJMcay7dJ5iNXpXKqUAatEq Diff:
OldNewDifferences
439439 let win = diceWin(type, prediction, random)
440440 let payout = dicePayout(win, payment.amount, multi)
441441 let winTransfer = TransferSet([ScriptTransfer(inv.caller, payout, unit)])
442- let writeDicePlay = WriteSet([DataEntry("random number", random), DataEntry("win", win), DataEntry("payout", payout)])
442+ let writeDicePlay = WriteSet([DataEntry("random number", random), DataEntry("win", win), DataEntry("payment", payment.amount), DataEntry("payout", payout)])
443443 if (win)
444444 then ScriptResult(writeDicePlay, winTransfer)
445445 else ScriptResult(writeDicePlay, TransferSet(nil))
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func generateNumber (inv) = {
55 let lastPlay = match getBinary(this, "lastPlay") {
66 case s: ByteVector =>
77 s
88 case a: Unit =>
99 base58'2ee4oFDYriWJ9EMeR'
1010 case _ =>
1111 throw()
1212 }
1313 let max = 99
1414 let min = 1
1515 let rand = (((((lastPlay + inv.transactionId) + inv.callerPublicKey) + lastBlock.generationSignature) + toBytes(lastBlock.timestamp)) + toBytes(lastBlock.height))
1616 (((toInt(sha256(rand)) % 1000) % ((max - min) + 1)) + 1)
1717 }
1818
1919
2020 func getMultiplier (type,prediction) = if ((type == 0))
2121 then if ((prediction == 1))
2222 then 9850000
2323 else if ((prediction == 2))
2424 then 4925000
2525 else if ((prediction == 3))
2626 then 3283330
2727 else if ((prediction == 4))
2828 then 2462500
2929 else if ((prediction == 5))
3030 then 1970000
3131 else if ((prediction == 6))
3232 then 1641660
3333 else if ((prediction == 7))
3434 then 1407140
3535 else if ((prediction == 8))
3636 then 1231250
3737 else if ((prediction == 9))
3838 then 1094440
3939 else if ((prediction == 10))
4040 then 985000
4141 else if ((prediction == 11))
4242 then 895450
4343 else if ((prediction == 12))
4444 then 820830
4545 else if ((prediction == 13))
4646 then 757690
4747 else if ((prediction == 14))
4848 then 703570
4949 else if ((prediction == 15))
5050 then 656660
5151 else if ((prediction == 16))
5252 then 615620
5353 else if ((prediction == 17))
5454 then 579410
5555 else if ((prediction == 18))
5656 then 547220
5757 else if ((prediction == 19))
5858 then 518420
5959 else if ((prediction == 20))
6060 then 492500
6161 else if ((prediction == 21))
6262 then 469040
6363 else if ((prediction == 22))
6464 then 447720
6565 else if ((prediction == 23))
6666 then 428260
6767 else if ((prediction == 24))
6868 then 410410
6969 else if ((prediction == 25))
7070 then 394000
7171 else if ((prediction == 26))
7272 then 378840
7373 else if ((prediction == 27))
7474 then 364810
7575 else if ((prediction == 28))
7676 then 351780
7777 else if ((prediction == 29))
7878 then 339650
7979 else if ((prediction == 30))
8080 then 328330
8181 else if ((prediction == 31))
8282 then 317740
8383 else if ((prediction == 32))
8484 then 307810
8585 else if ((prediction == 33))
8686 then 298480
8787 else if ((prediction == 34))
8888 then 289700
8989 else if ((prediction == 35))
9090 then 281420
9191 else if ((prediction == 36))
9292 then 273610
9393 else if ((prediction == 37))
9494 then 259210
9595 else if ((prediction == 38))
9696 then 259210
9797 else if ((prediction == 39))
9898 then 252560
9999 else if ((prediction == 40))
100100 then 246250
101101 else if ((prediction == 41))
102102 then 240240
103103 else if ((prediction == 42))
104104 then 234520
105105 else if ((prediction == 43))
106106 then 229060
107107 else if ((prediction == 44))
108108 then 223860
109109 else if ((prediction == 45))
110110 then 218880
111111 else if ((prediction == 46))
112112 then 214130
113113 else if ((prediction == 47))
114114 then 209570
115115 else if ((prediction == 48))
116116 then 205200
117117 else if ((prediction == 49))
118118 then 201020
119119 else if ((prediction == 50))
120120 then 197000
121121 else if ((prediction == 51))
122122 then 193130
123123 else if ((prediction == 52))
124124 then 189420
125125 else if ((prediction == 53))
126126 then 185840
127127 else if ((prediction == 54))
128128 then 182400
129129 else if ((prediction == 55))
130130 then 179090
131131 else if ((prediction == 56))
132132 then 175890
133133 else if ((prediction == 57))
134134 then 172800
135135 else if ((prediction == 58))
136136 then 169820
137137 else if ((prediction == 59))
138138 then 166940
139139 else if ((prediction == 60))
140140 then 164160
141141 else if ((prediction == 61))
142142 then 161470
143143 else if ((prediction == 62))
144144 then 158870
145145 else if ((prediction == 63))
146146 then 156340
147147 else if ((prediction == 64))
148148 then 153900
149149 else if ((prediction == 65))
150150 then 151530
151151 else if ((prediction == 66))
152152 then 149240
153153 else if ((prediction == 67))
154154 then 147010
155155 else if ((prediction == 68))
156156 then 144850
157157 else if ((prediction == 69))
158158 then 142750
159159 else if ((prediction == 70))
160160 then 140710
161161 else if ((prediction == 71))
162162 then 138730
163163 else if ((prediction == 72))
164164 then 136800
165165 else if ((prediction == 73))
166166 then 134930
167167 else if ((prediction == 74))
168168 then 133100
169169 else if ((prediction == 75))
170170 then 131330
171171 else if ((prediction == 76))
172172 then 129600
173173 else if ((prediction == 77))
174174 then 127920
175175 else if ((prediction == 78))
176176 then 126280
177177 else if ((prediction == 79))
178178 then 124680
179179 else if ((prediction == 80))
180180 then 123120
181181 else if ((prediction == 81))
182182 then 121600
183183 else if ((prediction == 82))
184184 then 120120
185185 else if ((prediction == 83))
186186 then 118670
187187 else if ((prediction == 84))
188188 then 117260
189189 else if ((prediction == 85))
190190 then 115880
191191 else if ((prediction == 86))
192192 then 114530
193193 else if ((prediction == 87))
194194 then 113210
195195 else if ((prediction == 88))
196196 then 111930
197197 else if ((prediction == 89))
198198 then 110670
199199 else if ((prediction == 90))
200200 then 109440
201201 else if ((prediction == 91))
202202 then 108240
203203 else if ((prediction == 92))
204204 then 107060
205205 else if ((prediction == 93))
206206 then 105910
207207 else if ((prediction == 94))
208208 then 104780
209209 else if ((prediction == 95))
210210 then 103680
211211 else if ((prediction == 96))
212212 then 103680
213213 else 100000
214214 else if ((type == 1))
215215 then if ((prediction == 4))
216216 then 103680
217217 else if ((prediction == 5))
218218 then 103680
219219 else if ((prediction == 6))
220220 then 104780
221221 else if ((prediction == 7))
222222 then 105910
223223 else if ((prediction == 8))
224224 then 107060
225225 else if ((prediction == 9))
226226 then 108240
227227 else if ((prediction == 10))
228228 then 109440
229229 else if ((prediction == 11))
230230 then 110670
231231 else if ((prediction == 12))
232232 then 111930
233233 else if ((prediction == 13))
234234 then 113210
235235 else if ((prediction == 14))
236236 then 114530
237237 else if ((prediction == 15))
238238 then 115880
239239 else if ((prediction == 16))
240240 then 117260
241241 else if ((prediction == 17))
242242 then 118670
243243 else if ((prediction == 18))
244244 then 120120
245245 else if ((prediction == 19))
246246 then 121600
247247 else if ((prediction == 20))
248248 then 123120
249249 else if ((prediction == 21))
250250 then 124680
251251 else if ((prediction == 22))
252252 then 126280
253253 else if ((prediction == 23))
254254 then 127920
255255 else if ((prediction == 24))
256256 then 129600
257257 else if ((prediction == 25))
258258 then 131330
259259 else if ((prediction == 26))
260260 then 133100
261261 else if ((prediction == 27))
262262 then 134930
263263 else if ((prediction == 28))
264264 then 136800
265265 else if ((prediction == 29))
266266 then 138730
267267 else if ((prediction == 30))
268268 then 140710
269269 else if ((prediction == 31))
270270 then 142750
271271 else if ((prediction == 32))
272272 then 144850
273273 else if ((prediction == 33))
274274 then 147010
275275 else if ((prediction == 34))
276276 then 149240
277277 else if ((prediction == 35))
278278 then 151530
279279 else if ((prediction == 36))
280280 then 153900
281281 else if ((prediction == 37))
282282 then 156340
283283 else if ((prediction == 38))
284284 then 158870
285285 else if ((prediction == 39))
286286 then 161470
287287 else if ((prediction == 40))
288288 then 164160
289289 else if ((prediction == 41))
290290 then 166940
291291 else if ((prediction == 42))
292292 then 169820
293293 else if ((prediction == 43))
294294 then 172800
295295 else if ((prediction == 44))
296296 then 175890
297297 else if ((prediction == 45))
298298 then 179090
299299 else if ((prediction == 46))
300300 then 185840
301301 else if ((prediction == 47))
302302 then 185840
303303 else if ((prediction == 48))
304304 then 189420
305305 else if ((prediction == 49))
306306 then 193130
307307 else if ((prediction == 50))
308308 then 197000
309309 else if ((prediction == 51))
310310 then 201020
311311 else if ((prediction == 52))
312312 then 205200
313313 else if ((prediction == 53))
314314 then 209570
315315 else if ((prediction == 54))
316316 then 214130
317317 else if ((prediction == 55))
318318 then 218880
319319 else if ((prediction == 56))
320320 then 223860
321321 else if ((prediction == 57))
322322 then 229060
323323 else if ((prediction == 58))
324324 then 234520
325325 else if ((prediction == 59))
326326 then 240240
327327 else if ((prediction == 60))
328328 then 246250
329329 else if ((prediction == 61))
330330 then 252560
331331 else if ((prediction == 62))
332332 then 259210
333333 else if ((prediction == 63))
334334 then 259210
335335 else if ((prediction == 64))
336336 then 273610
337337 else if ((prediction == 65))
338338 then 281420
339339 else if ((prediction == 66))
340340 then 289700
341341 else if ((prediction == 67))
342342 then 298480
343343 else if ((prediction == 68))
344344 then 307810
345345 else if ((prediction == 69))
346346 then 317740
347347 else if ((prediction == 70))
348348 then 328330
349349 else if ((prediction == 71))
350350 then 339650
351351 else if ((prediction == 72))
352352 then 351780
353353 else if ((prediction == 73))
354354 then 364810
355355 else if ((prediction == 74))
356356 then 378840
357357 else if ((prediction == 75))
358358 then 394000
359359 else if ((prediction == 76))
360360 then 410410
361361 else if ((prediction == 77))
362362 then 428260
363363 else if ((prediction == 78))
364364 then 447720
365365 else if ((prediction == 79))
366366 then 469040
367367 else if ((prediction == 80))
368368 then 492500
369369 else if ((prediction == 81))
370370 then 518420
371371 else if ((prediction == 82))
372372 then 547220
373373 else if ((prediction == 83))
374374 then 579410
375375 else if ((prediction == 84))
376376 then 615620
377377 else if ((prediction == 85))
378378 then 656660
379379 else if ((prediction == 86))
380380 then 703570
381381 else if ((prediction == 87))
382382 then 757690
383383 else if ((prediction == 88))
384384 then 820830
385385 else if ((prediction == 89))
386386 then 895450
387387 else if ((prediction == 90))
388388 then 985000
389389 else if ((prediction == 91))
390390 then 1094440
391391 else if ((prediction == 92))
392392 then 1231250
393393 else if ((prediction == 93))
394394 then 1407140
395395 else if ((prediction == 94))
396396 then 1641660
397397 else if ((prediction == 95))
398398 then 1970000
399399 else if ((prediction == 96))
400400 then 2462500
401401 else if ((prediction == 97))
402402 then 3283330
403403 else if ((prediction == 98))
404404 then 4925000
405405 else if ((prediction == 99))
406406 then 9850000
407407 else 100000
408408 else 100000
409409
410410
411411 func diceWin (type,prediction,number) = if ((type == 0))
412412 then if ((prediction >= number))
413413 then true
414414 else false
415415 else if ((type == 1))
416416 then if ((number >= prediction))
417417 then true
418418 else false
419419 else false
420420
421421
422422 func dicePayout (win,amount,mult) = if (win)
423423 then (amount * (mult / 100000))
424424 else 0
425425
426426
427427 func startDice (inv,type,prediction) = {
428428 let playLimit = (wavesBalance(this) / 100)
429429 let payment = extract(inv.payment)
430430 if (!(isDefined(inv.payment)))
431431 then throw("Should be with Payment in Waves")
432432 else if (isDefined(payment.assetId))
433433 then throw("Payment should be in Waves")
434434 else if ((payment.amount > playLimit))
435435 then throw(("Payment should be less than " + toString(playLimit)))
436436 else {
437437 let random = generateNumber(inv)
438438 let multi = getMultiplier(type, prediction)
439439 let win = diceWin(type, prediction, random)
440440 let payout = dicePayout(win, payment.amount, multi)
441441 let winTransfer = TransferSet([ScriptTransfer(inv.caller, payout, unit)])
442- let writeDicePlay = WriteSet([DataEntry("random number", random), DataEntry("win", win), DataEntry("payout", payout)])
442+ let writeDicePlay = WriteSet([DataEntry("random number", random), DataEntry("win", win), DataEntry("payment", payment.amount), DataEntry("payout", payout)])
443443 if (win)
444444 then ScriptResult(writeDicePlay, winTransfer)
445445 else ScriptResult(writeDicePlay, TransferSet(nil))
446446 }
447447 }
448448
449449
450450 @Callable(inv)
451451 func playDice (type,prediction) = startDice(inv, type, prediction)
452452
453453

github/deemru/w8io/169f3d6 
77.12 ms