tx · AHEK6bcRmLPXD6fFFSHq7Vv75X1qcYGAQmqQh9Moje4n

3NA8CCJEpWACAN7uMTTGiVERNtc4dSSayyE:  -0.01500000 Waves

2019.07.20 13:06 [594088] smart account 3NA8CCJEpWACAN7uMTTGiVERNtc4dSSayyE > SELF 0.00000000 Waves

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

github/deemru/w8io/169f3d6 
86.98 ms